From dick.aseltine at centrepath.com Wed Nov 1 01:54:58 2006 From: dick.aseltine at centrepath.com (Aseltine, Dick) Date: Tue, 31 Oct 2006 19:54:58 -0500 Subject: Another Event Handler looping question Message-ID: <6CA85554A071E54FAE763836FA1CD744554639@mail-be.centrepath.com> I have set up a dummy host to force at failure using check_icmp to validate an event handle execution that sends notifications to another NMS. I have read is_volatile from another thread but since this is a failure test the service never gets executed. is_volatile is not a directive of the host definition. Is there a way to loop the execution of a event handle in this situation? Richard Aseltine ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsaeks at district30.k12.il.us Wed Nov 1 04:56:46 2006 From: rsaeks at district30.k12.il.us (Randall R. Saeks) Date: Tue, 31 Oct 2006 21:56:46 -0600 Subject: Status Map Images Message-ID: <778354D8-1780-49FE-B936-66FA291A0ACF@district30.k12.il.us> When I look at my status maps, I see all my devices with the questionmark. I checked the FAQs and all I got was to, "The solution is to use pngtogd2 to create the GD2 images from PNGs on the machine that runs the statusmap CGI." There is a good chance this is just something I am not doing right / at all, but if there is any guidance on what I would have to do to have the images properly display, I wouldn't mind learning :) Thanks, ---- Randall R. Saeks, ACSA Network Administrator/Computer Support Specialist Northbrook / Glenview School District 30 -------------- 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 pitchfork at ederdrom.de Wed Nov 1 08:53:55 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 1 Nov 2006 08:53:55 +0100 Subject: Graphing solutions comparision In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F07@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F07@dw-mail.dataway.com> Message-ID: <200611010853.55988.pitchfork@ederdrom.de> Am Dienstag, 31. Oktober 2006 21:20 schrieb Tedman Eng: > Hi Nagios Users, Hi Tedman > I'm attempting to categorize the various graphing solutions and need input > from people familiar with the various projects. > > >From what I can tell, the graphing add-ons are mostly divided into 2 > > schools > > of thought: > > 1. Let the standard nagios plugin decide the status, and then graph the > numbers. > (NagiosGrapher, PNP, others?) > > Nagios plugin "check_snmp -w 50" retrieves value "60%" > Nagios plugin checks 60 > 50, Alarms "Warning!" > Nagios plugin passes "60%" to be graphed (from perf data, regex of output, > etc) > Grapher inserts 60 into RRD Right. But PNP also extracts additional Informations if a Plugin produces valid Perfdata. MIN, MAX,WARNUNG and CRITICAL Valuas are also stored for further usage. > > 2. Rewrite the plugin to graph, and then decide the status based on the RRD > result. > (Apan, Oreon, others?) > > Grapher plugin "check_graph_snmp -w 50" retrieves value "60%" > Grapher inserts 60 into RRD > RRD returns "New=60, Previous=50, Avg=55" > Grapher plugin checks 55 > 50, Alarms "Warning!" > > > The advantage of solution 2 is that thresholds can be based on the RRD > calculation, which is AFAIK the only way to alarm on COUNT data types. The > disadvantage is that custom plugins need to be written, or in some cases a > check_graph wrapper. Also, check latency is increased by the amount of > time required to insert the values into the RRD file. Hmmm, i dont think its the only solution. The most traffic Plugins ( for example check_snmp_int.pl ) use temporary files to store the previous values. > Please let me know your experiences of which fits into which category, of > if I've mischaracterized any of the above. I think graphing should be done by addons and not by the plugins. The check execution time must be as short as possible. 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 jczucco at ucs.br Wed Nov 1 12:47:45 2006 From: jczucco at ucs.br (Jeronimo Zucco) Date: Wed, 01 Nov 2006 08:47:45 -0300 Subject: External Command hang segfault In-Reply-To: <20061031214830.EF3304F4046@desire.netways.de> References: <20061031214830.EF3304F4046@desire.netways.de> Message-ID: <45488961.1070204@ucs.br> David Schlecht escreveu: > Hi list > > I'm slowly making progress on this one, but stuck again. > > The problem: cmd.cgi sometimes hangs and Nagios segfaults after Schedule Downtime External Command. It dies in every version on every Linux on every processor. > > I did a stack trace on the hung cmd.cgi and found that it was hanging on the write to nagios.cmd. This pointed to the missing nagios process that was supposed to be at the other end of the named pipe. It had died. > > This used to generate a segfault in the logs but no longer does. It just dies quietly. > > How do I proceed from here? How do I find out why Nagios died? Since there's no segfault, there's no core file. > > > What version of nagios are you using ? In nagios 2.5, some segfaults was corrected: http://www.nagios.org/development/changelog.php -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified N?cleo de Processamento de Dados Universidade de Caxias do Sul http://jczucco.blogspot.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 ae at op5.se Wed Nov 1 12:59:58 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Nov 2006 12:59:58 +0100 Subject: External Commands segfault In-Reply-To: <20061030200412.17B654F4046@desire.netways.de> References: <453F8408.5080007@op5.se> <20061030200412.17B654F4046@desire.netways.de> Message-ID: <45488C3E.50208@op5.se> David Schlecht wrote: > Hi Andreas > > A new backtrace follows. This doesn't show the same segmentation issues as the first and to my untrained eye, doesn't show a problem. However, this stack causes the same "hung" state in cmd.cgi. Any ideas? > > (gdb) bt > #0 0x002de7a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 > #1 0x003b4eb3 in __open_nocancel () from /lib/tls/libc.so.6 > #2 0x0035854d in _IO_new_file_fopen () from /lib/tls/libc.so.6 > #3 0x0034f0c9 in __fopen_internal () from /lib/tls/libc.so.6 > #4 0x0034f11d in fopen@@GLIBC_2.1 () from /lib/tls/libc.so.6 > #5 0x0804b6e0 in write_command_to_file ( > cmd=0xbfeb4d00 "[1162238036] SCHEDULE_AND_PROPAGATE_HOST_DOWNTIME;www.state.nv.us;1162237988;1162238108;1;0;7200;David Schlecht;test\n") at cmd.c:2183 > #6 0x0804b843 in commit_command (cmd=55) at cmd.c:2155 > #7 0x0804ce69 in commit_command_data (cmd=55) at cmd.c:1798 > #8 0x0804d358 in main () at cmd.c:215 > (gdb) > It seems it hangs when trying to write to the FIFO. Since the pipe is a resource bottle-neck (only 4KiB data can be "stored" in it at any one time), you've probably run into this problem. How many hosts/services are you monitoring? More importantly, how many checks are running per second? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rex at 2020media.com Wed Nov 1 13:11:37 2006 From: rex at 2020media.com (Rex Wickham (2020Media.com)) Date: Wed, 01 Nov 2006 12:11:37 +0000 Subject: timeperiods.cfg Message-ID: <45488EF9.6010403@2020media.com> Hi list I want to configure an extended day for notifications but nagios never sends any alerts. Here's a snip of my timeperiods.cfg define timeperiod { timeperiod_name 17x7 alias 8am - 1am, 7 Days A Week sunday 00:00-02:00;06:00-23.59 monday 00:00-02:00;06:00-23.59 tuesday 00:00-02:00;06:00-23.59 wednesday 00:00-02:00;06:00-23.59 thursday 00:00-02:00;06:00-23.59 friday 00:00-02:00;06:00-23.59 saturday 00:00-02:00;06:00-23.59 } Is this perhaps not the correct format? I want notifications from 06.00 in the morning to 02.00 am the next morning. Any advice appreciated - Rex W(2020media) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 1 13:29:43 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Nov 2006 13:29:43 +0100 Subject: External Command hang segfault In-Reply-To: <20061031214830.EF3304F4046@desire.netways.de> References: <20061031214830.EF3304F4046@desire.netways.de> Message-ID: <45489337.9070407@op5.se> David Schlecht wrote: > Hi list > > I'm slowly making progress on this one, but stuck again. > > The problem: cmd.cgi sometimes hangs and Nagios segfaults after Schedule Downtime External Command. It dies in every version on every Linux on every processor. > > I did a stack trace on the hung cmd.cgi and found that it was hanging on the write to nagios.cmd. This pointed to the missing nagios process that was supposed to be at the other end of the named pipe. It had died. > > This used to generate a segfault in the logs but no longer does. It just dies quietly. > > How do I proceed from here? How do I find out why Nagios died? Since there's no segfault, there's no core file. > You can enable core-dumps in nagios by a) Making sure it runs in a directory where the user you've configured it to run as has write-access and setting nagios_dumps_core=1 in nagios.cfg (I might be wrong on the variable name; The docs will have detailed and accurate info though). b) Running it as a foreground process. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 1 13:34:29 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 01 Nov 2006 13:34:29 +0100 Subject: timeperiods.cfg In-Reply-To: <45488EF9.6010403@2020media.com> References: <45488EF9.6010403@2020media.com> Message-ID: <45489455.7080700@op5.se> Rex Wickham (2020Media.com) wrote: > Hi list > > I want to configure an extended day for notifications but nagios never > sends any alerts. Here's a snip of my timeperiods.cfg > > define timeperiod { > timeperiod_name 17x7 > alias 8am - 1am, 7 Days A Week > sunday 00:00-02:00;06:00-23.59 > monday 00:00-02:00;06:00-23.59 > tuesday 00:00-02:00;06:00-23.59 > wednesday 00:00-02:00;06:00-23.59 > thursday 00:00-02:00;06:00-23.59 > friday 00:00-02:00;06:00-23.59 > saturday 00:00-02:00;06:00-23.59 > } > > Is this perhaps not the correct format? > I want notifications from 06.00 in the morning to 02.00 am the next morning. > Write it like this: 00:00-02:00,06:00-24:00 You've put semicolon where there should be comma, dot where there should be colon, and you'll miss out on one minute of notification unless you use 24:00 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Wed Nov 1 13:46:24 2006 From: magic.rooter at gmail.com ( magic_rooter) Date: Wed, 1 Nov 2006 15:46:24 +0300 Subject: snmpwalk (cisco mibs) - changes in the interface's MAC addresses table Message-ID: <989aee610611010446o20b45ad0q728f3858ee4fb348@mail.gmail.com> Is there any OID (if it's possible the exact name) in cisco mibs which shows changes in the interface's MAC addresses table? (Or if there is no such OID, maybe there is OID with the STATIC interface's MAC addresses table?) With the help of snmpwalk with such OID to our cisco devices and with some kind of script for Nagios I will find out the changes in my network status. I have found something on Cisco site http://tools.cisco.com/Support/SNMP/do/BrowseMIB.do?local=en&step=2&submitClicked=true&mibName=CISCO-MAC-NOTIFICATION-MIB#dependencies "This MIB module is for configuration of the MAC notification feature. MAC notification is a mechanism to inform monitoring devices when there are MAC addresses learnt or removed from the forwarding database of the monitored devices." Maybe this MIB is what I need? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Wed Nov 1 14:15:57 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 01 Nov 2006 13:15:57 +0000 Subject: Event Handlers and service check timeouts Message-ID: <45489E0D.90203@googlemail.com> Hi, I would like to implement an event handler but I find that I get service check timeouts for some services. Is there a way of implementing event handlers so that they do not fire when a service goes critical as the result of a service check timeout? Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creyes at co.ibm.com Wed Nov 1 15:18:20 2006 From: creyes at co.ibm.com (Carlos Mauricio Reyes Sanmiguel) Date: Wed, 1 Nov 2006 09:18:20 -0500 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <4540EC07.70501@gmx.net> References: <4540EC07.70501@gmx.net> Message-ID: Hi there, I installed the PNP for Nagios, I did all the steps in teh configuration, it seem really easy, but when i try to display the graphic i get the following. I try accesing the page like this: http://10.0.2.**/nagios/pnp-0.2.4/index.php?host=%3CBC_4506%3E&srv=%3CGi3_1%3E The page display the following: OK Initalising OK Useing /usr/local/nagios/share/perfdata/ OK RRDTool /usr/local/rrdtool-1.2.15/bin/rrdtool found. OK RRD Base Directory /usr/local/nagios/share/perfdata/ found. OK Hostname is set. ! Directory /usr/local/nagios/share/perfdata/ not found. Does anybody knows what this means?, am I missing something in the configuration?, I also check the folder perfdata, and i see some folders for some of the routers i'm monitoring with nagios, but i can't see all, i don't know why it shows only some of them, i also put the line of process data in the nagios configuration of the router's service but it seems that is not creating the perfdata folder with the php file and the rrd. Thanks. creyes Hendrik Baecker Sent by: nagios-users-bounces at lists.sourceforge.net 26/10/2006 12:10 p.m. To Anton Kornexl cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Charts and Graphs and Nagios Oh My! Anton Kornexl schrieb: > Joerg Linge schrieb: > >> Am Mittwoch, 25. Oktober 2006 20:15 schrieb Maxwell,Brady: >> >>> I have a need to setup some performance and trending graphing or charts >>> for many of the service checks I am performing with Nagios. >>> >> [...] >> >> I use PNP http://www.ederdrom.de/doku.php/nagios/pnp_en >> >> PNP stores the Performance Data from the Nagios Plugins in RRDTool Archives. >> You need: >> Perl without special Modules >> PHP to Display the RRD Graphs >> RRDTool to do the work. >> Nagios 2.x and Plugins producing valid Perfdata. >> >> > > I use Nagiosgrapher (see http://www.nagiosexchange.org/) > Its one of the best tools to graph performance data. > > Then have a look at PNP and remember how long you need to get nagiosgrapher to work ;) PNP is realy simple to install. 1. Download 2. unpack 3. copy process-perfdata.pl 4. edit process-perfdata.pl in one line to fit for the directory where the "gui" looks into for rrd files 5. edit the gui configfile to fit the directory mentioned above 6. edit nagios.cfg to process the perfdata with process-perfdata.pl 7. restart nagios and wait a few minutes I guess even for beginners it is a job for 15 up to 30 minutes and after this it just works. Best wishes Hendrik ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 pitchfork at ederdrom.de Wed Nov 1 15:41:07 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 1 Nov 2006 15:41:07 +0100 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: References: Message-ID: <200611011541.07945.pitchfork@ederdrom.de> Am Mittwoch, 1. November 2006 15:18 schrieb Carlos Mauricio Reyes Sanmiguel: > Hi there, > > I installed the PNP for Nagios, I did all the steps in teh configuration, > it seem really easy, but when i try to display the graphic i get the > following. > > I try accesing the page like this: > > http://10.0.2.**/nagios/pnp-0.2.4/index.php?host=%3CBC_4506%3E&srv=%3CGi3_1%3E > > > The page display the following: > > OK Initalising > OK Useing /usr/local/nagios/share/perfdata/ > OK RRDTool /usr/local/rrdtool-1.2.15/bin/rrdtool found. > OK RRD Base Directory /usr/local/nagios/share/perfdata/ found. > OK Hostname is set. > ! Directory /usr/local/nagios/share/perfdata/ not found. Does the directory /usr/local/nagios/share/perfdata exist on your system ? > Does anybody knows what this means?, am I missing something in the > configuration?, I also check the folder perfdata, and i see some folders > for some of the routers i'm monitoring with nagios, but i can't see all, i > don't know why it shows only some of them, Do you mean /usr/local/nagios/share/perfdata ? > i also put the line of process > data in the nagios configuration of the router's service but it seems that > is not creating the perfdata folder with the php file and the rrd. The Plugin _must_ output valid Perfdata. If they do , process_perfdata.pl will create the files. If not, process_perfdata.pl will exit silently. Please show me the performance data output for the router services. 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 pitchfork at ederdrom.de Wed Nov 1 16:28:47 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 1 Nov 2006 16:28:47 +0100 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <200611011541.07945.pitchfork@ederdrom.de> References: <200611011541.07945.pitchfork@ederdrom.de> Message-ID: <200611011628.48263.pitchfork@ederdrom.de> Am Mittwoch, 1. November 2006 15:41 schrieb Joerg Linge: > Am Mittwoch, 1. November 2006 15:18 schrieb Carlos Mauricio Reyes Sanmiguel: > > Hi there, > > > > I installed the PNP for Nagios, I did all the steps in teh configuration, > > it seem really easy, but when i try to display the graphic i get the > > following. > > > > I try accesing the page like this: > > > > http://10.0.2.**/nagios/pnp-0.2.4/index.php?host=%3CBC_4506%3E&srv=%3CGi3_1%3E %3C is urldecoded < If your host_name is BC_4506 an the service_description is CBi3_1 call PNP like this. index.php?host=BC_4506&srv=CBi3_1 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 marc at ena.com Wed Nov 1 16:52:42 2006 From: marc at ena.com (Marc Powell) Date: Wed, 1 Nov 2006 09:52:42 -0600 Subject: Event Handlers and service check timeouts 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: Wednesday, November 01, 2006 7:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Event Handlers and service check timeouts > > Hi, > > I would like to implement an event handler but I find that I get > service check timeouts for some services. Is there a way of implementing > event handlers so that they do not fire when a service goes critical as > the result of a service check timeout? No, not by Nagios configuration. Nagios doesn't attempt to parse the plugin text output, only the exit code so all CRITICAL states are indistinguishable. You can however do that quite easily in an event handler script. If you see that string in the plugin ouput ($SERVICEOUTPUT$ macro), then just exit the event handler. -- 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 Jesse.Saletan at amd.com Wed Nov 1 17:31:25 2006 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Wed, 1 Nov 2006 10:31:25 -0600 Subject: Free disk space : Invalid drive Message-ID: I'm having a problem with Nagios reporting "Invalid drive" when checking free disk space on one particular server's D: drive. Other servers using the same services.cfg and checkcommands.cfg report free disk space on D: without any problems. The server that has this problem reports free space on C: just fine. And --here's the kicker-- while this problem shows up in the web interface, I can run check_nt from a command prompt and get the free space on that server's D: drive without any trouble. The server is running Nagios 2.5 on Red Hat Enterprise 4, and the client I'm monitoring is a Windows Server 2003 SP1 system with NSClient 2.0.1. I've checked D: drive permissions on the client and the SYSTEM account has the same access to D: as it does to C:. The relevant section of services.cfg is: define service{ host_name server1,server2,server3,server4 service_description Disk_D check_command check_nt_disk!D!80!90 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w,u,c,r,f contact_groups localadmins } The check_nt_disk command from checkcommands.cfg: define command{ command_name check_nt_disk command_line $USER1$/check_nt -H $HOSTADDRESS$ -s mypasswd -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ } Any ideas? Jesse ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jesse.Saletan at amd.com Wed Nov 1 17:47:07 2006 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Wed, 1 Nov 2006 10:47:07 -0600 Subject: Free disk space : Invalid drive Message-ID: I forgot to mention, I'm using the 1.4.3 plugins. Jesse ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 1 17:52:47 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Wed, 01 Nov 2006 17:52:47 +0100 Subject: Free disk space : Invalid drive In-Reply-To: References: Message-ID: <4548D0DF.5060505@gmx.net> Hi Jesse, did you check for a second running nagios process? Your mentioned "magic" to see different result on the website as on the cli, occurs often if there is a second (or third) nagios process which runs with older configurations... Try to shutdown your nagios on the normal way: f.e. /etc/init.d/nagios stop wait 10 up to 20 seconds and do a "ps aux | grep nagios" Do you see more nagios procs? --> Kill them After this start your nagios and wait for new status Informations. Regards Hendrik Saletan, Jesse schrieb: > I'm having a problem with Nagios reporting "Invalid drive" when checking > free disk space on one particular server's D: drive. Other servers > using the same services.cfg and checkcommands.cfg report free disk space > on D: without any problems. The server that has this problem reports > free space on C: just fine. And --here's the kicker-- while this > problem shows up in the web interface, I can run check_nt from a command > prompt and get the free space on that server's D: drive without any > trouble. > > The server is running Nagios 2.5 on Red Hat Enterprise 4, and the client > I'm monitoring is a Windows Server 2003 SP1 system with NSClient 2.0.1. > I've checked D: drive permissions on the client and the SYSTEM account > has the same access to D: as it does to C:. > > The relevant section of services.cfg is: > > define service{ > host_name server1,server2,server3,server4 > service_description Disk_D > check_command check_nt_disk!D!80!90 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups localadmins > } > > The check_nt_disk command from checkcommands.cfg: > > define command{ > command_name check_nt_disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -s mypasswd -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > Any ideas? > > Jesse > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 conigliaro at getproactivenow.com Wed Nov 1 18:33:03 2006 From: conigliaro at getproactivenow.com (mike conigliaro) Date: Wed, 01 Nov 2006 12:33:03 -0500 Subject: nagios 2.x and ndoutils In-Reply-To: <4547A3F9.80009@getproactivenow.com> References: <4547A3F9.80009@getproactivenow.com> Message-ID: <4548DA4F.5040504@getproactivenow.com> first of all, thanks to everyone who has taken the time to get back to me on this (for the benefit of everyone else here, it might be a good idea to reply back to the group from now on rather than directly to me, but i digress =). i have ndoutils up and running now, but i was disappointed to find out that performance data does not seem to go into the database (by default anyway). does anyone know if there's a way to enable this? maybe its coming in a future release? if not, i guess perfparse will continue to work for me, but id like to do everything with ndo if possible (its a lot less complicated). thanks in advance. Mike Conigliaro ProActive Technologies conigliaro at getproactivenow.com 203.239.0440 ext:317 www.getproactivenow.com mike conigliaro wrote: > is anyone out there using ndoutils? any major issues? i just discovered it > recently, and it seems to be the solution for those of us who want to store > nagios data in a database. however, the lack of documentation on the web and > the fact that it isnt downloadable from the main nagios site makes me wonder > about the status of this project. is it alpha? beta? > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 1 18:54:47 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 1 Nov 2006 18:54:47 +0100 Subject: nagios 2.x and ndoutils In-Reply-To: <4548DA4F.5040504@getproactivenow.com> References: <4547A3F9.80009@getproactivenow.com> <4548DA4F.5040504@getproactivenow.com> Message-ID: <200611011854.48395.pitchfork@ederdrom.de> Am Mittwoch, 1. November 2006 18:33 schrieb mike conigliaro: [...] > i have ndoutils up and running now, but i was disappointed to find out that > performance data does not seem to go into the database (by default anyway). > does anyone know if there's a way to enable this? maybe its coming in a future > release? if not, i guess perfparse will continue to work for me, but id like to > do everything with ndo if possible (its a lot less complicated). Hi Mike, the plugin output and the performace data is available. mysql> select servicecheck_id,output,perfdata from ndo_servicechecks where servicecheck_id = "34628329"; +-----------------+-------------------------------------------------+-------------------------------------------------+ | servicecheck_id | output | perfdata | +-----------------+-------------------------------------------------+-------------------------------------------------+ | 34628329 | OK - xxxxx.dierichs.de: rta 0.281ms, lost 0% | rta=0.281ms;3000.000;5000.000;0; pl=0%;80;100;; | +-----------------+-------------------------------------------------+-------------------------------------------------+ 1 row in set (0.00 sec) 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 ismail at habari.co.tz Wed Nov 1 19:01:08 2006 From: ismail at habari.co.tz (Ismail M. Settenda) Date: Wed, 1 Nov 2006 21:01:08 +0300 Subject: timeperiods.cfg In-Reply-To: <45488EF9.6010403@2020media.com> References: <45488EF9.6010403@2020media.com> Message-ID: <3c1cf0fd0611011001x77464f2dw9e2553cb98b5f100@mail.gmail.com> try this monday 00:00-02:00, 06:00-23:59 instead of monday 00:00-02:00;06:00-23.59 -- Ismail On 11/1/06, Rex Wickham (2020Media.com) wrote: > > Hi list > > I want to configure an extended day for notifications but nagios never > sends any alerts. Here's a snip of my timeperiods.cfg > > define timeperiod { > timeperiod_name 17x7 > alias 8am - 1am, 7 Days A Week > sunday 00:00-02:00;06:00-23.59 > monday 00:00-02:00;06:00-23.59 > tuesday 00:00-02:00;06:00-23.59 > wednesday 00:00-02:00;06:00-23.59 > thursday 00:00-02:00;06:00-23.59 > friday 00:00-02:00;06:00-23.59 > saturday 00:00-02:00;06:00-23.59 > } > > Is this perhaps not the correct format? > I want notifications from 06.00 in the morning to 02.00 am the next > morning. > > Any advice appreciated > > - Rex W(2020media) > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Jesse.Saletan at amd.com Wed Nov 1 18:03:53 2006 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Wed, 1 Nov 2006 11:03:53 -0600 Subject: Free disk space : Invalid drive Message-ID: Thanks for the suggestion, Hendrik. I stopped the nagios service and verified that there were no additional processes running. Then I restarted it and after the next check the problem was still there. Jesse -----Original Message----- From: Hendrik Baecker [mailto:b00mer at gmx.net] Sent: Wednesday, November 01, 2006 10:53 AM To: Saletan, Jesse Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Free disk space : Invalid drive Hi Jesse, did you check for a second running nagios process? Your mentioned "magic" to see different result on the website as on the cli, occurs often if there is a second (or third) nagios process which runs with older configurations... Try to shutdown your nagios on the normal way: f.e. /etc/init.d/nagios stop wait 10 up to 20 seconds and do a "ps aux | grep nagios" Do you see more nagios procs? --> Kill them After this start your nagios and wait for new status Informations. Regards Hendrik Saletan, Jesse schrieb: > I'm having a problem with Nagios reporting "Invalid drive" when checking > free disk space on one particular server's D: drive. Other servers > using the same services.cfg and checkcommands.cfg report free disk space > on D: without any problems. The server that has this problem reports > free space on C: just fine. And --here's the kicker-- while this > problem shows up in the web interface, I can run check_nt from a command > prompt and get the free space on that server's D: drive without any > trouble. > > The server is running Nagios 2.5 on Red Hat Enterprise 4, and the client > I'm monitoring is a Windows Server 2003 SP1 system with NSClient 2.0.1. > I've checked D: drive permissions on the client and the SYSTEM account > has the same access to D: as it does to C:. > > The relevant section of services.cfg is: > > define service{ > host_name server1,server2,server3,server4 > service_description Disk_D > check_command check_nt_disk!D!80!90 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups localadmins > } > > The check_nt_disk command from checkcommands.cfg: > > define command{ > command_name check_nt_disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -s mypasswd -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > Any ideas? > > Jesse > > > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 conigliaro at getproactivenow.com Wed Nov 1 19:07:39 2006 From: conigliaro at getproactivenow.com (mike conigliaro) Date: Wed, 01 Nov 2006 13:07:39 -0500 Subject: nagios 2.x and ndoutils In-Reply-To: <200611011854.48395.pitchfork@ederdrom.de> References: <4547A3F9.80009@getproactivenow.com> <4548DA4F.5040504@getproactivenow.com> <200611011854.48395.pitchfork@ederdrom.de> Message-ID: <4548E26B.5090504@getproactivenow.com> oops, i must have missed that table. thanks! Mike Conigliaro ProActive Technologies conigliaro at getproactivenow.com 203.239.0440 ext:317 www.getproactivenow.com Joerg Linge wrote: > Am Mittwoch, 1. November 2006 18:33 schrieb mike conigliaro: > [...] >> i have ndoutils up and running now, but i was disappointed to find out that >> performance data does not seem to go into the database (by default anyway). >> does anyone know if there's a way to enable this? maybe its coming in a future >> release? if not, i guess perfparse will continue to work for me, but id like to >> do everything with ndo if possible (its a lot less complicated). > > Hi Mike, > the plugin output and the performace data is available. > > mysql> select servicecheck_id,output,perfdata from ndo_servicechecks where servicecheck_id = "34628329"; > +-----------------+-------------------------------------------------+-------------------------------------------------+ > | servicecheck_id | output | perfdata | > +-----------------+-------------------------------------------------+-------------------------------------------------+ > | 34628329 | OK - xxxxx.dierichs.de: rta 0.281ms, lost 0% | rta=0.281ms;3000.000;5000.000;0; pl=0%;80;100;; | > +-----------------+-------------------------------------------------+-------------------------------------------------+ > 1 row in set (0.00 sec) > > 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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick.aseltine at centrepath.com Wed Nov 1 19:50:12 2006 From: dick.aseltine at centrepath.com (Aseltine, Dick) Date: Wed, 1 Nov 2006 13:50:12 -0500 Subject: Another Event Handler looping question Message-ID: <6CA85554A071E54FAE763836FA1CD74402E2008A@mail-be.centrepath.com> Thanks for the reply. What I ended up doing was to create another contact and use my event handle script in the "host_notification_commands" definition. Now my event handle script gets called every 5 minutes defined by "notification interval". Richard Aseltine -----Original Message----- From: orzeh [mailto:orz3h at tlen.pl] Sent: Wednesday, November 01, 2006 12:02 PM To: Aseltine, Dick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Another Event Handler looping question Aseltine, Dick napisa?(a): > I have set up a dummy host to force at failure using check_icmp to > validate an event handle execution that sends notifications to another > NMS. I have read is_volatile from another thread but since this is a > failure test the service never gets executed. is_volatile is not a > directive of the host definition. > > Is there a way to loop the execution of a event handle in this > situation? > > Richard Aseltine > > Hello I've made the dummy_host for host and event handler is handling the 'main' service for this host, so host in no really host, i'd the similar problem with host and service,. I hopoe this was helpful for you 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 From bigwavedave at gmail.com Wed Nov 1 21:53:44 2006 From: bigwavedave at gmail.com (Big Wave Dave) Date: Wed, 1 Nov 2006 12:53:44 -0800 Subject: small alternative frontend In-Reply-To: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> Message-ID: <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> On 10/10/06, Chris Waters wrote: > Robin, > > I have a perl cgi (stoplight.pl) that does a redlight/greenlight page. > based on if all problems are handled or not. It currently does not do > warning states or display the problem hosts/services but could be > extended to do so. Might be a good place for you to start if you want > to start down that path. I would be happy to send you the perl if you > want it. It's a quick had I did a while ago so there might be things > you want to change/fix. I am working on a version that does exactly > what you are asking for but my time is limited. > > Chris Waters > Information Systems - Networks Group > JELD-WEN, Inc. > cwaters at jeld-wen.com > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robin > Ericsson > Sent: Friday, October 06, 2006 4:56 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] small alternative frontend > > Hi, > > I'm looking for a small front-end cgi that should be extremely simple. > > If everything is OK, it should display a green background and say that > everything is OK. > If warning, it should display an orange background and list > services/hosts that are warned. > If critical, it should display a red background and list > services/hosts with errors and warnings. > > Is there something like this available? Otherwise I guess it could be > wrapped out pretty quick if I get some tips on how :) > > -- > regards, > Robin > Is this something that has been posted online and available for download? I'm interested in seeing it in action. Thanks, Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kevin.andersen at 247realmedia.com Wed Nov 1 22:04:19 2006 From: kevin.andersen at 247realmedia.com (Andersen, Kevin J.) Date: Wed, 1 Nov 2006 14:04:19 -0700 Subject: small alternative frontend In-Reply-To: <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> References: <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> Message-ID: <055490680E9D0E498A57AE92414EECE8026D54C5@VS5.EXCHPROD.USA.NET> You could look at NSC for nagios, I think it may have what you're looking for. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Big Wave Dave Sent: Wednesday, November 01, 2006 3:54 PM To: Chris Waters Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] small alternative frontend On 10/10/06, Chris Waters wrote: > Robin, > > I have a perl cgi (stoplight.pl) that does a redlight/greenlight page. > based on if all problems are handled or not. It currently does not do > warning states or display the problem hosts/services but could be > extended to do so. Might be a good place for you to start if you want > to start down that path. I would be happy to send you the perl if you > want it. It's a quick had I did a while ago so there might be things > you want to change/fix. I am working on a version that does exactly > what you are asking for but my time is limited. > > Chris Waters > Information Systems - Networks Group > JELD-WEN, Inc. > cwaters at jeld-wen.com > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robin > Ericsson > Sent: Friday, October 06, 2006 4:56 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] small alternative frontend > > Hi, > > I'm looking for a small front-end cgi that should be extremely simple. > > If everything is OK, it should display a green background and say that > everything is OK. > If warning, it should display an orange background and list > services/hosts that are warned. > If critical, it should display a red background and list > services/hosts with errors and warnings. > > Is there something like this available? Otherwise I guess it could be > wrapped out pretty quick if I get some tips on how :) > > -- > regards, > Robin > Is this something that has been posted online and available for download? I'm interested in seeing it in action. Thanks, Dave ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 andy.shellam-lists at mailnetwork.co.uk Wed Nov 1 22:28:19 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 01 Nov 2006 21:28:19 +0000 Subject: small alternative frontend In-Reply-To: <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> Message-ID: <45491173.3080508@mailnetwork.co.uk> Hi Dave, I have just (10 minutes ago!) released version 0.2.4 of my alternative front-end called "Nagios/Network Looking Glass" - it's aimed at businesses that want to publish their server status to 3rd parties without giving them access to the full Nagios CGIs. You can see it in action at http://looking-glass.andyshellam.eu. I'm planning on releasing it under the GPL - as yet I have no documentation - but it's fully customisable with HTML/Ajax templates, runs as 2 PHP components (a Poller on the Nagios server, and the poller client on the public-facing webserver.) It takes its data from Nagios's status.dat file, so is realtime - as soon as Nagios makes the change, NLG knows about it :-) Let me know your thoughts - I can provide the source and guide you through a test install if need be. Andy Big Wave Dave wrote: > On 10/10/06, Chris Waters wrote: > >> Robin, >> >> I have a perl cgi (stoplight.pl) that does a redlight/greenlight page. >> based on if all problems are handled or not. It currently does not do >> warning states or display the problem hosts/services but could be >> extended to do so. Might be a good place for you to start if you want >> to start down that path. I would be happy to send you the perl if you >> want it. It's a quick had I did a while ago so there might be things >> you want to change/fix. I am working on a version that does exactly >> what you are asking for but my time is limited. >> >> Chris Waters >> Information Systems - Networks Group >> JELD-WEN, Inc. >> cwaters at jeld-wen.com >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robin >> Ericsson >> Sent: Friday, October 06, 2006 4:56 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] small alternative frontend >> >> Hi, >> >> I'm looking for a small front-end cgi that should be extremely simple. >> >> If everything is OK, it should display a green background and say that >> everything is OK. >> If warning, it should display an orange background and list >> services/hosts that are warned. >> If critical, it should display a red background and list >> services/hosts with errors and warnings. >> >> Is there something like this available? Otherwise I guess it could be >> wrapped out pretty quick if I get some tips on how :) >> >> -- >> regards, >> Robin >> >> > Is this something that has been posted online and available for download? > I'm interested in seeing it in action. > Thanks, > Dave > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,4549098140414844164952! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 1 22:40:37 2006 From: colby.williams at gmail.com (Colby Williams) Date: Wed, 1 Nov 2006 16:40:37 -0500 Subject: small alternative frontend In-Reply-To: <45491173.3080508@mailnetwork.co.uk> References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> <45491173.3080508@mailnetwork.co.uk> Message-ID: <10fa72f80611011340w32fe5da6nb51e11c4832c3a53@mail.gmail.com> How many Devices can it handle? How will the dispaly handle many devices? I have over 300. Colby On 11/1/06, Andy Shellam (Mailing Lists) < andy.shellam-lists at mailnetwork.co.uk> wrote: > > Hi Dave, > > I have just (10 minutes ago!) released version 0.2.4 of my alternative > front-end called "Nagios/Network Looking Glass" - it's aimed at > businesses that want to publish their server status to 3rd parties > without giving them access to the full Nagios CGIs. You can see it in > action at http://looking-glass.andyshellam.eu. > > I'm planning on releasing it under the GPL - as yet I have no > documentation - but it's fully customisable with HTML/Ajax templates, > runs as 2 PHP components (a Poller on the Nagios server, and the poller > client on the public-facing webserver.) It takes its data from Nagios's > status.dat file, so is realtime - as soon as Nagios makes the change, > NLG knows about it :-) > > Let me know your thoughts - I can provide the source and guide you > through a test install if need be. > > Andy > > Big Wave Dave wrote: > > On 10/10/06, Chris Waters wrote: > > > >> Robin, > >> > >> I have a perl cgi (stoplight.pl) that does a redlight/greenlight page. > >> based on if all problems are handled or not. It currently does not do > >> warning states or display the problem hosts/services but could be > >> extended to do so. Might be a good place for you to start if you want > >> to start down that path. I would be happy to send you the perl if you > >> want it. It's a quick had I did a while ago so there might be things > >> you want to change/fix. I am working on a version that does exactly > >> what you are asking for but my time is limited. > >> > >> Chris Waters > >> Information Systems - Networks Group > >> JELD-WEN, Inc. > >> cwaters at jeld-wen.com > >> -----Original Message----- > >> From: nagios-users-bounces at lists.sourceforge.net > >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robin > >> Ericsson > >> Sent: Friday, October 06, 2006 4:56 AM > >> To: nagios-users at lists.sourceforge.net > >> Subject: [Nagios-users] small alternative frontend > >> > >> Hi, > >> > >> I'm looking for a small front-end cgi that should be extremely simple. > >> > >> If everything is OK, it should display a green background and say that > >> everything is OK. > >> If warning, it should display an orange background and list > >> services/hosts that are warned. > >> If critical, it should display a red background and list > >> services/hosts with errors and warnings. > >> > >> Is there something like this available? Otherwise I guess it could be > >> wrapped out pretty quick if I get some tips on how :) > >> > >> -- > >> regards, > >> Robin > >> > >> > > Is this something that has been posted online and available for > download? > > I'm interested in seeing it in action. > > Thanks, > > Dave > > > > > ------------------------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > !DSPAM:37,4549098140414844164952! > > > > > > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 andy.shellam-lists at mailnetwork.co.uk Wed Nov 1 22:49:37 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 01 Nov 2006 21:49:37 +0000 Subject: small alternative frontend In-Reply-To: <10fa72f80611011340w32fe5da6nb51e11c4832c3a53@mail.gmail.com> References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> <45491173.3080508@mailnetwork.co.uk> <10fa72f80611011340w32fe5da6nb51e11c4832c3a53@mail.gmail.com> Message-ID: <45491671.1030200@mailnetwork.co.uk> Hi Colby, That I don't know. I've only got 6 hosts (39 services) configured on my system at the moment, but I'm up for testers. It first queries the number of hosts (known as 'Servers' in NLG), then queries the services (known as 'Metrics' in NLG) when you expand a host (through the use of Ajax.) I wouldn't think 300 devices would cause too much of a slow-down - I can optimise the metrics lookup to make it a bit faster using regular expressions, but overall the speed would mainly depend on the spec of both your Nagios server (that would run the poller) and the public-facing server (that would run the poller client) and the link between the two. NLG does the lookup on each hit, so it would also depend how busy you're NLG site is (for this I'm also planning on using a cache file to speed things up a bit.) If you like, I could test it and see (as I have geographically-separate Nagios and NLG servers.) Just send me your latest status.dat file to my private address (remove "-lists" off my e-mail address) and I'll run it and see. Thanks, Andy. Colby Williams wrote: > How many Devices can it handle? How will the dispaly handle many > devices? I have over 300. > > Colby > > On 11/1/06, *Andy Shellam (Mailing Lists)* < > andy.shellam-lists at mailnetwork.co.uk > > wrote: > > Hi Dave, > > I have just (10 minutes ago!) released version 0.2.4 of my alternative > front-end called "Nagios/Network Looking Glass" - it's aimed at > businesses that want to publish their server status to 3rd parties > without giving them access to the full Nagios CGIs. You can see > it in > action at http://looking-glass.andyshellam.eu. > > I'm planning on releasing it under the GPL - as yet I have no > documentation - but it's fully customisable with HTML/Ajax templates, > runs as 2 PHP components (a Poller on the Nagios server, and the > poller > client on the public-facing webserver.) It takes its data from > Nagios's > status.dat file, so is realtime - as soon as Nagios makes the change, > NLG knows about it :-) > > Let me know your thoughts - I can provide the source and guide you > through a test install if need be. > > Andy > > Big Wave Dave wrote: > > On 10/10/06, Chris Waters < CWaters at jeld-wen.com > > wrote: > > > >> Robin, > >> > >> I have a perl cgi (stoplight.pl) that does a > redlight/greenlight page. > >> based on if all problems are handled or not. It currently does > not do > >> warning states or display the problem hosts/services but could be > >> extended to do so. Might be a good place for you to start if > you want > >> to start down that path. I would be happy to send you the perl > if you > >> want it. It's a quick had I did a while ago so there might be > things > >> you want to change/fix. I am working on a version that does > exactly > >> what you are asking for but my time is limited. > >> > >> Chris Waters > >> Information Systems - Networks Group > >> JELD-WEN, Inc. > >> cwaters at jeld-wen.com > >> -----Original Message----- > >> From: nagios-users-bounces at lists.sourceforge.net > > >> [mailto:nagios-users-bounces at lists.sourceforge.net > ] On Behalf Of > Robin > >> Ericsson > >> Sent: Friday, October 06, 2006 4:56 AM > >> To: nagios-users at lists.sourceforge.net > > >> Subject: [Nagios-users] small alternative frontend > >> > >> Hi, > >> > >> I'm looking for a small front-end cgi that should be extremely > simple. > >> > >> If everything is OK, it should display a green background and > say that > >> everything is OK. > >> If warning, it should display an orange background and list > >> services/hosts that are warned. > >> If critical, it should display a red background and list > >> services/hosts with errors and warnings. > >> > >> Is there something like this available? Otherwise I guess it > could be > >> wrapped out pretty quick if I get some tips on how :) > >> > >> -- > >> regards, > >> Robin > >> > >> > > Is this something that has been posted online and available for > download? > > I'm interested in seeing it in action. > > Thanks, > > Dave > > > > > ------------------------------------------------------------------------- > > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make > your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > > > !DSPAM:14,4549147340417342410187! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lobbin at gmail.com Wed Nov 1 23:35:25 2006 From: lobbin at gmail.com (Robin Ericsson) Date: Wed, 1 Nov 2006 23:35:25 +0100 Subject: small alternative frontend In-Reply-To: <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> Message-ID: On 11/1/06, Big Wave Dave wrote: > Is this something that has been posted online and available for download? > I'm interested in seeing it in action. Hi. I've done a few changes to the nss.py found as NagiosExchange. I'm going for vacation now but I can publish the changes when I get back. If it takes to long, remind me :) Otherwise, that looking-glass think looks nice as well. -- regards, Robin ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 1 23:50:23 2006 From: timp at crossthread.com (Tim Pushor) Date: Wed, 01 Nov 2006 15:50:23 -0700 Subject: Can I have more detail in the email? Message-ID: <454924AF.5010408@crossthread.com> Hi friends, I am setting up my small nagios setup to alarm on SNMP traps. So far so good, but one issue that I am currently facing is that the trap that I am receiving from a system has quite a bit of detail in it. I'd like for that detail to make it across to the notification email but not show up in the web interface (it is from 1 - 10 lines of data). I am using snmp -> snmptrapd -> snmptt -> nagios (via PROCESS_SERVICE_CHECK_RESULT + passive/volatile service). Is there any way to do this? Thanks! Tim ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 00:19:56 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 01 Nov 2006 23:19:56 +0000 Subject: small alternative frontend In-Reply-To: <10fa72f80611011340w32fe5da6nb51e11c4832c3a53@mail.gmail.com> References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> <45491173.3080508@mailnetwork.co.uk> <10fa72f80611011340w32fe5da6nb51e11c4832c3a53@mail.gmail.com> Message-ID: <45492B9C.8020407@mailnetwork.co.uk> I've just come back from a refreshing shower (it's funny, I find most of my inspiration in the shower these days - strangeness :? ) Anyway, in fear of digressing, I've come to a conclusion that the major 2 bottlenocks to NLG are: - the network transfer overhead between the Nagios and the NLG server (if on different machines) - the speed of the browser in rendering the returned output To solve both of these, in v0.2.5, I'll build in a "pager" for the hosts, as follows: When the poller gathers it's data from Nagios, it sorts it into alphabetical data according to the hostname, then only sends back the first X number of hosts (set in the config.) Then at the bottom of the screen, you'll get a bar like the following: "Showing hosts 1 - 20 of 300 [ page 1 | 2 | 3 | 4 | 5 ... 15 ]" which you can use to flick through the rest. I'll also add an overall server/metric status (like the 'Network Health' section in Nagios's Tactical Overview). In the future I'm planning on adding support for showing planned downtimes, acknowledgements and comments. Methinks this should work :) Andy. Colby Williams wrote: > How many Devices can it handle? How will the dispaly handle many > devices? I have over 300. > > Colby > > On 11/1/06, *Andy Shellam (Mailing Lists)* < > andy.shellam-lists at mailnetwork.co.uk > > wrote: > > Hi Dave, > > I have just (10 minutes ago!) released version 0.2.4 of my alternative > front-end called "Nagios/Network Looking Glass" - it's aimed at > businesses that want to publish their server status to 3rd parties > without giving them access to the full Nagios CGIs. You can see > it in > action at http://looking-glass.andyshellam.eu. > > I'm planning on releasing it under the GPL - as yet I have no > documentation - but it's fully customisable with HTML/Ajax templates, > runs as 2 PHP components (a Poller on the Nagios server, and the > poller > client on the public-facing webserver.) It takes its data from > Nagios's > status.dat file, so is realtime - as soon as Nagios makes the change, > NLG knows about it :-) > > Let me know your thoughts - I can provide the source and guide you > through a test install if need be. > > Andy > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,4549148740411588416455! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 2 00:36:13 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Thu, 2 Nov 2006 00:36:13 +0100 (CET) Subject: External Commands segfault Message-ID: <20061101233613.633CC4F4046@desire.netways.de> Hi All Doing a stack dump on Nagios after a segfault following an External Command gives the following stack. Does this make sense to anyone? Where do I go from here? Again, this happens on all tested platforms, all Nagios versions, and all tested Linux. =========== Detaching after fork from child process 19947. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208391264 (LWP 5431)] 0x0806c951 in hashfunc2 (name1=0x2
, name2=0x80f
, hashslots=1024) at utils.c:4285 4285 for(i=0;i,name2=0x80f
, hashslots=1024) at utils.c:4285 #1 0x080768a1 in find_service (host_name=0x2
,svc_desc=dwarf2_read_address: Corrupted DWARF expression. ) at ../common/objects.c:5016 #2 0x0808ef4b in handle_scheduled_downtime (temp_downtime=0x9f21c00) at ../common/downtime.c:311 #3 0x08063454 in handle_timed_event (event=0x9fa2728) at events.c:1289 #4 0x08063a9d in event_execution_loop () at events.c:964 #5 0x0805394d in main (argc=3, argv=0xbff3f274) at nagios.c:710 (gdb) - David Schlecht (dschl) ----------------------- 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 hvdkooij at vanderkooij.org Thu Nov 2 07:49:37 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 2 Nov 2006 07:49:37 +0100 (CET) Subject: small alternative frontend In-Reply-To: <45491173.3080508@mailnetwork.co.uk> References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> <45491173.3080508@mailnetwork.co.uk> Message-ID: On Wed, 1 Nov 2006, Andy Shellam (Mailing Lists) wrote: > I have just (10 minutes ago!) released version 0.2.4 of my alternative > front-end called "Nagios/Network Looking Glass" - it's aimed at > businesses that want to publish their server status to 3rd parties > without giving them access to the full Nagios CGIs. You can see it in > action at http://looking-glass.andyshellam.eu. Nice thought. But the display gets garbled here with Firefox/Linux. I can see the servers but the services are not clear. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From he_anton at yahoo.com Thu Nov 2 09:37:03 2006 From: he_anton at yahoo.com (hendro budianto) Date: Thu, 2 Nov 2006 00:37:03 -0800 (PST) Subject: Services dependency at nagios Message-ID: <20061102083703.28294.qmail@web52012.mail.yahoo.com> Dear All Nagios master, I'm just implementations nagios 2.5, nagios-plugins-1.4.3, NagiosGrapher-1.6-rc1 at Fedora Core 4.0. So far is good, and i try to using service dependency function. Configurations sample is below: define host{ host_name SRPFS2 hostgroups File.Svr alias SRPFS2 File Server address 172.16.59.14 check_command check-host-alive max_check_attempts 4 check_period 24x7 contact_groups lnadmins notification_interval 120 notification_period 24x7 notification_options d,r,f parents SWITCH_SVR-59 } define service{ host_name SRPFS2,SRPFS3 service_description PING check_command check_ping!100.0,20%!500.0,60% max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w,u,c,r,f contact_groups lnadmins } define service{ host_name SRPFS2 service_description CheckClient check_command check_nt_ncnet max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w,u,c,r,f contact_groups lnadmins } define service{ host_name SRPFS2 service_description DiskUsageC check_command check_nt_disk!C!80!90 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w,c,r,f contact_groups appadmins } define service{ host_name SRPFS2 service_description DiskUsageD check_command check_nt_disk!D!80!90 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 120 notification_period 24x7 notification_options w,c,r,f contact_groups appadmins } define servicedependency{ host_name SRPFS2 service_description DiskUsageC dependent_host_name SRPFS2 dependent_service_description DiskUsageD execution_failure_criteria w,u,c notification_failure_criteria w,u,c } This host is have a four services ping, DiskUsageC, DiskUsageD and CheckClient running. Only service DiskUsageD is warning, but why after nagios service reload, the services DiskUsageC is still OK. Isn't DiskUsageC should warning too ? Thank's for clues before. Best regards, Hendro B ____________________________________________________________________________________ Low, Low, Low Rates! Check out Yahoo! Messenger's cheap PC-to-Phone call rates (http://voice.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 andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 10:41:09 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 02 Nov 2006 09:41:09 +0000 Subject: small alternative frontend In-Reply-To: References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> <45491173.3080508@mailnetwork.co.uk> Message-ID: <4549BD35.1010306@mailnetwork.co.uk> Hi Hugo, Can you send me a screenshot? NLG was developed on Firefox 2.0, and I've tested on IE6, but obviously it's all Windows based. Could me something to do with the fonts maybe? Thanks Andy. Hugo van der Kooij wrote: > On Wed, 1 Nov 2006, Andy Shellam (Mailing Lists) wrote: > > >> I have just (10 minutes ago!) released version 0.2.4 of my alternative >> front-end called "Nagios/Network Looking Glass" - it's aimed at >> businesses that want to publish their server status to 3rd parties >> without giving them access to the full Nagios CGIs. You can see it in >> action at http://looking-glass.andyshellam.eu. >> > > Nice thought. But the display gets garbled here with Firefox/Linux. I can > see the servers but the services are not clear. > > Hugo. > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 2 11:22:15 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 2 Nov 2006 11:22:15 +0100 Subject: small alternative frontend In-Reply-To: <4549BD35.1010306@mailnetwork.co.uk> References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> <45491173.3080508@mailnetwork.co.uk> <4549BD35.1010306@mailnetwork.co.uk> Message-ID: On 2 Nov, 2006, at 10:41, Andy Shellam (Mailing Lists) wrote: > Can you send me a screenshot? NLG was developed on Firefox 2.0, and > I've tested on IE6, but obviously it's all Windows based. In the meantime I can verify that the tool/site works like a treat on Mac OS X.4, with both Safari and Firefox. Looking good Andy! 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 andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 11:42:27 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 02 Nov 2006 10:42:27 +0000 Subject: small alternative frontend In-Reply-To: References: <83C21E03494FF147B56468B5055178210311EC88@jwmail01.domain.jw.local> <8e124f160611011253u18ecbfe5w104007aafe93a803@mail.gmail.com> <45491173.3080508@mailnetwork.co.uk> <4549BD35.1010306@mailnetwork.co.uk> Message-ID: <4549CB93.8040805@mailnetwork.co.uk> Excellent :-) Thanks for the info, Thomas, much appreciated. Andy. Thomas Sluyter wrote: > On 2 Nov, 2006, at 10:41, Andy Shellam (Mailing Lists) wrote: > > >> Can you send me a screenshot? NLG was developed on Firefox 2.0, and >> I've tested on IE6, but obviously it's all Windows based. >> > > In the meantime I can verify that the tool/site works like a treat on > Mac OS X.4, with both Safari and Firefox. Looking good Andy! > > > 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 > > !DSPAM:37,4549c6f540411545754704! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 2 11:49:36 2006 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 2 Nov 2006 10:49:36 +0000 Subject: Caching nsca data from slaves to master Message-ID: <4FCB2E16-0B63-42BB-A842-0D8375A92713@altinity.com> Hi! Just to let you know that we've put a blog post up about caching passive service results from Nagios slaves in a distributed setup. We've also included the script that we use. This helped on several of our customer's distributed setup and I'm keen to find out if it works for you too. It lowered our average check latency by a factor of 10. Blog on http://www.altinity.org 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 german.basisty at eipsistemas.ath.cx Thu Nov 2 12:42:16 2006 From: german.basisty at eipsistemas.ath.cx (German C. Basisty) Date: Thu, 2 Nov 2006 08:42:16 -0300 Subject: Help with check_http Message-ID: <000901c6fe73$f27229a0$640da8c0@moqueta> Hello folks! Im runing nagios on my Linux (fedora 5) box. My http service is working ok, but when I try check_http -H servername.domainname or check_http -I 192.168.13.2 it answers HTTP WARNING: HTTP/1.1 403 Forbidden But if I try check_http -H someclientserver who runs another version of apache httpd it answers HTTP OK HTTP/1.1 200 OK - 397 bytes in 5.212 seconds |time=5.211540s;;;0.000000 size=397B;;;0 What could be happening? Best 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 From GilesC at CarmenMedia.com Thu Nov 2 12:48:49 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Thu, 2 Nov 2006 12:48:49 +0100 Subject: Help with check_http Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F620B3@cmgexcdc01.CMG.local> > > Hello folks! > > Im runing nagios on my Linux (fedora 5) box. My http service > is working ok, but when I try check_http -H > servername.domainname or check_http -I > 192.168.13.2 it answers > > HTTP WARNING: HTTP/1.1 403 Forbidden > Your web server is asking for a username and password. > But if I try check_http -H someclientserver who runs another > version of apache httpd it answers > > HTTP OK HTTP/1.1 200 OK - 397 bytes in 5.212 seconds > |time=5.211540s;;;0.000000 size=397B;;;0 > This web server accepts anonymous connections. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gottfried.hufnagel at onb.ac.at Thu Nov 2 12:50:37 2006 From: gottfried.hufnagel at onb.ac.at (gottfried hufnagel) Date: Thu, 2 Nov 2006 12:50:37 +0100 Subject: Help with check_http In-Reply-To: <000901c6fe73$f27229a0$640da8c0@moqueta> References: <000901c6fe73$f27229a0$640da8c0@moqueta> Message-ID: <200611021250.37761.gottfried.hufnagel@onb.ac.at> hi! are you sure, that servername.domainname is not returning a 403-status? what does a webbrowser answer? greetinx gottfried Am Donnerstag 02 November 2006 12:42 schrieb German C. Basisty: ---[ Hello folks! ---[ ---[ Im runing nagios on my Linux (fedora 5) box. My http service is working ok, ---[ but when I try check_http -H servername.domainname or check_http -I ---[ 192.168.13.2 it answers ---[ ---[ HTTP WARNING: HTTP/1.1 403 Forbidden ---[ ---[ But if I try check_http -H someclientserver who runs another version of ---[ apache httpd it answers ---[ ---[ HTTP OK HTTP/1.1 200 OK - 397 bytes in 5.212 seconds ---[ |time=5.211540s;;;0.000000 size=397B;;;0 ---[ ---[ What could be happening? ---[ ---[ Best 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 ---[ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 13:42:39 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 02 Nov 2006 12:42:39 +0000 Subject: small alternative frontend In-Reply-To: References: Message-ID: <4549E7BF.8020300@mailnetwork.co.uk> Hi Narendran, It's not yet downloadable anywhere at the moment as I've got the documentation to write and a few other things to finalise. I'll forward you separate to this e-mail the current 0.2.4 ZIP and quick-draft instructions I have sent to a couple of people so far - any problems, get in touch to my personal address (remove "-lists" off this e-mail address.) 0.2.41 is due for release in the next week or so with some quite significant enhancements: - Error handling displays error details in similar theme currently - Remove the 'Expand Metrics' button on hosts with no metrics - Fix for Firefox on Linux (hopefully!!) - Enhanced performance on reading metrics from status file In 0.2.5 I'm planning on having a pager for the hosts, so it shows them in alphabetical order, with a "page 1 | 2 | 3 | 4" bar which will greatly improve the handling of many hosts. Thanks everyone for the feedback so far, Andy. narendran.neelamegam at wipro.com wrote: > Hi Andy, > > Where do I get the source and steps to install. Looks very good. > > I can test it for 300-500 devices and let you know the outcome. > > Thanks and Regards, > > Narendran Neelamegam > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 14:51:15 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 02 Nov 2006 13:51:15 +0000 Subject: Nagios Looking Glass (was: small alternative frontend) In-Reply-To: <4549E7BF.8020300@mailnetwork.co.uk> References: <4549E7BF.8020300@mailnetwork.co.uk> Message-ID: <4549F7D3.8020606@mailnetwork.co.uk> The Nagios Looking Glass has now been established on NagiosExchange (http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=767) The project, when at release-candidate status (~end November), will be published there under the GPL with full documentation. In the meantime, if anybody wants to test it out before-hand, you can see it at http://looking-glass.andyshellam.eu, or contact me personally (remove "-lists" from my e-mail address, to obtain a copy. I'm getting closer to solving the issue with the metrics display on Linux - I have no idea why it's so messed up in Firefox for Linux when it works in Firefox on Windows :S but it seems to be something do with the 'float' attributes on the metric DIVs (although the server DIVs are unaffected by this :S ) The strangeness.... I've noticed a few visitors have used Konqueror - are any of these people on this list? How did it look? Can anyone feedback how it behaves in Opera? Many thanks, Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 2 14:50:27 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 2 Nov 2006 13:50:27 -0000 Subject: Help with check_http In-Reply-To: <000901c6fe73$f27229a0$640da8c0@moqueta> References: <000901c6fe73$f27229a0$640da8c0@moqueta> Message-ID: German C. Basisty wrote: > Hello folks! > > Im runing nagios on my Linux (fedora 5) box. My http service is > working ok, but when I try check_http -H servername.domainname or > check_http -I 192.168.13.2 it answers > > HTTP WARNING: HTTP/1.1 403 Forbidden Sounds like you need to create an index.html in /var/www/html. Apache on Fedora returns 403 if there's no index.html. The Test Page is still somehow automagically served if you use a browser but all Nagios sees is the error. 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. -------------------------------------------------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 15:36:24 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 02 Nov 2006 14:36:24 +0000 Subject: Nagios Looking Glass In-Reply-To: <4549F7D3.8020606@mailnetwork.co.uk> References: <4549E7BF.8020300@mailnetwork.co.uk> <4549F7D3.8020606@mailnetwork.co.uk> Message-ID: <454A0268.8000600@mailnetwork.co.uk> Hugo, Re: your issue with NLG on Linux: Can you re-visit http://looking-glass.andyshellam.eu and check the services display now? I believe it was due to the line/font height differences in Linux to Windows - the service "title bar" was 20px, which was fine on Windows. On Linux, the text below the title bar was trying to wrap back up to the previous line. I've increased the service title bar height to 22px and seems to be fine - I've just got to modify the background height to 22px so on Windows you don't get the 2px of whitespace. This was tested on Firefox 1.5.0.7 on Fedora Core 6. I've also changed the font attributes to "sans-serif" so it renders in the appropriate fonts on both platforms. Thanks, Andy. Andy Shellam (Mailing Lists) wrote: > The Nagios Looking Glass has now been established on NagiosExchange > (http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=767) > > The project, when at release-candidate status (~end November), will be > published there under the GPL with full documentation. > In the meantime, if anybody wants to test it out before-hand, you can > see it at http://looking-glass.andyshellam.eu, or contact me personally > (remove "-lists" from my e-mail address, to obtain a copy. > > I'm getting closer to solving the issue with the metrics display on > Linux - I have no idea why it's so messed up in Firefox for Linux when > it works in Firefox on Windows :S but it seems to be something do with > the 'float' attributes on the metric DIVs (although the server DIVs are > unaffected by this :S ) The strangeness.... > > I've noticed a few visitors have used Konqueror - are any of these > people on this list? How did it look? Can anyone feedback how it > behaves in Opera? > > Many thanks, > > Andy. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,4549f77d40413885646469! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 2 15:45:09 2006 From: rns3 at psu.edu (Robert Snyder) Date: Thu, 2 Nov 2006 09:45:09 -0500 (EST) Subject: Nagios Looking Glass In-Reply-To: <454A0268.8000600@mailnetwork.co.uk> References: <4549E7BF.8020300@mailnetwork.co.uk> <4549F7D3.8020606@mailnetwork.co.uk> <454A0268.8000600@mailnetwork.co.uk> Message-ID: <63145.128.118.182.206.1162478709.squirrel@studentservices.outreach.psu.edu> Andy, Not for nothing, but it appears to look ok on a mac OS X 10.4.8 running safari. At least I think it looks correct, not being sure what it is supposed to look like. Robert Andy Shellam (Mailing Lists) wrote: > Hugo, > > Re: your issue with NLG on Linux: > > Can you re-visit http://looking-glass.andyshellam.eu and check the > services display now? I believe it was due to the line/font height > differences in Linux to Windows - the service "title bar" was 20px, > which was fine on Windows. On Linux, the text below the title bar was > trying to wrap back up to the previous line. > > I've increased the service title bar height to 22px and seems to be fine > - I've just got to modify the background height to 22px so on Windows > you don't get the 2px of whitespace. This was tested on Firefox 1.5.0.7 > on Fedora Core 6. I've also changed the font attributes to "sans-serif" > so it renders in the appropriate fonts on both platforms. > > Thanks, > > Andy. > > Andy Shellam (Mailing Lists) wrote: >> The Nagios Looking Glass has now been established on NagiosExchange >> (http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=767) >> >> The project, when at release-candidate status (~end November), will be >> published there under the GPL with full documentation. >> In the meantime, if anybody wants to test it out before-hand, you can >> see it at http://looking-glass.andyshellam.eu, or contact me personally >> (remove "-lists" from my e-mail address, to obtain a copy. >> >> I'm getting closer to solving the issue with the metrics display on >> Linux - I have no idea why it's so messed up in Firefox for Linux when >> it works in Firefox on Windows :S but it seems to be something do with >> the 'float' attributes on the metric DIVs (although the server DIVs are >> unaffected by this :S ) The strangeness.... >> >> I've noticed a few visitors have used Konqueror - are any of these >> people on this list? How did it look? Can anyone feedback how it >> behaves in Opera? >> >> Many thanks, >> >> Andy. >> >> >> ------------------------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> !DSPAM:37,4549f77d40413885646469! >> >> >> > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 15:58:30 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 02 Nov 2006 14:58:30 +0000 Subject: Nagios Looking Glass In-Reply-To: References: <4549E7BF.8020300@mailnetwork.co.uk> <4549F7D3.8020606@mailnetwork.co.uk> <454A0268.8000600@mailnetwork.co.uk> Message-ID: <454A0796.3070105@mailnetwork.co.uk> Yeah I'd noticed this with the server titles - on Linux they're perfectly centred, on Windows they're slightly off-centre (high). The difference between the two is 2px. How annoying! I've found a JS/CSS hack that will allow you to set styles based on browser and OS, so I'm going to try implementing this. Andy. Robin-David Hammond %KB3IEN wrote: > > makes sense, windows is always 2 px off in all font renders. > > On Thu, 2 Nov 2006, Andy Shellam (Mailing Lists) wrote: > >> Date: Thu, 02 Nov 2006 14:36:24 +0000 >> From: "Andy Shellam (Mailing Lists)" >> >> To: Hugo van der Kooij >> Cc: Nagios Users mailinglist >> Subject: Re: [Nagios-users] Nagios Looking Glass >> >> Hugo, >> >> Re: your issue with NLG on Linux: >> >> Can you re-visit http://looking-glass.andyshellam.eu and check the >> services display now? I believe it was due to the line/font height >> differences in Linux to Windows - the service "title bar" was 20px, >> which was fine on Windows. On Linux, the text below the title bar was >> trying to wrap back up to the previous line. >> >> I've increased the service title bar height to 22px and seems to be fine >> - I've just got to modify the background height to 22px so on Windows >> you don't get the 2px of whitespace. This was tested on Firefox 1.5.0.7 >> on Fedora Core 6. I've also changed the font attributes to "sans-serif" >> so it renders in the appropriate fonts on both platforms. >> >> Thanks, >> >> Andy. >> >> Andy Shellam (Mailing Lists) wrote: >>> The Nagios Looking Glass has now been established on NagiosExchange >>> (http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=767) >>> >>> >>> The project, when at release-candidate status (~end November), will be >>> published there under the GPL with full documentation. >>> In the meantime, if anybody wants to test it out before-hand, you can >>> see it at http://looking-glass.andyshellam.eu, or contact me personally >>> (remove "-lists" from my e-mail address, to obtain a copy. >>> >>> I'm getting closer to solving the issue with the metrics display on >>> Linux - I have no idea why it's so messed up in Firefox for Linux when >>> it works in Firefox on Windows :S but it seems to be something do with >>> the 'float' attributes on the metric DIVs (although the server DIVs are >>> unaffected by this :S ) The strangeness.... >>> >>> I've noticed a few visitors have used Konqueror - are any of these >>> people on this list? How did it look? Can anyone feedback how it >>> behaves in Opera? >>> >>> Many thanks, >>> >>> Andy. >>> >>> >>> ------------------------------------------------------------------------- >>> >>> Using Tomcat but need to do more? Need to support web services, >>> security? >>> Get stuff done quickly with pre-integrated technology to make your >>> job easier >>> Download IBM WebSphere Application Server v.1.0.1 based on Apache >>> Geronimo >>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 >> > > > Robin-David Hammond KB3IEN > +1 347 350 34 00 > > > !DSPAM:37,454a02d640411571821223! > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 2 16:01:34 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Thu, 02 Nov 2006 16:01:34 +0100 Subject: Nagios Looking Glass In-Reply-To: <4549F7D3.8020606@mailnetwork.co.uk> References: <4549E7BF.8020300@mailnetwork.co.uk> <4549F7D3.8020606@mailnetwork.co.uk> Message-ID: <454A084E.1090104@aliadis.fr> Hi Andy > I've noticed a few visitors have used Konqueror - are any of these > people on this list? How did it look? I've been testing your interface with 6 configurations: - WinXP IE 6 - WinXP IE 7 - WinXP Firefox 2.0 - WinXP Firefox 1.5.7 - Debian Konqueror 3.3.2 - Debian Firefox 1.0.4 And all of them work great -- I mean, they all look the same. I did not notice any 2px offsets, and even though they exist, you are the only one to know ! This is a very good job and can be tagged as RC, imo :) May I make a few suggestions for the future development if your evenings are too long this winter: - you could try making the title bars smaller; the effect is nice but they are a bit big - maybe you could support non-javascript browsers like lynx and w3m. This could be achieved by having a big page with a summary (which would look like the page with all servers unfolded) and a complete view below, with anchors that are targeted by the summary. Anyway, congrats ! 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 conigliaro at getproactivenow.com Thu Nov 2 16:08:16 2006 From: conigliaro at getproactivenow.com (mike conigliaro) Date: Thu, 02 Nov 2006 10:08:16 -0500 Subject: ndoutils and graphs Message-ID: <454A09E0.8030501@getproactivenow.com> hey guys, im working on a project right now that draws graphs from ndoutils output, and i was disappointed to find that ndoutils does not store the parsed version of the performance data. ie: you just get a field with something like this: 'CPU0'=0%;80;95;; 'CPU1'=2%;80;95;; this means i need to parse every row myself, which i suspect will create a pretty serious performance bottleneck when generating larger graphs. has anyone else had to deal with this? how did you approach the problem? -- Mike Conigliaro ProActive Technologies conigliaro at getproactivenow.com 203.239.0440 ext:317 www.getproactivenow.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 andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 16:21:57 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 02 Nov 2006 15:21:57 +0000 Subject: Nagios Looking Glass In-Reply-To: <454A084E.1090104@aliadis.fr> References: <4549E7BF.8020300@mailnetwork.co.uk> <4549F7D3.8020606@mailnetwork.co.uk> <454A084E.1090104@aliadis.fr> Message-ID: <454A0D15.4060402@mailnetwork.co.uk> Thibault, Thanks so much for all this testing - I've logged the environments on my "confirmed" list and I think you're right, it does seem to be fairly universably accessible (now the Linux problem's sorted ;-) ) As you say, the hurdle with Lynx is it doesn't support Javascript - I'll look into adding a Javascript condition that renders the page differently on non-Javascript browsers - possibly even a mobile version as well (although this won't be my main focus as I know there's another small-screen front-end about on NagiosExchange.) Admittedly, if you go to http://looking-glass.andyshellam.eu/?action=getServers within Lynx, it doesn't look too bad (could be tidied up a bit but hey :-) ) I've attached the print-out from Lynx so you can see. But yes, the JS is/will become a big issue. re: the large title bars - the reason they're as big as they are is the server header was originally written as: Server Name OK 3 services monitored 2 OK, 0 warning, 1 critical But I've shortened this to (1 - when all services are OK, 2 - when one or more services have a warning/problem): 1. Server Name (3) OK 2. Server Name (2/1) OK So yep, these will be adjusted for the RC. Muchos thankos again for your comments and help :) Andy. Thibault Genessay wrote: > Hi Andy > > > >> I've noticed a few visitors have used Konqueror - are any of these >> people on this list? How did it look? >> > > I've been testing your interface with 6 configurations: > - WinXP IE 6 > - WinXP IE 7 > - WinXP Firefox 2.0 > - WinXP Firefox 1.5.7 > - Debian Konqueror 3.3.2 > - Debian Firefox 1.0.4 > And all of them work great -- I mean, they all look the same. I did not > notice any 2px offsets, and even though they exist, you are the only one > to know ! > > This is a very good job and can be tagged as RC, imo :) > > May I make a few suggestions for the future development if your evenings > are too long this winter: > - you could try making the title bars smaller; the effect is nice but > they are a bit big > - maybe you could support non-javascript browsers like lynx and w3m. > This could be achieved by having a big page with a summary (which would > look like the page with all servers unfolded) and a complete view below, > with anchors that are targeted by the summary. > > Anyway, congrats ! > > Regards > > -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: lynx_servers.txt 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 Nov 2 17:20:33 2006 From: marc at ena.com (Marc Powell) Date: Thu, 2 Nov 2006 10:20:33 -0600 Subject: Help with check_http 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: Thursday, November 02, 2006 5:49 AM > To: German C. Basisty; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help with check_http > > > > > Hello folks! > > > > Im runing nagios on my Linux (fedora 5) box. My http service > > is working ok, but when I try check_http -H > > servername.domainname or check_http -I > > 192.168.13.2 it answers > > > > HTTP WARNING: HTTP/1.1 403 Forbidden > > > > Your web server is asking for a username and password. 401 is Authorization Required, 403 is Permission Denied. If the OP were to access http://servername.domainname or http://192.168.13.2 they would see the same permission denied error. This is likely due to HTTP configuration or there is no default index document in the server document root. The web server logs should detail the exact reason for the denial. The OP should probably use the -H to specify the actual website hostname to check in addition to -I. -- 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 Lynn.Folkers at us.fujitsu.com Thu Nov 2 17:39:58 2006 From: Lynn.Folkers at us.fujitsu.com (Folkers, Lynn) Date: Thu, 2 Nov 2006 10:39:58 -0600 Subject: No data was received from host! Message-ID: <50B73C8966FCF840BABA099651DBE060012C4892@rchemx01.fnc.net.local> I am running Nagios 2.0 on Redhat EL3. I am running NC_NET version 2.28 on the Windows clients. I monitor 222 systems with 1324 service checks. The problem I am having is that on about 12 Windows clients I get the following error during checks "WARNING 11-02-2006 10:28:31 9d 6h 44m 37s 5/5 No data was received from host! ". This does eventually clear up but continually comes back. This does not happen on all the Windows clients. They are all running the same NC_NET 2.28 version. Has anyone else seen this? 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 andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 17:46:31 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 02 Nov 2006 16:46:31 +0000 Subject: No data was received from host! In-Reply-To: <50B73C8966FCF840BABA099651DBE060012C4892@rchemx01.fnc.net.local> References: <50B73C8966FCF840BABA099651DBE060012C4892@rchemx01.fnc.net.local> Message-ID: <454A20E7.8050902@mailnetwork.co.uk> I had a similar problem running Nagios 2.4 on Fedora Core 5. The problem turned out to be the Nagios machine was too heavily-loaded, and the plugin checks would die without returning an output - so Nagios would think the host had failed to send anything back. I've since upgraded the machine (physically) and upgraded Nagios to 2.5, not seen the problem again for 4 months and counting. Andy. Folkers, Lynn wrote: > > I am running Nagios 2.0 on Redhat EL3. I am running NC_NET version > 2.28 on the Windows clients. I monitor 222 systems with 1324 service > checks. The problem I am having is that on about 12 Windows clients I > get the following error during checks "WARNING 11-02-2006 10:28:31 9d > 6h 44m 37s 5/5 No data was received from host! ". This does > eventually clear up but continually comes back. This does not happen > on all the Windows clients. They are all running the same NC_NET 2.28 > version. Has anyone else seen this? > > Thanks..... > > > > !DSPAM:37,454a1f8140415668212375! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > !DSPAM:37,454a1f8140415668212375! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,454a1f8140415668212375! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 2 17:48:46 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 2 Nov 2006 16:48:46 -0000 Subject: Nagios Looking Glass (was: small alternativefrontend) In-Reply-To: <4549F7D3.8020606@mailnetwork.co.uk> References: <4549F7D3.8020606@mailnetwork.co.uk> Message-ID: Andy Shellam (Mailing Lists) wrote: > I've noticed a few visitors have used Konqueror - are any of these > people on this list? How did it look? Can anyone feedback how it > behaves in Opera? It looks and acts the same in Opera 9.02 on Windows as it does in Firefox 1.5.0.7. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 2 18:03:57 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Thu, 2 Nov 2006 17:03:57 -0000 Subject: Help with check_http In-Reply-To: References: Message-ID: Marc Powell wrote: >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users- bounces at lists.sourceforge.net] On Behalf Of >> Giles Coochey >> Sent: Thursday, November 02, 2006 5:49 AM >> To: German C. Basisty; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Help with check_http >> >>> >>> Hello folks! >>> >>> Im runing nagios on my Linux (fedora 5) box. My http service is >>> working ok, but when I try check_http -H servername.domainname or >>> check_http -I 192.168.13.2 it answers >>> >>> HTTP WARNING: HTTP/1.1 403 Forbidden >>> >> >> Your web server is asking for a username and password. > > 401 is Authorization Required, 403 is Permission Denied. If the OP > were to access http://servername.domainname or http://192.168.13.2 > they would see the same permission denied error. Not on a default Fedora install, which is what makes it difficult to diagnose. Fedora serves a test page (the equivalent of the Apache It Worked! page) but with a 403 HTTP status. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Nov 2 18:10:16 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 02 Nov 2006 17:10:16 +0000 Subject: Nagios Looking Glass In-Reply-To: <454A2336.6070000@pittstate.edu> References: <4549E7BF.8020300@mailnetwork.co.uk> <4549F7D3.8020606@mailnetwork.co.uk> <454A2336.6070000@pittstate.edu> Message-ID: <454A2678.7040207@mailnetwork.co.uk> Hi Chris, Thanks for the suggestions! I've started working on this today for 0.2.5. (0.2.41 is now live on my NLG site.) My plan is to have a pager shown at the bottom of each page - ie. "showing servers 1 - 20 of 300 [21-40 | 41-60 | 61 - 80]" and so on. Or, even, do it alphabetically by server name (A - F | G - L ....) During development there was much more info going onto the server bars, hence why they're the size they are, and I've just been too lazy to re-jig the images and styles!! This will change for the RC though. At least they're *green* bars - that's a good sign ;-) Have you got it up and running yet? How well does it scale? How responsive is it when you expand a host? Thanks, Andy. Chris Jones wrote: > I have a suggestion. > > Add another level of hierarchy for hostgroups, so that I don't have > 500 big green bars that i have to scroll through ;) > > My other suggestion would be to make the green bars much smaller. > > EXCELLENT work though, this is an awesome app! > > - Chris > > Andy Shellam (Mailing Lists) wrote: >> The Nagios Looking Glass has now been established on NagiosExchange >> (http://www.nagiosexchange.org/Frontends.37.0.html?&tx_netnagext_pi1[p_view]=767) >> >> >> The project, when at release-candidate status (~end November), will >> be published there under the GPL with full documentation. >> In the meantime, if anybody wants to test it out before-hand, you can >> see it at http://looking-glass.andyshellam.eu, or contact me >> personally (remove "-lists" from my e-mail address, to obtain a copy. >> >> I'm getting closer to solving the issue with the metrics display on >> Linux - I have no idea why it's so messed up in Firefox for Linux >> when it works in Firefox on Windows :S but it seems to be something >> do with the 'float' attributes on the metric DIVs (although the >> server DIVs are unaffected by this :S ) The strangeness.... >> >> I've noticed a few visitors have used Konqueror - are any of these >> people on this list? How did it look? Can anyone feedback how it >> behaves in Opera? >> >> Many thanks, >> >> Andy. >> >> >> ------------------------------------------------------------------------- >> >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> > > -- > Chris Jones > Senior Systems Manager > Pittsburg State University > Phone: 620-235-4158 > E-mail: cjones at pittstate.edu ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 2 20:02:09 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 2 Nov 2006 11:02:09 -0800 Subject: Services dependency at nagios In-Reply-To: <20061102083703.28294.qmail@web52012.mail.yahoo.com> References: <20061102083703.28294.qmail@web52012.mail.yahoo.com> Message-ID: <20061102190209.GO17454@pmorris.usa.hp.com> Hi hendro! On Thu, 02 Nov 2006, hendro budianto wrote: > define servicedependency{ > host_name SRPFS2 > service_description DiskUsageC > dependent_host_name SRPFS2 > dependent_service_description DiskUsageD > execution_failure_criteria w,u,c > notification_failure_criteria w,u,c > } > > This host is have a four services ping, DiskUsageC, > DiskUsageD and CheckClient running. > Only service DiskUsageD is warning, but why after > nagios service reload, the services DiskUsageC is > still OK. Isn't DiskUsageC should warning too ? Your dependency configuration tells Nagios not to run checks or notify for DiskUsageC on SRPFS2 if the DiskUsageD check on SRPFS2 is in a warning, critical or unknown state. What are you trying to do? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 2 20:38:06 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 2 Nov 2006 20:38:06 +0100 (CET) Subject: Nagios Looking Glass In-Reply-To: <454A0268.8000600@mailnetwork.co.uk> References: <4549E7BF.8020300@mailnetwork.co.uk> <4549F7D3.8020606@mailnetwork.co.uk> <454A0268.8000600@mailnetwork.co.uk> Message-ID: On Thu, 2 Nov 2006, Andy Shellam (Mailing Lists) wrote: > Re: your issue with NLG on Linux: > > Can you re-visit http://looking-glass.andyshellam.eu and check the > services display now? I believe it was due to the line/font height > differences in Linux to Windows - the service "title bar" was 20px, > which was fine on Windows. On Linux, the text below the title bar was > trying to wrap back up to the previous line. It looks good now. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bthomas at journalbroadcastgroup.com Thu Nov 2 20:40:21 2006 From: bthomas at journalbroadcastgroup.com (Ben Thomas) Date: Thu, 2 Nov 2006 13:40:21 -0600 Subject: monitoring switches Message-ID: <02D177BABE78DE4185AF5B7E445BC62D0FA5118D@RIDE.technology.jbgcorporate.com> What are ways that anyone has found to monitor switches and routers effectivly, other than adding a service to them. i have WAN locations that i would like to monitor but the switches/routers in between would all stay pending if i dont have the host up service on them. i only want them to be checked if there is an issue and nagios is back tracing. ----------------- Ben Thomas Help Desk 1-877-HELPJBG helpdesk at journalbroadcastgroup.com ...................................................................... The information contained in this communication may be confidential or legally privileged and is intended only for the recipient named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication or its contents is strictly prohibited. If you have received this communication in error, please immediately advise the sender and delete the original and any copies from your computer system. -------------- 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 bthomas at journalbroadcastgroup.com Thu Nov 2 20:59:53 2006 From: bthomas at journalbroadcastgroup.com (Ben Thomas) Date: Thu, 2 Nov 2006 13:59:53 -0600 Subject: monitoring switches Message-ID: <02D177BABE78DE4185AF5B7E445BC62D0FA51192@RIDE.technology.jbgcorporate.com> right, but i would like nagios to check that they are up, but not monitor any services on them. ________________________________ From: Paul Harrison [mailto:paul.harrison at mainstream-tech.com] Sent: Thursday, November 02, 2006 1:50 PM To: Ben Thomas; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] monitoring switches For most router/switch/firewall devices, snmp is the way to go. Although snmp does require quite a bit of configuration depending on the extent of monitoring you want to do. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Ben Thomas Sent: Thu 11/2/2006 13:40 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] monitoring switches What are ways that anyone has found to monitor switches and routers effectivly, other than adding a service to them. i have WAN locations that i would like to monitor but the switches/routers in between would all stay pending if i dont have the host up service on them. i only want them to be checked if there is an issue and nagios is back tracing. ----------------- Ben Thomas Help Desk 1-877-HELPJBG helpdesk at journalbroadcastgroup.com ...................................................................... The information contained in this communication may be confidential or legally privileged and is intended only for the recipient named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication or its contents is strictly prohibited. If you have received this communication in error, please immediately advise the sender and delete the original and any copies from your computer system. ...................................................................... The information contained in this communication may be confidential or legally privileged and is intended only for the recipient named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication or its contents is strictly prohibited. If you have received this communication in error, please immediately advise the sender and delete the original and any copies from your computer system. -------------- 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 Jesse.Saletan at amd.com Thu Nov 2 21:00:47 2006 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Thu, 2 Nov 2006 14:00:47 -0600 Subject: Free disk space : Invalid drive Message-ID: For what it's worth, the problem persists while using NC_Net instead of NSClient. Again, the command line works but the Nagios web site shows the error. Thought I'd ping the group one more time to see if anyone can help. Thanks, Jesse -----Original Message----- From: Saletan, Jesse Sent: Wednesday, November 01, 2006 11:04 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Free disk space : Invalid drive Thanks for the suggestion, Hendrik. I stopped the nagios service and verified that there were no additional processes running. Then I restarted it and after the next check the problem was still there. Jesse -----Original Message----- From: Hendrik Baecker [mailto:b00mer at gmx.net] Sent: Wednesday, November 01, 2006 10:53 AM To: Saletan, Jesse Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Free disk space : Invalid drive Hi Jesse, did you check for a second running nagios process? Your mentioned "magic" to see different result on the website as on the cli, occurs often if there is a second (or third) nagios process which runs with older configurations... Try to shutdown your nagios on the normal way: f.e. /etc/init.d/nagios stop wait 10 up to 20 seconds and do a "ps aux | grep nagios" Do you see more nagios procs? --> Kill them After this start your nagios and wait for new status Informations. Regards Hendrik Saletan, Jesse schrieb: > I'm having a problem with Nagios reporting "Invalid drive" when checking > free disk space on one particular server's D: drive. Other servers > using the same services.cfg and checkcommands.cfg report free disk space > on D: without any problems. The server that has this problem reports > free space on C: just fine. And --here's the kicker-- while this > problem shows up in the web interface, I can run check_nt from a command > prompt and get the free space on that server's D: drive without any > trouble. > > The server is running Nagios 2.5 on Red Hat Enterprise 4, and the client > I'm monitoring is a Windows Server 2003 SP1 system with NSClient 2.0.1. > I've checked D: drive permissions on the client and the SYSTEM account > has the same access to D: as it does to C:. > > The relevant section of services.cfg is: > > define service{ > host_name server1,server2,server3,server4 > service_description Disk_D > check_command check_nt_disk!D!80!90 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups localadmins > } > > The check_nt_disk command from checkcommands.cfg: > > define command{ > command_name check_nt_disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -s mypasswd -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > Any ideas? > > Jesse > > > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 b00mer at gmx.net Thu Nov 2 21:04:15 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Thu, 02 Nov 2006 21:04:15 +0100 Subject: monitoring switches In-Reply-To: <02D177BABE78DE4185AF5B7E445BC62D0FA51192@RIDE.technology.jbgcorporate.com> References: <02D177BABE78DE4185AF5B7E445BC62D0FA51192@RIDE.technology.jbgcorporate.com> Message-ID: <454A4F3F.2050207@gmx.net> Hi, just add the service "check_ping" on the hosts. Best wishes Hendrik Ben Thomas schrieb: > right, but i would like nagios to check that they are up, but not > monitor any services on them. > > ------------------------------------------------------------------------ > *From:* Paul Harrison [mailto:paul.harrison at mainstream-tech.com] > *Sent:* Thursday, November 02, 2006 1:50 PM > *To:* Ben Thomas; nagios-users at lists.sourceforge.net > *Subject:* RE: [Nagios-users] monitoring switches > > For most router/switch/firewall devices, snmp is the way to go. > Although snmp does require quite a bit of configuration depending on > the extent > of monitoring you want to do. > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net on behalf of Ben Thomas > Sent: Thu 11/2/2006 13:40 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] monitoring switches > > What are ways that anyone has found to monitor switches and routers > effectivly, other than adding a service to them. i have WAN locations > that i would like to monitor but the switches/routers in between would > all stay pending if i dont have the host up service on them. i only > want them to be checked if there is an issue and nagios is back tracing. > > > ----------------- > > Ben Thomas > > Help Desk > > 1-877-HELPJBG > > helpdesk at journalbroadcastgroup.com > > > > ...................................................................... > The information contained in this communication may be confidential or > legally privileged and is intended only for the recipient named above. > If the reader of this message is not the intended recipient, you are > hereby notified that any dissemination, distribution or copying of this > communication or its contents is strictly prohibited. If you have > received this communication in error, please immediately advise the > sender and delete the original and any copies from your computer system. > > > ...................................................................... > The information contained in this communication may be confidential or > legally privileged and is intended only for the recipient named above. > If the reader of this message is not the intended recipient, you are > hereby notified that any dissemination, distribution or copying of this > communication or its contents is strictly prohibited. If you have > received this communication in error, please immediately advise the > sender and delete the original and any copies from your computer system. > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Nov 2 21:04:38 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 2 Nov 2006 12:04:38 -0800 Subject: monitoring switches In-Reply-To: <02D177BABE78DE4185AF5B7E445BC62D0FA51192@RIDE.technology.jbgcorporate.com> References: <02D177BABE78DE4185AF5B7E445BC62D0FA51192@RIDE.technology.jbgcorporate.com> Message-ID: <20061102200438.GT17454@pmorris.usa.hp.com> > What are ways that anyone has found to monitor switches and routers > effectivly, other than adding a service to them. i have WAN locations > that i would like to monitor but the switches/routers in between would > all stay pending if i dont have the host up service on them. i only > want them to be checked if there is an issue and nagios is back tracing. Unless I'm mistaken (which happens more frequently than I'd care to admit), setting them up with just a host check should do what you want. Normally, they'd only get checked initially, when service states change, and if a child host becomes unreachable. Since service states won't change if you have no services, the default behavior should do what you want, I think. You just need to make sure you set up the parent/child relationships correctly. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jesse.Saletan at amd.com Thu Nov 2 21:11:39 2006 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Thu, 2 Nov 2006 14:11:39 -0600 Subject: Free disk space : Invalid drive Message-ID: Okay, never mind... Stupid user mistake. I had the wrong IP address in services.cfg. Can't believe I didn't check that earlier. -----Original Message----- From: Saletan, Jesse Sent: Thursday, November 02, 2006 2:01 PM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Free disk space : Invalid drive For what it's worth, the problem persists while using NC_Net instead of NSClient. Again, the command line works but the Nagios web site shows the error. Thought I'd ping the group one more time to see if anyone can help. Thanks, Jesse -----Original Message----- From: Saletan, Jesse Sent: Wednesday, November 01, 2006 11:04 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Free disk space : Invalid drive Thanks for the suggestion, Hendrik. I stopped the nagios service and verified that there were no additional processes running. Then I restarted it and after the next check the problem was still there. Jesse -----Original Message----- From: Hendrik Baecker [mailto:b00mer at gmx.net] Sent: Wednesday, November 01, 2006 10:53 AM To: Saletan, Jesse Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Free disk space : Invalid drive Hi Jesse, did you check for a second running nagios process? Your mentioned "magic" to see different result on the website as on the cli, occurs often if there is a second (or third) nagios process which runs with older configurations... Try to shutdown your nagios on the normal way: f.e. /etc/init.d/nagios stop wait 10 up to 20 seconds and do a "ps aux | grep nagios" Do you see more nagios procs? --> Kill them After this start your nagios and wait for new status Informations. Regards Hendrik Saletan, Jesse schrieb: > I'm having a problem with Nagios reporting "Invalid drive" when checking > free disk space on one particular server's D: drive. Other servers > using the same services.cfg and checkcommands.cfg report free disk space > on D: without any problems. The server that has this problem reports > free space on C: just fine. And --here's the kicker-- while this > problem shows up in the web interface, I can run check_nt from a command > prompt and get the free space on that server's D: drive without any > trouble. > > The server is running Nagios 2.5 on Red Hat Enterprise 4, and the client > I'm monitoring is a Windows Server 2003 SP1 system with NSClient 2.0.1. > I've checked D: drive permissions on the client and the SYSTEM account > has the same access to D: as it does to C:. > > The relevant section of services.cfg is: > > define service{ > host_name server1,server2,server3,server4 > service_description Disk_D > check_command check_nt_disk!D!80!90 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups localadmins > } > > The check_nt_disk command from checkcommands.cfg: > > define command{ > command_name check_nt_disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -s mypasswd -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > Any ideas? > > Jesse > > > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Jesse.Saletan at amd.com Thu Nov 2 21:12:58 2006 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Thu, 2 Nov 2006 14:12:58 -0600 Subject: Free disk space : Invalid drive Message-ID: Make that hosts.cfg. Boy, I'm really on a roll. I need to get more sleep. Jesse -----Original Message----- From: Saletan, Jesse Sent: Thursday, November 02, 2006 2:12 PM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Free disk space : Invalid drive Okay, never mind... Stupid user mistake. I had the wrong IP address in services.cfg. Can't believe I didn't check that earlier. -----Original Message----- From: Saletan, Jesse Sent: Thursday, November 02, 2006 2:01 PM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Free disk space : Invalid drive For what it's worth, the problem persists while using NC_Net instead of NSClient. Again, the command line works but the Nagios web site shows the error. Thought I'd ping the group one more time to see if anyone can help. Thanks, Jesse -----Original Message----- From: Saletan, Jesse Sent: Wednesday, November 01, 2006 11:04 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Free disk space : Invalid drive Thanks for the suggestion, Hendrik. I stopped the nagios service and verified that there were no additional processes running. Then I restarted it and after the next check the problem was still there. Jesse -----Original Message----- From: Hendrik Baecker [mailto:b00mer at gmx.net] Sent: Wednesday, November 01, 2006 10:53 AM To: Saletan, Jesse Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Free disk space : Invalid drive Hi Jesse, did you check for a second running nagios process? Your mentioned "magic" to see different result on the website as on the cli, occurs often if there is a second (or third) nagios process which runs with older configurations... Try to shutdown your nagios on the normal way: f.e. /etc/init.d/nagios stop wait 10 up to 20 seconds and do a "ps aux | grep nagios" Do you see more nagios procs? --> Kill them After this start your nagios and wait for new status Informations. Regards Hendrik Saletan, Jesse schrieb: > I'm having a problem with Nagios reporting "Invalid drive" when checking > free disk space on one particular server's D: drive. Other servers > using the same services.cfg and checkcommands.cfg report free disk space > on D: without any problems. The server that has this problem reports > free space on C: just fine. And --here's the kicker-- while this > problem shows up in the web interface, I can run check_nt from a command > prompt and get the free space on that server's D: drive without any > trouble. > > The server is running Nagios 2.5 on Red Hat Enterprise 4, and the client > I'm monitoring is a Windows Server 2003 SP1 system with NSClient 2.0.1. > I've checked D: drive permissions on the client and the SYSTEM account > has the same access to D: as it does to C:. > > The relevant section of services.cfg is: > > define service{ > host_name server1,server2,server3,server4 > service_description Disk_D > check_command check_nt_disk!D!80!90 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r,f > contact_groups localadmins > } > > The check_nt_disk command from checkcommands.cfg: > > define command{ > command_name check_nt_disk > command_line $USER1$/check_nt -H $HOSTADDRESS$ -s mypasswd -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > } > > Any ideas? > > Jesse > > > > ------------------------------------------------------------------------ - > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 jamesaffeld at yahoo.com Thu Nov 2 22:12:05 2006 From: jamesaffeld at yahoo.com (James Affeld) Date: Thu, 2 Nov 2006 13:12:05 -0800 (PST) Subject: snmp_checks return odd junk Message-ID: <20061102211205.63414.qmail@web51113.mail.yahoo.com> When I run just about any kind of SNMP check, I get suitable info at the beginning of the response, but a bunch of junk at the end. It even runs into the next command line. As you might gather, this is done via an ssh connection, using putty. root at silmec2:/usr/local/nagios/libexec# ./check_snmp -H 10.139.7.1 -o .1.3.6.1.4.1.9.9.48.1.1.1.6.1 -C REDACTED -P 1 SNMP OK - 17448296 | iso.3.6.1.4.1.9.9.48.1.1.1.6.1=17448296?j???B?????j???B?`B??B????;;;; root at silmec2:/usr/local/nagios/libexec# PuTTYPuTTYPuTTYPuTTYPuTTY If I do an snmpwalk vs. that OID, it returns cleanly. root at silmec2:/usr/local/nagios/libexec# snmpwalk 10.139.7.1 iso.3.6.1.4.1.9.9.48.1.1.1.6.1 -c 55CC0000 -v 1 SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.1 = Gauge32: 17390392 root at silmec2:/usr/local/nagios/libexec# I run into the same problem checking a Cisco Catalyst 6009 and HP 2524 switches. Any clues? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Nov 2 22:56:54 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Thu, 02 Nov 2006 16:56:54 -0500 Subject: monitoring switches In-Reply-To: <20061102200438.GT17454@pmorris.usa.hp.com> References: <02D177BABE78DE4185AF5B7E445BC62D0FA51192@RIDE.technology.jbgcorporate.com> <20061102200438.GT17454@pmorris.usa.hp.com> Message-ID: <1162504614.21754.54.camel@localhost> On Thu, 2006-11-02 at 12:04 -0800, Patrick Morris wrote: > > What are ways that anyone has found to monitor switches and routers > > effectivly, other than adding a service to them. i have WAN locations > > that i would like to monitor but the switches/routers in between would > > all stay pending if i dont have the host up service on them. i only > > want them to be checked if there is an issue and nagios is back tracing. > > Unless I'm mistaken (which happens more frequently than I'd care to > admit), setting them up with just a host check should do what you want. > > Normally, they'd only get checked initially, when service states change, > and if a child host becomes unreachable. > > Since service states won't change if you have no services, the default > behavior should do what you want, I think. You just need to make sure > you set up the parent/child relationships correctly. > That is what we found in our environment with one exception. In our work, we build large VPN WANs with highly granular security using the ISCS network security management project (http://iscs.sourceforge.net). We are normally only interested in the routers in front of the gateways if there is a problem getting to the gateway. Thus we did not need services on the routers in front of the gateways. That changed when we implemented flap detection. We had some sites with very unstable Internet connections. When we implemented flap detection on the Internet routers, we found they would always stay in a flapping state of there was a single change in status since status was checked so infrequently. We had to implement services on them to get a meaningful state history for the flap detection algorithms. -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.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 jamesaffeld at yahoo.com Thu Nov 2 23:22:19 2006 From: jamesaffeld at yahoo.com (James Affeld) Date: Thu, 2 Nov 2006 14:22:19 -0800 (PST) Subject: check_ifoperstatus option -n ifName not working as expected Message-ID: <20061102222219.20939.qmail@web51107.mail.yahoo.com> I'm running check_ifoperstatus to check the condition of interfaces on a Cisco 6009 running CatOS software. I'm specifing the SNMP IfIndex value as recommended. But since the IfIndex value can change as the switch is rebooted, I'm running -I (agent supports IFMib ifXTable) and -n (IfName) to verify that I have the correct interface. When I use -n, I must supply an ifName, but it doesn't matter what ifName I supply. It comes back with the current ifName for that IfIndex and doesn't error out if that ifName doesn't match what I supply. Why require a parameter for -n if the parameter doesn't affect the return condition? root at silmec2:/usr/local/nagios/libexec# ./check_ifoperstatus -H 10.139.7.1 -C REDACTED -k 351 -I -n 4/44 CRITICAL: Interface 9/6 - (index 351) is down. root at silmec2:/usr/local/nagios/libexec# ./check_ifoperstatus -H 10.139.7.1 -C REDACTED -k 347 -I -n 4/44 OK: Interface 9/2 - (index 347) is up. Am I missing something, or is check_ifoperstatus ? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 2 23:47:12 2006 From: marc at ena.com (Marc Powell) Date: Thu, 2 Nov 2006 16:47:12 -0600 Subject: check_ifoperstatus option -n ifName not working asexpected Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of James Affeld > Sent: Thursday, November 02, 2006 4:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_ifoperstatus option -n ifName not working > asexpected > > I'm running check_ifoperstatus to check the condition of interfaces on a > Cisco 6009 running CatOS software. > I'm specifing the SNMP IfIndex value as recommended. But since the > IfIndex value can change as the switch is rebooted, I'm running -I (agent > supports IFMib ifXTable) and -n (IfName) to verify that I have the correct > interface. When I use -n, I must supply an ifName, but it doesn't matter > what ifName I supply. It comes back with the current ifName for that > IfIndex and doesn't error out if that ifName doesn't match what I supply. > Why require a parameter for -n if the parameter doesn't affect the return > condition? > > root at silmec2:/usr/local/nagios/libexec# ./check_ifoperstatus -H 10.139.7.1 > -C REDACTED -k 351 -I -n 4/44 > CRITICAL: Interface 9/6 - (index 351) is down. > > root at silmec2:/usr/local/nagios/libexec# ./check_ifoperstatus -H 10.139.7.1 > -C REDACTED -k 347 -I -n 4/44 > OK: Interface 9/2 - (index 347) is up. > > Am I missing something, or is check_ifoperstatus ? Looks like check_ifoperstatus. Testing here I see the same results. It looks like the $name references on lines 155 and 157 should be $ifName. -- Before -- ## Check to see if ifName match is requested and it matches - exit if no match ## not the interface we want to monitor if ( defined $name && not ($response->{$snmpIfName} eq $name) ) { $state = 'UNKNOWN'; $answer = "Interface name ($name) doesn't match snmp value ($response->{$snmpIfName}) (index $snmpkey)"; print ("$state: $answer"); exit $ERRORS{$state}; } $ ./check_ifoperstatus -H REDACTED -C REDACTED -k 1 -I -n 4/44 OK: Interface Gi1/1 - @@IN peer01 (index 1) is up. After -- ## Check to see if ifName match is requested and it matches - exit if no match ## not the interface we want to monitor if ( defined $ifName && not ($response->{$snmpIfName} eq $ifName) ) { $state = 'UNKNOWN'; $answer = "Interface name ($ifName) doesn't match snmp value ($response->{$snmpIfName}) (index $snmpkey)"; print ("$state: $answer"); exit $ERRORS{$state}; } $ ./check_ifoperstatus -H REDACTED -C REDACTED -k 1 -I -n 4/44 UNKNOWN: Interface name (4/44) doesn't match snmp value (Gi1/1) (index 1) $ ./check_ifoperstatus -H REDACTED -C REDACTED -k 1 -I -n Gi1/1 OK: Interface Gi1/1 - @@IN peer01 (index 1) is up. I'm not sure if that is all the code changes necessary but it does produce the expected behavior. -- 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 alex_b at users.sourceforge.net Fri Nov 3 02:21:47 2006 From: alex_b at users.sourceforge.net (Alex Burger) Date: Thu, 02 Nov 2006 20:21:47 -0500 Subject: Advanced permissions/user properties In-Reply-To: <20061031095636.GA31688@eric.schwarzvogel.de> References: <20061031095636.GA31688@eric.schwarzvogel.de> Message-ID: <454A99AB.6080706@users.sourceforge.net> Hi Tobias. I have expanded on the Altinity patch by adding a 'can_submit_commands' and 'can_submit_commands_strict' option to contact groups. The limitation of having a can_submit_commands option on the user is that it's an all or nothing option. A user is either view-only for all devices, or not. I will be using can_submit_commands_strict for people who need to be able to submit commands for the servers and services they manage, but also be able to only view some other servers and devices. I don't want the users to be able to view ALL devices. *can_submit_commands_strict:* You grant users full access to all or some systems, but want to restrict them from issuing commands for a few devices. If a device has multiple contact groups defined and any one of them denies submit commands with can_submit_commands_strict 0, then the user is denied even if the user belongs to a group that permits it. *can_submit_commands:* You grant users read/only access to all systems, but you want to allow the user to issue commands for a few devices. With can_submit_commands, if a device has multiple contact groups defined and any one of them allows submit commands, the user can submit commands. If there was only one contact group listed and it had can_submit_commands set to 0, the user would not be able to submit commands. Is this what you are looking for? Alex Tobias Klausmann wrote: > Hi! > > I've got a problem that I don't how to solve best in Nagios. I > think other people have run into the same problem (I know that > someone has run into a /similar/ problem). > > I'm running 2.5 on a mid-sized installations (~300 hosts, ~2500 > services). Thing is, our projects/(host|service)groups vary > wildly in who is responsible for them. Unfortunately, all these > projects are also heavily intertwined in their dependencies. > > Say we have a web mail project A. This consists of several > web servers, databases and the like. It is heavily dependent on > the LDAP project B and the mail server project C. While B and C > have the same group of admins, project A is managed by an > entirely different group of people. > > As such, we have configured Nagios that the group that is > responsible for project can only see the machines of project A and > the "B-and-C-people" can only see B and C. > > Everything is peachy. > > Except. Sometimes, project A may look like it's broken (pages > time out etc). But in reality, there's a spam attack and the > project B (the LDAP infrastructure) is so slow it simply grinds > to a halt. In this case it would obviously be nice if the people > from project A could see that project B is slow. Yet they should > not be able to change the notification options/acknowledgements > etc etc of projects B or C. > > The altinity people have created a patch for the "view some, > change none" scenario[0]. Unfortunately, what I'd need is a > mechanism for the "view some, change a few" scenario I outlined > above. > > How do others deal with this kind of problem? I'm sure we're not > the only ones who've run into it. > > As of currently, our best guess would be to create > pseudo-accounts (like john.foo and john.foo-admin) and hack the > CGI(s) to only allow the commands from -admin accounts which are > in the notification list (with notification options set to "n"). > We already do this to let people see machines they don't > mailed/paged/called about. > > Regards, > Tobias > > [0] http://altinity.blogs.com/dotorg/2006/02/a_view_some_cha.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 jasonk at shaw.ca Fri Nov 3 05:02:10 2006 From: jasonk at shaw.ca (Jason Kerr) Date: Thu, 02 Nov 2006 22:02:10 -0600 Subject: alloca.h does not exist in FreeBSD. Message-ID: <7.0.1.0.0.20061102212558.05110340@shaw.ca> Problem: regex_internal.h includes alloca.h which does not exist in FreeBSD. Version: nagios-plugins-1.4.5 OS: FreeBSD 5.5-STABLE Snipped output from config.log: configure:35748: checking for working alloca.h configure:35769: gcc -o conftest -g -O2 -L. conftest.c >&5 conftest.c:127:20: alloca.h: No such file or directory configure:35775: $? = 1 configure: failed program was: | /* confdefs.h. */ | Snipped output from make: In file included from regex.c:55: regex_internal.h:458:20: alloca.h: No such file or directory *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5. *** Error code 1 Stop in /usr/home/xxx/nagios-plugins-1.4.5. In FreeBSD the alloca function is contained in stdlib.h, but the manpage discourages its use. "BUGS The alloca() function is machine and compiler dependent; its use is dis-couraged." In regex_internal.h do we need something like: #ifdef HAVE_ALLOCA_H #include #else /* do nothing??? */ #endif Thanks, Jason ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Nov 3 10:39:23 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 03 Nov 2006 09:39:23 +0000 Subject: alloca.h does not exist in FreeBSD. In-Reply-To: <7.0.1.0.0.20061102212558.05110340@shaw.ca> References: <7.0.1.0.0.20061102212558.05110340@shaw.ca> Message-ID: <454B0E4B.9070807@mailnetwork.co.uk> I had this as well (FreeBSD 6.1-RELEASE.) alloca.h is a common file for Linux installations, but is not required as such on FreeBSD. After hunting around on the net, I found the solution is to create a file at "/usr/include/alloca.h" with the single line: "#include " eg. echo "#include " > /usr/include/alloca.h Then re-compile Nagios plugins. You may need to set CCFLAGS="-I/usr/include" but I think this is a standard search path anyway. Andy. Jason Kerr wrote: > Problem: regex_internal.h includes alloca.h which does not exist in FreeBSD. > > Version: nagios-plugins-1.4.5 > OS: FreeBSD 5.5-STABLE > > Snipped output from config.log: > configure:35748: checking for working alloca.h > configure:35769: gcc -o conftest -g -O2 -L. conftest.c >&5 > conftest.c:127:20: alloca.h: No such file or directory > configure:35775: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > > > Snipped output from make: > In file included from regex.c:55: > regex_internal.h:458:20: alloca.h: No such file or directory > *** Error code 1 > > Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. > *** Error code 1 > > Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. > *** Error code 1 > > Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. > *** Error code 1 > > Stop in /usr/home/xxx/nagios-plugins-1.4.5. > *** Error code 1 > > Stop in /usr/home/xxx/nagios-plugins-1.4.5. > > > In FreeBSD the alloca function is contained in stdlib.h, but the > manpage discourages its use. "BUGS The alloca() function is machine > and compiler dependent; its use is dis-couraged." > > > In regex_internal.h do we need something like: > #ifdef HAVE_ALLOCA_H > #include > #else > /* do nothing??? */ > #endif > > Thanks, > Jason > > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,454abf9840411046418902! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 3 12:07:24 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 03 Nov 2006 12:07:24 +0100 Subject: nagios 2.x and ndoutils In-Reply-To: <4548DA4F.5040504@getproactivenow.com> References: <4547A3F9.80009@getproactivenow.com> <4548DA4F.5040504@getproactivenow.com> Message-ID: <454B22EC.1010207@op5.se> mike conigliaro wrote: > first of all, thanks to everyone who has taken the time to get back to me on > this (for the benefit of everyone else here, it might be a good idea to reply > back to the group from now on rather than directly to me, but i digress =). > > i have ndoutils up and running now, but i was disappointed to find out that > performance data does not seem to go into the database (by default anyway). > does anyone know if there's a way to enable this? maybe its coming in a future > release? if not, i guess perfparse will continue to work for me, but id like to > do everything with ndo if possible (its a lot less complicated). > It's trivial to write a module that stores only performance data wherever you want it. I agree with you that the lack of ABI documentation is somewhat disconcerting, but sifting through the example module (helloworld.c?) and reading the header-files gives, with half an hour of good old trial and error hacking, a pretty robust understanding of how it works. The interface is remarkably simple for the things it lets you do. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 3 12:16:10 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 03 Nov 2006 12:16:10 +0100 Subject: snmp_checks return odd junk In-Reply-To: <20061102211205.63414.qmail@web51113.mail.yahoo.com> References: <20061102211205.63414.qmail@web51113.mail.yahoo.com> Message-ID: <454B24FA.4070004@op5.se> James Affeld wrote: > When I run just about any kind of SNMP check, I get suitable info at the beginning of the response, but a bunch of junk at the end. It even runs into the next command line. As you might gather, this is done via an ssh connection, using putty. > > root at silmec2:/usr/local/nagios/libexec# ./check_snmp -H 10.139.7.1 -o .1.3.6.1.4.1.9.9.48.1.1.1.6.1 -C REDACTED -P 1 > SNMP OK - 17448296 | iso.3.6.1.4.1.9.9.48.1.1.1.6.1=17448296?j???B?????j???B?`B??B????;;;; > root at silmec2:/usr/local/nagios/libexec# PuTTYPuTTYPuTTYPuTTYPuTTY > > If I do an snmpwalk vs. that OID, it returns cleanly. > > root at silmec2:/usr/local/nagios/libexec# snmpwalk 10.139.7.1 iso.3.6.1.4.1.9.9.48.1.1.1.6.1 -c 55CC0000 -v 1 > SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.1 = Gauge32: 17390392 > root at silmec2:/usr/local/nagios/libexec# > > > I run into the same problem checking a Cisco Catalyst 6009 and HP 2524 switches. Any clues? > Sounds like the buffer used to contain the string gotten back from snmpget isn't NUL-terminated. I vaguely remember this as a bug in the runcmd functions in the plugins when they were first introduced (mea culpa). It was a pretty bizarre error and only appeared if(strlen(output) % sizeof(long) == 0), so it's not easily reproducable. Try updating the plugin package at silmec2 and see if that fixes it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 3 12:27:55 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Fri, 3 Nov 2006 12:27:55 +0100 Subject: Advanced permissions/user properties In-Reply-To: <454A99AB.6080706@users.sourceforge.net> References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> Message-ID: <20061103112755.GC17860@eric.schwarzvogel.de> Hi! On Thu, 02 Nov 2006, Alex Burger wrote: > I have expanded on the Altinity patch by adding a 'can_submit_commands' > and 'can_submit_commands_strict' option to contact groups. The > limitation of having a can_submit_commands option on the user is that > it's an all or nothing option. A user is either view-only for all > devices, or not. > > I will be using can_submit_commands_strict for people who need to be > able to submit commands for the servers and services they manage, but > also be able to only view some other servers and devices. I don't want > the users to be able to view ALL devices. > > *can_submit_commands_strict:* You grant users full access to all or > some systems, but want to restrict them from issuing commands for a few > devices. > > If a device has multiple contact groups defined and any one of them > denies submit commands with can_submit_commands_strict 0, then the user > is denied even if the user belongs to a group that permits it. > > *can_submit_commands:* You grant users read/only access to all systems, > but you want to allow the user to issue commands for a few devices. > > With can_submit_commands, if a device has multiple contact groups > defined and any one of them allows submit commands, the user can submit > commands. If there was only one contact group listed and it had > can_submit_commands set to 0, the user would not be able to submit commands. > > Is this what you are looking for? I'm not quite sure :) Actually I'm not sure I understand the functionality you added correctly. I'll explain what I think I've understood: The new attribute (..._strict) belongs to contact_groups. If it is set to 1 on a contactgroup, everything behaves as normal. If it is set to 0, then no user who's associated with a hostgroup that is also associated with this contactgroup may issue commands for that particular host(group). As this sounds more than counter-intuitive, I strongly suspect I've misunderstood something. Please enlighten me. :) Regards, Tobias ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-nagios at touche.fr.st Fri Nov 3 15:09:47 2006 From: julien-nagios at touche.fr.st (julien) Date: Fri, 03 Nov 2006 15:09:47 +0100 Subject: alloca.h does not exist in FreeBSD. In-Reply-To: <454B0E4B.9070807@mailnetwork.co.uk> References: <7.0.1.0.0.20061102212558.05110340@shaw.ca> <454B0E4B.9070807@mailnetwork.co.uk> Message-ID: <454B4DAB.2030401@touche.fr.st> same things on OpenBSD 4.0 for 1.4.5 config.log: configure:35754: checking for working alloca.h configure:35775: gcc -o conftest -g -O2 -L. conftest.c >&5 conftest.c:125:20: alloca.h: No such file or directory configure:35781: $? = 1 compile: if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -I../plugins -g -O2 -MT mountlist.o -MD -MP -MF ".deps/mountlist.Tpo" -c -o mountlist.o mountlist.c; then mv -f ".deps/mountlist.Tpo" ".deps/mountlist.Po"; else rm -f ".deps/mountlist.Tpo"; exit 1; fi if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I. -I../intl -I../plugins -g -O2 -MT regex.o -MD -MP -MF ".deps/regex.Tpo" -c -o regex.o regex.c; then mv -f ".deps/regex.Tpo" ".deps/regex.Po"; else rm -f ".deps/regex.Tpo"; exit 1; fi In file included from regex.c:55: regex_internal.h:458:20: alloca.h: No such file or directory *** Error code 1 same thing than jason, usage discouraged: http://www.openbsd.org/cgi-bin/man.cgi?query=alloca&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html commenting #include in lib/regex_internal.h solve the problem, so a #if seems needed. Regards Julien ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 3 15:24:35 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 3 Nov 2006 14:24:35 +0000 Subject: Advanced permissions/user properties In-Reply-To: <454A99AB.6080706@users.sourceforge.net> References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> Message-ID: Hi Alex, This is a really interesting idea. We've recently made a patch to Nagios so that a contact will only see the services in the CGIs based on their contact groups - currently Nagios 2.x will show all services if that contact is a contact for the host (which you would normally do so they receive host notifications). Our patch means we use contactgroups to "slice" which services are visible per contact. I'll be blogging about this soon (when I get a spare 30 mins!). However, this still lacks the ability to show some services but only allow changes to a subset, which is what Tobias is interested in. I think the "read/write" attribute needs to be associated with the contact. So this implementation looks more obvious (to me): define contact { name person contactgroups cg1,cg2,cg3 # means can submit commands contactgroups_viewonly cg5,cg6 } This would effectively mean the can_submit_commands attribute is redundant, because you just use contactgroups_viewonly instead of contactgroups. Does this make sense? Ton On 3 Nov 2006, at 01:21, Alex Burger wrote: > Hi Tobias. > > I have expanded on the Altinity patch by adding a > 'can_submit_commands' > and 'can_submit_commands_strict' option to contact groups. The > limitation of having a can_submit_commands option on the user is that > it's an all or nothing option. A user is either view-only for all > devices, or not. > > I will be using can_submit_commands_strict for people who need to be > able to submit commands for the servers and services they manage, but > also be able to only view some other servers and devices. I don't > want > the users to be able to view ALL devices. > > *can_submit_commands_strict:* You grant users full access to all or > some systems, but want to restrict them from issuing commands for a > few > devices. > > If a device has multiple contact groups defined and any one of them > denies submit commands with can_submit_commands_strict 0, then the > user > is denied even if the user belongs to a group that permits it. > > *can_submit_commands:* You grant users read/only access to all > systems, > but you want to allow the user to issue commands for a few devices. > > With can_submit_commands, if a device has multiple contact groups > defined and any one of them allows submit commands, the user can > submit > commands. If there was only one contact group listed and it had > can_submit_commands set to 0, the user would not be able to submit > commands. > > Is this what you are looking for? > > Alex > > > > Tobias Klausmann wrote: >> Hi! >> >> I've got a problem that I don't how to solve best in Nagios. I >> think other people have run into the same problem (I know that >> someone has run into a /similar/ problem). >> >> I'm running 2.5 on a mid-sized installations (~300 hosts, ~2500 >> services). Thing is, our projects/(host|service)groups vary >> wildly in who is responsible for them. Unfortunately, all these >> projects are also heavily intertwined in their dependencies. >> >> Say we have a web mail project A. This consists of several >> web servers, databases and the like. It is heavily dependent on >> the LDAP project B and the mail server project C. While B and C >> have the same group of admins, project A is managed by an >> entirely different group of people. >> >> As such, we have configured Nagios that the group that is >> responsible for project can only see the machines of project A and >> the "B-and-C-people" can only see B and C. >> >> Everything is peachy. >> >> Except. Sometimes, project A may look like it's broken (pages >> time out etc). But in reality, there's a spam attack and the >> project B (the LDAP infrastructure) is so slow it simply grinds >> to a halt. In this case it would obviously be nice if the people >> from project A could see that project B is slow. Yet they should >> not be able to change the notification options/acknowledgements >> etc etc of projects B or C. >> >> The altinity people have created a patch for the "view some, >> change none" scenario[0]. Unfortunately, what I'd need is a >> mechanism for the "view some, change a few" scenario I outlined >> above. >> >> How do others deal with this kind of problem? I'm sure we're not >> the only ones who've run into it. >> >> As of currently, our best guess would be to create >> pseudo-accounts (like john.foo and john.foo-admin) and hack the >> CGI(s) to only allow the commands from -admin accounts which are >> in the notification list (with notification options set to "n"). >> We already do this to let people see machines they don't >> mailed/paged/called about. >> >> Regards, >> Tobias >> >> [0] http://altinity.blogs.com/dotorg/2006/02/a_view_some_cha.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 > > > 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application 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 Nov 3 15:26:08 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 3 Nov 2006 14:26:08 +0000 Subject: alloca.h does not exist in FreeBSD. In-Reply-To: <0682C07B-11AF-4F91-8CB6-7A0F741D3723@altinity.com> References: <7.0.1.0.0.20061102212558.05110340@shaw.ca> <0682C07B-11AF-4F91-8CB6-7A0F741D3723@altinity.com> Message-ID: Hi! I replied to Jason earlier, but forgot to copy the list. I'd like to know if anyone else on a recent *BSD is having these problems with coreutils 5.96. Ton On 3 Nov 2006, at 09:03, Ton Voon wrote: > Hi Jason, > > The Nagios Plugins uses a lot of the libraries from GNU's > coreutils, of which alloca.h is taken. My guess is that the version > we've sync'd with does not work on FreeBSD 5.5. Can you please > download coreutils-5.96 from http://ftp.gnu.org/pub/gnu/coreutils/ > and see if that compiles cleanly. If it does, then I've probably > missed out some m4 file - any help here would be great. > > If it doesn't compile and looks like the same problem, then please > try newer versions of coreutils. > > If we need to sync NP with a newer version of coreutils, this is > much harder work. > > Ton > > On 3 Nov 2006, at 04:02, Jason Kerr wrote: > >> Problem: regex_internal.h includes alloca.h which does not exist >> in FreeBSD. >> >> Version: nagios-plugins-1.4.5 >> OS: FreeBSD 5.5-STABLE >> >> Snipped output from config.log: >> configure:35748: checking for working alloca.h >> configure:35769: gcc -o conftest -g -O2 -L. conftest.c >&5 >> conftest.c:127:20: alloca.h: No such file or directory >> configure:35775: $? = 1 >> configure: failed program was: >> | /* confdefs.h. */ >> | >> >> >> Snipped output from make: >> In file included from regex.c:55: >> regex_internal.h:458:20: alloca.h: No such file or directory >> *** Error code 1 >> >> Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. >> *** Error code 1 >> >> Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. >> *** Error code 1 >> >> Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. >> *** Error code 1 >> >> Stop in /usr/home/xxx/nagios-plugins-1.4.5. >> *** Error code 1 >> >> Stop in /usr/home/xxx/nagios-plugins-1.4.5. >> >> >> In FreeBSD the alloca function is contained in stdlib.h, but the >> manpage discourages its use. "BUGS The alloca() function is machine >> and compiler dependent; its use is dis-couraged." >> >> >> In regex_internal.h do we need something like: >> #ifdef HAVE_ALLOCA_H >> #include >> #else >> /* do nothing??? */ >> #endif >> >> Thanks, >> Jason > > > > 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 andy.shellam-lists at mailnetwork.co.uk Fri Nov 3 15:32:06 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 03 Nov 2006 14:32:06 +0000 Subject: alloca.h does not exist in FreeBSD. In-Reply-To: References: <7.0.1.0.0.20061102212558.05110340@shaw.ca> <0682C07B-11AF-4F91-8CB6-7A0F741D3723@altinity.com> Message-ID: <454B52E6.301@mailnetwork.co.uk> Hi Ton, How can we find out the coreutils version? Basically I'm using FreeBSD 6.1-RELEASE, and have experienced this issue with the plugins. My m4 version is 1.4.7. I don't know which version of coreutils 6.1 runs against though? As soon as FreeBSD 6.2 is released (couple weeks) I'll be upgrading my test system to it so can check again with it. Andy. Ton Voon wrote: > Hi! > > I replied to Jason earlier, but forgot to copy the list. I'd like to > know if anyone else on a recent *BSD is having these problems with > coreutils 5.96. > > Ton > > On 3 Nov 2006, at 09:03, Ton Voon wrote: > >> Hi Jason, >> >> The Nagios Plugins uses a lot of the libraries from GNU's coreutils, >> of which alloca.h is taken. My guess is that the version we've sync'd >> with does not work on FreeBSD 5.5. Can you please download >> coreutils-5.96 from http://ftp.gnu.org/pub/gnu/coreutils/ and see if >> that compiles cleanly. If it does, then I've probably missed out some >> m4 file - any help here would be great. >> >> If it doesn't compile and looks like the same problem, then please >> try newer versions of coreutils. >> >> If we need to sync NP with a newer version of coreutils, this is much >> harder work. >> >> Ton >> >> On 3 Nov 2006, at 04:02, Jason Kerr wrote: >> >>> Problem: regex_internal.h includes alloca.h which does not exist in >>> FreeBSD. >>> >>> Version: nagios-plugins-1.4.5 >>> OS: FreeBSD 5.5-STABLE >>> >>> Snipped output from config.log: >>> configure:35748: checking for working alloca.h >>> configure:35769: gcc -o conftest -g -O2 -L. conftest.c >&5 >>> conftest.c:127:20: alloca.h: No such file or directory >>> configure:35775: $? = 1 >>> configure: failed program was: >>> | /* confdefs.h. */ >>> | >>> >>> >>> Snipped output from make: >>> In file included from regex.c:55: >>> regex_internal.h:458:20: alloca.h: No such file or directory >>> *** Error code 1 >>> >>> Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. >>> *** Error code 1 >>> >>> Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. >>> *** Error code 1 >>> >>> Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. >>> *** Error code 1 >>> >>> Stop in /usr/home/xxx/nagios-plugins-1.4.5. >>> *** Error code 1 >>> >>> Stop in /usr/home/xxx/nagios-plugins-1.4.5. >>> >>> >>> In FreeBSD the alloca function is contained in stdlib.h, but the >>> manpage discourages its use. "BUGS The alloca() function is machine >>> and compiler dependent; its use is dis-couraged." >>> >>> >>> In regex_internal.h do we need something like: >>> #ifdef HAVE_ALLOCA_H >>> #include >>> #else >>> /* do nothing??? */ >>> #endif >>> >>> Thanks, >>> Jason >> >> >> >> 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 > > > !DSPAM:37,454b51bf40412372011012! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > !DSPAM:37,454b51bf40412372011012! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,454b51bf40412372011012! > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 3 15:44:14 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 3 Nov 2006 14:44:14 +0000 Subject: alloca.h does not exist in FreeBSD. In-Reply-To: <454B52E6.301@mailnetwork.co.uk> References: <7.0.1.0.0.20061102212558.05110340@shaw.ca> <0682C07B-11AF-4F91-8CB6-7A0F741D3723@altinity.com> <454B52E6.301@mailnetwork.co.uk> Message-ID: Andy, Can you goto http://ftp.gnu.org/pub/gnu/coreutils/ and download 5.96 and try and compile on your platform. As the plugins are currently syncd with this version, if coreutils compiles, it means I've made a mistake somewhere in copying their files over. If their code fails to compile, it is a problem with their code, which they've probably fixed in a newer version - please confirm by compiling their latest version. If a newer coreutils works, then I need to take some time to re-sync the plugins with their latest code, but that takes time... Ton On 3 Nov 2006, at 14:32, Andy Shellam (Mailing Lists) wrote: > Hi Ton, > > How can we find out the coreutils version? > Basically I'm using FreeBSD 6.1-RELEASE, and have experienced this > issue > with the plugins. My m4 version is 1.4.7. I don't know which version > of coreutils 6.1 runs against though? > > As soon as FreeBSD 6.2 is released (couple weeks) I'll be upgrading my > test system to it so can check again with it. > > Andy. > > Ton Voon wrote: >> Hi! >> >> I replied to Jason earlier, but forgot to copy the list. I'd like to >> know if anyone else on a recent *BSD is having these problems with >> coreutils 5.96. >> >> Ton >> >> On 3 Nov 2006, at 09:03, Ton Voon wrote: >> >>> Hi Jason, >>> >>> The Nagios Plugins uses a lot of the libraries from GNU's coreutils, >>> of which alloca.h is taken. My guess is that the version we've >>> sync'd >>> with does not work on FreeBSD 5.5. Can you please download >>> coreutils-5.96 from http://ftp.gnu.org/pub/gnu/coreutils/ and see if >>> that compiles cleanly. If it does, then I've probably missed out >>> some >>> m4 file - any help here would be great. >>> >>> If it doesn't compile and looks like the same problem, then please >>> try newer versions of coreutils. >>> >>> If we need to sync NP with a newer version of coreutils, this is >>> much >>> harder work. >>> >>> Ton >>> >>> On 3 Nov 2006, at 04:02, Jason Kerr wrote: >>> >>>> Problem: regex_internal.h includes alloca.h which does not exist in >>>> FreeBSD. >>>> >>>> Version: nagios-plugins-1.4.5 >>>> OS: FreeBSD 5.5-STABLE >>>> >>>> Snipped output from config.log: >>>> configure:35748: checking for working alloca.h >>>> configure:35769: gcc -o conftest -g -O2 -L. conftest.c >&5 >>>> conftest.c:127:20: alloca.h: No such file or directory >>>> configure:35775: $? = 1 >>>> configure: failed program was: >>>> | /* confdefs.h. */ >>>> | >>>> >>>> >>>> Snipped output from make: >>>> In file included from regex.c:55: >>>> regex_internal.h:458:20: alloca.h: No such file or directory >>>> *** Error code 1 >>>> >>>> Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. >>>> *** Error code 1 >>>> >>>> Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. >>>> *** Error code 1 >>>> >>>> Stop in /usr/home/xxx/nagios-plugins-1.4.5/lib. >>>> *** Error code 1 >>>> >>>> Stop in /usr/home/xxx/nagios-plugins-1.4.5. >>>> *** Error code 1 >>>> >>>> Stop in /usr/home/xxx/nagios-plugins-1.4.5. >>>> >>>> >>>> In FreeBSD the alloca function is contained in stdlib.h, but the >>>> manpage discourages its use. "BUGS The alloca() function is >>>> machine >>>> and compiler dependent; its use is dis-couraged." >>>> >>>> >>>> In regex_internal.h do we need something like: >>>> #ifdef HAVE_ALLOCA_H >>>> #include >>>> #else >>>> /* do nothing??? */ >>>> #endif >>>> >>>> Thanks, >>>> Jason >>> >>> >>> >>> 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 >> >> >> !DSPAM:37,454b51bf40412372011012! >> --------------------------------------------------------------------- >> --- >> >> --------------------------------------------------------------------- >> ---- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> >> !DSPAM:37,454b51bf40412372011012! >> >> --------------------------------------------------------------------- >> --- >> >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/ >> null >> >> !DSPAM:37,454b51bf40412372011012! >> > > > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application 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-nagios at touche.fr.st Fri Nov 3 15:45:21 2006 From: julien-nagios at touche.fr.st (julien) Date: Fri, 03 Nov 2006 15:45:21 +0100 Subject: alloca.h does not exist in FreeBSD. In-Reply-To: References: <7.0.1.0.0.20061102212558.05110340@shaw.ca> <0682C07B-11AF-4F91-8CB6-7A0F741D3723@altinity.com> Message-ID: <454B5601.7030002@touche.fr.st> Ton Voon wrote on 03/11/2006 15:26: > I replied to Jason earlier, but forgot to copy the list. I'd like to > know if anyone else on a recent *BSD is having these problems with > coreutils 5.96. sorry, but for me, coreutils is GNU's stuff/tools which are not in BSD base distrib (nor in ports, at least in OpenBSD except as separate misc/fileutils, textproc/textutils) what are you looking for in coreutils ? Regards Julien ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgj at unb.ca Fri Nov 3 15:46:24 2006 From: mgj at unb.ca (Michael Jewett) Date: Fri, 03 Nov 2006 10:46:24 -0400 Subject: Host name from IP address Message-ID: <454B5640.5000303@unb.ca> Good morning, I was curious if anyone knows a way to find out the hostname from the hosts.cfg if I know the IP address. For instance I have a program that I wrote that runs on switch 1 that returns me an IP address of switch 2 and its status. I would then like the get the name from Nagios's configs for switch 2. Is this possible, without going through the entire hosts.cfg file? If not, has anyone else written something to do the similar function? Thanks, Michael ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Nov 3 16:09:33 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 03 Nov 2006 15:09:33 +0000 Subject: alloca.h does not exist in FreeBSD. In-Reply-To: References: <7.0.1.0.0.20061102212558.05110340@shaw.ca> <0682C07B-11AF-4F91-8CB6-7A0F741D3723@altinity.com> <454B52E6.301@mailnetwork.co.uk> Message-ID: <454B5BAD.4080106@mailnetwork.co.uk> Hello Ton, I'm hoping this news will be the better of 2 evils!! Coreutils 5.96 compiles, installs and uninstalls successfully on FreeBSD 6.1. (I did remember to remove my botched alloca.h file ;-) ) I've just tried the Nagios Plugins 1.4.5 and.... =========================================== In file included from regex.c:55: regex_internal.h:458:20: alloca.h: No such file or directory *** Error code 1 Stop in /endeavour/software/cache/nagios-plugins-1.4.5/lib. *** Error code 1 Stop in /endeavour/software/cache/nagios-plugins-1.4.5/lib. *** Error code 1 Stop in /endeavour/software/cache/nagios-plugins-1.4.5/lib. *** Error code 1 Stop in /endeavour/software/cache/nagios-plugins-1.4.5. *** Error code 1 Stop in /endeavour/software/cache/nagios-plugins-1.4.5. =========================================== Re-instate my botched alloca.h, and plugins compile OK. Andy. Ton Voon wrote: > Andy, > > Can you goto http://ftp.gnu.org/pub/gnu/coreutils/ and download 5.96 > and try and compile on your platform. As the plugins are currently > syncd with this version, if coreutils compiles, it means I've made a > mistake somewhere in copying their files over. > > If their code fails to compile, it is a problem with their code, which > they've probably fixed in a newer version - please confirm by > compiling their latest version. If a newer coreutils works, then I > need to take some time to re-sync the plugins with their latest code, > but that takes time... > > Ton > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 3 16:43:34 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 3 Nov 2006 15:43:34 +0000 Subject: alloca.h does not exist in FreeBSD. In-Reply-To: <454B5BAD.4080106@mailnetwork.co.uk> References: <7.0.1.0.0.20061102212558.05110340@shaw.ca> <0682C07B-11AF-4F91-8CB6-7A0F741D3723@altinity.com> <454B52E6.301@mailnetwork.co.uk> <454B5BAD.4080106@mailnetwork.co.uk> Message-ID: Andy, Yup, that was easier than having to upgrade to a newer coreutils! Turns out I was missing the alloca_.h and alloca.c files from coreutils-5.96. I've just committed it into CVS. Still compiles on my MacOSX box. Please try the snapshot when it is next created. If you want to make sure the plugins always compiles on your platform, please look at the tinderbox server: http:// tinderbox.altinity.org. You can setup regular builds on your box, so we get a better picture of which platforms work with the latest builds. Ton On 3 Nov 2006, at 15:09, Andy Shellam (Mailing Lists) wrote: > Hello Ton, > > I'm hoping this news will be the better of 2 evils!! > Coreutils 5.96 compiles, installs and uninstalls successfully on > FreeBSD 6.1. (I did remember to remove my botched alloca.h file ;-) ) > > I've just tried the Nagios Plugins 1.4.5 and.... > > =========================================== > In file included from regex.c:55: > regex_internal.h:458:20: alloca.h: No such file or directory > *** Error code 1 > > Stop in /endeavour/software/cache/nagios-plugins-1.4.5/lib. > *** Error code 1 > > Stop in /endeavour/software/cache/nagios-plugins-1.4.5/lib. > *** Error code 1 > > Stop in /endeavour/software/cache/nagios-plugins-1.4.5/lib. > *** Error code 1 > > Stop in /endeavour/software/cache/nagios-plugins-1.4.5. > *** Error code 1 > > Stop in /endeavour/software/cache/nagios-plugins-1.4.5. > =========================================== > > Re-instate my botched alloca.h, and plugins compile OK. > > Andy. > > Ton Voon wrote: >> Andy, >> >> Can you goto http://ftp.gnu.org/pub/gnu/coreutils/ and download >> 5.96 and try and compile on your platform. As the plugins are >> currently syncd with this version, if coreutils compiles, it means >> I've made a mistake somewhere in copying their files over. >> >> If their code fails to compile, it is a problem with their code, >> which they've probably fixed in a newer version - please confirm >> by compiling their latest version. If a newer coreutils works, >> then I need to take some time to re-sync the plugins with their >> latest code, but that takes time... >> >> Ton >> > > > > 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application 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 statlow at gmail.com Fri Nov 3 17:04:56 2006 From: statlow at gmail.com (Steve Tatlow) Date: Fri, 3 Nov 2006 16:04:56 +0000 Subject: adminemail macro Message-ID: Hello, Can some one please assist :-) I was wondering where and how in the host and service email notifications I should use the $ADMINEMAIL$ macro? Thanks in advance. Steve -------------- 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 bthomas at journalbroadcastgroup.com Fri Nov 3 20:46:36 2006 From: bthomas at journalbroadcastgroup.com (Ben Thomas) Date: Fri, 3 Nov 2006 13:46:36 -0600 Subject: Host name from IP address Message-ID: <02D177BABE78DE4185AF5B7E445BC62D0FA511A1@RIDE.technology.jbgcorporate.com> So if you are not looking to write a script, just use ping -a in windows and that will reverse dns the IP for you. Then just do a ctl + f in the config files. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Jewett Sent: Friday, November 03, 2006 8:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host name from IP address Good morning, I was curious if anyone knows a way to find out the hostname from the hosts.cfg if I know the IP address. For instance I have a program that I wrote that runs on switch 1 that returns me an IP address of switch 2 and its status. I would then like the get the name from Nagios's configs for switch 2. Is this possible, without going through the entire hosts.cfg file? If not, has anyone else written something to do the similar function? Thanks, Michael ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ...................................................................... The information contained in this communication may be confidential or legally privileged and is intended only for the recipient named above. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication or its contents is strictly prohibited. If you have received this communication in error, please immediately advise the sender and delete the original and any copies from your computer system. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamesaffeld at yahoo.com Fri Nov 3 22:18:13 2006 From: jamesaffeld at yahoo.com (James Affeld) Date: Fri, 3 Nov 2006 13:18:13 -0800 (PST) Subject: snmp_checks return odd junk Message-ID: <20061103211813.51097.qmail@web51109.mail.yahoo.com> Thanks - updating to plugins version 1.4.5 from 1.4.3 fixed. ----- Original Message ---- From: Andreas Ericsson To: James Affeld Cc: nagios-users at lists.sourceforge.net Sent: Friday, November 3, 2006 3:16:10 AM Subject: Re: [Nagios-users] snmp_checks return odd junk James Affeld wrote: > When I run just about any kind of SNMP check, I get suitable info at the beginning of the response, but a bunch of junk at the end. It even runs into the next command line. As you might gather, this is done via an ssh connection, using putty. > > root at silmec2:/usr/local/nagios/libexec# ./check_snmp -H 10.139.7.1 -o .1.3.6.1.4.1.9.9.48.1.1.1.6.1 -C REDACTED -P 1 > SNMP OK - 17448296 | iso.3.6.1.4.1.9.9.48.1.1.1.6.1=17448296?j???B?????j???B?`B??B????;;;; > root at silmec2:/usr/local/nagios/libexec# PuTTYPuTTYPuTTYPuTTYPuTTY > > If I do an snmpwalk vs. that OID, it returns cleanly. > > root at silmec2:/usr/local/nagios/libexec# snmpwalk 10.139.7.1 iso.3.6.1.4.1.9.9.48.1.1.1.6.1 -c REDACTED -v 1 > SNMPv2-SMI::enterprises.9.9.48.1.1.1.6.1 = Gauge32: 17390392 > root at silmec2:/usr/local/nagios/libexec# > > > I run into the same problem checking a Cisco Catalyst 6009 and HP 2524 switches. Any clues? > Sounds like the buffer used to contain the string gotten back from snmpget isn't NUL-terminated. I vaguely remember this as a bug in the runcmd functions in the plugins when they were first introduced (mea culpa). It was a pretty bizarre error and only appeared if(strlen(output) % sizeof(long) == 0), so it's not easily reproducable. Try updating the plugin package at silmec2 and see if that fixes it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at stilen.com Fri Nov 3 22:36:10 2006 From: john at stilen.com (John Stile) Date: Fri, 03 Nov 2006 13:36:10 -0800 Subject: alert when service is on Message-ID: <1162589770.3372.13.camel@genx> I would like an alert when someone logs into a monitored XP machine, but I can't figure out how to do it. Does anyone have an easy method? Using nagios-1.3 on debian Sarge with nsclient++ on XP+sp2. I tried the following checkcommands.cfg + services.cfg entries, which show when someone logs in (via rdeskto), but I only want an alert when these processes are active, which should rarely happen. It's like I only want an alert when the service is up. ============================= snip from services.cfg ============================= # Service definition define service{ use generic-service ; Name of service template to use host_name buildxp.eng service_description Live_Rdesktop_Session is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_win_process!buildxp.eng!rdpclip.exe,wscntfy.exe,explorer.exe } ============================= snip from ============================= define command{ command_name check_win_process command_line /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -d SHOWALL -l $ARG2$ } ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamesaffeld at yahoo.com Fri Nov 3 22:40:11 2006 From: jamesaffeld at yahoo.com (James Affeld) Date: Fri, 3 Nov 2006 13:40:11 -0800 (PST) Subject: check_ifoperstatus option -n ifName not working as expected Message-ID: <20061103214011.9849.qmail@web51106.mail.yahoo.com> This looks like a fix, thanks! I added a '\n' to line 217, as well. BEFORE $answer = "Interface $name (index $snmpkey) is up."; AFTER $answer = "Interface $name (index $snmpkey) is up.\n"; Gives a clean new command line for me. Probably doesn't matter except when running the plugin manually. ------------------------------ Message: 6 Date: Thu, 2 Nov 2006 16:47:12 -0600 From: "Marc Powell" Subject: Re: [Nagios-users] check_ifoperstatus option -n ifName not working asexpected 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 James Affeld > Sent: Thursday, November 02, 2006 4:22 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_ifoperstatus option -n ifName not working > asexpected > > I'm running check_ifoperstatus to check the condition of interfaces on a > Cisco 6009 running CatOS software. > I'm specifing the SNMP IfIndex value as recommended. But since the > IfIndex value can change as the switch is rebooted, I'm running -I (agent > supports IFMib ifXTable) and -n (IfName) to verify that I have the correct > interface. When I use -n, I must supply an ifName, but it doesn't matter > what ifName I supply. It comes back with the current ifName for that > IfIndex and doesn't error out if that ifName doesn't match what I supply. > Why require a parameter for -n if the parameter doesn't affect the return > condition? > > root at silmec2:/usr/local/nagios/libexec# ./check_ifoperstatus -H 10.139.7.1 > -C REDACTED -k 351 -I -n 4/44 > CRITICAL: Interface 9/6 - (index 351) is down. > > root at silmec2:/usr/local/nagios/libexec# ./check_ifoperstatus -H 10.139.7.1 > -C REDACTED -k 347 -I -n 4/44 > OK: Interface 9/2 - (index 347) is up. > > Am I missing something, or is check_ifoperstatus ? Looks like check_ifoperstatus. Testing here I see the same results. It looks like the $name references on lines 155 and 157 should be $ifName. -- Before -- ## Check to see if ifName match is requested and it matches - exit if no match ## not the interface we want to monitor if ( defined $name && not ($response->{$snmpIfName} eq $name) ) { $state = 'UNKNOWN'; $answer = "Interface name ($name) doesn't match snmp value ($response->{$snmpIfName}) (index $snmpkey)"; print ("$state: $answer"); exit $ERRORS{$state}; } $ ./check_ifoperstatus -H REDACTED -C REDACTED -k 1 -I -n 4/44 OK: Interface Gi1/1 - @@IN peer01 (index 1) is up. After -- ## Check to see if ifName match is requested and it matches - exit if no match ## not the interface we want to monitor if ( defined $ifName && not ($response->{$snmpIfName} eq $ifName) ) { $state = 'UNKNOWN'; $answer = "Interface name ($ifName) doesn't match snmp value ($response->{$snmpIfName}) (index $snmpkey)"; print ("$state: $answer"); exit $ERRORS{$state}; } $ ./check_ifoperstatus -H REDACTED -C REDACTED -k 1 -I -n 4/44 UNKNOWN: Interface name (4/44) doesn't match snmp value (Gi1/1) (index 1) $ ./check_ifoperstatus -H REDACTED -C REDACTED -k 1 -I -n Gi1/1 OK: Interface Gi1/1 - @@IN peer01 (index 1) is up. I'm not sure if that is all the code changes necessary but it does produce the expected behavior. -- 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 Aaron.Segura at cabelas.com Fri Nov 3 22:40:18 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Fri, 3 Nov 2006 14:40:18 -0700 Subject: alert when service is on Message-ID: <2D0245E43DEC724F81592D697F05689904C431F7@SIDHQEXCHMB1.Cabelas.Corp> Perhaps use the 'negate' plugin in order to reverse the result of the check? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of John Stile Sent: Friday, November 03, 2006 2:36 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] alert when service is on I would like an alert when someone logs into a monitored XP machine, but I can't figure out how to do it. Does anyone have an easy method? Using nagios-1.3 on debian Sarge with nsclient++ on XP+sp2. I tried the following checkcommands.cfg + services.cfg entries, which show when someone logs in (via rdeskto), but I only want an alert when these processes are active, which should rarely happen. It's like I only want an alert when the service is up. ============================= snip from services.cfg ============================= # Service definition define service{ use generic-service ; Name of service template to use host_name buildxp.eng service_description Live_Rdesktop_Session is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_win_process!buildxp.eng!rdpclip.exe,wscntfy.exe,explorer.exe } ============================= snip from ============================= define command{ command_name check_win_process command_line /usr/lib/nagios/plugins/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -d SHOWALL -l $ARG2$ } ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 LEHMANJ at us.panasonic.com Fri Nov 3 22:42:56 2006 From: LEHMANJ at us.panasonic.com (Lehman, John) Date: Fri, 3 Nov 2006 16:42:56 -0500 Subject: Running check_nagios by ssh In-Reply-To: <1162307475.13109.52.camel@localhost.localdomain> References: <1162307475.13109.52.camel@localhost.localdomain> Message-ID: This was exactly what I was looking for and I wanted to let you know it works like a charm. I removed the rsync stuff and all is great. Thanks. John -----Original Message----- From: Donnell Lewis [mailto:donnell.lewis at icoretechnology.com] Sent: Tuesday, October 31, 2006 10:11 AM To: Lehman, John Cc: Tedman Eng; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Running check_nagios by ssh Here is a script I wrote for checking that the master is running or not and it will ENABLE/DISABLE the service checks and notifications accordingly on the slave depending on it's check results of the master. You will need to edit the variables accordingly and remove the rsync stuff as I used it to automatically turn the rsync cron ON/OFF. I run this on a cron. The use of sudo in this script is because I am running it as the nagios user and it needed it for adjusting the rsync cron, but you can remove the rsync stuff and add your own if you want it to do any additional functions beyond ENABLING/DISABLING service checks and notifs on the slave. Please keep in mind this script is rudimentary and could be streamlined alot, I just haven't gotten around to it.. -Don check_nagios_primary.sh contents: #!/bin/bash # Author: Donnell C. Lewis | 2005-09-14 |NOTE:This script was written to work with Nagios 2.x and up. # This script is covered under the GPL and can be freely distributed, re-distributed and edited, sliced # diced and throw in the fire so long as you leave the original $AUTHOR credits in place. # Props go out to Ethan Galstad who made the awesome software for which this script was written to # work with. # What is is: This script was written to be a semi-logical automatic control interface between the # primary Nagios host and the slave Nagios host, and should be set to run on a crontab. It includes all # the functions that it requires to login/reach the primary Nagios to make sure it's running it's Nagios # processes. If this script cannot ssh to the primary or should it not be able to locate a running # Nagios process on the primary it will send commands to the nagios.cmd file on the slave that will # enable "service checks" and "notifications" and disable the companion rsync script. Once this # script can once again reach the primary and finds running processes it will send commands to # nagios.cmd that will disable "service checks" and "notifications" and re-enable the companion # rsync script. # Here we set some PATH's and environment variables for script execution PATH=$PATH:$HOME/bin:/usr:/bin:/sbin:/usr/bin:/usr/sbin: export PATH unset USERNAME # Here we check if this script is already running and if so we die ! if [ -e "check_nagios_primary.lock" ]; then echo "check_nagios_primary.sh already running..exiting!" echo "check_nagios_primary.sh already running..exiting!" >> check_nagios_primary.log exit fi # Write a command to the Nagios command file to cause # it to process a service check result touch check_nagios_primary.lock echocmd="/bin/echo" CommandFile="/usr/local/nagios/var/rw/nagios.cmd" # get the current date/time in seconds since UNIX epoch datetimestamp=$(date +%s) datetime=$(date) # create the command line to add to the command file cmdline="[$datetimestamp]" SVCUP="STOP_EXECUTING_SVC_CHECKS;" SVCDOWN="START_EXECUTING_SVC_CHECKS;" NOTIFON="ENABLE_NOTIFICATIONS;" NOTIFOFF="DISABLE_NOTIFICATIONS;" PRIMARY="89.149.155.19" #Check nagios with check_nagios plugin /usr/local/nagios/libexec/check_by_ssh -t 90 -H $PRIMARY -C "./check_nagios -e 5 -F /usr/local/nagios/var/nagios.log -C /usr/local/nagios/bin/nagios >> /dev/null" if [ "${?}" != 0 ] ; then echo "$datetime CRITICAL:Nagios not running, enabling service checks and notifications !" touch /usr/local/nagios/var/check_nagios_primary.log echo "$datetime CRITICAL:Nagios not running, enabling service checks and notifications !" >> check_nagios_primary.log $echocmd $cmdline $SVCDOWN >> $CommandFile $echocmd $cmdline $NOTIFON >> $CommandFile sudo crontab -u rsync -r else echo "$datetime OK:Nagios running fine mate, disabling service checks and notifications !" touch /usr/local/nagios/var/check_nagios_primary.log echo "$datetime OK:Nagios running fine mate, disabling service checks and notifications !" >> check_nagios_primary.log $echocmd $cmdline $SVCUP >> $CommandFile $echocmd $cmdline $NOTIFOFF >> $CommandFile sudo crontab -u rsync -r echo "*/5 * * * * /home/rsync/rsync.pull-nagios.sh >/dev/null 2>&1" > cron.tmp sudo crontab -u rsync cron.tmp rm -rf cron.tmp fi rm -rf check_nagios_primary.lock exit On Mon, 2006-10-30 at 18:52 -0500, Lehman, John wrote: > Hello, > I am trying to run the check_nagios command from one machine to another. > (slave to master) > > I can run the following from the command prompt on the "slave" machine: > > Note: the master I am checking is 10.130.4.80 > > /usr/lib/nagios/plugins/check_by_ssh -H 10.130.4.80 -l smadmin-sec -i > home/smadmin-sec/.ssh/id_dsa -C "/usr/lib/nagios/plugins/check_nagios > /var/log/nagios/status.log 5 'nagios'" > > > I get the following as a response: > > Nagios ok: located 1 process, status log updated 3 seconds ago > > > > My question is, can I use the "response" to determine whether the master > is up and if not I want the slave to take over? > > I thought this might be a simple and easy way to set up failover???? > > 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 vasiliy at linuxspecial.com Sat Nov 4 00:02:43 2006 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Fri, 03 Nov 2006 18:02:43 -0500 Subject: check_nt EVENTLOG problem Message-ID: <454BCA93.3020403@linuxspecial.com> Guys, When i run... ./check_nt -H host -v EVENTLOG -l "any,any,5,0,0,0" -s password I get... Client - ERROR: Unknown request number What am I doing wrong? THANKS! -- Vasiliy Boulytchev vasiliy at linuxspecial.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 Sat Nov 4 01:02:35 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 4 Nov 2006 01:02:35 +0100 (CET) Subject: Perl error with check_linux_raid.pl Message-ID: Hi, After the last yum update of nagios-plugins I found myself staring at an error I could not fix right away. I think it is my lack of Perl knowledge that is to blame and hope some can tell me if my corrections are correct. The error I got in Nagios was: **ePN failed to compile /usr/lib/nagios/plugins/contrib/check_linux_raid.pl: "BEGIN not safe after errors--compilation aborted at (eval 2) line 27," at /usr/bin/p1.pl line 155. The relevant lines were: 1: #!/usr/bin/perl -w 25: use strict; 26: use lib utils.pm; 27: use utils qw(%ERRORS); When I tried it by hand it reported: ./check_linux_raid.pl Bareword "utils" not allowed while "strict subs" in use at ./check_linux_raid.pl line 26. Bareword "pm" not allowed while "strict subs" in use at ./check_linux_raid.pl line 26. BEGIN not safe after errors--compilation aborted at ./check_linux_raid.pl line 27. I then changed it to: 25: use strict; 26: use utils qw(%ERRORS); And this seems to do the trick for me. Thank you for your patience. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 4 17:43:45 2006 From: alex_b at users.sourceforge.net (Alex Burger) Date: Sat, 04 Nov 2006 11:43:45 -0500 Subject: Advanced permissions/user properties In-Reply-To: References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> Message-ID: <454CC341.2060200@users.sourceforge.net> Hi Ton. Ton Voon wrote: > Hi Alex, > > I think the "read/write" attribute needs to be associated with the > contact. So this implementation looks more obvious (to me): > > define contact { > name person > contactgroups cg1,cg2,cg3 # means can submit commands > contactgroups_viewonly cg5,cg6 > } > > This would effectively mean the can_submit_commands attribute is > redundant, because you just use contactgroups_viewonly instead of > contactgroups. The more I think about it, the more I think we are looking at this the wrong way. With file system or application permissions, we would assign a group to a folder/object, and then pick what rights the group would have. Why don't we do the same thing with Nagios? Leave the groups as they are, but modify the host and service contact_groups command? For example: define host{ host_name localhost contact_groups netops:rw, helpdesk:r } For backwards compatibility, if no permissions are set, the defaults would be rw so the following would be the same: define host{ host_name localhost contact_groups netops, helpdesk:r } If a user was in both the netops and helpdesk group, the user should have rw access. This will take a bit more work to implement, but I think it makes more sense. What do you think? 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 From alex_b at users.sourceforge.net Sat Nov 4 22:07:51 2006 From: alex_b at users.sourceforge.net (Alex Burger) Date: Sat, 04 Nov 2006 16:07:51 -0500 Subject: Advanced permissions/user properties In-Reply-To: <454CC341.2060200@users.sourceforge.net> References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> <454CC341.2060200@users.sourceforge.net> Message-ID: <454D0127.9040700@users.sourceforge.net> Alex Burger wrote: > The more I think about it, the more I think we are looking at this the > wrong way. With file system or application permissions, we would assign > a group to a folder/object, and then pick what rights the group would > have. Why don't we do the same thing with Nagios? > > Leave the groups as they are, but modify the host and service > contact_groups command? For example: > > define host{ > host_name localhost > contact_groups netops:rw, helpdesk:r > } > > For backwards compatibility, if no permissions are set, the defaults > would be rw so the following would be the same: > > define host{ > host_name localhost > contact_groups netops, helpdesk:r > } > > If a user was in both the netops and helpdesk group, the user should > have rw access. > > This will take a bit more work to implement, but I think it makes more > sense. What do you think? > > Alex Attached is a patch for 2.5 that implements what I described above. It works on both hosts and services. The following four lines are are examples of read/write access for netops and helpdesk: contact_groups netops, helpdesk contact_groups netops, helpdesk:rw contact_groups netops:rw, helpdesk contact_groups netops:rw, helpdesk:rw The following two lines are are examples of read/write access for netops and read only (view only) for helpdesk: contact_groups netops, helpdesk:r contact_groups netops:rw, helpdesk:r Alex -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch-group-perms3 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.contri at tecem.it Sun Nov 5 14:42:12 2006 From: matteo.contri at tecem.it (Matteo Contri) Date: Sun, 05 Nov 2006 14:42:12 +0100 Subject: macro variable Message-ID: <454DEA34.9070007@tecem.it> hi community, to create a quite flexible system using nagiosgraph, rrd, and performance data of nagios i need a particular variable that i cannot find in nagios macro list. i need the value of "normal_check_interval" exported by the command of perfomance data. Does it exist? if not, i'd really like to see this value in the future version of nagios. It's a must for RRD because i need to change step and hearbeat value in according to normal_check_interval. I found a solution, but my programming skill is basic, and is quite ugly. Sorry for my english. Matteo ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swensel at gfg-group.com Sun Nov 5 21:25:02 2006 From: swensel at gfg-group.com (Steve Wensel) Date: Mon, 6 Nov 2006 09:25:02 +1300 Subject: help 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 nagios-users-request at lists.sourceforge.net Sent: Monday, 6 November 2006 9:19 a.m. To: nagios-users at lists.sourceforge.net Subject: Nagios-users Digest, Vol 6, Issue 8 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: Advanced permissions/user properties (Alex Burger) 2. macro variable (Matteo Contri) ---------------------------------------------------------------------- Message: 1 Date: Sat, 04 Nov 2006 16:07:51 -0500 From: Alex Burger Subject: Re: [Nagios-users] Advanced permissions/user properties To: Ton Voon , nagios-users at lists.sourceforge.net, klausman at schwarzvogel.de Message-ID: <454D0127.9040700 at users.sourceforge.net> Content-Type: text/plain; charset="iso-8859-1" Alex Burger wrote: > The more I think about it, the more I think we are looking at this the > wrong way. With file system or application permissions, we would assign > a group to a folder/object, and then pick what rights the group would > have. Why don't we do the same thing with Nagios? > > Leave the groups as they are, but modify the host and service > contact_groups command? For example: > > define host{ > host_name localhost > contact_groups netops:rw, helpdesk:r > } > > For backwards compatibility, if no permissions are set, the defaults > would be rw so the following would be the same: > > define host{ > host_name localhost > contact_groups netops, helpdesk:r > } > > If a user was in both the netops and helpdesk group, the user should > have rw access. > > This will take a bit more work to implement, but I think it makes more > sense. What do you think? > > Alex Attached is a patch for 2.5 that implements what I described above. It works on both hosts and services. The following four lines are are examples of read/write access for netops and helpdesk: contact_groups netops, helpdesk contact_groups netops, helpdesk:rw contact_groups netops:rw, helpdesk contact_groups netops:rw, helpdesk:rw The following two lines are are examples of read/write access for netops and read only (view only) for helpdesk: contact_groups netops, helpdesk:r contact_groups netops:rw, helpdesk:r Alex -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch-group-perms3 Url: http://sourceforge.net/mailarchive/forum.php?forum=nagios-users/attachments/ 20061104/060f5281/attachment.pl ------------------------------ Message: 2 Date: Sun, 05 Nov 2006 14:42:12 +0100 From: Matteo Contri Subject: [Nagios-users] macro variable To: nagios-users at lists.sourceforge.net Message-ID: <454DEA34.9070007 at tecem.it> Content-Type: text/plain; charset=ISO-8859-1 hi community, to create a quite flexible system using nagiosgraph, rrd, and performance data of nagios i need a particular variable that i cannot find in nagios macro list. i need the value of "normal_check_interval" exported by the command of perfomance data. Does it exist? if not, i'd really like to see this value in the future version of nagios. It's a must for RRD because i need to change step and hearbeat value in according to normal_check_interval. I found a solution, but my programming skill is basic, and is quite ugly. Sorry for my english. Matteo ------------------------------ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk &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 6, Issue 8 ****************************************** -------------- 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 Nov 5 23:35:39 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 6 Nov 2006 11:35:39 +1300 Subject: Advanced permissions/user properties In-Reply-To: <454CC341.2060200@users.sourceforge.net> References: <454CC341.2060200@users.sourceforge.net> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A244B432@UXCHANGE3.UoA.auckland.ac.nz> Alex Burger wrote: > Leave the groups as they are, but modify the host and service > contact_groups command? For example: > define host{ > host_name localhost > contact_groups netops:rw, helpdesk:r > } > > For backwards compatibility, if no permissions are set, the defaults > would be rw so the following would be the same: > > define host{ > host_name localhost > contact_groups netops, helpdesk:r > } > > If a user was in both the netops and helpdesk group, the user should > have rw access. This is exactly what we need, and the best way I have seen (so far) to implement it. In particular it has backwards compatibility and does not involve an additional directive. Much simpler to do it via groups rather than at a per-user level, and much more maintainable. This is the way I'd like to see it implemented in the official tree, maybe with a nagios.cfg option to allow you to set the default to be :rw or :r (so that once you've fully implemented things you can change default to be :r, best to default to the lower level) Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 6 00:02:38 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 6 Nov 2006 00:02:38 +0100 (CET) Subject: Advanced permissions/user properties In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A244B432@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A244B432@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: On Mon, 6 Nov 2006, Steve Shipway wrote: > Alex Burger wrote: > > Leave the groups as they are, but modify the host and service > > contact_groups command? For example: > > define host{ > > host_name localhost > > contact_groups netops:rw, helpdesk:r > > } > > > > For backwards compatibility, if no permissions are set, the defaults > > would be rw so the following would be the same: > > > > define host{ > > host_name localhost > > contact_groups netops, helpdesk:r > > } > > > > If a user was in both the netops and helpdesk group, the user should > > have rw access. > > This is exactly what we need, and the best way I have seen (so far) to > implement it. In particular it has backwards compatibility and does > not involve an additional directive. Much simpler to do it via groups > rather than at a per-user level, and much more maintainable. > > This is the way I'd like to see it implemented in the official tree, > maybe with a nagios.cfg option to allow you to set the default to be :rw > or :r (so that once you've fully implemented things you can change > default to be :r, best to default to the lower level) To remain in the traditional unix style. How about an eXecute flag? In this contact it would best be written as Notify flag instead. So I can have 1 group as nrw (the engineers on call), customer on nr, helpdesk on r. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.garvey at gmail.com Mon Nov 6 00:04:40 2006 From: david.garvey at gmail.com (David Garvey) Date: Sun, 5 Nov 2006 15:04:40 -0800 Subject: troubles with check_by_ssh In-Reply-To: <2e90c57d0610251530y42391aa2vdf9e1d1ccc0d7baf@mail.gmail.com> References: <2e90c57d0610251530y42391aa2vdf9e1d1ccc0d7baf@mail.gmail.com> Message-ID: <2e90c57d0611051504t5bf53287hf19793f39e4f3f1d@mail.gmail.com> Nov 5 14:57:22 nagios nagios: Warning: Return code of 67 for check of service 'Check_ssh_load' on host 'host22' was out of bounds. I am getting the following error on a check_by_ssh command. It work fine from the command line. -bash-3.00$ ./check_by_ssh -l nagios -H host22 -C 'libexec/check_load -w 50 -c 75' OK - load average: 0.00, 0.00, 0.00|load1=0.000000;50.000000;75.000000;0.000000 load5=0.000000;50.000000;75.000000;0.000000 load15=0.000000 ;50.000000;75.000000;0.000000 -bash-3.00$ echo $? 0 On 10/25/06, David Garvey wrote: > > > I am have problems using the most recent libraries of ssh2 the commerial > version. Here is the error when nagios runs the plug-in. > > Remote command execution failed: warning: You have no controlling tty. > Cannot read confirmation. > > Here is the command line execution... > -bash-3.00$ libexec/check_by_ssh -H host18 -t 30 -S 25 -C > "libexec/check_load -w 50 -c 75" > OK - load average: 0.00, 0.00, 0.00|load1=0.000000;50.000000;75.000000;0.000000 > load5= 0.000000;50.000000;75.000000;0.000000 load15=0.000000 > ;50.000000;75.000000;0.000000 > You have new mail in /var/spool/mail/nagios > > Here is the /var/log/messages on host18... > > Oct 25 15:10:10 host18 sshd2[870]: connection from "10.1.1.1" > Oct 25 15:10:10 host18 sshd2[13080]: DNS lookup failed for "10.1.1.1". > Oct 25 15:10:10 host18 sshd2[13080]: Remote host disconnected: Key > exchange failed. > Oct 25 15:10:10 host18 sshd2[13080]: Key exchange failed in remote: 'Key > exchange failed.' > > The ssh versions... > > host18 > > ssh2 -V > ssh2: SSH Secure Shell 2.2.0 on i686-pc-linux-gnu > > nagios > ssh -V > ssh: SSH Secure Shell 3.2.9.1 on i686-pc-linux-gnu > > > > > -- David Garvey cell# 510-209-9012 -------------- 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 amontibello at gmail.com Mon Nov 6 00:41:44 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Sun, 5 Nov 2006 18:41:44 -0500 Subject: check_nt EVENTLOG problem In-Reply-To: <454BCA93.3020403@linuxspecial.com> References: <454BCA93.3020403@linuxspecial.com> Message-ID: I assume you are using NC_NEt. check the version you are using. the current version is on sourceforge: http://sourceforge.net/projects/nc-net Note: I have a update for NC_Net but have not had the time to merge it into the project yet. If you are using a different Windows client I do not know if they support eventlog. good luck, tony On 11/3/06, Vasiliy Boulytchev wrote: > > Guys, > When i run... > > ./check_nt -H host -v EVENTLOG -l "any,any,5,0,0,0" -s password > > I get... > > Client - ERROR: Unknown request number > > What am I doing wrong? > > THANKS! > > > -- > Vasiliy Boulytchev > vasiliy at linuxspecial.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 > -------------- 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 amontibello at gmail.com Mon Nov 6 01:03:15 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Sun, 5 Nov 2006 19:03:15 -0500 Subject: No data was received from host! In-Reply-To: <50B73C8966FCF840BABA099651DBE060012C4892@rchemx01.fnc.net.local> References: <50B73C8966FCF840BABA099651DBE060012C4892@rchemx01.fnc.net.local> Message-ID: NC_NEt ver 2.28 can only preform one check at a time. thus if some of these checks take a long time to process, Like the inplementation of eventlog checks in that version of NC_NEt then the checks may get backed up. Thus causing several checks to get the No Data Recieved form host. THe source of this may be due the Windows host, being very bogged down. A second source may be one of the checks periodically taking longer to preform. A posible solution may be to increase the timout in check_nt. command. this may allow it to check up quicker when the backup does occure. A second solution is to setup some of the checks to be preformed as passive checks using NSCA. this will eliminate that issue altogether. Good Luck, TOny (creator of NC_NEt) On 11/2/06, Folkers, Lynn wrote: > > > I am running Nagios 2.0 on Redhat EL3. I am running NC_NET version 2.28on the Windows clients. I monitor 222 systems with 1324 service checks. > The problem I am having is that on about 12 Windows clients I get the > following error during checks "WARNING 11-02-2006 10:28:31 9d 6h 44m 37s 5/5 > No data was received from host! ". This does eventually clear up but > continually comes back. This does not happen on all the Windows clients. > They are all running the same NC_NET 2.28 version. Has anyone else seen > 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 > > -------------- 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 Mon Nov 6 02:50:09 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 6 Nov 2006 14:50:09 +1300 Subject: No data was received from host! In-Reply-To: References: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A244B48E@UXCHANGE3.UoA.auckland.ac.nz> This nicely explains why my mrtg-pnsclient script (which allows MRTG to directly query pnsclient, NC_Net etc) has occasional problems when querying two variables at once, and the second query fails. It is interesting to note that the original pnsclient doesn't have this limitation :) If you need to do several checks on eventlogs, you might be better off using the NagEventLog eventlog agent instead (available from nagiosexchange.org) to parse the logs and send passive alerts to Nagios. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Anthony Montibello Sent: Monday, 6 November 2006 1:03 p.m. To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] No data was received from host! NC_NEt ver 2.28 can only preform one check at a time. thus if some of these checks take a long time to process, Like the inplementation of eventlog checks in that version of NC_NEt then the checks may get backed up. Thus causing several checks to get the No Data Recieved form host. THe source of this may be due the Windows host, being very bogged down. A second source may be one of the checks periodically taking longer to preform. A posible solution may be to increase the timout in check_nt. command. this may allow it to check up quicker when the backup does occure. A second solution is to setup some of the checks to be preformed as passive checks using NSCA. this will eliminate that issue altogether. Good Luck, TOny (creator of NC_NEt) On 11/2/06, Folkers, Lynn wrote: I am running Nagios 2.0 on Redhat EL3. I am running NC_NET version 2.28 on the Windows clients. I monitor 222 systems with 1324 service checks. The problem I am having is that on about 12 Windows clients I get the following error during checks "WARNING 11-02-2006 10:28:31 9d 6h 44m 37s 5/5 No data was received from host! ". This does eventually clear up but continually comes back. This does not happen on all the Windows clients. They are all running the same NC_NET 2.28 version. Has anyone else seen 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 -------------- 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 R.Ford at pindar.com Mon Nov 6 05:00:36 2006 From: R.Ford at pindar.com (Rob Ford) Date: Mon, 6 Nov 2006 04:00:36 +0000 Subject: Rob Ford is out of the office. Message-ID: I will be out of the office starting 03/11/2006 and will not return until 13/11/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 alex_b at users.sourceforge.net Mon Nov 6 05:04:14 2006 From: alex_b at users.sourceforge.net (Alex Burger) Date: Sun, 05 Nov 2006 23:04:14 -0500 Subject: Advanced permissions/user properties In-Reply-To: References: <12A6FDDD13C460408A6E47E5DB1235A244B432@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <454EB43E.8070500@users.sourceforge.net> Hugo van der Kooij wrote: > On Mon, 6 Nov 2006, Steve Shipway wrote: > >> Alex Burger wrote: >>> Leave the groups as they are, but modify the host and service >>> contact_groups command? For example: >>> define host{ >>> host_name localhost >>> contact_groups netops:rw, helpdesk:r >>> } >>> >>> For backwards compatibility, if no permissions are set, the defaults >>> would be rw so the following would be the same: >>> >>> define host{ >>> host_name localhost >>> contact_groups netops, helpdesk:r >>> } >>> > To remain in the traditional unix style. How about an eXecute flag? > > In this contact it would best be written as Notify flag instead. > > So I can have 1 group as nrw (the engineers on call), customer on nr, > helpdesk on r. How about: r: View in web interface x: Submit commands for this host/service w: Not really needed yet. Maybe some of the other programs that allow you to modify the configuration files could use w to allow a user to modify the host / service. n: Notify if contact has a pager or email defined I also changed it so that you will only see a service if you are a contact for it. I think this is the same change that Ton mentioned in his last email. I did this to test the 'r' permission. For backwards compatibility, the default would be rwxn. So, the engineers would have: nrx, customer: nr and helpdesk r. Attached is an updated patch. Alex -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch-group-perms5 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 klausman at schwarzvogel.de Mon Nov 6 09:41:58 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Mon, 6 Nov 2006 09:41:58 +0100 Subject: Advanced permissions/user properties In-Reply-To: <454EB43E.8070500@users.sourceforge.net> References: <12A6FDDD13C460408A6E47E5DB1235A244B432@UXCHANGE3.UoA.auckland.ac.nz> <454EB43E.8070500@users.sourceforge.net> Message-ID: <20061106084158.GA20985@eric.schwarzvogel.de> Hi! First off: thanks for all your work, it didn't quite expect so much (and such constructive/worthwile) feedback. On Sun, 05 Nov 2006, Alex Burger wrote: > How about: > > r: View in web interface > > x: Submit commands for this host/service > > w: Not really needed yet. Maybe some of the other programs that allow > you to modify the configuration files could use w to allow a user to > modify the host / service. > > n: Notify if contact has a pager or email defined I think one could make a case for x being everything that concerns the current state of an object, i.e. mainly acknowledgement(s). The w flag could be used for en/disabling (semi)permanent stuff, like disabling active checks. On the other hand, many actions (like schedule downtime) would fall into a grey area, so maybe using x for all of them and "keeping" w for later is better. > I also changed it so that you will only see a service if you are a > contact for it. I think this is the same change that Ton mentioned in > his last email. I did this to test the 'r' permission. This was the default in our installation (by way of not having an asterisk in the corresponding line(s) in the main config file. > > For backwards compatibility, the default would be rwxn. > > So, the engineers would have: nrx, customer: nr and helpdesk r. > > Attached is an updated patch. I'll try to get a peek at it this week. Thanks, again (all of you). Regards, Tobias ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 6 11:08:58 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 6 Nov 2006 10:08:58 +0000 Subject: Advanced permissions/user properties In-Reply-To: <454CC341.2060200@users.sourceforge.net> References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> <454CC341.2060200@users.sourceforge.net> Message-ID: <353DE8BA-307C-4068-8651-DABA1B4194D6@altinity.com> On 4 Nov 2006, at 16:43, Alex Burger wrote: > Ton Voon wrote: >> Hi Alex, >> I think the "read/write" attribute needs to be associated with the >> contact. So this implementation looks more obvious (to me): >> define contact { >> name person >> contactgroups cg1,cg2,cg3 # means can submit commands >> contactgroups_viewonly cg5,cg6 >> } >> This would effectively mean the can_submit_commands attribute is >> redundant, because you just use contactgroups_viewonly instead of >> contactgroups. > > The more I think about it, the more I think we are looking at this > the wrong way. With file system or application permissions, we > would assign a group to a folder/object, and then pick what rights > the group would have. Why don't we do the same thing with Nagios? > > Leave the groups as they are, but modify the host and service > contact_groups command? For example: > > define host{ > host_name localhost > contact_groups netops:rw, helpdesk:r > } > > For backwards compatibility, if no permissions are set, the > defaults would be rw so the following would be the same: > > define host{ > host_name localhost > contact_groups netops, helpdesk:r > } > > If a user was in both the netops and helpdesk group, the user > should have rw access. > > This will take a bit more work to implement, but I think it makes > more sense. What do you think? Firstly, this is fantastic work, Alex. Nice to see someone run with an idea. I've been mulling this over the weekend and I think you're right: I was looking at this the wrong way. It was very smart of you to make the analogy with filesystem security and I think you have the right design. Authorization is about defining a user's permissions on an object (http://en.wikipedia.org/wiki/Access_control#Authorization). The base objects in Nagios are the host and service object. These objects should then hold information about which users (contacts) are allowed which permission. You've got a good thread on what the permissions should be, so I'll ignore that. But the assigning of permissions at the host/service definition is, I think, the right way to go. My only request is to add in the ability to check for a single contact too. This will be more important in Nagios 3 as Ethan has said you will be allowed to specify single contacts from a host/ service definition, without the need for contactgroups. When you have your patch applied, I will request removal of the can_submit_commands patch as this is just a fudge from the sophisticated security model you will have added in (my patch is analogous to setting a user to "/bin/false" for their shell, I guess). 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 andreas.fladischer at ecofinance.com Mon Nov 6 11:13:47 2006 From: andreas.fladischer at ecofinance.com (Andreas Fladischer) Date: Mon, 06 Nov 2006 11:13:47 +0100 Subject: check Mirror Status Message-ID: <454F0ADB.7040207@ecofinance.com> Hi at all! I have an environment with several linux servers. Some of them use a hardware raid (LSI Logic 53c1030PCI). Now i'm searching for a plugin, where i can monitor the status of the raid. Can somebody tell me, how i can solve this problem or is such a plugin available? thanks an advance greetz Andreas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 6 11:23:08 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 6 Nov 2006 11:23:08 +0100 Subject: check Mirror Status Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62145@cmgexcdc01.CMG.local> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Andreas Fladischer > Sent: 06 November 2006 11:14 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check Mirror Status > > Hi at all! > > I have an environment with several linux servers. Some of > them use a hardware raid (LSI Logic 53c1030PCI). Now i'm > searching for a plugin, where i can monitor the status of the > raid. Can somebody tell me, how i can solve this problem or > is such a plugin available? > > thanks an advance > greetz > Andreas > > Hi Andreas, There was a thread about this some time back. Look for "Monitoring hardware RAID" thread. Arrayprobe was suggested: http://www.strocamp.net/opensource/ Also there was a suggestion to use the diagnostic utility that is normally provided by the hardware integrator of the hardware raid adapter. Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Mon Nov 6 12:29:25 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 06 Nov 2006 11:29:25 +0000 Subject: Advanced permissions/user properties In-Reply-To: <353DE8BA-307C-4068-8651-DABA1B4194D6@altinity.com> References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> <454CC341.2060200@users.sourceforge.net> <353DE8BA-307C-4068-8651-DABA1B4194D6@altinity.com> Message-ID: <454F1C95.8080901@googlemail.com> This is a very interesting thread, especially since I am currently wondering how I can do this sort of thing. I want to give a web interface to consultants to view our web site availability. I have created a user and contactgroup which shows only the services I have added the group to. The problem is that even this limited account can switch off checks or notifications and I can't see a way to stop this. It appears that when this account switches off a notification, this is done on a global basis which is bad. I'm using nagios 1.4.1. Reading through this thread it appears that the issue is under debate at the moment. Does this mean that what I want, a read only user cannot be done at the moment? -h Hari Sekhon Ton Voon wrote: > > On 4 Nov 2006, at 16:43, Alex Burger wrote: > >> Ton Voon wrote: >>> Hi Alex, >>> I think the "read/write" attribute needs to be associated with the >>> contact. So this implementation looks more obvious (to me): >>> define contact { >>> name person >>> contactgroups cg1,cg2,cg3 # means can submit commands >>> contactgroups_viewonly cg5,cg6 >>> } >>> This would effectively mean the can_submit_commands attribute is >>> redundant, because you just use contactgroups_viewonly instead of >>> contactgroups. >> >> The more I think about it, the more I think we are looking at this >> the wrong way. With file system or application permissions, we would >> assign a group to a folder/object, and then pick what rights the >> group would have. Why don't we do the same thing with Nagios? >> >> Leave the groups as they are, but modify the host and service >> contact_groups command? For example: >> >> define host{ >> host_name localhost >> contact_groups netops:rw, helpdesk:r >> } >> >> For backwards compatibility, if no permissions are set, the defaults >> would be rw so the following would be the same: >> >> define host{ >> host_name localhost >> contact_groups netops, helpdesk:r >> } >> >> If a user was in both the netops and helpdesk group, the user should >> have rw access. >> >> This will take a bit more work to implement, but I think it makes >> more sense. What do you think? > > Firstly, this is fantastic work, Alex. Nice to see someone run with an > idea. > > I've been mulling this over the weekend and I think you're right: I > was looking at this the wrong way. It was very smart of you to make > the analogy with filesystem security and I think you have the right > design. > > Authorization is about defining a user's permissions on an object > (http://en.wikipedia.org/wiki/Access_control#Authorization). The base > objects in Nagios are the host and service object. These objects > should then hold information about which users (contacts) are allowed > which permission. You've got a good thread on what the permissions > should be, so I'll ignore that. But the assigning of permissions at > the host/service definition is, I think, the right way to go. > > My only request is to add in the ability to check for a single contact > too. This will be more important in Nagios 3 as Ethan has said you > will be allowed to specify single contacts from a host/service > definition, without the need for contactgroups. > > When you have your patch applied, I will request removal of the > can_submit_commands patch as this is just a fudge from the > sophisticated security model you will have added in (my patch is > analogous to setting a user to "/bin/false" for their shell, I guess). > > 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 -------------- 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 j.wolters at piramide.nl Mon Nov 6 13:00:26 2006 From: j.wolters at piramide.nl (Hans Wolters) Date: Mon, 6 Nov 2006 13:00:26 +0100 Subject: Esx checks Message-ID: <5E48ADC87B856241AD68C124188E37731D3EE3@PROD-EXCH-01.piramide.lan> Hi all, Few small questions about the esx plugins: Situation: Nagios 2.5 on Debian Testing. I am writing a perl script that is checking internal network ranges. Whenever I am getting info from an ESX server I can use this info to get the following information: VHosts: 10/10 up: w2kbi70(up), xxxxxTEST(up), VMW2KSO1(up), VMW2KSO2(up), ONTW-PH-01(up), xxxTest(up), BI_DEMO_SQL(up), BI_DEMO_APPL(up), xxxTest(up), itp-xxxx-test(up) Is there some way to get snmp info from those machines so I can parse a list of hosts to some other services like the following? ESX memory ESX cpu Best regards, Hans Wolters ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 6 13:26:41 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 6 Nov 2006 07:26:41 -0500 Subject: software mirror check plugin Message-ID: <302ce8b50611060426i75f7c555sd112946050175f0f@mail.gmail.com> I've been hunting through nagiosexchange and googling, but I'm coming up short for a plugin which will check various website mirrors against a master for freshness. This could be a bit delicate, so I'd rather look at existing code before hammering out my own attempt at a shell script to do this. Is anyone aware of such a plugin, or able to otherwise point me in the right direction? -- 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 ton.voon at altinity.com Mon Nov 6 14:41:48 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 6 Nov 2006 13:41:48 +0000 Subject: Advanced permissions/user properties In-Reply-To: <454F1C95.8080901@googlemail.com> References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> <454CC341.2060200@users.sourceforge.net> <353DE8BA-307C-4068-8651-DABA1B4194D6@altinity.com> <454F1C95.8080901@googlemail.com> Message-ID: On 6 Nov 2006, at 11:29, Hari Sekhon wrote: > This is a very interesting thread, especially since I am currently > wondering how I can do this sort of thing. I want to give a web > interface to consultants to view our web site availability. I have > created a user and contactgroup which shows only the services I > have added the group to. The problem is that even this limited > account can switch off checks or notifications and I can't see a > way to stop this. > You can either use the "view some, change none" patch that we did: http://altinity.blogs.com/dotorg/2006/02/a_view_some_cha.html or the earlier patch in this thread from Alex with his new contactgroups permissions. 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 alex_b at users.sourceforge.net Mon Nov 6 16:44:36 2006 From: alex_b at users.sourceforge.net (Alex Burger) Date: Mon, 06 Nov 2006 10:44:36 -0500 Subject: Advanced permissions/user properties In-Reply-To: <454EB43E.8070500@users.sourceforge.net> References: <12A6FDDD13C460408A6E47E5DB1235A244B432@UXCHANGE3.UoA.auckland.ac.nz> <454EB43E.8070500@users.sourceforge.net> Message-ID: <454F5864.1050709@users.sourceforge.net> Alex Burger wrote: > r: View in web interface > > x: Submit commands for this host/service > > w: Not really needed yet. Maybe some of the other programs that allow > you to modify the configuration files could use w to allow a user to > modify the host / service. > > n: Notify if contact has a pager or email defined > > I also changed it so that you will only see a service if you are a > contact for it. I think this is the same change that Ton mentioned in > his last email. I did this to test the 'r' permission. > > For backwards compatibility, the default would be rwxn. Attached is an updated patch that adds a 'default_permissions' option to nagios.cfg and cgi.cfg that Steve Shipway suggested. From sample-config/cgi.cfg.in: # DEFAULT HOST/SERVICE PERMISSIONS # This option contains a list of default permissions for hosts and # services that will be used when permissions are not explicitly # set on a host or service. When not defined, the default is all # permissions (rwxn). Note: This option must be set the same in # both cgi.cfg and nagios.cfg. #default_permissions=rwxn As you can see, the option needs to be in both config files although I would prefer to have it only in nagios.cfg. It is needed in nagios.cfg for base/notifications.c which has nothing to do with the cgi. If someone knows how to combine the two, please let me know, but I suspect that the cgi and main nagios programs are completely separate from each other. If anyone can do some testing I would appreciate it. Alex -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: patch-group-perms6 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 alex_b at users.sourceforge.net Mon Nov 6 17:34:57 2006 From: alex_b at users.sourceforge.net (Alex Burger) Date: Mon, 06 Nov 2006 11:34:57 -0500 Subject: Advanced permissions/user properties In-Reply-To: <20061106084158.GA20985@eric.schwarzvogel.de> References: <12A6FDDD13C460408A6E47E5DB1235A244B432@UXCHANGE3.UoA.auckland.ac.nz> <454EB43E.8070500@users.sourceforge.net> <20061106084158.GA20985@eric.schwarzvogel.de> Message-ID: <454F6431.1080200@users.sourceforge.net> Hi Tobias. Tobias Klausmann wrote: > I think one could make a case for x being everything that > concerns the current state of an object, i.e. mainly > acknowledgement(s). The w flag could be used for en/disabling > (semi)permanent stuff, like disabling active checks. > > On the other hand, many actions (like schedule downtime) would > fall into a grey area, so maybe using x for all of them and > "keeping" w for later is better. Right now, all commands that can be submitted are grouped together. I don't think there is currently any way to to allow someone to schedule downtime, but not force a check of all services. This of course could be changed, but I haven't looked at it yet. To implement this, we would need a list of all the possible service / host commands, and what permission a user should have to execute it. I had a quick look and it looks like most should require a 'wx' permission except for maybe 'schedule an imemdiate check of all services'. I don't like the idea of giving 're-schedule the next check of this service' to anyone with read access as they could set it to check a week from now. Like you said, maybe it's better to just keep the 'x' as it is. >> I also changed it so that you will only see a service if you are a >> contact for it. I think this is the same change that Ton mentioned in >> his last email. I did this to test the 'r' permission. > > This was the default in our installation (by way of not having an > asterisk in the corresponding line(s) in the main config file. It looks like if you are a contact for a host, then you automatically have access to view all services. I tested this by making a user (group) a contact for a host and only two of the host's services. The user was able to see all services even though he was not listed on the others. 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 From alex_b at users.sourceforge.net Mon Nov 6 17:43:56 2006 From: alex_b at users.sourceforge.net (Alex Burger) Date: Mon, 06 Nov 2006 11:43:56 -0500 Subject: Advanced permissions/user properties In-Reply-To: <353DE8BA-307C-4068-8651-DABA1B4194D6@altinity.com> References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> <454CC341.2060200@users.sourceforge.net> <353DE8BA-307C-4068-8651-DABA1B4194D6@altinity.com> Message-ID: <454F664C.30909@users.sourceforge.net> Hi Ton. Ton Voon wrote: >> Ton Voon wrote: > My only request is to add in the ability to check for a single contact > too. This will be more important in Nagios 3 as Ethan has said you will > be allowed to specify single contacts from a host/service definition, > without the need for contactgroups. I haven't tried Nagios 3 yet, but it doesn't look like my patch will work with it. I'll see if I can port it over. Any idea when the release date is for v3? Thanks 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 From fermin.galan at cttc.es Mon Nov 6 18:11:26 2006 From: fermin.galan at cttc.es (=?iso-8859-1?Q?Ferm=EDn_Gal=E1n_M=E1rquez?=) Date: Mon, 6 Nov 2006 18:11:26 +0100 Subject: Problem after installation accesing nagios Message-ID: <000401c701c6$981f29c0$303d5854@cttc.es> Hello, My name is Ferm?n Gal?n and I've discovered Nagios recently. I'm trying using it to monitor some devices in my network. However, I've got a problem after installation (I'm using Debian, so I installed with 'apt-get install nagios-mysql'). During the aumatic APT configuration procedure, I got the following warning message: There is no htpasswd command, so I can't create the password file for you. If you want to use nagios with apache You will have to figure out a way to create a htpasswd file yourself. If you've chosen to configure apache (or some other web server) manually, you can safely disregard this. Otherwise, the htpasswd file should be called: /etc/nagios/htpasswd.users and be mode 0640, owned by root, group www-data. chown root:www-data /etc/nagios/htpasswd.users || true chmod 0640 /etc/nagios/htpasswd.users || true I followed the instructions to set the access file for nagiosadmin user, so I've now a htpasswd.users file in the right location, with the righ owner and permissions: pcopt3:/usr/share/nagios/htdocs# ls -l /etc/nagios/htpasswd.users -rw-r----- 1 root www-data 26 2006-11-06 11:16 /etc/nagios/htpasswd.users Now when accesing to http://localhost/nagios I get the usual authorization dialog in my browser. However, I didn't get access. The error message I got in apache2 error log is the following: access to /nagios failed, reason: require directives present and no Authoritative handler. I'd like to point that the problem doesn't seem to be due to password mismatch (because in that case the error message will be: "user nagiosadmin: authentication failure for "/nagios": Password Mismatch" I'm using apache2 with the shiped configuartion in its debian package (apache2 version: 2.2.3-3). Regarding Nagios versions: pcopt3:/usr/share/nagios/htdocs# dpkg -l | grep nagios ii nagios-common 1.4-2 A host/service/network monitoring and manage ii nagios-mysql 1.4-2 A host/service/network monitoring and manage ii nagios-plugins 1.4.3.0cvs.20060707-3 Plugins for the nagios network monitoring an ii nagios-plugins-basic 1.4.3.0cvs.20060707-3 Plugins for the nagios network monitoring an ii nagios-plugins-standard 1.4.3.0cvs.20060707-3 Plugins for the nagios network monitoring an Is this a know issue? How could I solve the problem, please? Thanks in advance! :) Best regards, -------------------- Ferm?n Gal?n M?rquez CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 Castelldefels, Spain Room 1.02 Tel : +34 93 645 29 12 Fax : +34 93 645 29 01 Email address: fermin.galan at cttc.es PD. Sorry for the incovenience in the case I were asking a stupid question, but I'm not an expert in apache or nagios :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Nov 6 18:19:59 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 06 Nov 2006 17:19:59 +0000 Subject: Problem after installation accesing nagios In-Reply-To: <000401c701c6$981f29c0$303d5854@cttc.es> References: <000401c701c6$981f29c0$303d5854@cttc.es> Message-ID: <454F6EBF.5070300@mailnetwork.co.uk> On Apache 2.2 you need to have an Authoritative authorisation handler. Lookup the AuthBasicAuthoritiative (I think) directive in the Apache documentation, and this needs to go in the .htaccess file (or httpd.conf file) where the htpasswd.users file is referenced. (eg. AuthUserFile /etc/nagios/htpasswd.users Require valid-users AuthBasicAuthoritative on ) etc. Andy. Ferm?n Gal?n M?rquez wrote: > Hello, > > My name is Ferm?n Gal?n and I've discovered Nagios recently. I'm trying > using it to monitor some devices in my network. > > However, I've got a problem after installation (I'm using Debian, so I > installed with 'apt-get install nagios-mysql'). During the aumatic APT > configuration procedure, I got the following warning message: > > There is no htpasswd command, so I can't create the password file > for you. If you want to use nagios with apache You will have to figure > out a way to create a htpasswd file yourself. If you've chosen > to configure apache (or some other web server) manually, you can safely > disregard this. Otherwise, the htpasswd file should be called: > /etc/nagios/htpasswd.users > and be mode 0640, owned by root, group www-data. > chown root:www-data /etc/nagios/htpasswd.users || true > chmod 0640 /etc/nagios/htpasswd.users || true > > I followed the instructions to set the access file for nagiosadmin user, so > I've now a htpasswd.users file in the right location, with the righ owner > and permissions: > > pcopt3:/usr/share/nagios/htdocs# ls -l /etc/nagios/htpasswd.users > -rw-r----- 1 root www-data 26 2006-11-06 11:16 /etc/nagios/htpasswd.users > > Now when accesing to http://localhost/nagios I get the usual authorization > dialog in my browser. However, I didn't get access. The error message I got > in apache2 error log is the following: > > access to /nagios failed, reason: require directives present and no > Authoritative handler. > > I'd like to point that the problem doesn't seem to be due to password > mismatch (because in that case the error message will be: "user nagiosadmin: > authentication failure for "/nagios": Password Mismatch" > > I'm using apache2 with the shiped configuartion in its debian package > (apache2 version: 2.2.3-3). Regarding Nagios versions: > > pcopt3:/usr/share/nagios/htdocs# dpkg -l | grep nagios > ii nagios-common 1.4-2 A > host/service/network monitoring and manage > ii nagios-mysql 1.4-2 A > host/service/network monitoring and manage > ii nagios-plugins 1.4.3.0cvs.20060707-3 Plugins for > the nagios network monitoring an > ii nagios-plugins-basic 1.4.3.0cvs.20060707-3 Plugins for > the nagios network monitoring an > ii nagios-plugins-standard 1.4.3.0cvs.20060707-3 Plugins for > the nagios network monitoring an > > Is this a know issue? How could I solve the problem, please? > > Thanks in advance! :) > > Best regards, > > -------------------- > Ferm?n Gal?n M?rquez > CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya > Parc Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 > Castelldefels, Spain > Room 1.02 > Tel : +34 93 645 29 12 > Fax : +34 93 645 29 01 > Email address: fermin.galan at cttc.es > > PD. Sorry for the incovenience in the case I were asking a stupid question, > but I'm not an expert in apache or nagios :) > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,454f6d7140411560917442! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgj at unb.ca Mon Nov 6 18:34:43 2006 From: mgj at unb.ca (Michael Jewett) Date: Mon, 06 Nov 2006 13:34:43 -0400 Subject: Host name from IP address In-Reply-To: <02D177BABE78DE4185AF5B7E445BC62D0FA511A1@RIDE.technology.jbgcorporate.com> References: <02D177BABE78DE4185AF5B7E445BC62D0FA511A1@RIDE.technology.jbgcorporate.com> Message-ID: <454F7233.8010502@unb.ca> I don't think I explained this properly. I don't want to know the host name (DNS), I want know the name that Nagios knows it by, from the hosts.cfg file. Any suggestions? Michael -------- Original Message -------- From: "Ben Thomas" To: "Michael Jewett" , nagios-users at lists.sourceforge.net Subject: Re:[Nagios-users] Host name from IP address Date: Fri Nov 03 2006 15:46:36 GMT-0400 (Atlantic Standard Time) > So if you are not looking to write a script, just use ping -a in > windows and that will reverse dns the IP for you. Then just do a ctl + > f in the config files. > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael > Jewett > Sent: Friday, November 03, 2006 8:46 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host name from IP address > > Good morning, > > I was curious if anyone knows a way to find out the hostname from the > hosts.cfg if I know the IP address. > > For instance I have a program that I wrote that runs on switch 1 that > returns me an IP address of switch 2 and its status. I would then like > the get the name from Nagios's configs for switch 2. Is this possible, > without going through the entire hosts.cfg file? If not, has anyone > else written something to do the similar function? > > Thanks, > > Michael > > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ...................................................................... > The information contained in this communication may be confidential or > legally privileged and is intended only for the recipient named above. > If the reader of this message is not the intended recipient, you are > hereby notified that any dissemination, distribution or copying of this > communication or its contents is strictly prohibited. If you have > received this communication in error, please immediately advise the > sender and delete the original and any copies from your computer system. > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 j.wolters at piramide.nl Mon Nov 6 18:41:59 2006 From: j.wolters at piramide.nl (Hans Wolters) Date: Mon, 6 Nov 2006 18:41:59 +0100 Subject: Host name from IP address References: <02D177BABE78DE4185AF5B7E445BC62D0FA511A1@RIDE.technology.jbgcorporate.com> <454F7233.8010502@unb.ca> Message-ID: <5E48ADC87B856241AD68C124188E37731FAE2E@PROD-EXCH-01.piramide.lan> Hi, > I don't think I explained this properly. I don't want to know the host > name (DNS), I want know the name that Nagios knows it by, from the > hosts.cfg file. >> So if you are not looking to write a script, just use ping -a in >> windows and that will reverse dns the IP for you. Then just do a ctl + >> f in the config files. Within perl it is not to hard: $iaddr = inet_aton($ipnumber); $hostname = gethostbyaddr($iaddr, AF_INET); Best regards, Hans -------------- 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 andrea.gabellini at telecomitalia.sm Mon Nov 6 18:55:15 2006 From: andrea.gabellini at telecomitalia.sm (Andrea Gabellini) Date: Mon, 06 Nov 2006 18:55:15 +0100 Subject: check Mirror Status In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F62145@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F62145@cmgexcdc01.CMG.local> Message-ID: <454F7703.9010603@telecomitalia.sm> Hi, I'm trying to monitor the raid 1 configured on my Sun x4100 (that use the same chip) servers but I can't find any utility. The only information I can see is through ipmitool, but this can only display the status of disks. This is different than the status of the mirror... I tried also the lsiutil program that come with the driver for solaris from the LSI web site, but this utility didn't find any MTP ports. I think because the different name of the kernel driver. Somebody have any suggestion about any tool (from LSI or any third party) that can display the status of the mirror? Thanks in advance, Andrea Giles Coochey wrote: > > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >> Of Andreas Fladischer >> Sent: 06 November 2006 11:14 >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] check Mirror Status >> >> Hi at all! >> >> I have an environment with several linux servers. Some of >> them use a hardware raid (LSI Logic 53c1030PCI). Now i'm >> searching for a plugin, where i can monitor the status of the >> raid. Can somebody tell me, how i can solve this problem or >> is such a plugin available? >> >> thanks an advance >> greetz >> Andreas >> >> > Hi Andreas, > > There was a thread about this some time back. Look for "Monitoring > hardware RAID" thread. > > Arrayprobe was suggested: http://www.strocamp.net/opensource/ > > Also there was a suggestion to use the diagnostic utility that is > normally provided by the hardware integrator of the hardware raid > adapter. > > Thanks > > Giles > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- --------------------------------------- Tourists: The only foreigners the French ever drove out. --------------------------------------- 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 dpillen at millardref.com Mon Nov 6 20:07:14 2006 From: dpillen at millardref.com (dpillen at millardref.com) Date: Mon, 6 Nov 2006 13:07:14 -0600 Subject: [New-be problem] Two sights reporting UNREACHABLE Message-ID: Hi list I just setup my first Nagios 2.5 server on a Suse10 server, with 139 Hosts and 209 services for starters. The problem I'm experiencing is that I have two sights one in Toronto and the other in Jackson that keep report "UNREACHABLE" on the hosts and OK on the Status when I'm looking in the Service Detail listing. The Ping service shows good data but show it as Critical in the Host State Information screen?!? I have set up all my other sights up the same way and they show up good both host and services. Is there something I'm over looking here is a sample: # 'Jackson-rf' host definition define host{ use generic-host ; Name of host template to use host_name Jackson-rf alias NT Server Jackson RF address 10.10.30.12 parents Jackson-router 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 nt-admins } # Service definition define service{ use generic-service ; Name of service template to use host_name Jackson-rf service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!500.0,20%!1000.0,60% } Thanks in Advance Doug... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lynn.Folkers at us.fujitsu.com Mon Nov 6 19:52:19 2006 From: Lynn.Folkers at us.fujitsu.com (Folkers, Lynn) Date: Mon, 6 Nov 2006 12:52:19 -0600 Subject: No data was received from host! Message-ID: <50B73C8966FCF840BABA099651DBE060012C48A2@rchemx01.fnc.net.local> Thanks for the info. I changed the timeout for check_nt and the "No data was received from host!" messages are gone... -------------- 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 Mon Nov 6 20:29:38 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Mon, 6 Nov 2006 14:29:38 -0500 Subject: Script returns "No Output" Message-ID: Hello All. I have written several custom nagios scripts, and most work just fine. But recently, I have written a script to check the number of apache idle threads on an apache server. The script works just fine on the command line, but nagios returns "No Output". I'm getting very annoyed with this script as I can not for the life of me determine the problem. If someone (ANYONE) would be able to help me solve this problem, I would be most grateful. I have included the script as an attachment. For those with a discerning eye, you will recognize this script as a bastardization of the original check_apache script only updated to parse a server status page that is formatted differently and minus the stuff I did not need. Thanks, Janet Post -------------- next part -------------- A non-text attachment was scrubbed... Name: check_apache.pl Type: application/octet-stream Size: 11387 bytes Desc: check_apache.pl 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 Nov 6 20:37:45 2006 From: ton.voon at altinity.com (Ton Voon) Date: Mon, 6 Nov 2006 19:37:45 +0000 Subject: Advanced permissions/user properties In-Reply-To: <454F664C.30909@users.sourceforge.net> References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> <454CC341.2060200@users.sourceforge.net> <353DE8BA-307C-4068-8651-DABA1B4194D6@altinity.com> <454F664C.30909@users.sourceforge.net> Message-ID: <74F3567C-0CC8-48B3-A057-3D75026AA026@altinity.com> On 6 Nov 2006, at 16:43, Alex Burger wrote: > I haven't tried Nagios 3 yet, but it doesn't look like my patch will > work with it. I'll see if I can port it over. Any idea when the > release date is for v3? Ethan stated at the Nagios Conference that he was aiming for v3 to go stable by end of this year. 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 Janet.Post at excapsa.ca Mon Nov 6 20:48:44 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Mon, 6 Nov 2006 14:48:44 -0500 Subject: Script returns "No Output" Message-ID: Thanks Robert! That worked like a charm. Except, now I am curious as to why some scripts need to have perl executed directly and not others. Any ideas? -----Original Message----- From: Sloane, Robert Raymond [mailto:sloane at ku.edu] Sent: November 6, 2006 2:33 PM To: Janet Post Subject: RE: [Nagios-users] Script returns "No Output" Try changing the Nagios command object to execute perl directly rather than just calling the script: define command { command_name check_apache_threads command_line /usr/bin/perl $USER1$/check_apache.pl } and see if that fixes the problem. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Janet Post > Sent: Monday, November 06, 2006 1:30 PM > To: Nagios Users Mailing List > Subject: [Nagios-users] Script returns "No Output" > > > Hello All. > > I have written several custom nagios scripts, and most work > just fine. But recently, I have written a script to check the > number of apache idle threads on an apache server. > > The script works just fine on the command line, but nagios > returns "No Output". I'm getting very annoyed with this > script as I can not for the life of me determine the problem. > If someone (ANYONE) would be able to help me solve this > problem, I would be most grateful. > > I have included the script as an attachment. For those with > a discerning eye, you will recognize this script as a > bastardization of the original check_apache script only > updated to parse a server status page that is formatted > differently and minus the stuff I did not need. > > > Thanks, > > Janet Post > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgj at unb.ca Mon Nov 6 21:13:35 2006 From: mgj at unb.ca (Michael Jewett) Date: Mon, 06 Nov 2006 16:13:35 -0400 Subject: Host name from IP address In-Reply-To: <5E48ADC87B856241AD68C124188E37731FAE2E@PROD-EXCH-01.piramide.lan> References: <02D177BABE78DE4185AF5B7E445BC62D0FA511A1@RIDE.technology.jbgcorporate.com> <454F7233.8010502@unb.ca> <5E48ADC87B856241AD68C124188E37731FAE2E@PROD-EXCH-01.piramide.lan> Message-ID: <454F976F.8030809@unb.ca> again, I think I'm not explaining myself clearly. I want to be able to get the host_name in the hosts.cfg file, like this: define host{ use edgeswitch-host host_name 5510-Toole alias Toole 5510 address 172.16.24.28 } So I give the IP address 172.16.24.28 and I get 5510-Toole as the returned value. Is it possible? Michael -- Michael Jewett Network Analyst ITS - Communications & Network Services mgj at unb.ca (506) 447-3022 (506) 453-3590 (FAX) ITS at UNB - Services, Solutions, Strategies -------- Original Message -------- From: "Hans Wolters" To: "Michael Jewett" , "Ben Thomas" Subject: Re:[Nagios-users] Host name from IP address Date: Mon Nov 06 2006 13:41:59 GMT-0400 (Atlantic Standard Time) > Hi, > > > > I don't think I explained this properly. I don't want to know the host > > name (DNS), I want know the name that Nagios knows it by, from the > > hosts.cfg file. > > >> So if you are not looking to write a script, just use ping -a in > >> windows and that will reverse dns the IP for you. Then just do a ctl + > >> f in the config files. > > Within perl it is not to hard: > > $iaddr = inet_aton($ipnumber); > $hostname = gethostbyaddr($iaddr, AF_INET); > > Best regards, > > Hans > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 az at whoever.org Mon Nov 6 21:42:50 2006 From: az at whoever.org (Az) Date: Tue, 07 Nov 2006 06:42:50 +1000 Subject: Host name from IP address In-Reply-To: <454F976F.8030809@unb.ca> References: <02D177BABE78DE4185AF5B7E445BC62D0FA511A1@RIDE.technology.jbgcorporate.com> <454F7233.8010502@unb.ca> <5E48ADC87B856241AD68C124188E37731FAE2E@PROD-EXCH-01.piramide.lan> <454F976F.8030809@unb.ca> Message-ID: <454F9E4A.6070707@whoever.org> Michael Jewett wrote: > again, I think I'm not explaining myself clearly. I want to be able to > get the host_name in the hosts.cfg file, like this: > > define host{ > use edgeswitch-host > host_name 5510-Toole > alias Toole 5510 > address 172.16.24.28 > } > > So I give the IP address 172.16.24.28 and I get 5510-Toole as the > returned value. Have a look on Nagios Exchange. There are a variety of lumps of code that read parts of Nagios config and status files, so one of these will give you a starting point. Natively, I don't believe there is a way to do what you're asking (although there are macros containing host values etc but I dont think these will give you what you want in your case). ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Mon Nov 6 22:18:33 2006 From: nagios-user at proy.org (Patrick Proy) Date: Mon, 6 Nov 2006 22:18:33 +0100 Subject: Script returns "No Output" In-Reply-To: References: Message-ID: <20061106211833.37AE21953BE@mail.proy.org> Hi, It just means that embeded perl doesn't support your script. You can use the "mini_epn" utility found in the /contrib directory of Nagios to test it : # ./mini_epn Enter file name: check_apache.pl embedded perl ran check_apache.pl with error Variable "$url" is not imported at (eval 2) line 149. ...propagated at (eval 1) line 110. You must use "use strict" option and check your script works with this before using embeded perl (http://nagios.sourceforge.net/docs/2_0/embeddedperl.html) By the way, "UNKNOWN" has a retrun value of 3, not -1. Patrick -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Janet Post Envoy? : lundi 6 novembre 2006 20:49 ? : Sloane, Robert Raymond; Nagios Users Mailing List Objet : Re: [Nagios-users] Script returns "No Output" Thanks Robert! That worked like a charm. Except, now I am curious as to why some scripts need to have perl executed directly and not others. Any ideas? -----Original Message----- From: Sloane, Robert Raymond [mailto:sloane at ku.edu] Sent: November 6, 2006 2:33 PM To: Janet Post Subject: RE: [Nagios-users] Script returns "No Output" Try changing the Nagios command object to execute perl directly rather than just calling the script: define command { command_name check_apache_threads command_line /usr/bin/perl $USER1$/check_apache.pl } and see if that fixes the problem. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Janet Post > Sent: Monday, November 06, 2006 1:30 PM > To: Nagios Users Mailing List > Subject: [Nagios-users] Script returns "No Output" > > > Hello All. > > I have written several custom nagios scripts, and most work > just fine. But recently, I have written a script to check the > number of apache idle threads on an apache server. > > The script works just fine on the command line, but nagios > returns "No Output". I'm getting very annoyed with this > script as I can not for the life of me determine the problem. > If someone (ANYONE) would be able to help me solve this > problem, I would be most grateful. > > I have included the script as an attachment. For those with > a discerning eye, you will recognize this script as a > bastardization of the original check_apache script only > updated to parse a server status page that is formatted > differently and minus the stuff I did not need. > > > Thanks, > > Janet Post > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 kevin.zhang at mblox.com Mon Nov 6 22:19:56 2006 From: kevin.zhang at mblox.com (Kevin Zhang) Date: Mon, 6 Nov 2006 13:19:56 -0800 Subject: nagios performance info Message-ID: <20A3B15FFC02244484902AB384BDBE0D01F7C158@usexchange4.cblan.mblox.com> I am using Nagios 2.2. But I have problem with "performance info": Active Service Checks: Time Frame Checks Completed <= 1 minute: 554 (22.6%) <= 5 minutes: 1803 (73.6%) <= 15 minutes: 2060 (84.1%) <= 1 hour: 2060 (84.1%) Since program start: 2060 (84.1%) Why the Checks Completed show 84% not 100%? Kevin SZ -------------- 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 Lynn.Folkers at us.fujitsu.com Mon Nov 6 22:48:24 2006 From: Lynn.Folkers at us.fujitsu.com (Folkers, Lynn) Date: Mon, 6 Nov 2006 15:48:24 -0600 Subject: Nagiosgraph and colorscheme Message-ID: <50B73C8966FCF840BABA099651DBE060012C48A4@rchemx01.fnc.net.local> I am running Nagios 2.0 with nagiosgraph v 1.1.1.1. I see that there is an option to use color schemes 1 through 8 in the nagiosgraph.conf file. But is there a way to change the graph colors besides a general color scheme? If there is not a way then is there some documentation on what the 1 through 8 color schemes are? I currently have my color scheme set to 4 and the graph color lines are very similar in color which makes it hard to read.. # setting Colorscheme colorscheme = 4 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 stucky101 at gmail.com Tue Nov 7 00:21:04 2006 From: stucky101 at gmail.com (stucky) Date: Mon, 6 Nov 2006 15:21:04 -0800 Subject: timeouts when using secondary dns Message-ID: <30997e260611061521w6588ce27r2935dc7a9cdc325c@mail.gmail.com> Guys I use the check_by_ssh plugin for most of my stuff and I noticed that if the primary nameserver is unavailable nagios starts freaking out. All of a sudden all plugins time out. I tested it using the 'host' command and it only takes about 1 second longer to lookup hosts using the secondary nameserver. The default timeout for check_by_ssh is 10 seconds. I cranked it up to 30 and still I get timeouts. I'm not sure I understand that one. Has anyone else seen this. -- stucky -------------- 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 Tue Nov 7 07:16:05 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Tue, 7 Nov 2006 17:16:05 +1100 Subject: check_disksuite2 (to 'warewolf') Message-ID: <610cb7a00611062216o676ec080l4a81752ca3f15104@mail.gmail.com> Hi to Warewolf --or anyone else using the check_disksuite2 plugin from the NagiosExchange--if you're out there! I have been using your plugin and have discovered a "bug" / feature depending on what you intended: in the event that a submirror is detached, the plugin returns a value of OK. Just wondering if you're happy for me to submit a patch for this? Or is it something you'd rather look at yourself? Or has someone out there prepared a patch already? Kind Regards, 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 hvdkooij at vanderkooij.org Tue Nov 7 07:22:24 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 7 Nov 2006 07:22:24 +0100 (CET) Subject: timeouts when using secondary dns In-Reply-To: <30997e260611061521w6588ce27r2935dc7a9cdc325c@mail.gmail.com> References: <30997e260611061521w6588ce27r2935dc7a9cdc325c@mail.gmail.com> Message-ID: On Mon, 6 Nov 2006, stucky wrote: > Guys > > I use the check_by_ssh plugin for most of my stuff and I noticed that if the > primary nameserver is unavailable nagios starts freaking out. > All of a sudden all plugins time out. I tested it using the 'host' command > and it only takes about 1 second longer to lookup hosts using the secondary > nameserver. > The default timeout for check_by_ssh is 10 seconds. I cranked it up to 30 > and still I get timeouts. I'm not sure I understand that one. You can try yo add the nagios host to the host file of one of the servers you are monitoring to see which end suffers the most from a freaked out DNS. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fermin.galan at cttc.es Tue Nov 7 10:42:39 2006 From: fermin.galan at cttc.es (=?iso-8859-1?Q?Ferm=EDn_Gal=E1n_M=E1rquez?=) Date: Tue, 7 Nov 2006 10:42:39 +0100 Subject: Problem after installation accesing nagios In-Reply-To: <454F6EBF.5070300@mailnetwork.co.uk> References: <454F6EBF.5070300@mailnetwork.co.uk> Message-ID: <005e01c70251$10ef6740$303d5854@cttc.es> Dear Andy, Finally, it was not related with AuthBasicAuthoritative, but with authz_user module. I've found the solution at: http://www.gossamer-threads.com/lists/apache/users/321797 Thanks! Best regards, -------------------- Ferm?n Gal?n M?rquez CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 Castelldefels, Spain Room 1.02 Tel : +34 93 645 29 12 Fax : +34 93 645 29 01 Email address: fermin.galan at cttc.es -----Mensaje original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] En nombre de Andy Shellam (Mailing Lists) Enviado el: lunes, 06 de noviembre de 2006 18:20 Para: Nagios Users mailinglist Asunto: Re: [Nagios-users] Problem after installation accesing nagios On Apache 2.2 you need to have an Authoritative authorisation handler. Lookup the AuthBasicAuthoritiative (I think) directive in the Apache documentation, and this needs to go in the .htaccess file (or httpd.conf file) where the htpasswd.users file is referenced. (eg. AuthUserFile /etc/nagios/htpasswd.users Require valid-users AuthBasicAuthoritative on ) etc. Andy. Ferm?n Gal?n M?rquez wrote: > Hello, > > My name is Ferm?n Gal?n and I've discovered Nagios recently. I'm > trying using it to monitor some devices in my network. > > However, I've got a problem after installation (I'm using Debian, so I > installed with 'apt-get install nagios-mysql'). During the aumatic APT > configuration procedure, I got the following warning message: > > There is no htpasswd command, so I can't create the password file for > you. If you want to use nagios with apache You will have to figure > out a way to create a htpasswd file yourself. If you've chosen to > configure apache (or some other web server) manually, you can safely > disregard this. Otherwise, the htpasswd file should be called: > /etc/nagios/htpasswd.users > and be mode 0640, owned by root, group www-data. > chown root:www-data /etc/nagios/htpasswd.users || true > chmod 0640 /etc/nagios/htpasswd.users || true > > I followed the instructions to set the access file for nagiosadmin > user, so I've now a htpasswd.users file in the right location, with > the righ owner and permissions: > > pcopt3:/usr/share/nagios/htdocs# ls -l /etc/nagios/htpasswd.users > -rw-r----- 1 root www-data 26 2006-11-06 11:16 > /etc/nagios/htpasswd.users > > Now when accesing to http://localhost/nagios I get the usual > authorization dialog in my browser. However, I didn't get access. The > error message I got in apache2 error log is the following: > > access to /nagios failed, reason: require directives present and no > Authoritative handler. > > I'd like to point that the problem doesn't seem to be due to password > mismatch (because in that case the error message will be: "user nagiosadmin: > authentication failure for "/nagios": Password Mismatch" > > I'm using apache2 with the shiped configuartion in its debian package > (apache2 version: 2.2.3-3). Regarding Nagios versions: > > pcopt3:/usr/share/nagios/htdocs# dpkg -l | grep nagios > ii nagios-common 1.4-2 A > host/service/network monitoring and manage > ii nagios-mysql 1.4-2 A > host/service/network monitoring and manage > ii nagios-plugins 1.4.3.0cvs.20060707-3 Plugins for > the nagios network monitoring an > ii nagios-plugins-basic 1.4.3.0cvs.20060707-3 Plugins for > the nagios network monitoring an > ii nagios-plugins-standard 1.4.3.0cvs.20060707-3 Plugins for > the nagios network monitoring an > > Is this a know issue? How could I solve the problem, please? > > Thanks in advance! :) > > Best regards, > > -------------------- > Ferm?n Gal?n M?rquez > CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya Parc > Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 > Castelldefels, Spain Room 1.02 Tel : +34 93 645 29 12 Fax : +34 93 645 > 29 01 Email address: fermin.galan at cttc.es > > PD. Sorry for the incovenience in the case I were asking a stupid > question, but I'm not an expert in apache or nagios :) > > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere 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 > > !DSPAM:37,454f6d7140411560917442! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 andy.shellam-lists at mailnetwork.co.uk Tue Nov 7 10:51:04 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 07 Nov 2006 09:51:04 +0000 Subject: Problem after installation accesing nagios In-Reply-To: <005e01c70251$10ef6740$303d5854@cttc.es> References: <005e01c70251$10ef6740$303d5854@cttc.es> Message-ID: <45505708.6060205@mailnetwork.co.uk> Hmm, that's strange, on my 2.2.3 server, that module is installed by default, otherwise I'd certainly have had some issues as I have about 10 .htaccess protected directories. Ah well, keep smiling :) Andy. Ferm?n Gal?n M?rquez wrote: > Dear Andy, > > Finally, it was not related with AuthBasicAuthoritative, but with authz_user > module. I've found the solution at: > > http://www.gossamer-threads.com/lists/apache/users/321797 > > Thanks! > > Best regards, > > -------------------- > Ferm?n Gal?n M?rquez > CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya > Parc Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 > Castelldefels, Spain > Room 1.02 > Tel : +34 93 645 29 12 > Fax : +34 93 645 29 01 > Email address: fermin.galan at cttc.es > > -----Mensaje original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] En nombre de Andy > Shellam (Mailing Lists) > Enviado el: lunes, 06 de noviembre de 2006 18:20 > Para: Nagios Users mailinglist > Asunto: Re: [Nagios-users] Problem after installation accesing nagios > > On Apache 2.2 you need to have an Authoritative authorisation handler. > > Lookup the AuthBasicAuthoritiative (I think) directive in the Apache > documentation, and this needs to go in the .htaccess file (or httpd.conf > file) where the htpasswd.users file is referenced. > > (eg. > AuthUserFile /etc/nagios/htpasswd.users > Require valid-users > AuthBasicAuthoritative on > ) etc. > > Andy. > > Ferm?n Gal?n M?rquez wrote: > >> Hello, >> >> My name is Ferm?n Gal?n and I've discovered Nagios recently. I'm >> trying using it to monitor some devices in my network. >> >> However, I've got a problem after installation (I'm using Debian, so I >> installed with 'apt-get install nagios-mysql'). During the aumatic APT >> configuration procedure, I got the following warning message: >> >> There is no htpasswd command, so I can't create the password file for >> you. If you want to use nagios with apache You will have to figure >> out a way to create a htpasswd file yourself. If you've chosen to >> configure apache (or some other web server) manually, you can safely >> disregard this. Otherwise, the htpasswd file should be called: >> /etc/nagios/htpasswd.users >> and be mode 0640, owned by root, group www-data. >> chown root:www-data /etc/nagios/htpasswd.users || true >> chmod 0640 /etc/nagios/htpasswd.users || true >> >> I followed the instructions to set the access file for nagiosadmin >> user, so I've now a htpasswd.users file in the right location, with >> the righ owner and permissions: >> >> pcopt3:/usr/share/nagios/htdocs# ls -l /etc/nagios/htpasswd.users >> -rw-r----- 1 root www-data 26 2006-11-06 11:16 >> /etc/nagios/htpasswd.users >> >> Now when accesing to http://localhost/nagios I get the usual >> authorization dialog in my browser. However, I didn't get access. The >> error message I got in apache2 error log is the following: >> >> access to /nagios failed, reason: require directives present and no >> Authoritative handler. >> >> I'd like to point that the problem doesn't seem to be due to password >> mismatch (because in that case the error message will be: "user >> > nagiosadmin: > >> authentication failure for "/nagios": Password Mismatch" >> >> I'm using apache2 with the shiped configuartion in its debian package >> (apache2 version: 2.2.3-3). Regarding Nagios versions: >> >> pcopt3:/usr/share/nagios/htdocs# dpkg -l | grep nagios >> ii nagios-common 1.4-2 A >> host/service/network monitoring and manage >> ii nagios-mysql 1.4-2 A >> host/service/network monitoring and manage >> ii nagios-plugins 1.4.3.0cvs.20060707-3 Plugins >> > for > >> the nagios network monitoring an >> ii nagios-plugins-basic 1.4.3.0cvs.20060707-3 Plugins >> > for > >> the nagios network monitoring an >> ii nagios-plugins-standard 1.4.3.0cvs.20060707-3 Plugins >> > for > >> the nagios network monitoring an >> >> Is this a know issue? How could I solve the problem, please? >> >> Thanks in advance! :) >> >> Best regards, >> >> -------------------- >> Ferm?n Gal?n M?rquez >> CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya Parc >> Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 >> Castelldefels, Spain Room 1.02 Tel : +34 93 645 29 12 Fax : +34 93 645 >> 29 01 Email address: fermin.galan at cttc.es >> >> PD. Sorry for the incovenience in the case I were asking a stupid >> question, but I'm not an expert in apache or nagios :) >> >> >> ---------------------------------------------------------------------- >> --- Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier Download IBM WebSphere 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 > > > !DSPAM:37,4550557640412117911083! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 7 11:24:55 2006 From: az at whoever.org (Az) Date: Tue, 07 Nov 2006 20:24:55 +1000 Subject: timeouts when using secondary dns In-Reply-To: <30997e260611061521w6588ce27r2935dc7a9cdc325c@mail.gmail.com> References: <30997e260611061521w6588ce27r2935dc7a9cdc325c@mail.gmail.com> Message-ID: <45505EF7.2020402@whoever.org> stucky wrote: > I use the check_by_ssh plugin for most of my stuff and I noticed that > if the primary nameserver is unavailable nagios starts freaking out. > All of a sudden all plugins time out. I tested it using the 'host' > command and it only takes about 1 second longer to lookup hosts using > the secondary nameserver. > The default timeout for check_by_ssh is 10 seconds. I cranked it up to > 30 and still I get timeouts. I'm not sure I understand that one. > Has anyone else seen this. We had a similar issue in that our primary DNS was doing strange things, and it quite often took 5 or even 10 seconds to perform a DNS lookup. What we were seeing was 70% of service checks (and subsequently host checks) failing by timing out. The key was the multiple of 5 seconds. The resolver timeout on, say, RHEL3 is based on RES_TIMEOUT in resolv.h... which was 5 seconds. We added the following to our resolv.conf, and found the problems went away: options timeout:2 rotate This sets the timeout for waiting for a reply to 2 seconds, and tells the resolve to rotate through your 'nameserver' entries rather than always hitting #1, then #2, etc. Cheers. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Tue Nov 7 11:46:18 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Tue, 07 Nov 2006 05:46:18 -0500 Subject: nagios performance info In-Reply-To: <20A3B15FFC02244484902AB384BDBE0D01F7C158@usexchange4.cblan.mblox.com> References: <20A3B15FFC02244484902AB384BDBE0D01F7C158@usexchange4.cblan.mblox.com> Message-ID: Kevin Zhang wrote: > I am using Nagios 2.2. But I have problem with ?performance info?: > > > > *Active Service Checks:* > > > > *Time Frame* > > > > *Checks Completed* > > <= 1 minute: > > > > 554 (22.6%) > > <= 5 minutes: > > > > 1803 (73.6%) > > <= 15 minutes: > > > > 2060 (84.1%) > > <= 1 hour: > > > > 2060 (84.1%) > > Since program start: > > > > 2060 (84.1%) > > Why the Checks Completed show 84% not 100%? Maybe some checks timed out? ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 7 14:21:22 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Tue, 7 Nov 2006 08:21:22 -0500 Subject: Script returns "No Output" Message-ID: WOW!!! Thanks Patrick! I will definitely use this tool! (and I fixed the -1 thing. Good catch.) -----Original Message----- From: Patrick Proy [mailto:nagios-user at proy.org] Sent: November 6, 2006 4:19 PM To: Janet Post; 'Sloane, Robert Raymond'; 'Nagios Users Mailing List' Subject: RE: [Nagios-users] Script returns "No Output" Hi, It just means that embeded perl doesn't support your script. You can use the "mini_epn" utility found in the /contrib directory of Nagios to test it : # ./mini_epn Enter file name: check_apache.pl embedded perl ran check_apache.pl with error Variable "$url" is not imported at (eval 2) line 149. ...propagated at (eval 1) line 110. You must use "use strict" option and check your script works with this before using embeded perl (http://nagios.sourceforge.net/docs/2_0/embeddedperl.html) By the way, "UNKNOWN" has a retrun value of 3, not -1. Patrick -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Janet Post Envoy? : lundi 6 novembre 2006 20:49 ? : Sloane, Robert Raymond; Nagios Users Mailing List Objet : Re: [Nagios-users] Script returns "No Output" Thanks Robert! That worked like a charm. Except, now I am curious as to why some scripts need to have perl executed directly and not others. Any ideas? -----Original Message----- From: Sloane, Robert Raymond [mailto:sloane at ku.edu] Sent: November 6, 2006 2:33 PM To: Janet Post Subject: RE: [Nagios-users] Script returns "No Output" Try changing the Nagios command object to execute perl directly rather than just calling the script: define command { command_name check_apache_threads command_line /usr/bin/perl $USER1$/check_apache.pl } and see if that fixes the problem. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Janet Post > Sent: Monday, November 06, 2006 1:30 PM > To: Nagios Users Mailing List > Subject: [Nagios-users] Script returns "No Output" > > > Hello All. > > I have written several custom nagios scripts, and most work > just fine. But recently, I have written a script to check the > number of apache idle threads on an apache server. > > The script works just fine on the command line, but nagios > returns "No Output". I'm getting very annoyed with this > script as I can not for the life of me determine the problem. > If someone (ANYONE) would be able to help me solve this > problem, I would be most grateful. > > I have included the script as an attachment. For those with > a discerning eye, you will recognize this script as a > bastardization of the original check_apache script only > updated to parse a server status page that is formatted > differently and minus the stuff I did not need. > > > Thanks, > > Janet Post > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 rsaeks at district30.k12.il.us Tue Nov 7 14:58:15 2006 From: rsaeks at district30.k12.il.us (Randall R. Saeks) Date: Tue, 7 Nov 2006 07:58:15 -0600 Subject: Error: Servicegroup name and/or alias is NULL Message-ID: I am attempting to setup some servicegroups in v 2.5. When I try to load in my new config file that has a test service group, I am getting the message: Error: Servicegroup name and/or alias is NULL The short .cfg file I have for the service groups contains this: define servicegroup{ servicegroup_name Kyocera_Page_Counts alias Kyocera Page Counts members Ma_MML_Kyocera,check_page_count } Is there something that I am missing here with the syntax? I have gone over this a few times and I can't seem to see what I am missing. Thanks, ---- Randall R. Saeks, ACSA Network Administrator/Computer Support Specialist Northbrook / Glenview School District 30 -------------- 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 fermin.galan at cttc.es Tue Nov 7 16:08:50 2006 From: fermin.galan at cttc.es (=?iso-8859-1?Q?Ferm=EDn_Gal=E1n_M=E1rquez?=) Date: Tue, 7 Nov 2006 16:08:50 +0100 Subject: Using Nagios to monitor "service-less" hosts Message-ID: <007301c7027e$a1c1dc80$303d5854@cttc.es> Hello, I would like to use Nagios just to monitor the aliveness (i.e., UP/DOWN status) of a set of hosts. However, looking to the documentation and the sample that comes with the just installed software, I've seen that in order to do so two pieces of configuration are needed: a host declarartion (in the hosts.cfg file) using 'check-host-alive' command and a service declaration (in the services.cfg) file, expecifing a "PING" service using 'check_ping' as monitoring command (*). (*) However, from miscommands.cfg, it seems that check-host-alive command implementation is actually based on check_ping. Just defining the host (without the corresponding "PING" service declaration) doesn't seems to work: the host remains in "PENDING" state forever (with status information "Not enough data to determine host status yet"). It seems that Nagios deduces a host is UP if the services running in it are UP (so "Host *assumed* to be up"), but doesn't perform explicit monitoring of the host "itself". Is that right? Why don't fully decouple host-monitoring from service monitoring? Declaring the "PING" service is not an actual problem to me, but I'd just like to clarify this is the Nagios "phylosophy" :) Thanks in advance! Best regards, -------------------- Ferm?n Gal?n M?rquez CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 Castelldefels, Spain Room 1.02 Tel : +34 93 645 29 12 Fax : +34 93 645 29 01 Email address: fermin.galan at cttc.es ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Nov 7 16:22:14 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 07 Nov 2006 15:22:14 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <007301c7027e$a1c1dc80$303d5854@cttc.es> References: <007301c7027e$a1c1dc80$303d5854@cttc.es> Message-ID: <4550A4A6.4080101@mailnetwork.co.uk> Hi Fermin, >> Is that right? Why don't fully decouple host-monitoring from service monitoring? No. Nagios does use the check-host-alive command to determine if the host is up - and, yes, hosts and services are separate in that a host doesn't have to have any services, but a service must have a host. I have 2 hosts which are actually 2 gateway routers, which do not have any corresponding services. Nagios issues a warning saying they don't have any services associated on every startup, but it monitors them perfectly. Even if they drop off the network for a few seconds, Nagios knows about it. This is through the use of check_ping as the check-host-alive command - however, on one of my previous servers, the gateway router blocked ICMP, so I used check_ssh as the check-host-alive command which also worked perfectly. It sounds as if you don't have active checks enabled for the hosts. The error "Not enough data..." means an active or passive check hasn't been submitted for the host yet. Take a look at http://looking-glass.andyshellam.eu - this is my Nagios installation; the hosts SC_Gateway and FH_Gateway are the routers that do not have any services, whereas you'll notice the other 3 servers do. Andy. Ferm?n Gal?n M?rquez wrote: > Hello, > > I would like to use Nagios just to monitor the aliveness (i.e., UP/DOWN > status) of a set of hosts. However, looking to the documentation and the > sample that comes with the just installed software, I've seen that in order > to do so two pieces of configuration are needed: a host declarartion (in the > hosts.cfg file) using 'check-host-alive' command and a service declaration > (in the services.cfg) file, expecifing a "PING" service using 'check_ping' > as monitoring command (*). > > (*) However, from miscommands.cfg, it seems that check-host-alive command > implementation is actually based on check_ping. > > Just defining the host (without the corresponding "PING" service > declaration) doesn't seems to work: the host remains in "PENDING" state > forever (with status information "Not enough data to determine host status > yet"). It seems that Nagios deduces a host is UP if the services running in > it are UP (so "Host *assumed* to be up"), but doesn't perform explicit > monitoring of the host "itself". > > Is that right? Why don't fully decouple host-monitoring from service > monitoring? > > Declaring the "PING" service is not an actual problem to me, but I'd just > like to clarify this is the Nagios "phylosophy" :) > > Thanks in advance! > > Best regards, > > -------------------- > Ferm?n Gal?n M?rquez > CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya > Parc Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 > Castelldefels, Spain > Room 1.02 > Tel : +34 93 645 29 12 > Fax : +34 93 645 29 01 > Email address: fermin.galan at cttc.es > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,4550a1fb40411857810634! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 7 16:44:05 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Tue, 7 Nov 2006 16:44:05 +0100 Subject: Using Nagios to monitor "service-less" hosts Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F621C0@cmgexcdc01.CMG.local> > > Hi Fermin, > > >> Is that right? Why don't fully decouple host-monitoring > from service monitoring? > > No. Nagios does use the check-host-alive command to > determine if the host is up - and, yes, hosts and services > are separate in that a host doesn't have to have any > services, but a service must have a host. > I thought host checks were only there to prevent you from receiving multiple service notifications when a host went down. > I have 2 hosts which are actually 2 gateway routers, which do > not have any corresponding services. Nagios issues a warning > saying they don't have any services associated on every > startup, but it monitors them perfectly. Even if they drop > off the network for a few seconds, Nagios knows about it. > This is through the use of check_ping as the check-host-alive > command - however, on one of my previous servers, the gateway > router blocked ICMP, so I used check_ssh as the > check-host-alive command which also worked perfectly. > Are you sure? Is it not just alerting you it's down when nagios goes to work out where the network outage is (assuming you have parenting set). > It sounds as if you don't have active checks enabled for the > hosts. The error "Not enough data..." means an active or > passive check hasn't been submitted for the host yet. > Which I thought was because it didn't have a service attached to it, Nagios won't check a host if it doesn't have a service (at least that's how I've evaluated it's behaviour). > Take a look Actually I thought Ferm?n's thoughts were more closer to the the way that my Nagios functions and it seems to be the way I expect it to function. If I want a serviceless host then I just attach it to the ping service (or similar). Though generally, any service-less hosts we would have we'd probably turn off and not put in nagios at all :-) ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Nov 7 16:54:15 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 07 Nov 2006 15:54:15 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F621C0@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F621C0@cmgexcdc01.CMG.local> Message-ID: <4550AC27.7070007@mailnetwork.co.uk> Giles Coochey wrote: > > I thought host checks were only there to prevent you from receiving multiple service notifications when a host went down. > Even if that's the way it was designed, you can still use it to determine if a host is up or down :) Also, if you HAD to have a service for each host, Nagios wouldn't even start up. > > Are you sure? Is it not just alerting you it's down when nagios goes to work out where the network outage is (assuming you have parenting set). > > The gateways are the 2 main parents - there's nothing above them, but they do have servers below them. The people that manage the SC_Gateway are re-routing to a new floor in the data-center, so at least once a day the router goes down for a few seconds when they apply new routing rules - Nagios tells me whenever this happens. > Which I thought was because it didn't have a service attached to it, Nagios won't check a host if it doesn't have a service (at least that's how I've evaluated it's behaviour). > No, hosts AND services have an active_checks_enabled parameter - so you can disable active checks on a host, but still check the services, and vice versa. > > Actually I thought Ferm?n's thoughts were more closer to the the way that my Nagios functions and it seems to be the way I expect it to function. > > If I want a serviceless host then I just attach it to the ping service (or similar). Though generally, any service-less hosts we would have we'd probably turn off and not put in nagios at all :-) > That's basically what the check-active-host is - it's a ping command that saves you having to have a Ping service (because I wouldn't exactly class ping-ability as a service.) > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > !DSPAM:37,4550a9d440411440015495! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fermin.galan at cttc.es Tue Nov 7 16:56:20 2006 From: fermin.galan at cttc.es (=?iso-8859-1?Q?Ferm=EDn_Gal=E1n_M=E1rquez?=) Date: Tue, 7 Nov 2006 16:56:20 +0100 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <4550A4A6.4080101@mailnetwork.co.uk> References: <4550A4A6.4080101@mailnetwork.co.uk> Message-ID: <007501c70285$44bc8560$303d5854@cttc.es> Dear Andy, >>> Is that right? Why don't fully decouple host-monitoring from service monitoring? > > No. Nagios does use the check-host-alive command to determine if the host is up - and, yes, hosts and services are separate in that a > host doesn't have to have any services, but a service must have a host. > > I have 2 hosts which are actually 2 gateway routers, which do not have any corresponding services. Nagios issues a warning saying they > don't have any services associated on every startup, but it monitors them perfectly. Even if they drop off the network for a few > seconds, Nagios knows about it. This is through the use of check_ping as the check-host-alive command - however, on one of my previous > servers, the gateway router blocked ICMP, so I used check_ssh as the check-host-alive command which also worked perfectly. Your looking glass is very clarifiying. Thanks! :) > It sounds as if you don't have active checks enabled for the hosts. The error "Not enough data..." means an active or passive check > hasn't been submitted for the host yet. I cann't locate active or passive checks directives related with hosts in the documentation (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host). However, there is such directives related with services, in particular active_check_enabled and passive_check_enabled (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service). However, I have checks_enabled directive in the hosts activate. Also note there is not equivalents to normal_check_interval or retry_check_interval (for services) in host objects (apparently). Maybe I'm using a too old Nagios release? I'm using 1.4-2 but I've seen the most recent one is 2.5. I think it would be very clarifying if you could show me the hosts.cfg fragment you are using for FH_Gateway and SC_Gateway in your looking glass, please. As reference, the fragment from hosts.cfg that I'm using: # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for tem plate recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 0 ; Host event handler is disabled flap_detection_enabled 0 ; Flap detection is disabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name nagios-test alias NAGIOS Test address 192.168.1.112 parents gw check_command check-host-alive checks_enabled 1 max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } Thanks again! Best regards, -------------------- Ferm?n Gal?n M?rquez CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 Castelldefels, Spain Room 1.02 Tel : +34 93 645 29 12 Fax : +34 93 645 29 01 Email address: fermin.galan at cttc.es ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Nov 7 17:24:07 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 07 Nov 2006 16:24:07 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <007501c70285$44bc8560$303d5854@cttc.es> References: <007501c70285$44bc8560$303d5854@cttc.es> Message-ID: <4550B327.9020606@mailnetwork.co.uk> Hi, > I cann't locate active or passive checks directives related with hosts in > the documentation > (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host). However, > there is such directives related with services, in particular > active_check_enabled and passive_check_enabled > (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service). However, > I have checks_enabled directive in the hosts activate. Also note there is > not equivalents to normal_check_interval or retry_check_interval (for > services) in host objects (apparently). > > Maybe I'm using a too old Nagios release? I'm using 1.4-2 but I've seen the > most recent one is 2.5. > > Ah, maybe that's why - I'm using 2.5. The 2.0 hosts documentation does have active_checks_enabled and passive_checks_enabled parameters. Here's the config for my SC-Gateway - note the use of the host template, and the lack of services: ------------------------------------------------------------------------------ Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 39 services. Checking hosts... Warning: Host 'FH-Gateway' has no services associated with it! Warning: Host 'SC-Gateway' has no services associated with it! Checked 6 hosts. Checking host groups... Checked 2 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 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 18 commands. Checking time periods... Checked 2 time periods. Checking extended host info definitions... Checked 6 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: 2 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check ------------------------------------------------------------------------------ Host definition for SC-Gateway: ------------------------------------------------------------------------------ define host { name Host_Template register 0 check_command Check_PING!$HOSTADDRESS$ max_check_attempts 2 check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period always obsess_over_host 1 check_freshness 1 freshness_threshold 0 # event_handler event_handler_enabled 0 low_flap_threshold 0 high_flap_threshold 0 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups NetServe notification_interval 0 notification_period always notification_options d,u,r notifications_enabled 1 # stalking_options } define host { host_name SC-Gateway use Host_Template alias GATEWAY: Server City (TelXchange) address 84.45.66.1 } ------------------------------------------------------------------------------ And the definition of the Check_PING command: ------------------------------------------------------------------------------ define command { command_name Check_PING command_line /usr/local/nagios/libexec/check_ping -H $ARG1$ -p 10 -w 500,50% -c 1000,100% } ------------------------------------------------------------------------------ Hope this helps! Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 7 17:06:22 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Tue, 7 Nov 2006 17:06:22 +0100 Subject: Using Nagios to monitor "service-less" hosts Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F621C2@cmgexcdc01.CMG.local> Hi Andy, I'm just not so sure, from the v2 docs.. (http://nagios.sourceforge.net/docs/2_0/checkscheduling.html): ------------- Host Checks Unlike service checks, host checks are not scheduled on a regular basis. Instead they are run on demand, as Nagios sees a need. This is a common question asked by users, so it needs to be clarified. One instance where Nagios checks the status of a host is when a service check results in a non-OK status. Nagios checks the host to decide whether or not the host is up, down, or unreachable. If the first host check returns a non-OK state, Nagios will keep pounding out checks of the host until either (a) the maximum number of host checks (specified by the max_attempts option in the host definition) is reached or (b) a host check results in an OK state. Also of note - when Nagios is check the status of a host, it holds off on doing anything else (executing new service checks, processing other service check results, etc). This can slow things down a bit and cause pending service checks to be delayed for a while, but it is necessary to determine the status of the host before Nagios can take any further action on the service(s) that are having problems. ------------- Now I'm really getting confused. Perhaps the documentation is out of date, I've not seen active_checks_enabled defined for hosts, I'm not ever tried it either, so I suppose it might just be somewhat undocumented, not saying it doesn't work, but becoming sure that it wasn't in the original Nagios design. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Andy Shellam (Mailing Lists) > Sent: 07 November 2006 16:54 > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] Using Nagios to monitor > "service-less" hosts > > Giles Coochey wrote: > > > > I thought host checks were only there to prevent you from > receiving multiple service notifications when a host went down. > > > Even if that's the way it was designed, you can still use it to > determine if a host is up or down :) Also, if you HAD to > have a service > for each host, Nagios wouldn't even start up. > > > > Are you sure? Is it not just alerting you it's down when > nagios goes to work out where the network outage is (assuming > you have parenting set). > > > > > The gateways are the 2 main parents - there's nothing above them, but > they do have servers below them. The people that manage the > SC_Gateway > are re-routing to a new floor in the data-center, so at least > once a day > the router goes down for a few seconds when they apply new > routing rules > - Nagios tells me whenever this happens. > > Which I thought was because it didn't have a service > attached to it, Nagios won't check a host if it doesn't have > a service (at least that's how I've evaluated it's behaviour). > > > No, hosts AND services have an active_checks_enabled > parameter - so you > can disable active checks on a host, but still check the > services, and > vice versa. > > > > Actually I thought Ferm?n's thoughts were more closer to > the the way that my Nagios functions and it seems to be the > way I expect it to function. > > > > If I want a serviceless host then I just attach it to the > ping service (or similar). Though generally, any service-less > hosts we would have we'd probably turn off and not put in > nagios at all :-) > > > That's basically what the check-active-host is - it's a ping command > that saves you having to have a Ping service (because I > wouldn't exactly > class ping-ability as a service.) > > > ______________________________________________________________________ > > This email has been scanned by the MessageLabs Email > Security System. > > For more information please visit http://www.messagelabs.com/email > > > ______________________________________________________________________ > > > > !DSPAM:37,4550a9d440411440015495! > > > > > > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fermin.galan at cttc.es Tue Nov 7 17:29:46 2006 From: fermin.galan at cttc.es (=?iso-8859-1?Q?Ferm=EDn_Gal=E1n_M=E1rquez?=) Date: Tue, 7 Nov 2006 17:29:46 +0100 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <2036820397BC8048A6A6A17F421DBC875B5B49@EXCHANGE.orm.omniture.com> References: <2036820397BC8048A6A6A17F421DBC875B5B49@EXCHANGE.orm.omniture.com> Message-ID: <007c01c70289$f023c680$303d5854@cttc.es> Dear Aaron, all, Afser comparations between documentation http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host it seems that in 1.x it is not possible to have monitored service-less hosts (as Giles said), but it's fine for 2.x (as Andy said). Andy, can you confirm that the version of your looking glass is 2.x? I'll try to upgrade to 2.x. I use Debian and use to install things through APT, but the most recent version in the Debian repository is what I have (1.4). Is there some workaorund to avoid the dreadfull :) installation from source .tar.gz (e.g., third-party .deb packages, alternative APT repositories, etc.), please? Best regards, -------------------- Ferm?n Gal?n M?rquez CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 Castelldefels, Spain Room 1.02 Tel : +34 93 645 29 12 Fax : +34 93 645 29 01 Email address: fermin.galan at cttc.es ________________________________ De: Aaron Devey [mailto:ADevey at omniture.com] Enviado el: martes, 07 de noviembre de 2006 17:15 Para: Ferm?n Gal?n M?rquez Asunto: RE: [Nagios-users] Using Nagios to monitor "service-less" hosts >From how I understand Nagios: by default the host checks will only be run if they *have* to be checked. (to satisfy dependencies, or if a service fails, etc.) However, you can use the check_interval parameter (at least in 2.x?) to force nagios to run the host check regularly just like a service check. There may also be a nagios.conf directive to change the default behavior. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net on behalf of Ferm?n Gal?n M?rquez Sent: Tue 11/7/2006 8:56 AM To: 'Andy Shellam (Mailing Lists)'; 'Nagios Users mailinglist' Subject: Re: [Nagios-users] Using Nagios to monitor "service-less" hosts Dear Andy, >>> Is that right? Why don't fully decouple host-monitoring from service monitoring? > > No. Nagios does use the check-host-alive command to determine if the host is up - and, yes, hosts and services are separate in that a > host doesn't have to have any services, but a service must have a host. > > I have 2 hosts which are actually 2 gateway routers, which do not have any corresponding services. Nagios issues a warning saying they > don't have any services associated on every startup, but it monitors them perfectly. Even if they drop off the network for a few > seconds, Nagios knows about it. This is through the use of check_ping as the check-host-alive command - however, on one of my previous > servers, the gateway router blocked ICMP, so I used check_ssh as the check-host-alive command which also worked perfectly. Your looking glass is very clarifiying. Thanks! :) > It sounds as if you don't have active checks enabled for the hosts. The error "Not enough data..." means an active or passive check > hasn't been submitted for the host yet. I cann't locate active or passive checks directives related with hosts in the documentation (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host). However, there is such directives related with services, in particular active_check_enabled and passive_check_enabled (http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service). However, I have checks_enabled directive in the hosts activate. Also note there is not equivalents to normal_check_interval or retry_check_interval (for services) in host objects (apparently). Maybe I'm using a too old Nagios release? I'm using 1.4-2 but I've seen the most recent one is 2.5. I think it would be very clarifying if you could show me the hosts.cfg fragment you are using for FH_Gateway and SC_Gateway in your looking glass, please. As reference, the fragment from hosts.cfg that I'm using: # Generic host definition template define host{ name generic-host ; The name of this host template - referenced in other host definitions, used for tem plate recursion/resolution notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 0 ; Host event handler is disabled flap_detection_enabled 0 ; Flap detection is disabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } define host{ use generic-host ; Name of host template to use host_name nagios-test alias NAGIOS Test address 192.168.1.112 parents gw check_command check-host-alive checks_enabled 1 max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } Thanks again! Best regards, -------------------- Ferm?n Gal?n M?rquez CTTC - Centre Tecnol?gic de Telecomunicacions de Catalunya Parc Mediterrani de la Tecnologia, Av. del Canal Ol?mpic s/n, 08860 Castelldefels, Spain Room 1.02 Tel : +34 93 645 29 12 Fax : +34 93 645 29 01 Email address: fermin.galan at cttc.es ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 sloane at ku.edu Tue Nov 7 17:31:51 2006 From: sloane at ku.edu (Sloane, Robert Raymond) Date: Tue, 7 Nov 2006 10:31:51 -0600 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <4550B327.9020606@mailnetwork.co.uk> References: <4550B327.9020606@mailnetwork.co.uk> Message-ID: <9632C3DAB675864EB0A9B7724D85DB790549CCDC@MAILBOXSEVEN.home.ku.edu> > Host definition for SC-Gateway: > -------------------------------------------------------------- > ---------------- > define host { > check_interval 1 You might want to look at the documentation for the check_interval directive for host objects. It says: NOTE: Do NOT enable regularly scheduled checks of a host unless you absolutely need to! Host checks are already performed on-demand when necessary, so there are few times when regularly scheduled checks would be needed. Regularly scheduled host checks can negatively impact performance - see the performance tuning tips for more information. This directive is used to define the number of "time units" between regularly scheduled checks of the host. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation. and there is a link to performance tuning tips that says: Don't schedule regular host checks. Do NOT schedule regular checks of hosts unless absolutely necessary. There are not many reasons to do this, as host checks are performed on-demand as needed. To disable regular checks of a host, set the check_interval directive in the host definition to 0. If you do need to have regularly scheduled host checks, try to use a longer check interval and make sure your host checks are optimized (see above). -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Nov 7 17:44:08 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 07 Nov 2006 16:44:08 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB790549CCDC@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB790549CCDC@MAILBOXSEVEN.home.ku.edu> Message-ID: <4550B7D8.8000006@mailnetwork.co.uk> Thanks for that Robert, that could explain things, and this rings a very faint bell in my mind back when I originally set Nagios up. I set regular host checks up because there are currently 5 minutes between service checks, and if this is the only time that a host gets checked, then if a gateway goes down, I won't know about it for at most 5 minutes (or never if it doesn't check services.) But equally I don't want to be hitting my mail, web and database services with a full transaction/query/request every minute - so 5 minutes per service is perfect. Personally I've not noticed any performance decrease having host checks set - it's on a moderately spec'd server, and if a gateway does go down, I know about it almost immediately and can take action. JOOI, why is it said that a host check degrades performance? All it's doing is running a command like a service? Sure, if the host check comes back that it's down, then it has to walk the parent tree to find any network blockages, but when everything's all up and running, surely there's nothing more to do? Andy. Sloane, Robert Raymond wrote: >> Host definition for SC-Gateway: >> -------------------------------------------------------------- >> ---------------- >> define host { >> check_interval 1 >> > > You might want to look at the documentation for the check_interval > directive for host objects. It says: > > NOTE: Do NOT enable regularly scheduled checks of a host unless you > absolutely need to! Host checks are already performed on-demand when > necessary, so there are few times when regularly scheduled checks would > be needed. Regularly scheduled host checks can negatively impact > performance - see the performance tuning tips for more information. This > directive is used to define the number of "time units" between regularly > scheduled checks of the host. Unless you've changed the interval_length > directive from the default value of 60, this number will mean minutes. > More information on this value can be found in the check scheduling > documentation. > > and there is a link to performance tuning tips that says: > > Don't schedule regular host checks. Do NOT schedule regular checks of > hosts unless absolutely necessary. There are not many reasons to do > this, as host checks are performed on-demand as needed. To disable > regular checks of a host, set the check_interval directive in the host > definition to 0. If you do need to have regularly scheduled host checks, > try to use a longer check interval and make sure your host checks are > optimized (see above). > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Nov 7 17:46:28 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 07 Nov 2006 16:46:28 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <007c01c70289$f023c680$303d5854@cttc.es> References: <007c01c70289$f023c680$303d5854@cttc.es> Message-ID: <4550B864.4030804@mailnetwork.co.uk> Ferm?n Gal?n M?rquez wrote: > Dear Aaron, all, > > Afser comparations between documentation > > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#host > http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#host > > it seems that in 1.x it is not possible to have monitored service-less hosts > (as Giles said), but it's fine for 2.x (as Andy said). > > Andy, can you confirm that the version of your looking glass is 2.x? > Yes, it's running off my Nagios 2.5 server - the Looking Glass is a separate product to Nagios, though, it runs by parsing (read-only) Nagios 2.5's status.dat and object.cache files. > > I'll try to upgrade to 2.x. I use Debian and use to install things through > APT, but the most recent version in the Debian repository is what I have > (1.4). Is there some workaorund to avoid the dreadfull :) installation from > source .tar.gz (e.g., third-party .deb packages, alternative APT > repositories, etc.), please? > > The Nagios install from source isn't really painful - the trickiest part is the plugins, and if you know where your MySQL/PostgreSQL/other libraries are, you're fine :) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Tue Nov 7 17:49:32 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 07 Nov 2006 16:49:32 +0000 Subject: Watch Printers/Print Server? Message-ID: <4550B91C.1030103@googlemail.com> I have some awful printers/print server at work. It is shared out via a Windows 2000 workstation to all other printers on the network. Is it possible to watch for the availability of the printers via the print server? This would be nice. It's a generic windows print sharing service so should be quite standard. On another windows workstation it shows in the Printers folder when the printers are unavailable. Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sloane at ku.edu Tue Nov 7 17:58:50 2006 From: sloane at ku.edu (Sloane, Robert Raymond) Date: Tue, 7 Nov 2006 10:58:50 -0600 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <4550B7D8.8000006@mailnetwork.co.uk> References: <4550B7D8.8000006@mailnetwork.co.uk> Message-ID: <9632C3DAB675864EB0A9B7724D85DB790549CCED@MAILBOXSEVEN.home.ku.edu> > JOOI, why is it said that a host check degrades performance? As Giles Coochey mentioned earlier, host checks may cause performance problems because they are not scheduled in the same way as service checks. To quote the documentation again: Also of note - when Nagios is check the status of a host, it holds off on doing anything else (executing new service checks, processing other service check results, etc). This can slow things down a bit and cause pending service checks to be delayed for a while, but it is necessary to determine the status of the host before Nagios can take any further action on the service(s) that are having problems. If your system can handle the overhead of running host checks every minute, that is fine, but I think people should be aware of the possible consequences of running "service-less" hosts. As for me, I just add a PING service to any host that doesn't have any other services. It does what you want, in that it can be scheduled to run every minute, but it doesn't slow down other processing. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 7 20:08:52 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 7 Nov 2006 11:08:52 -0800 Subject: Using Nagios to monitor "service-less" hosts Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F0F@dw-mail.dataway.com> > -----Original Message----- > From: Andy Shellam (Mailing Lists) > [mailto:andy.shellam-lists at mailnetwork.co.uk] > Sent: Tuesday, November 07, 2006 8:44 AM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] Using Nagios to monitor > "service-less" hosts > > > Personally I've not noticed any performance decrease having > host checks > set - it's on a moderately spec'd server, and if a gateway > does go down, > I know about it almost immediately and can take action. > > JOOI, why is it said that a host check degrades performance? > All it's > doing is running a command like a service? Host checks preempt all other check operations, they are not performed in parallel like service checks are. In a small monitoring environment (less than a few hundred service checks), this may have little noticable impact. But if you watch the scheduling queue closely while performing some "host down" experiments with Nagios 2.0 active host checks enabled, you'll see the adverse effects firsthand. High service check latency compounds as more and more hosts are actively checked. It's generally a better solution to set up a ping service, even if it's the only service (if it's responding to a request, then it's considered a service) An good analogy is to think of hosts as "containers" for the services. Host checks are tests to see if the entire container is missing. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 7 20:25:22 2006 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 7 Nov 2006 10:25:22 -0900 Subject: Check_SNMP question In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F0F@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F0F@dw-mail.dataway.com> Message-ID: In the help for the check_snmp plugin, there are -w and -c switches which you can give ranges to "not return warning" and "not return critical". If I am reading the documentation correctly, you can also give a range as max:min to invert the meaning to something like "return warning only for this range". Is there any way to do non- contiguous ranges? My situation is as follows: the OID that I am querying returns the following list of possible integer values: other(1), none(2), normal(3), bypass(4), battery(5), booster(6), reducer(7) Now what I want is an OK result if the return value is 3, critical if 5 or 2, and warning if anything else. Is this possible? On a related note, is there a way to append a specific status string depending on the return value? For example, if I get a 5 I want to set the info text in nagios to be something like "UPS on battery power". Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service INC. 5245 Airport Industrial Rd Fairbanks, AK 99709 ----------------------------------------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 7 20:34:46 2006 From: Peter.Ringe at web.de (Peter Ringe) Date: Tue, 07 Nov 2006 20:34:46 +0100 Subject: Nagiosgraph and colorscheme In-Reply-To: <50B73C8966FCF840BABA099651DBE060012C48A4@rchemx01.fnc.net.local> References: <50B73C8966FCF840BABA099651DBE060012C48A4@rchemx01.fnc.net.local> Message-ID: <4550DFD6.1060109@web.de> Hi Lynn look for the following code in show.cgi. It calculates a hash based on colorsheme and the name of the parameter (e.g lospct or rta for check_ping). These names are defined in the map file and used in the rrd database. There is no standard way to define your own colors, but of course you could use an own array 'colorindex'. Just count the number of parameters displayed in one graph and use $colorindex[$par_number] instead of hashcolor($v); Just three lines of code ... hope that helps, Peter Folkers, Lynn schrieb: > > I am running Nagios 2.0 with nagiosgraph v 1.1.1.1. I see that there > is an option to use color schemes 1 through 8 in the nagiosgraph.conf > file. But is there a way to change the graph colors besides a general > color scheme? If there is not a way then is there some documentation > on what the 1 through 8 color schemes are? I currently have my color > scheme set to 4 and the graph color lines are very similar in color > which makes it hard to read.. > > # setting Colorscheme > colorscheme = 4 > > 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 Aaron.Segura at cabelas.com Tue Nov 7 21:15:41 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Tue, 7 Nov 2006 13:15:41 -0700 Subject: Check_SNMP question Message-ID: <2D0245E43DEC724F81592D697F05689904C43201@SIDHQEXCHMB1.Cabelas.Corp> Probably the best/easiest thing would be to write a small wrapper script. -----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, November 07, 2006 12:25 PM To: Nagios Users mailinglist Subject: [Nagios-users] Check_SNMP question In the help for the check_snmp plugin, there are -w and -c switches which you can give ranges to "not return warning" and "not return critical". If I am reading the documentation correctly, you can also give a range as max:min to invert the meaning to something like "return warning only for this range". Is there any way to do non- contiguous ranges? My situation is as follows: the OID that I am querying returns the following list of possible integer values: other(1), none(2), normal(3), bypass(4), battery(5), booster(6), reducer(7) Now what I want is an OK result if the return value is 3, critical if 5 or 2, and warning if anything else. Is this possible? On a related note, is there a way to append a specific status string depending on the return value? For example, if I get a 5 I want to set the info text in nagios to be something like "UPS on battery power". Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service INC. 5245 Airport Industrial Rd Fairbanks, AK 99709 ----------------------------------------------- ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 israel at frontierflying.com Tue Nov 7 21:54:05 2006 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 7 Nov 2006 11:54:05 -0900 Subject: Check_SNMP question In-Reply-To: <2D0245E43DEC724F81592D697F05689904C43201@SIDHQEXCHMB1.Cabelas.Corp> References: <2D0245E43DEC724F81592D697F05689904C43201@SIDHQEXCHMB1.Cabelas.Corp> Message-ID: The problem with that being that I would have to customize said script for each OID I want to query. It may end up being what I end up doing though. How would I parse the output of check_snmp? it looks like it returns a string similar to "SNMP OK - 2 | SNMPv2- SMI::mib-2.33.1.2.1.0=2;;;; ", - I suppose I could just look for the "=", take the next character, and go from there, though. I have some experience with basic scripting, essentially none with scripts for nagios, however. Thanks :) ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service INC. 5245 Airport Industrial Rd Fairbanks, AK 99709 ----------------------------------------------- On Nov 7, 2006, at 11:15 AM, Aaron Segura wrote: > Probably the best/easiest thing would be to write a small wrapper > script. > > -----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, November 07, 2006 12:25 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] Check_SNMP question > > In the help for the check_snmp plugin, there are -w and -c switches > which you can give ranges to "not return warning" and "not return > critical". If I am reading the documentation correctly, you can also > give a range as max:min to invert the meaning to something like > "return warning only for this range". Is there any way to do non- > contiguous ranges? My situation is as follows: the OID that I am > querying returns the following list of possible integer values: > other(1), > none(2), > normal(3), > bypass(4), > battery(5), > booster(6), > reducer(7) > > Now what I want is an OK result if the return value is 3, critical if > 5 or 2, and warning if anything else. Is this possible? On a related > note, is there a way to append a specific status string depending on > the return value? For example, if I get a 5 I want to set the info > text in nagios to be something like "UPS on battery power". Thanks. > > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service INC. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > ----------------------------------------------- > > > > ---------------------------------------------------------------------- > -- > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Tue Nov 7 21:58:31 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Tue, 7 Nov 2006 13:58:31 -0700 Subject: Check_SNMP question Message-ID: <2D0245E43DEC724F81592D697F05689904C43202@SIDHQEXCHMB1.Cabelas.Corp> I would just call 'snmpget' directly instead of going through check_snmp. You can modify the output so you just get the data you want... snmpget -Oquv -c Will return JUST the value at the specified OID. Should be pretty easy to handle from there. -----Original Message----- From: Israel Brewster [mailto:israel at frontierflying.com] Sent: Tuesday, November 07, 2006 1:54 PM To: Aaron Segura Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] Check_SNMP question The problem with that being that I would have to customize said script for each OID I want to query. It may end up being what I end up doing though. How would I parse the output of check_snmp? it looks like it returns a string similar to "SNMP OK - 2 | SNMPv2- SMI::mib-2.33.1.2.1.0=2;;;; ", - I suppose I could just look for the "=", take the next character, and go from there, though. I have some experience with basic scripting, essentially none with scripts for nagios, however. Thanks :) ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service INC. 5245 Airport Industrial Rd Fairbanks, AK 99709 ----------------------------------------------- On Nov 7, 2006, at 11:15 AM, Aaron Segura wrote: > Probably the best/easiest thing would be to write a small wrapper > script. > > -----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, November 07, 2006 12:25 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] Check_SNMP question > > In the help for the check_snmp plugin, there are -w and -c switches > which you can give ranges to "not return warning" and "not return > critical". If I am reading the documentation correctly, you can also > give a range as max:min to invert the meaning to something like > "return warning only for this range". Is there any way to do non- > contiguous ranges? My situation is as follows: the OID that I am > querying returns the following list of possible integer values: > other(1), > none(2), > normal(3), > bypass(4), > battery(5), > booster(6), > reducer(7) > > Now what I want is an OK result if the return value is 3, critical if > 5 or 2, and warning if anything else. Is this possible? On a related > note, is there a way to append a specific status string depending on > the return value? For example, if I get a 5 I want to set the info > text in nagios to be something like "UPS on battery power". Thanks. > > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service INC. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > ----------------------------------------------- > > > > ---------------------------------------------------------------------- > -- > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 matteo at progettomio.net Tue Nov 7 22:27:22 2006 From: matteo at progettomio.net (matteo at progettomio.net) Date: Tue, 07 Nov 2006 22:27:22 +0100 Subject: nagios performance info In-Reply-To: References: <20A3B15FFC02244484902AB384BDBE0D01F7C158@usexchange4.cblan.mblox.com> Message-ID: <4550FA3A.9090403@progettomio.net> >> Why the Checks Completed show 84% not 100%? Passive checks are counted but never checked. I suppose you got 327 passive service. Regards, Matteo Contri ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 7 22:45:30 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 8 Nov 2006 10:45:30 +1300 Subject: Esx checks In-Reply-To: <5E48ADC87B856241AD68C124188E37731D3EE3@PROD-EXCH-01.piramide.lan> References: <5E48ADC87B856241AD68C124188E37731D3EE3@PROD-EXCH-01.piramide.lan> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A252BB92@UXCHANGE3.UoA.auckland.ac.nz> > Whenever I am getting info from an ESX server > I can use this info to get the following information: > > VHosts: 10/10 up: > w2kbi70(up), ... > Is there some way to get snmp info from those machines so > I can parse a list of hosts to some other services like the following? As far as I know, there is no way to find out the IP address of an ESX guest OS without connecting to it (eg by logging in to the virtual console), and therefore no way to SNMP query it. The ESX server does not actually know the guest's IP address(es), only the virtual switch to which it has virtual network ports mapped. The check_esx2 plugin (you seem to not have the latest version, by the way) just uses SNMP to the ESX service console to check on guests and identifies the vhosts by the ESX internal VMID. What I do here is use a homegrown program that does matching between known hostnames and the VMWare guest name, and (because we usually follow a strict naming standard) I can identify matches. I still need to know the hostname, though. I'd suggest you make sure that the first token in the ESX Guest description is the hosts FQDN (possibly with your site's domain cut off for brevity) and then you'll be able to use DNS to indentify it and SNMP query it directly. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.contri at tecem.it Tue Nov 7 22:28:38 2006 From: matteo.contri at tecem.it (Matteo Contri) Date: Tue, 07 Nov 2006 22:28:38 +0100 Subject: nagios performance info In-Reply-To: <4550FA3A.9090403@progettomio.net> References: <20A3B15FFC02244484902AB384BDBE0D01F7C158@usexchange4.cblan.mblox.com> <4550FA3A.9090403@progettomio.net> Message-ID: <4550FA86.5050104@tecem.it> >> Why the Checks Completed show 84% not 100%? Passive checks are counted but never checked. I suppose you got 327 passive service. Regards, Matteo Contri P.S: forgot the mailing-list ;-P ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lynn.Folkers at us.fujitsu.com Tue Nov 7 22:33:26 2006 From: Lynn.Folkers at us.fujitsu.com (Folkers, Lynn) Date: Tue, 7 Nov 2006 15:33:26 -0600 Subject: Nagiosgraph and colorscheme Message-ID: <50B73C8966FCF840BABA099651DBE060012C48A6@rchemx01.fnc.net.local> Hi Peter, I am not understanding how this is working. Here is the section in the show.cgi file... # Choose a color for service # sub hashcolor { my$c=1;map{$c=1+($c*ord)%(216)}split//,$_[0]; my($i,$n,$m, at h);@h=(51*int$c/36,51*int$c/6%6,51*($c%6)); for$i(0..2){$m=$i if$h[$i]<$h[$m];$n=$i if$h[$i]>$h[$n]} $h[$m]=102if$h[$m]>102;$h[$n]=153if$h[$n]<153; $c=sprintf"%06X",$h[2]+$h[1]*256+$h[0]*16**4; return $c; } # Generate all the parameters for rrd to produce a graph # sub rrdline { my($host,$service,$G,$time) = @_; my($g,$f,$v,$c,$ds); # Identify where to pull data from and what to call it $ds = ''; for $g ( @$G ) { $f = $g->{file}; debug(5, "CGI file=$f"); for $v ( keys %{ $g->{line} } ) { $c = hashcolor($v); debug(5, "CGI file=$f line=$v color=$c"); my $sv = "$v"; $ds .= " DEF:$sv=$Config{rrddir}/$f:$v:AVERAGE"; $ds .= " LINE2:${sv}#$c:$sv"; $ds .= " GPRINT:$sv:MAX:'Max\\: %6.2lf%s'"; $ds .= " GPRINT:$sv:AVERAGE:'Avg\\: %6.2lf%s'"; $ds .= " GPRINT:$sv:MIN:'Min\\: %6.2lf%s'"; $ds .= " GPRINT:$sv:LAST:'Cur\\: %6.2lf%s\\n'"; } } And here is the section of my map file for ping ..... # Service type: ping # output:PING OK - 10.1.1.1 (loss=20%, rta=385.000000 ms) # perfdata: loss=20%;79;100;0;100 rta=0.385000s;2.000000;5.000000;0.000000 #/output:PING.*?(d+)%.+?([.d]+)sms/ /perfdata:loss=([.0-9]+)%.*?rta=([.0-9]+)s;/ and push @s, [ Ping, [ losspct, GAUGE, $1 ], [ rta, GAUGE, $2 ] ]; How is the color determined in the output. I don't see the referance in the map file. -----Original Message----- From: Peter.Ringe at web.de [mailto:Peter.Ringe at web.de] Sent: Tuesday, November 07, 2006 1:35 PM To: Folkers, Lynn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph and colorscheme Hi Lynn look for the following code in show.cgi. It calculates a hash based on colorsheme and the name of the parameter (e.g lospct or rta for check_ping). These names are defined in the map file and used in the rrd database. There is no standard way to define your own colors, but of course you could use an own array 'colorindex'. Just count the number of parameters displayed in one graph and use $colorindex[$par_number] instead of hashcolor($v); Just three lines of code ... hope that helps, Peter Folkers, Lynn schrieb: > > I am running Nagios 2.0 with nagiosgraph v 1.1.1.1. I see that there > is an option to use color schemes 1 through 8 in the nagiosgraph.conf > file. But is there a way to change the graph colors besides a general > color scheme? If there is not a way then is there some documentation > on what the 1 through 8 color schemes are? I currently have my color > scheme set to 4 and the graph color lines are very similar in color > which makes it hard to read.. > > # setting Colorscheme > colorscheme = 4 > > 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=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 deballing at vassar.edu Tue Nov 7 22:59:19 2006 From: deballing at vassar.edu (Derek J. Balling) Date: Tue, 7 Nov 2006 16:59:19 -0500 Subject: Esx checks In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A252BB92@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A252BB92@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <0DD5431D-D367-43C0-A9EF-37F9AD4B71AA@vassar.edu> On Nov 7, 2006, at 4:45 PM, Steve Shipway wrote: > As far as I know, there is no way to find out the IP address of an ESX > guest OS without connecting to it (eg by logging in to the virtual > console), and therefore no way to SNMP query it. The ESX server does > not actually know the guest's IP address(es), only the virtual > switch to > which it has virtual network ports mapped. That can't be true. VirtualCenter routinely tells me what IP address a guest VM is using. Maybe there's some VC nonsense that happens, but it seems like you might be able to get at that info using the ESX Perl API or something? D -- Derek J. Balling Manager of Systems Administration Vassar College 124 Raymond Ave Box 0406 - Computer Center 217 Poughkeepsie, NY 12604 W: (845) 437-7231 C: (845) 249-9731 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2423 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 andy.shellam-lists at mailnetwork.co.uk Tue Nov 7 23:34:44 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 07 Nov 2006 22:34:44 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F0F@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F0F@dw-mail.dataway.com> Message-ID: <45510A04.9020404@mailnetwork.co.uk> Ah, okay, brilliant that explains things MUCH better than the docs :) I currently only have 6 hosts and 39 services and can't say it increasing more than 8/100 in the next year, but I'll bear it in mind and perhaps change the two previous service-less hosts then. Thanks, Andy. Tedman Eng wrote: >> -----Original Message----- >> From: Andy Shellam (Mailing Lists) >> [mailto:andy.shellam-lists at mailnetwork.co.uk] >> Sent: Tuesday, November 07, 2006 8:44 AM >> To: Nagios Users mailinglist >> Subject: Re: [Nagios-users] Using Nagios to monitor >> "service-less" hosts >> >> >> Personally I've not noticed any performance decrease having >> host checks >> set - it's on a moderately spec'd server, and if a gateway >> does go down, >> I know about it almost immediately and can take action. >> >> JOOI, why is it said that a host check degrades performance? >> All it's >> doing is running a command like a service? >> > > Host checks preempt all other check operations, they are not performed in > parallel like service checks are. In a small monitoring environment (less > than a few hundred service checks), this may have little noticable impact. > But if you watch the scheduling queue closely while performing some "host > down" experiments with Nagios 2.0 active host checks enabled, you'll see the > adverse effects firsthand. High service check latency compounds as more and > more hosts are actively checked. > > It's generally a better solution to set up a ping service, even if it's the > only service (if it's responding to a request, then it's considered a > service) > > An good analogy is to think of hosts as "containers" for the services. Host > checks are tests to see if the entire container is missing. > > !DSPAM:37,4551093040411234018522! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Wed Nov 8 00:03:50 2006 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Wed, 8 Nov 2006 10:03:50 +1100 Subject: Watch Printers/Print Server? Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6ABE7911@mail01.ccia.local> Maybe the output of smbclient could be used to determine printer status, as I think that util can list shared resources. Please let us know how you get on. Thanks Matthew Joyce 02 9382 0051 | 0412 309745 | IT Manager | Children's Cancer Institute Australia for Medical Research > -----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, 8 November 2006 3:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Watch Printers/Print Server? > > I have some awful printers/print server at work. It is shared > out via a Windows 2000 workstation to all other printers on > the network. Is it possible to watch for the availability of > the printers via the print server? > > This would be nice. It's a generic windows print sharing > service so should be quite standard. On another windows > workstation it shows in the Printers folder when the printers > are unavailable. > > Thanks > > -h > > -- > Hari Sekhon > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 bobf at studentsonly.com Wed Nov 8 01:01:13 2006 From: bobf at studentsonly.com (Farrell,Bob) Date: Tue, 7 Nov 2006 19:01:13 -0500 Subject: Nagios 2.5 Status map Message-ID: Got Nagios installed, but the status map does not work. I followed the link below, but still no luck. Any help would be appreciated. http://www.nagios.org/faqs/viewfaq.php?faq_id=55 Also, I would LOVE to try out Oreon, but I cannot speak German. Anyone have alternatives for front end guis that can aid in administration, reporting, etc.? Regards, Bob F -------------- 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 Nov 8 01:01:44 2006 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 7 Nov 2006 15:01:44 -0900 Subject: Check_SNMP question In-Reply-To: <2D0245E43DEC724F81592D697F05689904C43202@SIDHQEXCHMB1.Cabelas.Corp> References: <2D0245E43DEC724F81592D697F05689904C43202@SIDHQEXCHMB1.Cabelas.Corp> Message-ID: <5ABBB7BD-DD61-46CB-91BF-266C4ED59ACA@frontierflying.com> Yep, so it was. Thanks. I have it working nicely now, other than having to have separate scripts for each OID I want to check. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service INC. 5245 Airport Industrial Rd Fairbanks, AK 99709 ----------------------------------------------- On Nov 7, 2006, at 11:58 AM, Aaron Segura wrote: > I would just call 'snmpget' directly instead of going through > check_snmp. You can modify the output so you just get the data you > want... > > snmpget -Oquv -c > > Will return JUST the value at the specified OID. Should be pretty > easy > to handle from there. > > -----Original Message----- > From: Israel Brewster [mailto:israel at frontierflying.com] > Sent: Tuesday, November 07, 2006 1:54 PM > To: Aaron Segura > Cc: Nagios Users mailinglist > Subject: Re: [Nagios-users] Check_SNMP question > > The problem with that being that I would have to customize said > script for each OID I want to query. It may end up being what I end > up doing though. How would I parse the output of check_snmp? it looks > like it returns a string similar to "SNMP OK - 2 | SNMPv2- > SMI::mib-2.33.1.2.1.0=2;;;; ", - I suppose I could just look for the > "=", take the next character, and go from there, though. I have some > experience with basic scripting, essentially none with scripts for > nagios, however. Thanks :) > > ----------------------------------------------- > Israel Brewster > Computer Support Technician > Frontier Flying Service INC. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > ----------------------------------------------- > > > On Nov 7, 2006, at 11:15 AM, Aaron Segura wrote: > >> Probably the best/easiest thing would be to write a small wrapper >> script. >> >> -----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, November 07, 2006 12:25 PM >> To: Nagios Users mailinglist >> Subject: [Nagios-users] Check_SNMP question >> >> In the help for the check_snmp plugin, there are -w and -c switches >> which you can give ranges to "not return warning" and "not return >> critical". If I am reading the documentation correctly, you can also >> give a range as max:min to invert the meaning to something like >> "return warning only for this range". Is there any way to do non- >> contiguous ranges? My situation is as follows: the OID that I am >> querying returns the following list of possible integer values: >> other(1), >> none(2), >> normal(3), >> bypass(4), >> battery(5), >> booster(6), >> reducer(7) >> >> Now what I want is an OK result if the return value is 3, critical if >> 5 or 2, and warning if anything else. Is this possible? On a related >> note, is there a way to append a specific status string depending on >> the return value? For example, if I get a 5 I want to set the info >> text in nagios to be something like "UPS on battery power". Thanks. >> >> >> ----------------------------------------------- >> Israel Brewster >> Computer Support Technician >> Frontier Flying Service INC. >> 5245 Airport Industrial Rd >> Fairbanks, AK 99709 >> ----------------------------------------------- >> >> >> >> --------------------------------------------------------------------- >> - > >> -- >> - >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel? >> cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 Wed Nov 8 01:08:31 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Tue, 7 Nov 2006 16:08:31 -0800 Subject: Nagios 2.5 Status map In-Reply-To: References: Message-ID: <20061108000831.GQ17454@pmorris.usa.hp.com> On Tue, 07 Nov 2006, Farrell,Bob wrote: > Got Nagios installed, but the status map does not work. > > I followed the link below, but still no luck. > > Any help would be appreciated. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 Not much to go with there. What happens when you access it? Is there anything in your web 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 elias.probst at gmx.de Wed Nov 8 01:08:46 2006 From: elias.probst at gmx.de (Elias Probst) Date: Wed, 8 Nov 2006 01:08:46 +0100 Subject: Nagios 2.5 Status map In-Reply-To: References: Message-ID: <200611080108.53278.elias.probst@gmx.de> http://oreon-project.org/index.php?lang=en Have you tried the English page? Regards, Elias P. BTW: The default page isn't German, it's French > Got Nagios installed, but the status map does not work. > > I followed the link below, but still no luck. > > Any help would be appreciated. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > Also, I would LOVE to try out Oreon, but I cannot speak German. Anyone > have alternatives for front end guis that can aid in administration, > reporting, etc.? > > > > Regards, > > Bob F -------------- 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 bobf at studentsonly.com Wed Nov 8 01:14:23 2006 From: bobf at studentsonly.com (Farrell,Bob) Date: Tue, 7 Nov 2006 19:14:23 -0500 Subject: Nagios 2.5 Status map In-Reply-To: <200611080108.53278.elias.probst@gmx.de> References: <200611080108.53278.elias.probst@gmx.de> Message-ID: Have you opened the "English" pdf install guides? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Elias Probst Sent: Tuesday, November 07, 2006 7:09 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map http://oreon-project.org/index.php?lang=en Have you tried the English page? Regards, Elias P. BTW: The default page isn't German, it's French > Got Nagios installed, but the status map does not work. > > I followed the link below, but still no luck. > > Any help would be appreciated. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > Also, I would LOVE to try out Oreon, but I cannot speak German. Anyone > have alternatives for front end guis that can aid in administration, > reporting, etc.? > > > > Regards, > > Bob F ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsaeks at district30.k12.il.us Wed Nov 8 01:48:05 2006 From: rsaeks at district30.k12.il.us (Randall R. Saeks) Date: Tue, 7 Nov 2006 18:48:05 -0600 Subject: Nagios 2.5 Status map In-Reply-To: References: <200611080108.53278.elias.probst@gmx.de> Message-ID: <77F927BB-E326-4A37-AEF1-9E65B759B120@district30.k12.il.us> I checked the link for the EN install guide, and it is the French one. -Randy On Nov 7, 2006, at 6:14 PM, Farrell,Bob wrote: > Have you opened the "English" pdf install guides? > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > users-bounces at lists.sourceforge.net] On Behalf Of Elias Probst > Sent: Tuesday, November 07, 2006 7:09 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2.5 Status map > > http://oreon-project.org/index.php?lang=en > Have you tried the English page? > > Regards, > Elias P. > > BTW: The default page isn't German, it's French > >> Got Nagios installed, but the status map does not work. >> >> I followed the link below, but still no luck. >> >> Any help would be appreciated. >> >> http://www.nagios.org/faqs/viewfaq.php?faq_id=55 >> >> >> >> Also, I would LOVE to try out Oreon, but I cannot speak German. >> Anyone >> have alternatives for front end guis that can aid in administration, >> reporting, etc.? >> >> >> >> Regards, >> >> Bob F > ---------------------------------------------------------------------- > --- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Wed Nov 8 02:23:38 2006 From: alexh19740110 at gmail.com (Alexander Harvey) Date: Wed, 8 Nov 2006 12:23:38 +1100 Subject: check_disksuite2 (to 'warewolf') In-Reply-To: <610cb7a00611062216o676ec080l4a81752ca3f15104@mail.gmail.com> References: <610cb7a00611062216o676ec080l4a81752ca3f15104@mail.gmail.com> Message-ID: <610cb7a00611071723v4f6bb9b4u45e30029a5f10d9f@mail.gmail.com> Hi Warewolf & All, After looking at the code carefully, I decided it'd be easier for my purposes to rewrite: I only have access to RAID1 to test so the code won't work if you're using a different RAID level. Feedback is most welcome! #!/usr/bin/perl use constant OK => 0; use constant CRITICAL => 2; open METASTAT, "-|", "/usr/sbin/metastat" || die "Couldn't run metastat ($!)"; while ( ) { chomp; s/^\s+//; if ( /^(d\d+): (.+)/ ) # begin new device { $device = $1; $type = $2; } if ( $type eq "Mirror" ) # begin new device of type "Mirror" { if ( /^Submirror \d+: (d\d+)/ ) # begin new "Submirror" { $submirror = $1; $submirrors++; } if ( /^State: (\S+)/ ) # read in new "State" { $state = $1; if ( $state ne "Okay" ) { $message .= " and submirror $submirror of mirror $device is \"$state\""; $exitcode = CRITICAL; } } } if ( $_ eq "" ) # finished with device on blank line { if ( $type eq "Mirror" && $submirrors == 1 ) { $message .= " and $device has only one submirror!"; $exitcode = CRITICAL; } undef $submirrors; # clear our flags undef $device; next; } } close METASTAT; $message =~ s/^ and //; if ( $exitcode == OK ) { print "OK - No disk failures detected\n" } elsif ( $exitcode == CRITICAL ) { print "CRITICAL - $message\n"; } exit $exitcode; Kind Regards, Alex Harvey On 11/7/06, Alexander Harvey wrote: > > Hi to Warewolf > > --or anyone else using the check_disksuite2 plugin from the > NagiosExchange--if you're out there! > > I have been using your plugin and have discovered a "bug" / feature > depending on what you intended: in the event that a submirror is detached, > the plugin returns a value of OK. > > Just wondering if you're happy for me to submit a patch for this? Or is it > something you'd rather look at yourself? Or has someone out there prepared a > patch already? > > Kind Regards, > 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 bobf at studentsonly.com Wed Nov 8 04:32:26 2006 From: bobf at studentsonly.com (Farrell,Bob) Date: Tue, 7 Nov 2006 22:32:26 -0500 Subject: Nagios 2.5 Status map In-Reply-To: References: <200611080108.53278.elias.probst@gmx.de> Message-ID: Got status maps running, but 3d will not work. I'll settle for that for now...... -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Farrell,Bob Sent: Tuesday, November 07, 2006 7:14 PM To: elias.probst at gmx.de; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map Have you opened the "English" pdf install guides? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Elias Probst Sent: Tuesday, November 07, 2006 7:09 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map http://oreon-project.org/index.php?lang=en Have you tried the English page? Regards, Elias P. BTW: The default page isn't German, it's French > Got Nagios installed, but the status map does not work. > > I followed the link below, but still no luck. > > Any help would be appreciated. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > Also, I would LOVE to try out Oreon, but I cannot speak German. Anyone > have alternatives for front end guis that can aid in administration, > reporting, etc.? > > > > Regards, > > Bob F ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 frodeen at eunet.no Wed Nov 8 09:25:02 2006 From: frodeen at eunet.no (Frode E. Nyboe) Date: Wed, 08 Nov 2006 09:25:02 +0100 Subject: Watch Printers/Print Server? In-Reply-To: <4550B91C.1030103@googlemail.com> References: <4550B91C.1030103@googlemail.com> Message-ID: <4551945E.8030801@eunet.no> Hari Sekhon wrote: > I have some awful printers/print server at work. It is shared out via a > Windows 2000 workstation to all other printers on the network. Is it > possible to watch for the availability of the printers via the print server? > > This would be nice. It's a generic windows print sharing service so > should be quite standard. On another windows workstation it shows in the > Printers folder when the printers are unavailable. > > Thanks (I must state that I am pretty new to Nagios, and there certainly is smarter ways to solve this - this is a simple way to check the printer status :) I would believe that the print server reads the printers status from the printer via SNMP (?). You will by this example be able to monitor the printers directly - not via the the print server as you asked. One simple way to do this is using check_snmp to check the printers hrDeviceStatus. In this query it checks for the return of two statuses Running (2) and Warning (3). This states are considered OK to Nagios. Warning is normally issued if the printer nags for a refill of toner (replacement not necessary yet) or for some printers when they need to change the waste tray. 10.10.10.10 is the ip of the printer. check_snmp -H 10.10.10.10 -C public -o hrDeviceStatus.1 -r "2|3" $USER1$/check_snmp -H $HOSTADDRESS$ -l STATUS -C public -o $ARG1$ -r $ARG2$ It's not necessary but I also ping the printers - it makes it easier for me to determine quickly if printer is shut off for some reason. Just my 2 cents - hope it helped :) If someone have a good hint on how to monitor replacement of toners on printers (mostly Canon an HP) I would be very happy - Is this printer specific? Do I have to check for each instance (one for black, cyan, magneta and yellow etc.) on each printer with different OIDs :O ? Thanks. Regards, Frode E. Nyboe ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 8 09:31:10 2006 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Wed, 8 Nov 2006 08:31:10 +0000 Subject: Jason Ellmers is out of the office. Message-ID: I will be Out of the Office Start Date: 08/11/2006. End Date: 09/11/2006. Please be aware that I will be out of the office until Thursday the 9th November. Please contact the helpdesk on 08702415500 if 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 bobf at studentsonly.com Wed Nov 8 11:48:39 2006 From: bobf at studentsonly.com (Farrell,Bob) Date: Wed, 8 Nov 2006 05:48:39 -0500 Subject: 3-D status map In-Reply-To: References: <200611080108.53278.elias.probst@gmx.de> Message-ID: I finally got the status map link to work, but when I click the 3-D status link, I get "open file with" Any ideas folks? Thanks Bob -----Original Message----- From: Farrell,Bob Sent: Tuesday, November 07, 2006 10:32 PM To: Farrell,Bob; elias.probst at gmx.de; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios 2.5 Status map Got status maps running, but 3d will not work. I'll settle for that for now...... -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Farrell,Bob Sent: Tuesday, November 07, 2006 7:14 PM To: elias.probst at gmx.de; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map Have you opened the "English" pdf install guides? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Elias Probst Sent: Tuesday, November 07, 2006 7:09 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map http://oreon-project.org/index.php?lang=en Have you tried the English page? Regards, Elias P. BTW: The default page isn't German, it's French > Got Nagios installed, but the status map does not work. > > I followed the link below, but still no luck. > > Any help would be appreciated. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > Also, I would LOVE to try out Oreon, but I cannot speak German. Anyone > have alternatives for front end guis that can aid in administration, > reporting, etc.? > > > > Regards, > > Bob F ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 matthias.eble at mailing.kaufland-informationssysteme.com Wed Nov 8 11:58:13 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Wed, 08 Nov 2006 11:58:13 +0100 Subject: 3-D status map In-Reply-To: References: <200611080108.53278.elias.probst@gmx.de> Message-ID: <4551B845.3030708@mailing.kaufland-informationssysteme.com> Farrell,Bob schrieb: > I finally got the status map link to work, but when I click the 3-D > status link, I get "open file with" > > Any ideas folks? install a vrml browser plugin. your browser can't handle the map. I had installed Cortona VRML plugin but then my map got too big and my pc can't handle it any more. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samfraser at yahoo.co.uk Wed Nov 8 13:38:37 2006 From: samfraser at yahoo.co.uk (Sam Fraser) Date: Wed, 8 Nov 2006 12:38:37 +0000 (GMT) Subject: Can't install Plugins :- 'make' error after running configure Message-ID: <20061108123838.37156.qmail@web23107.mail.ird.yahoo.com> Hello All Nagios users, I'm trying to install Nagios and it's plugins but have a problem when I run through the installation steps outlined in the INSTALL file. This is the output I get from running ./configure as instructed. I've found some archive messages that seem to suggest that where there is a "no" it means I don't have the package and should install those before continuing. There seems to be an awful lot of no's in this output!! Surely I don't have to install all of this!? Help Anyone? Donald. nagios-plugins-1.4.3]# ./configure --prefix=/usr/local/nagios --with-nagios-user=samfraser --with-nagios-group= brochsecure --with-cgiurl=/nagios/cgi-bin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes 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. nagios-plugins-1.4.3]# make make: *** No targets specified and no makefile found. Stop. Send instant messages to your online friends http://uk.messenger.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 GilesC at CarmenMedia.com Wed Nov 8 13:52:07 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Wed, 8 Nov 2006 13:52:07 +0100 Subject: Can't install Plugins :- 'make' error after runningconfigure Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F621EE@cmgexcdc01.CMG.local> > 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. I think you are only missing the C++ development files for your distribution. Try installing those and re-running ./configure ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 8 13:53:04 2006 From: ton.voon at altinity.com (Ton Voon) Date: Wed, 8 Nov 2006 12:53:04 +0000 Subject: Can't install Plugins :- 'make' error after running configure In-Reply-To: <20061108123838.37156.qmail@web23107.mail.ird.yahoo.com> References: <20061108123838.37156.qmail@web23107.mail.ird.yahoo.com> Message-ID: <15372E7B-53E1-4630-8A84-6202C4909255@altinity.com> Sam, Can you try the 1.4.5 release as we updated libtool and I think this removes the dependency on cpp. Please let us know if this fixes it for you. Ton On 8 Nov 2006, at 12:38, Sam Fraser wrote: > Hello All Nagios users, I'm trying to install Nagios and it's > plugins but have a problem when I run through the installation > steps outlined in the INSTALL file. > > This is the output I get from running ./configure as instructed. > I've found some archive messages that seem to suggest that where > there is a "no" it means I don't have the package and should > install those before continuing. There seems to be an awful lot of > no's in this output!! Surely I don't have to install all of this!? > > Help Anyone? > > Donald. > > nagios-plugins-1.4.3]# ./configure --prefix=/usr/local/nagios -- > with-nagios-user=samfraser --with-nagios-group= > brochsecure --with-cgiurl=/nagios/cgi-bin > checking for a BSD-compatible install... /usr/bin/install -c > checking whether build environment is sane... yes > checking for gawk... gawk > checking whether make sets $(MAKE)... yes > checking build system type... x86_64-unknown-linux-gnu > checking host system type... x86_64-unknown-linux-gnu > checking for a BSD-compatible install... /usr/bin/install -c > checking for style of include used by make... GNU > checking for gcc... gcc > checking for C compiler default output file name... a.out > checking whether the C compiler works... yes > checking whether we are cross compiling... no > checking for suffix of executables... > checking for suffix of object files... o > checking whether we are using the GNU C compiler... yes > checking whether gcc accepts -g... yes > checking for gcc option to accept ANSI C... none needed > checking dependency style of gcc... gcc3 > checking how to run the C preprocessor... gcc -E > checking for egrep... grep -E > checking for AIX... no > checking for ANSI C header files... yes > checking for sys/types.h... yes > checking for sys/stat.h... yes > checking for stdlib.h... yes > checking for string.h... yes > checking for memory.h... yes > checking for strings.h... yes > checking for inttypes.h... yes > checking for stdint.h... yes > checking for unistd.h... yes > checking minix/config.h usability... no > checking minix/config.h presence... no > checking for minix/config.h... no > checking for gcc... (cached) gcc > checking whether we are using the GNU C compiler... (cached) yes > checking whether gcc accepts -g... (cached) yes > checking for gcc option to accept ANSI C... (cached) none needed > checking dependency style of gcc... (cached) gcc3 > checking how to run the C preprocessor... gcc -E > checking whether gcc needs -traditional... no > checking for a sed that does not truncate output... /bin/sed > checking for ld used by gcc... /usr/bin/ld > checking if the linker (/usr/bin/ld) is GNU ld... yes > checking for /usr/bin/ld option to reload object files... -r > checking for BSD-compatible nm... /usr/bin/nm -B > checking whether ln -s works... yes > 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. > > nagios-plugins-1.4.3]# make > make: *** No targets specified and no makefile found. Stop. > > > > > > > Send instant messages to your online friends http:// > uk.messenger.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 > > > 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 -------------- ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application 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 bobf at studentsonly.com Wed Nov 8 14:11:14 2006 From: bobf at studentsonly.com (Bob Farrell) Date: Wed, 08 Nov 2006 08:11:14 -0500 Subject: 3-D status map In-Reply-To: <4551B845.3030708@mailing.kaufland-informationssysteme.com> References: <200611080108.53278.elias.probst@gmx.de> <4551B845.3030708@mailing.kaufland-informationssysteme.com> Message-ID: <1162991474.24415.2.camel@bobfed664-lt.studentsonly.com> Well, I am running Fedora core 6, and had Firefox 1.5.07. I could nopt locate a vrml plugin/addon/extension, etc. I upgraded to Firefox 2.0, and it would not work. I also could not find vrml packages/code. I would really like to test your idea here but.......sorry, not enough coffee yet.... BF On Wed, 2006-11-08 at 11:58 +0100, Matthias Eble wrote: > Farrell,Bob schrieb: > > I finally got the status map link to work, but when I click the 3-D > > status link, I get "open file with" > > > > Any ideas folks? > install a vrml browser plugin. your browser can't handle the map. > I had installed Cortona VRML plugin but then my map got too big and my > pc can't handle it any more. > -------------- 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 GilesC at CarmenMedia.com Wed Nov 8 14:31:02 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Wed, 8 Nov 2006 14:31:02 +0100 Subject: 3-D status map Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F621F2@cmgexcdc01.CMG.local> One of these might work for you: http://freewrl.sourceforge.net/ http://www.openvrml.org/ http://www.octaga.com/ http://www.sim.no/products/SIM_VRMLview/ http://www.orbisnap.com/index2.html http://www.xj3d.org/ (I have not tried any of them) ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Bob Farrell Sent: 08 November 2006 14:11 To: Matthias Eble Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 3-D status map Well, I am running Fedora core 6, and had Firefox 1.5.07. I could nopt locate a vrml plugin/addon/extension, etc. I upgraded to Firefox 2.0, and it would not work. I also could not find vrml packages/code. I would really like to test your idea here but.......sorry, not enough coffee yet.... BF On Wed, 2006-11-08 at 11:58 +0100, Matthias Eble wrote: Farrell,Bob schrieb: > I finally got the status map link to work, but when I click the 3-D > status link, I get "open file with" > > Any ideas folks? install a vrml browser plugin. your browser can't handle the map. I had installed Cortona VRML plugin but then my map got too big and my pc can't handle it any more. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ -------------- 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 gavin.conway at uksolutions.co.uk Wed Nov 8 15:29:32 2006 From: gavin.conway at uksolutions.co.uk (Gavin Conway) Date: Wed, 08 Nov 2006 14:29:32 +0000 Subject: 3-D status map In-Reply-To: References: <200611080108.53278.elias.probst@gmx.de> Message-ID: <4551E9CC.5050102@uksolutions.co.uk> Farrell,Bob wrote: > I finally got the status map link to work, but when I click the 3-D > status link, I get "open file with" > > Any ideas folks? > Lots but where would I get a dinghy and that much whipped cream? -- Cheers, Gavin UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG Tel: 08700 681 333 - Fax: 01527 851 301 - AS: 20547 gavin.conway at uksolutions.co.uk - www.uksolutions.co.uk - Please, consider the environment before printing this email - ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian-list at insourced.us Wed Nov 8 15:55:54 2006 From: ian-list at insourced.us (Ian Lists) Date: Wed, 8 Nov 2006 09:55:54 -0500 (EST) Subject: 3-D status map In-Reply-To: References: Message-ID: <14561184.771162997754419.JavaMail.root@postal.insourcedsecurity.com> I have used a freewrl rpm that I found for Fedora Core 3 successfully on RHEL 4, FC5 and FC6. Just make a symbolic link for the npfreewrl.so library to your firefox plugins directory. http://rpm.pbone.net/index.php3/stat/4/idpl/1799041/com/freewrl-1.11-1.FC3.i386.rpm.html Ian ----- Original Message ----- From: Bob Farrell To: Bob Farrell , elias probst , nagios-users at lists.sourceforge.net Sent: Wednesday, November 8, 2006 5:48:39 AM GMT-0500 US/Eastern Subject: [Nagios-users] 3-D status map I finally got the status map link to work, but when I click the 3-D status link, I get "open file with" Any ideas folks? Thanks Bob -----Original Message----- From: Farrell,Bob Sent: Tuesday, November 07, 2006 10:32 PM To: Farrell,Bob; elias.probst at gmx.de; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios 2.5 Status map Got status maps running, but 3d will not work. I'll settle for that for now...... -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Farrell,Bob Sent: Tuesday, November 07, 2006 7:14 PM To: elias.probst at gmx.de; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map Have you opened the "English" pdf install guides? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Elias Probst Sent: Tuesday, November 07, 2006 7:09 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map http://oreon-project.org/index.php?lang=en Have you tried the English page? Regards, Elias P. BTW: The default page isn't German, it's French > Got Nagios installed, but the status map does not work. > > I followed the link below, but still no luck. > > Any help would be appreciated. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > Also, I would LOVE to try out Oreon, but I cannot speak German. Anyone > have alternatives for front end guis that can aid in administration, > reporting, etc.? > > > > Regards, > > Bob F ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 kevin.zhang at mblox.com Wed Nov 8 16:19:30 2006 From: kevin.zhang at mblox.com (Kevin Zhang) Date: Wed, 8 Nov 2006 07:19:30 -0800 Subject: nagios performance info Message-ID: <20A3B15FFC02244484902AB384BDBE0D01FF222C@usexchange4.cblan.mblox.com> Could someone help with this? Thanks in advance. Kevin SZ ________________________________ From: Kevin Zhang Sent: Monday, November 06, 2006 1:20 PM To: 'nagios-users at lists.sourceforge.net' Subject: nagios performance info I am using Nagios 2.2. But I have problem with "performance info": Active Service Checks: Time Frame Checks Completed <= 1 minute: 554 (22.6%) <= 5 minutes: 1803 (73.6%) <= 15 minutes: 2060 (84.1%) <= 1 hour: 2060 (84.1%) Since program start: 2060 (84.1%) Why the Checks Completed show 84% not 100%? Kevin SZ -------------- 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 dpillen at millardref.com Wed Nov 8 16:41:34 2006 From: dpillen at millardref.com (dpillen at millardref.com) Date: Wed, 8 Nov 2006 09:41:34 -0600 Subject: Problems hosts not resetting status Message-ID: Hi list I just setup a Nagios 2.5 server on a Suse10 server, with 139 Hosts and 209 services for starters. The problem I'm experiencing is that I have two sights one in Toronto (with 8 hosts with 10 services) and the other in Jackson (with 4 host with 5 services) that keep report "UNREACHABLE" or "DOWN" on the hosts, while it's showing OK on the Status (service) when I'm looking in the Service Detail screen. In the Host State Information screen, The Ping service will shows Critical with good data ?!? I have set up all my other sights/hosts/services set up the same way and they show up good both host and services. I have also checked that the sights ARE up and accessible. Is there something I'm over looking, can I do to reset the host status some how? here is a sample: # 'Jackson-rf' host definition define host{ use generic-host ; Name of host template to use host_name Jackson-rf alias NT Server Jackson RF address 10.10.30.12 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 nt-admins } # Service definition define service{ use generic-service ; Name of service template to use host_name Jackson-rf service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!500.0,20%!1000.0,60% } Thanks in Advance Doug... ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 8 16:52:54 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Wed, 8 Nov 2006 16:52:54 +0100 Subject: Problems hosts not resetting status Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F621FC@cmgexcdc01.CMG.local> > > Hi list > > I just setup a Nagios 2.5 server on a Suse10 server, with 139 > Hosts and > 209 services for starters. > > The problem I'm experiencing is that I have two sights one > in Toronto (with 8 hosts with 10 services) and the other in > Jackson (with 4 host with 5 services) that keep report > "UNREACHABLE" or "DOWN" on the hosts, while it's showing OK > on the Status (service) when I'm looking in the Service Detail screen. > Do you experience any ICMP packet loss between those sites and your nagios box? My guess is that Nagios is detecting a network outage. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Nov 8 17:30:29 2006 From: ae at op5.se (Andreas Ericsson) Date: Wed, 08 Nov 2006 17:30:29 +0100 Subject: 3-D status map In-Reply-To: <4551E9CC.5050102@uksolutions.co.uk> References: <200611080108.53278.elias.probst@gmx.de> <4551E9CC.5050102@uksolutions.co.uk> Message-ID: <45520625.9060205@op5.se> Gavin Conway wrote: > Farrell,Bob wrote: >> I finally got the status map link to work, but when I click the 3-D >> status link, I get "open file with" >> >> Any ideas folks? >> > > Lots but where would I get a dinghy and that much whipped cream? > Saved my day, that comment :) -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 8 17:36:19 2006 From: marc at ena.com (Marc Powell) Date: Wed, 8 Nov 2006 10:36:19 -0600 Subject: nagios performance info Message-ID: Are all your services configured for active checks? Look at the scheduling queue. Make sure that all active checks are enabled. Sort by Next Check time. See if there is a pattern. Verify normal_check_interval for the services that are 'slow' to be checked. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kevin Zhang > Sent: Wednesday, November 08, 2006 9:20 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] nagios performance info > > Could someone help with this? Thanks in advance. > > > > Kevin SZ > > > > ________________________________ > > From: Kevin Zhang > Sent: Monday, November 06, 2006 1:20 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: nagios performance info > > > > I am using Nagios 2.2. But I have problem with "performance info": > > > > Active Service Checks: > > Time Frame > > Checks Completed > > <= 1 minute: > > 554 (22.6%) > > <= 5 minutes: > > 1803 (73.6%) > > <= 15 minutes: > > 2060 (84.1%) > > <= 1 hour: > > 2060 (84.1%) > > Since program start: > > 2060 (84.1%) > > Why the Checks Completed show 84% not 100%? > > > > Kevin SZ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 8 17:57:47 2006 From: Peter.Ringe at web.de (Peter Ringe) Date: Wed, 08 Nov 2006 17:57:47 +0100 Subject: Nagiosgraph and colorscheme In-Reply-To: <50B73C8966FCF840BABA099651DBE060012C48A6@rchemx01.fnc.net.local> References: <50B73C8966FCF840BABA099651DBE060012C48A6@rchemx01.fnc.net.local> Message-ID: <45520C8B.6070201@web.de> Hi Lynn, just add ad the beginning of your show.cgi the following line (you may change the colors in this line): my @colors = qw ( FF0000 00FF00 0000FF FF00FF FFFF00 00FFFF FFFFFF ) ; in the subroutine rrdline, there are some minor changes aswell: sub rrdline { my($host,$service,$geom,$rrdopts,$G,$time) = @_; my($g,$f,$v,$c, at ds); @ds = ('-', '-a', 'PNG', '--start', "-$time"); # Identify where to pull data from and what to call it for $g ( @$G ) { $f = $g->{file}; debug(5, "CGI file=$f"); my $index=0; for $v ( sort keys %{ $g->{line} } ) { # $c = hashcolor($v); $c = $colors[$index%(@colors)]; debug(5, "CGI file=$f line=$v color=$c index=".$index%(@colors)); my $sv = "$v"; push @ds , "DEF:$sv=$Config{rrddir}/$f:$v:AVERAGE" , "LINE1:${sv}#$c:$sv" , "GPRINT:$sv:MAX:Max\\: %6.2lf%s" , "GPRINT:$sv:AVERAGE:Avg\\: %6.2lf%s" , "GPRINT:$sv:MIN:Min\\: %6.2lf%s" , "GPRINT:$sv:LAST:Cur\\: %6.2lf%s\\n" ; $index++; } } Regards, Peter Folkers, Lynn schrieb: > Hi Peter, > > I am not understanding how this is working. Here is the section in the > show.cgi file... > > # Choose a color for service > # > sub hashcolor { > my$c=1;map{$c=1+($c*ord)%(216)}split//,$_[0]; > my($i,$n,$m, at h);@h=(51*int$c/36,51*int$c/6%6,51*($c%6)); > for$i(0..2){$m=$i if$h[$i]<$h[$m];$n=$i if$h[$i]>$h[$n]} > $h[$m]=102if$h[$m]>102;$h[$n]=153if$h[$n]<153; > $c=sprintf"%06X",$h[2]+$h[1]*256+$h[0]*16**4; > return $c; > } > > # Generate all the parameters for rrd to produce a graph > # > sub rrdline { > my($host,$service,$G,$time) = @_; > my($g,$f,$v,$c,$ds); > > # Identify where to pull data from and what to call it > $ds = ''; > for $g ( @$G ) { > $f = $g->{file}; > debug(5, "CGI file=$f"); > for $v ( keys %{ $g->{line} } ) { > $c = hashcolor($v); > debug(5, "CGI file=$f line=$v color=$c"); > my $sv = "$v"; > $ds .= " DEF:$sv=$Config{rrddir}/$f:$v:AVERAGE"; > $ds .= " LINE2:${sv}#$c:$sv"; > $ds .= " GPRINT:$sv:MAX:'Max\\: %6.2lf%s'"; > $ds .= " GPRINT:$sv:AVERAGE:'Avg\\: %6.2lf%s'"; > $ds .= " GPRINT:$sv:MIN:'Min\\: %6.2lf%s'"; > $ds .= " GPRINT:$sv:LAST:'Cur\\: %6.2lf%s\\n'"; > } > } > > And here is the section of my map file for ping ..... > > > > # Service type: ping > # output:PING OK - 10.1.1.1 (loss=20%, rta=385.000000 ms) > # perfdata: loss=20%;79;100;0;100 > rta=0.385000s;2.000000;5.000000;0.000000 > #/output:PING.*?(d+)%.+?([.d]+)sms/ > /perfdata:loss=([.0-9]+)%.*?rta=([.0-9]+)s;/ > and push @s, [ Ping, > [ losspct, GAUGE, $1 ], > [ rta, GAUGE, $2 ] ]; > > How is the color determined in the output. I don't see the referance in > the map file. > > > -----Original Message----- > From: Peter.Ringe at web.de [mailto:Peter.Ringe at web.de] > Sent: Tuesday, November 07, 2006 1:35 PM > To: Folkers, Lynn > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagiosgraph and colorscheme > > Hi Lynn > > look for the following code in show.cgi. It calculates a hash based on > colorsheme and the name of the parameter (e.g lospct or rta for > check_ping). These names are defined in the map file and used in the rrd > database. > > There is no standard way to define your own colors, but of course you > could use an own array 'colorindex'. Just count the number of > parameters displayed in one graph and use $colorindex[$par_number] > instead of hashcolor($v); Just three lines of code ... > > hope that helps, > > > Peter > > > Folkers, Lynn schrieb: > >> I am running Nagios 2.0 with nagiosgraph v 1.1.1.1. I see that there >> > > >> is an option to use color schemes 1 through 8 in the nagiosgraph.conf >> file. But is there a way to change the graph colors besides a general >> > > >> color scheme? If there is not a way then is there some documentation >> on what the 1 through 8 color schemes are? I currently have my color >> scheme set to 4 and the graph color lines are very similar in color >> which makes it hard to read.. >> >> # setting Colorscheme >> colorscheme = 4 >> >> 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=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 andy.shellam-lists at mailnetwork.co.uk Wed Nov 8 18:10:56 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 08 Nov 2006 17:10:56 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB790549CCED@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB790549CCED@MAILBOXSEVEN.home.ku.edu> Message-ID: <45520FA0.4020007@mailnetwork.co.uk> Hi Rob, Further to this discussion - I've removed the check_interval directive (or rather set it to 0) for all hosts. I've added a Ping service to each host called "OVERALL SERVER AVAILABILITY", and set it to check every minute (where all other services are every 5 minutes). Nagios however is still checking each host roughly every 2 minutes, regardless. Even on the 2 routers, where the Ping service has had 100% uptime all day, Nagios has been checking the host roughly every 1-2 minutes. I have completely killed off all Nagios processes, verified the config (which removed the 2 warnings for the service-less routers), and started it up again. So it seems to me that it doesn't really make much of a difference? Andy. Sloane, Robert Raymond wrote: >> JOOI, why is it said that a host check degrades performance? >> > > As Giles Coochey mentioned earlier, host checks may cause performance > problems because they are not scheduled in the same way as service > checks. To quote the documentation again: > > Also of note - when Nagios is check the status of a host, it holds off > on doing anything else (executing new service checks, processing other > service check results, etc). This can slow things down a bit and cause > pending service checks to be delayed for a while, but it is necessary to > determine the status of the host before Nagios can take any further > action on the service(s) that are having problems. > > If your system can handle the overhead of running host checks every > minute, that is fine, but I think people should be aware of the possible > consequences of running "service-less" hosts. As for me, I just add a > PING service to any host that doesn't have any other services. It does > what you want, in that it can be scheduled to run every minute, but it > doesn't slow down other processing. > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bobf at studentsonly.com Wed Nov 8 18:16:29 2006 From: bobf at studentsonly.com (Bob Farrell) Date: Wed, 08 Nov 2006 12:16:29 -0500 Subject: 3-D status map In-Reply-To: <14561184.771162997754419.JavaMail.root@postal.insourcedsecurity.com> References: <14561184.771162997754419.JavaMail.root@postal.insourcedsecurity.com> Message-ID: <1163006189.24415.36.camel@bobfed664-lt.studentsonly.com> Cannot find these dependencies.......( sigh ) what a pain.... error: Failed dependencies: libGL.so.1 is needed by freewrl-1.11-1.i386 libGLU.so.1 is needed by freewrl-1.11-1.i386 On Wed, 2006-11-08 at 09:55 -0500, Ian Lists wrote: > I have used a freewrl rpm that I found for Fedora Core 3 successfully on RHEL 4, FC5 and FC6. Just make a symbolic link for the npfreewrl.so library to your firefox plugins directory. > > > http://rpm.pbone.net/index.php3/stat/4/idpl/1799041/com/freewrl-1.11-1.FC3.i386.rpm.html > > > Ian > > > > > ----- Original Message ----- > From: Bob Farrell > To: Bob Farrell , elias probst , nagios-users at lists.sourceforge.net > Sent: Wednesday, November 8, 2006 5:48:39 AM GMT-0500 US/Eastern > Subject: [Nagios-users] 3-D status map > > I finally got the status map link to work, but when I click the 3-D > status link, I get "open file with" > > Any ideas folks? > > Thanks > Bob > > -----Original Message----- > From: Farrell,Bob > Sent: Tuesday, November 07, 2006 10:32 PM > To: Farrell,Bob; elias.probst at gmx.de; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios 2.5 Status map > > Got status maps running, but 3d will not work. I'll settle for that for > now...... > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Farrell,Bob > Sent: Tuesday, November 07, 2006 7:14 PM > To: elias.probst at gmx.de; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2.5 Status map > > Have you opened the "English" pdf install guides? > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Elias > Probst > Sent: Tuesday, November 07, 2006 7:09 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2.5 Status map > > http://oreon-project.org/index.php?lang=en > Have you tried the English page? > > Regards, > Elias P. > > BTW: The default page isn't German, it's French > > > Got Nagios installed, but the status map does not work. > > > > I followed the link below, but still no luck. > > > > Any help would be appreciated. > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > > > > > Also, I would LOVE to try out Oreon, but I cannot speak German. Anyone > > > have alternatives for front end guis that can aid in administration, > > reporting, etc.? > > > > > > > > Regards, > > > > Bob F > ------------------------------------------------------------------------ > - > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- 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 spdesai at gnvfc.net Wed Nov 8 18:20:34 2006 From: spdesai at gnvfc.net (spdesai at gnvfc.net) Date: Wed, 8 Nov 2006 22:50:34 +0530 Subject: Multiple host in hosts.cfg Message-ID: <1163006434.455211e24e187@mail.gnvfc.net> Hi, can i have multiple host(for exa: 192.168.10.0/24 or 192.168.10.1- 192.168.10.255) in address field in hosts.cfg file ? or is theri any facility in nagios to auto-detect new inserted devices ? thanks in advace suhag desai ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bobf at studentsonly.com Wed Nov 8 18:21:47 2006 From: bobf at studentsonly.com (Bob Farrell) Date: Wed, 08 Nov 2006 12:21:47 -0500 Subject: 3-D status map In-Reply-To: <45520625.9060205@op5.se> References: <200611080108.53278.elias.probst@gmx.de> <4551E9CC.5050102@uksolutions.co.uk> <45520625.9060205@op5.se> Message-ID: <1163006507.24415.40.camel@bobfed664-lt.studentsonly.com> Hey guys, if you ever come to Boston look me up......I love to show you the docks here in Boston. ( the bottom of them ) Thanks to all that have tried to assist. Too bad a couple of dickheads spoil it for everyone. Oh well, another list gone bad. Hope you guys need help some day......... fi'n unbelievble. On Wed, 2006-11-08 at 17:30 +0100, Andreas Ericsson wrote: > Gavin Conway wrote: > > Farrell,Bob wrote: > >> I finally got the status map link to work, but when I click the 3-D > >> status link, I get "open file with" > >> > >> Any ideas folks? > >> > > > > Lots but where would I get a dinghy and that much whipped cream? > > > > Saved my day, that comment :) > -------------- 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 dpillen at millardref.com Wed Nov 8 18:33:46 2006 From: dpillen at millardref.com (dpillen at millardref.com) Date: Wed, 8 Nov 2006 11:33:46 -0600 Subject: : Problems hosts not resetting status Message-ID: Thanks for the reply It has been vary steady showing: PING OK 11-08-2006 10:30:08 0d 22h 30m 14s 1/3 PING OK - Packet loss = 0%, RTA = 133.04 ms I would expect it to complain if there was packet loss. Doug... -----Original Message----- From: Giles Coochey [mailto:GilesC at CarmenMedia.com] Sent: Wednesday, November 08, 2006 9:53 AM To: Doug Pillen (Corporate); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems hosts not resetting status > > Hi list > > I just setup a Nagios 2.5 server on a Suse10 server, with 139 Hosts > and > 209 services for starters. > > The problem I'm experiencing is that I have two sights one in Toronto > (with 8 hosts with 10 services) and the other in Jackson (with 4 host > with 5 services) that keep report "UNREACHABLE" or "DOWN" on the > hosts, while it's showing OK on the Status (service) when I'm looking > in the Service Detail screen. > Do you experience any ICMP packet loss between those sites and your nagios box? My guess is that Nagios is detecting a network outage. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Nov 8 20:30:13 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 08 Nov 2006 19:30:13 +0000 Subject: Where can i download nagios looking glass? In-Reply-To: <45521BC1.1020908@gmail.com> References: <45521BC1.1020908@gmail.com> Message-ID: <45523045.4060608@mailnetwork.co.uk> Hi Santos, I'm currently only shipping this out by e-mail to interested beta-testers, as there are a number of changes I'm making to make it more stable. The first public release will be (I'm planning) mid-December, with a proper website/FAQ/documentation etc to support it. I'll drop you a line separately now containing the beta-sourcecode (if you don't receive an e-mail with a Zip attachment in the next few minutes let me know and I'll send you a URL.) Thanks, Andy. Santos wrote: > Went to nagios exchange, no files there. Your demo looks nice for a > simple nagios interface. Useful just for a quick peek. > > > Santos > > !DSPAM:37,45521bc940411981438330! > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Nov 8 20:37:20 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 08 Nov 2006 19:37:20 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB79057873C4@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB79057873C4@MAILBOXSEVEN.home.ku.edu> Message-ID: <455231F0.5090804@mailnetwork.co.uk> When I look at the scheduling queue - only services are listed to be scheduled (whereas before it used to include the hosts as well - the service column was blank for host checks.) The host checks definitely are longer than a minute - so it has taken effect from the previous config - in the view config, 'enable active checks' reads 'No' for all hosts. Can you see anything wrong here - this is a status printout for one of the hosts: Host Status: UP Status Information: PING OK - Packet loss = 0%, RTA = 1.26 ms Performance Data: Current Attempt: 1/2 State Type: HARD Last Check Type: ACTIVE Last Check Time: 08-11-2006 19:34:40 Status Data Age: 0d 0h 0m 55s Next Scheduled Active Check: N/A Latency: 0.339 seconds Check Duration: 9.012 seconds Last State Change: 08-11-2006 10:32:22 Current State Duration: 0d 9h 3m 13s Last Host Notification: N/A Current Notification Number: 0 Is This Host Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update: 08-11-2006 19:35:16 Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: DISABLED Flap Detection: ENABLED Sloane, Robert Raymond wrote: > Very odd. When I set things up like this, the host check is only > run when there is a problem with the service. > > For example: > > Host Status: UP > Status Information: OK - 10.10.x.x responds to ICMP. > Current Attempt: 1/10 > State Type: HARD > Last Check Type: ACTIVE > Last Check Time: 10-13-2006 08:13:58 > Status Data Age: 26d 5h 54m 39s > Next Scheduled Active Check: N/A > > Does the Next Scheduled Active Check on you system show N/A? > > Try checking the configuration via the web page and make really sure > that check_interval isn't set. I don't normally include it at all > in my host entries, so you might try deleting 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 andy.shellam-lists at mailnetwork.co.uk Wed Nov 8 20:56:03 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 08 Nov 2006 19:56:03 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB79057873CF@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB79057873CF@MAILBOXSEVEN.home.ku.edu> Message-ID: <45523653.7080804@mailnetwork.co.uk> Sloane, Robert Raymond wrote: >> Last Check Time: 08-11-2006 19:34:40 >> Next Scheduled Active Check: N/A >> > > Interesting. Nagios thinks the last check was run over a month ago. > > No, thankfully! That date is the 8th November (British format.) > You wouldn't see anything about hosts in the scheduling queue. Host > checks are run immediately, not through the queue. That is why it is > best to not use them. > I did when the check_interval was set to 1 in the hosts - it showed the host name and a blank service column. I'd mentioned this only to prove the point that the checks do not seem to be scheduled any more, so I cannot figure out why it's still running the host checks at (seemingly) regular intervals. There are no hosts under that machine (or indeed above it), and all services checks are up and have been for a good 6-8 hours. I'm stumped! Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lynn.Folkers at us.fujitsu.com Wed Nov 8 21:03:15 2006 From: Lynn.Folkers at us.fujitsu.com (Folkers, Lynn) Date: Wed, 8 Nov 2006 14:03:15 -0600 Subject: Nagiosgraph and colorscheme Message-ID: <50B73C8966FCF840BABA099651DBE060012C48AC@rchemx01.fnc.net.local> Peter, Thanks for the info... I am giving it a try... -----Original Message----- From: Peter.Ringe at web.de [mailto:Peter.Ringe at web.de] Sent: Wednesday, November 08, 2006 10:58 AM To: Folkers, Lynn Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagiosgraph and colorscheme Hi Lynn, just add ad the beginning of your show.cgi the following line (you may change the colors in this line): my @colors = qw ( FF0000 00FF00 0000FF FF00FF FFFF00 00FFFF FFFFFF ) ; in the subroutine rrdline, there are some minor changes aswell: sub rrdline { my($host,$service,$geom,$rrdopts,$G,$time) = @_; my($g,$f,$v,$c, at ds); @ds = ('-', '-a', 'PNG', '--start', "-$time"); # Identify where to pull data from and what to call it for $g ( @$G ) { $f = $g->{file}; debug(5, "CGI file=$f"); my $index=0; for $v ( sort keys %{ $g->{line} } ) { # $c = hashcolor($v); $c = $colors[$index%(@colors)]; debug(5, "CGI file=$f line=$v color=$c index=".$index%(@colors)); my $sv = "$v"; push @ds , "DEF:$sv=$Config{rrddir}/$f:$v:AVERAGE" , "LINE1:${sv}#$c:$sv" , "GPRINT:$sv:MAX:Max\\: %6.2lf%s" , "GPRINT:$sv:AVERAGE:Avg\\: %6.2lf%s" , "GPRINT:$sv:MIN:Min\\: %6.2lf%s" , "GPRINT:$sv:LAST:Cur\\: %6.2lf%s\\n" ; $index++; } } Regards, Peter Folkers, Lynn schrieb: > Hi Peter, > > I am not understanding how this is working. Here is the section in > the show.cgi file... > > # Choose a color for service > # > sub hashcolor { > my$c=1;map{$c=1+($c*ord)%(216)}split//,$_[0]; > my($i,$n,$m, at h);@h=(51*int$c/36,51*int$c/6%6,51*($c%6)); > for$i(0..2){$m=$i if$h[$i]<$h[$m];$n=$i if$h[$i]>$h[$n]} > $h[$m]=102if$h[$m]>102;$h[$n]=153if$h[$n]<153; > $c=sprintf"%06X",$h[2]+$h[1]*256+$h[0]*16**4; > return $c; > } > > # Generate all the parameters for rrd to produce a graph # sub rrdline > { > my($host,$service,$G,$time) = @_; > my($g,$f,$v,$c,$ds); > > # Identify where to pull data from and what to call it > $ds = ''; > for $g ( @$G ) { > $f = $g->{file}; > debug(5, "CGI file=$f"); > for $v ( keys %{ $g->{line} } ) { > $c = hashcolor($v); > debug(5, "CGI file=$f line=$v color=$c"); > my $sv = "$v"; > $ds .= " DEF:$sv=$Config{rrddir}/$f:$v:AVERAGE"; > $ds .= " LINE2:${sv}#$c:$sv"; > $ds .= " GPRINT:$sv:MAX:'Max\\: %6.2lf%s'"; > $ds .= " GPRINT:$sv:AVERAGE:'Avg\\: %6.2lf%s'"; > $ds .= " GPRINT:$sv:MIN:'Min\\: %6.2lf%s'"; > $ds .= " GPRINT:$sv:LAST:'Cur\\: %6.2lf%s\\n'"; > } > } > > And here is the section of my map file for ping ..... > > > > # Service type: ping > # output:PING OK - 10.1.1.1 (loss=20%, rta=385.000000 ms) # perfdata: > loss=20%;79;100;0;100 rta=0.385000s;2.000000;5.000000;0.000000 > #/output:PING.*?(d+)%.+?([.d]+)sms/ > /perfdata:loss=([.0-9]+)%.*?rta=([.0-9]+)s;/ > and push @s, [ Ping, > [ losspct, GAUGE, $1 ], > [ rta, GAUGE, $2 ] ]; > > How is the color determined in the output. I don't see the referance > in the map file. > > > -----Original Message----- > From: Peter.Ringe at web.de [mailto:Peter.Ringe at web.de] > Sent: Tuesday, November 07, 2006 1:35 PM > To: Folkers, Lynn > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagiosgraph and colorscheme > > Hi Lynn > > look for the following code in show.cgi. It calculates a hash based on > colorsheme and the name of the parameter (e.g lospct or rta for > check_ping). These names are defined in the map file and used in the > rrd database. > > There is no standard way to define your own colors, but of course you > could use an own array 'colorindex'. Just count the number of > parameters displayed in one graph and use $colorindex[$par_number] > instead of hashcolor($v); Just three lines of code ... > > hope that helps, > > > Peter > > > Folkers, Lynn schrieb: > >> I am running Nagios 2.0 with nagiosgraph v 1.1.1.1. I see that >> there >> > > >> is an option to use color schemes 1 through 8 in the nagiosgraph.conf >> file. But is there a way to change the graph colors besides a >> general >> > > >> color scheme? If there is not a way then is there some documentation >> on what the 1 through 8 color schemes are? I currently have my color >> scheme set to 4 and the graph color lines are very similar in color >> which makes it hard to read.. >> >> # setting Colorscheme >> colorscheme = 4 >> >> 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=121 >> 6 >> 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 teng at dataway.com Wed Nov 8 21:28:06 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 8 Nov 2006 12:28:06 -0800 Subject: Using Nagios to monitor "service-less" hosts Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F11@dw-mail.dataway.com> Host checks are not actively scheduled in normal operation. You could go months without requiring a host check, and the status age of the host check will show something like 81 days for example. If you see recent host checks, then that means there was a service problem and Nagios wanted to be sure it wasn't the host. Perhaps if you thought of "host check" as "network link status", it would make the distinction more clear. > -----Original Message----- > From: Andy Shellam (Mailing Lists) > [mailto:andy.shellam-lists at mailnetwork.co.uk] > Sent: Wednesday, November 08, 2006 11:56 AM > To: Sloane, Robert Raymond > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Using Nagios to monitor > "service-less" hosts > > > Sloane, Robert Raymond wrote: > >> Last Check Time: 08-11-2006 19:34:40 > >> Next Scheduled Active Check: N/A > >> > > > > Interesting. Nagios thinks the last check was run over a month ago. > > > > > No, thankfully! That date is the 8th November (British format.) > > You wouldn't see anything about hosts in the scheduling queue. Host > > checks are run immediately, not through the queue. That is > why it is > > best to not use them. > > > > I did when the check_interval was set to 1 in the hosts - it > showed the > host name and a blank service column. > I'd mentioned this only to prove the point that the checks do > not seem > to be scheduled any more, so I cannot figure out why it's > still running > the host checks at (seemingly) regular intervals. > > There are no hosts under that machine (or indeed above it), and all > services checks are up and have been for a good 6-8 hours. > > I'm stumped! > > Andy. > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Jon.Knepp at acxiom.com Wed Nov 8 21:43:21 2006 From: Jon.Knepp at acxiom.com (Knepp Jon - jknepp) Date: Wed, 8 Nov 2006 14:43:21 -0600 Subject: NDOutils-1.3.1 nebmodule_init problem Message-ID: I have run out of ideas in my attempts to get ndoutils 1.3.1 to run under my instance of Nagios. The good news is that ndo2db appears to be running properly as I was able to use the log2ndo command from the ndoutils-1.3.1/src/ directory to load my nagios.log file into my MySQL database without error. I have also verified that my nagios executable was properly compiled with Event Broker support as it was able to successfully load the helloworld.o module included in the nagios-2.5/module/ directory, generating the successful helloworld.o module load messages in the nagios.log file. After multiple successful and uneventful compilings of the ndomod.o (ala ndomod-2x.o variety) with "./configure --with-mysql-lib=/usr/lib/mysql --disable-pgsql" the only thing that continues to elude me is a successful initialization of the ndomod.o at nagios startup. I would greatly appreciate any assistance. I have included additional details on my instance's particulars below. Thanks in advance, Jon Nagios 2.5 CentOS 4.4 MySQL 4.1.20-1.RHEL4.1 [1163011077] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1163011077] Error: Function nebmodule_init() in module '/usr/local/nagios/bin/ndomod.o' returned an error. Module will be unloaded. [1163011077] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully. ----- ndomod.cfg ----- instance_name=default output_type=unixsocket output=/usr/local/nagios/var/ndo.sock output_buffer_items=5000 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=3 ----- ndo2db.cfg ----- socket_type=unix socket_name=/usr/local/nagios/var/ndo.sock db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios db_prefix=ndo_ db_user=nagios db_pass=password max_timedevents_age=1440 max_systemcommands_age=10080 max_servicechecks_age=10080 max_hostchecks_age=10080 max_eventhandlers_age=44640 ----- excerpt from nagios.cfg ------ broker_module=/usr/local/nagios/bin/ndomod.o config_dir=/usr/local/nagios/etc/ndomod.cfg *************************************************************************** The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system. 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 andy.shellam-lists at mailnetwork.co.uk Wed Nov 8 21:58:08 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 08 Nov 2006 20:58:08 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F11@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F11@dw-mail.dataway.com> Message-ID: <455244E0.1030302@mailnetwork.co.uk> Hi Ted, I understand the distinction - I *did* have host checks actively scheduled (ie. the host parameter 'check_interval' set to 1 - this is now 0 so host checks shouldn't be scheduled, right?) Yet Nagios IS checking the hosts every few minutes roughly, regardless of child service status. Here's a dead simple example - the FH-Gateway - it has a single service, which is a Ping. The host also has a Ping set as it's active_check_command parameter. Now, if I show you the service breakdown for the Ping _service_ on FH-Gateway: Current Status: OK Status Information: PING OK - Packet loss = 0%, RTA = 3.02 ms Performance Data: Current Attempt: 1/2 State Type: HARD Last Check Type: ACTIVE Last Check Time: 08-11-2006 20:49:37 Status Data Age: 0d 0h 0m 51s Next Scheduled Active Check: 08-11-2006 20:50:37 Latency: 0.607 seconds Check Duration: 9.013 seconds Last State Change: 08-11-2006 10:46:46 Current State Duration: 0d 10h 3m 42s Nagios reports it's been in the same state (ie. OK) for 10 hours, 3 minutes, and 42 seconds right? So why was the host checked only a few seconds ago? Host Status: UP Status Information: PING OK - Packet loss = 0%, RTA = 0.27 ms Performance Data: Current Attempt: 1/2 State Type: HARD Last Check Type: ACTIVE Last Check Time: 08-11-2006 20:50:49 Status Data Age: 0d 0h 0m 39s Next Scheduled Active Check: N/A Latency: 9.113 seconds Check Duration: 9.011 seconds Last State Change: 07-11-2006 06:20:35 Current State Duration: 1d 14h 30m 53s Last Host Notification: N/A Current Notification Number: 0 Is This Host Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update: 08-11-2006 20:51:16 If the general line of thinking is correct, Nagios should have last checked the host back at (or around) 10:46 this morning when there was a blip in the service check. But it didn't. It does check them every 1-2 minutes. My check_interval parameter is 0 - the config viewer in the web CGIs shows "enabled active checks" as NO for each host. Since I've been writing this - the above host has been checked again at 20:54:49 - exactly 4 minutes since the last check. No change in the service status - 10 hours, 9 minutes now. Any ideas? Andy. Tedman Eng wrote: > Host checks are not actively scheduled in normal operation. > > You could go months without requiring a host check, and the status age of > the host check will show something like 81 days for example. > > If you see recent host checks, then that means there was a service problem > and Nagios wanted to be sure it wasn't the host. > > Perhaps if you thought of "host check" as "network link status", it would > make the distinction more clear. > > > >> -----Original Message----- >> From: Andy Shellam (Mailing Lists) >> [mailto:andy.shellam-lists at mailnetwork.co.uk] >> Sent: Wednesday, November 08, 2006 11:56 AM >> To: Sloane, Robert Raymond >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Using Nagios to monitor >> "service-less" hosts >> >> >> Sloane, Robert Raymond wrote: >> >>>> Last Check Time: 08-11-2006 19:34:40 >>>> Next Scheduled Active Check: N/A >>>> >>>> >>> Interesting. Nagios thinks the last check was run over a month ago. >>> >>> >>> >> No, thankfully! That date is the 8th November (British format.) >> >>> You wouldn't see anything about hosts in the scheduling queue. Host >>> checks are run immediately, not through the queue. That is >>> >> why it is >> >>> best to not use them. >>> >>> >> I did when the check_interval was set to 1 in the hosts - it >> showed the >> host name and a blank service column. >> I'd mentioned this only to prove the point that the checks do >> not seem >> to be scheduled any more, so I cannot figure out why it's >> still running >> the host checks at (seemingly) regular intervals. >> >> There are no hosts under that machine (or indeed above it), and all >> services checks are up and have been for a good 6-8 hours. >> >> I'm stumped! >> >> Andy. >> >> -------------------------------------------------------------- >> ----------- >> Using Tomcat but need to do more? Need to support web >> services, security? >> Get stuff done quickly with pre-integrated technology to make >> your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on >> Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >> > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45523de440411286632760! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 8 23:23:34 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 8 Nov 2006 14:23:34 -0800 Subject: Using Nagios to monitor "service-less" hosts Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F13@dw-mail.dataway.com> If you have state retention enabled, then Nagios remembers lots of settings and does not "reset" them when reloading a config (otherwise it wouldn't be retaining). "Host Active Checks Enabled" likely did not disable themselves after changing the .cfg file, because the state was "remembered" from previous runs. Try stopping Nagios, clearing the status.sav and restarting Nagios. > -----Original Message----- > From: Andy Shellam (Mailing Lists) > [mailto:andy.shellam-lists at mailnetwork.co.uk] > Sent: Wednesday, November 08, 2006 12:58 PM > To: Tedman Eng > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Using Nagios to monitor > "service-less" hosts > > > Hi Ted, > > I understand the distinction - I *did* have host checks actively > scheduled (ie. the host parameter 'check_interval' set to 1 - this is > now 0 so host checks shouldn't be scheduled, right?) Yet Nagios IS > checking the hosts every few minutes roughly, regardless of child > service status. > > Here's a dead simple example - the FH-Gateway - it has a > single service, > which is a Ping. The host also has a Ping set as it's > active_check_command parameter. > Now, if I show you the service breakdown for the Ping _service_ on > FH-Gateway: > > Current Status: > OK > Status Information: PING OK - Packet loss = 0%, RTA = 3.02 ms > Performance Data: > Current Attempt: 1/2 > State Type: HARD > Last Check Type: ACTIVE > Last Check Time: 08-11-2006 20:49:37 > Status Data Age: 0d 0h 0m 51s > Next Scheduled Active Check: 08-11-2006 20:50:37 > Latency: 0.607 seconds > Check Duration: 9.013 seconds > Last State Change: 08-11-2006 10:46:46 > Current State Duration: 0d 10h 3m 42s > > > Nagios reports it's been in the same state (ie. OK) for 10 hours, 3 > minutes, and 42 seconds right? > So why was the host checked only a few seconds ago? > > Host Status: > UP > Status Information: PING OK - Packet loss = 0%, RTA = 0.27 ms > Performance Data: > Current Attempt: 1/2 > State Type: HARD > Last Check Type: ACTIVE > Last Check Time: 08-11-2006 20:50:49 > Status Data Age: 0d 0h 0m 39s > Next Scheduled Active Check: N/A > Latency: 9.113 seconds > Check Duration: 9.011 seconds > Last State Change: 07-11-2006 06:20:35 > Current State Duration: 1d 14h 30m 53s > Last Host Notification: N/A > Current Notification Number: 0 > Is This Host Flapping? > NO > Percent State Change: 0.00% > In Scheduled Downtime? > NO > Last Update: 08-11-2006 20:51:16 > > > If the general line of thinking is correct, Nagios should have last > checked the host back at (or around) 10:46 this morning when > there was a > blip in the service check. But it didn't. It does check > them every 1-2 > minutes. > My check_interval parameter is 0 - the config viewer in the web CGIs > shows "enabled active checks" as NO for each host. > > Since I've been writing this - the above host has been > checked again at > 20:54:49 - exactly 4 minutes since the last check. No change in the > service status - 10 hours, 9 minutes now. > > Any ideas? > > Andy. > > > > Tedman Eng wrote: > > Host checks are not actively scheduled in normal operation. > > > > You could go months without requiring a host check, and the > status age of > > the host check will show something like 81 days for example. > > > > If you see recent host checks, then that means there was a > service problem > > and Nagios wanted to be sure it wasn't the host. > > > > Perhaps if you thought of "host check" as "network link > status", it would > > make the distinction more clear. > > > > > > > >> -----Original Message----- > >> From: Andy Shellam (Mailing Lists) > >> [mailto:andy.shellam-lists at mailnetwork.co.uk] > >> Sent: Wednesday, November 08, 2006 11:56 AM > >> To: Sloane, Robert Raymond > >> Cc: nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] Using Nagios to monitor > >> "service-less" hosts > >> > >> > >> Sloane, Robert Raymond wrote: > >> > >>>> Last Check Time: 08-11-2006 19:34:40 > >>>> Next Scheduled Active Check: N/A > >>>> > >>>> > >>> Interesting. Nagios thinks the last check was run over a > month ago. > >>> > >>> > >>> > >> No, thankfully! That date is the 8th November (British format.) > >> > >>> You wouldn't see anything about hosts in the scheduling > queue. Host > >>> checks are run immediately, not through the queue. That is > >>> > >> why it is > >> > >>> best to not use them. > >>> > >>> > >> I did when the check_interval was set to 1 in the hosts - it > >> showed the > >> host name and a blank service column. > >> I'd mentioned this only to prove the point that the checks do > >> not seem > >> to be scheduled any more, so I cannot figure out why it's > >> still running > >> the host checks at (seemingly) regular intervals. > >> > >> There are no hosts under that machine (or indeed above > it), and all > >> services checks are up and have been for a good 6-8 hours. > >> > >> I'm stumped! > >> > >> Andy. > >> > >> -------------------------------------------------------------- > >> ----------- > >> Using Tomcat but need to do more? Need to support web > >> services, security? > >> Get stuff done quickly with pre-integrated technology to make > >> your job easier > >> Download IBM WebSphere Application Server v.1.0.1 based on > >> Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > >> > > dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting > > any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > !DSPAM:37,45523de440411286632760! > > > > > > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ian-list at insourced.us Wed Nov 8 23:33:00 2006 From: ian-list at insourced.us (Ian Lists) Date: Wed, 8 Nov 2006 17:33:00 -0500 (EST) Subject: 3-D status map In-Reply-To: <1163006189.24415.36.camel@bobfed664-lt.studentsonly.com> References: <1163006189.24415.36.camel@bobfed664-lt.studentsonly.com> Message-ID: <22271272.801163025180732.JavaMail.root@postal.insourcedsecurity.com> Those dependencies should be available via YUM. mesa-libGL-6.5.1-7.fc6 mesa-libGLU-6.5.1-7.fc6 ----- Original Message ----- From: Bob Farrell To: Ian Lists Cc: elias probst , nagios-users at lists.sourceforge.net Sent: Wednesday, November 8, 2006 12:16:29 PM GMT-0500 US/Eastern Subject: Re: [Nagios-users] 3-D status map Cannot find these dependencies.......( sigh ) what a pain.... error: Failed dependencies: libGL.so.1 is needed by freewrl-1.11-1.i386 libGLU.so.1 is needed by freewrl-1.11-1.i386 On Wed, 2006-11-08 at 09:55 -0500, Ian Lists wrote: I have used a freewrl rpm that I found for Fedora Core 3 successfully on RHEL 4, FC5 and FC6. Just make a symbolic link for the npfreewrl.so library to your firefox plugins directory. http://rpm.pbone.net/index.php3/stat/4/idpl/1799041/com/freewrl-1.11-1.FC3.i386.rpm.html Ian ----- Original Message ----- From: Bob Farrell < bobf at studentsonly.com > To: Bob Farrell < bobf at studentsonly.com >, elias probst < elias.probst at gmx.de >, nagios-users at lists.sourceforge.net Sent: Wednesday, November 8, 2006 5:48:39 AM GMT-0500 US/Eastern Subject: [Nagios-users] 3-D status map I finally got the status map link to work, but when I click the 3-D status link, I get "open file with" Any ideas folks? Thanks Bob -----Original Message----- From: Farrell,Bob Sent: Tuesday, November 07, 2006 10:32 PM To: Farrell,Bob; elias.probst at gmx.de ; nagios-users at lists.s ourceforge.net Subject: RE: [Nagios-users] Nagios 2.5 Status map Got status maps running, but 3d will not work. I'll settle for that for now...... -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto: nagios-users-bounces at lists.sourceforge.net ] On Behalf Of Farrell,Bob Sent: Tuesday, November 07, 2006 7:14 PM To: elias.probst at gmx.de ; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map Have you opened the "English" pdf install guides? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto: nagios-users-bounces at lists.sourceforge.net ] On Behalf Of Elias Probst Sent: Tuesday, November 07, 2006 7:09 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map http://oreon-project.org/index.php?lang=en Have you tried the English page? Regards, Elias P. BTW: The default page isn't German, it's French > Got Nagios installed, but the status map does not work. > > I followed the link below, but still no luck. > > Any help would be appreciated. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > Also, I would LOVE to try out Oreon, but I cannot speak German. Anyone > have alternatives for front end guis that can aid in administration, > reporting, etc.? > > > > Regards, > > Bob F ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without sup porting 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 andy.shellam-lists at mailnetwork.co.uk Wed Nov 8 23:45:02 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 08 Nov 2006 22:45:02 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F13@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F13@dw-mail.dataway.com> Message-ID: <45525DEE.1070502@mailnetwork.co.uk> Ted, I've stopped Nagios, removed all ".dat" files from var, and restarted it - all checks are now pending. However, I did look through retention.dat (I presume this is what you meant - status.sav didn't exist) before I killed it, and the check_interval parameter was not defined for any host. I would think, surely, "state retention" only retains the service/host check states so if, for example, the Nagios machine reboots, when it comes back up it knows where it left off. Otherwise if you change the config, you'd have to remember to remove all the .dat files (or at least retention.dat) in var before the config change takes effect, and I certainly haven't had to do that before. And as far as Nagios was concerned, "scheduled active host checks" were OFF - or so it said in the config viewer. I'll wait a couple of minutes, see where it goes from here...... OK 5 minutes have passed - no different. Service SC-Gateway - Ping = checked and confirmed OK at 22:38:15 The host SC-Gateway = checked and confirmed OK at 22:38:15, then checked again at 22:39:40 and again at 22:41:40. And note "Next active scheduled check" reads N/A. Andy. Tedman Eng wrote: > If you have state retention enabled, then Nagios remembers lots of settings > and does not "reset" them when reloading a config (otherwise it wouldn't be > retaining). "Host Active Checks Enabled" likely did not disable themselves > after changing the .cfg file, because the state was "remembered" from > previous runs. Try stopping Nagios, clearing the status.sav and restarting > Nagios. > > >> -----Original Message----- >> From: Andy Shellam (Mailing Lists) >> [mailto:andy.shellam-lists at mailnetwork.co.uk] >> Sent: Wednesday, November 08, 2006 12:58 PM >> To: Tedman Eng >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Using Nagios to monitor >> "service-less" hosts >> >> >> Hi Ted, >> >> I understand the distinction - I *did* have host checks actively >> scheduled (ie. the host parameter 'check_interval' set to 1 - this is >> now 0 so host checks shouldn't be scheduled, right?) Yet Nagios IS >> checking the hosts every few minutes roughly, regardless of child >> service status. >> >> Here's a dead simple example - the FH-Gateway - it has a >> single service, >> which is a Ping. The host also has a Ping set as it's >> active_check_command parameter. >> Now, if I show you the service breakdown for the Ping _service_ on >> FH-Gateway: >> >> Current Status: >> OK >> Status Information: PING OK - Packet loss = 0%, RTA = 3.02 ms >> Performance Data: >> Current Attempt: 1/2 >> State Type: HARD >> Last Check Type: ACTIVE >> Last Check Time: 08-11-2006 20:49:37 >> Status Data Age: 0d 0h 0m 51s >> Next Scheduled Active Check: 08-11-2006 20:50:37 >> Latency: 0.607 seconds >> Check Duration: 9.013 seconds >> Last State Change: 08-11-2006 10:46:46 >> Current State Duration: 0d 10h 3m 42s >> >> >> Nagios reports it's been in the same state (ie. OK) for 10 hours, 3 >> minutes, and 42 seconds right? >> So why was the host checked only a few seconds ago? >> >> Host Status: >> UP >> Status Information: PING OK - Packet loss = 0%, RTA = 0.27 ms >> Performance Data: >> Current Attempt: 1/2 >> State Type: HARD >> Last Check Type: ACTIVE >> Last Check Time: 08-11-2006 20:50:49 >> Status Data Age: 0d 0h 0m 39s >> Next Scheduled Active Check: N/A >> Latency: 9.113 seconds >> Check Duration: 9.011 seconds >> Last State Change: 07-11-2006 06:20:35 >> Current State Duration: 1d 14h 30m 53s >> Last Host Notification: N/A >> Current Notification Number: 0 >> Is This Host Flapping? >> NO >> Percent State Change: 0.00% >> In Scheduled Downtime? >> NO >> Last Update: 08-11-2006 20:51:16 >> >> >> If the general line of thinking is correct, Nagios should have last >> checked the host back at (or around) 10:46 this morning when >> there was a >> blip in the service check. But it didn't. It does check >> them every 1-2 >> minutes. >> My check_interval parameter is 0 - the config viewer in the web CGIs >> shows "enabled active checks" as NO for each host. >> >> Since I've been writing this - the above host has been >> checked again at >> 20:54:49 - exactly 4 minutes since the last check. No change in the >> service status - 10 hours, 9 minutes now. >> >> Any ideas? >> >> Andy. >> >> >> >> Tedman Eng wrote: >> >>> Host checks are not actively scheduled in normal operation. >>> >>> You could go months without requiring a host check, and the >>> >> status age of >> >>> the host check will show something like 81 days for example. >>> >>> If you see recent host checks, then that means there was a >>> >> service problem >> >>> and Nagios wanted to be sure it wasn't the host. >>> >>> Perhaps if you thought of "host check" as "network link >>> >> status", it would >> >>> make the distinction more clear. >>> >>> >>> >>> >>>> -----Original Message----- >>>> From: Andy Shellam (Mailing Lists) >>>> [mailto:andy.shellam-lists at mailnetwork.co.uk] >>>> Sent: Wednesday, November 08, 2006 11:56 AM >>>> To: Sloane, Robert Raymond >>>> Cc: nagios-users at lists.sourceforge.net >>>> Subject: Re: [Nagios-users] Using Nagios to monitor >>>> "service-less" hosts >>>> >>>> >>>> Sloane, Robert Raymond wrote: >>>> >>>> >>>>>> Last Check Time: 08-11-2006 19:34:40 >>>>>> Next Scheduled Active Check: N/A >>>>>> >>>>>> >>>>>> >>>>> Interesting. Nagios thinks the last check was run over a >>>>> >> month ago. >> >>>>> >>>>> >>>>> >>>> No, thankfully! That date is the 8th November (British format.) >>>> >>>> >>>>> You wouldn't see anything about hosts in the scheduling >>>>> >> queue. Host >> >>>>> checks are run immediately, not through the queue. That is >>>>> >>>>> >>>> why it is >>>> >>>> >>>>> best to not use them. >>>>> >>>>> >>>>> >>>> I did when the check_interval was set to 1 in the hosts - it >>>> showed the >>>> host name and a blank service column. >>>> I'd mentioned this only to prove the point that the checks do >>>> not seem >>>> to be scheduled any more, so I cannot figure out why it's >>>> still running >>>> the host checks at (seemingly) regular intervals. >>>> >>>> There are no hosts under that machine (or indeed above >>>> >> it), and all >> >>>> services checks are up and have been for a good 6-8 hours. >>>> >>>> I'm stumped! >>>> >>>> Andy. >>>> >>>> -------------------------------------------------------------- >>>> ----------- >>>> Using Tomcat but need to do more? Need to support web >>>> services, security? >>>> Get stuff done quickly with pre-integrated technology to make >>>> your job easier >>>> Download IBM WebSphere Application Server v.1.0.1 based on >>>> Apache Geronimo >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& >>>> >>>> >>> dat=121642 >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 > > !DSPAM:37,455258fb40411755016805! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Wed Nov 8 23:56:59 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 9 Nov 2006 11:56:59 +1300 Subject: Esx checks In-Reply-To: <0DD5431D-D367-43C0-A9EF-37F9AD4B71AA@vassar.edu> References: <0DD5431D-D367-43C0-A9EF-37F9AD4B71AA@vassar.edu> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A252BCBD@UXCHANGE3.UoA.auckland.ac.nz> Derek Balling [mailto:deballing at vassar.edu] wrote: > On Nov 7, 2006, at 4:45 PM, Steve Shipway wrote: > > As far as I know, there is no way to find out the IP > address of an ESX > > guest OS without connecting to it (eg by logging in to the virtual ... > That can't be true. VirtualCenter routinely tells me what IP address > a guest VM is using. > > Maybe there's some VC nonsense that happens, but it seems like you > might be able to get at that info using the ESX Perl API or something? OK, looking in there, Virtual Centre does indeed state the IP address of the guest. How on earth does it find that out?? I assume it must be getting sent from the vmware tools daemon running on the guest (which implies that vmware tools must be running to know it). However, I cannot find this information under the /proc/vmware tree on the ESX server (we have v2.x, it may be different on 3.x) so it's not clear where it is kept and if it is accessible to us. On a separate note, while Easter-egging for where it stores the IP address info, I've found where it keeps the per-VM UserRPC counts (a good indicator of if your VM is using too many sys calls making it a bad virtualisation candidate) so I can incorporate this into check_esx v2.6. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bobf at studentsonly.com Thu Nov 9 00:25:17 2006 From: bobf at studentsonly.com (Farrell,Bob) Date: Wed, 8 Nov 2006 18:25:17 -0500 Subject: 3-D status map In-Reply-To: <22271272.801163025180732.JavaMail.root@postal.insourcedsecurity.com> References: <1163006189.24415.36.camel@bobfed664-lt.studentsonly.com> <22271272.801163025180732.JavaMail.root@postal.insourcedsecurity.com> Message-ID: Yes they are, and I actually already had them installed, but it still does not work........ -----Original Message----- From: Ian Lists [mailto:ian-list at insourced.us] Sent: Wednesday, November 08, 2006 5:33 PM To: Farrell,Bob Cc: elias probst; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] 3-D status map Those dependencies should be available via YUM. mesa-libGL-6.5.1-7.fc6 mesa-libGLU-6.5.1-7.fc6 ----- Original Message ----- From: Bob Farrell To: Ian Lists Cc: elias probst , nagios-users at lists.sourceforge.net Sent: Wednesday, November 8, 2006 12:16:29 PM GMT-0500 US/Eastern Subject: Re: [Nagios-users] 3-D status map Cannot find these dependencies.......( sigh ) what a pain.... error: Failed dependencies: libGL.so.1 is needed by freewrl-1.11-1.i386 libGLU.so.1 is needed by freewrl-1.11-1.i386 On Wed, 2006-11-08 at 09:55 -0500, Ian Lists wrote: I have used a freewrl rpm that I found for Fedora Core 3 successfully on RHEL 4, FC5 and FC6. Just make a symbolic link for the npfreewrl.so library to your firefox plugins directory. http://rpm.pbone.net/index.php3/stat/4/idpl/1799041/com/freewrl-1.11-1.FC3.i386.rpm.html Ian ----- Original Message ----- From: Bob Farrell < bobf at studentsonly.com > To: Bob Farrell < bobf at studentsonly.com >, elias probst < elias.probst at gmx.de >, nagios-users at lists.sourceforge.net Sent: Wednesday, November 8, 2006 5:48:39 AM GMT-0500 US/Eastern Subject: [Nagios-users] 3-D status map I finally got the status map link to work, but when I click the 3-D status link, I get "open file with" Any ideas folks? Thanks Bob -----Original Message----- From: Farrell,Bob Sent: Tuesday, November 07, 2006 10:32 PM To: Farrell,Bob; elias.probst at gmx.de ; nagios-users at lists.s ourceforge.net Subject: RE: [Nagios-users] Nagios 2.5 Status map Got status maps running, but 3d will not work. I'll settle for that for now...... -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto: nagios-users-bounces at lists.sourceforge.net ] On Behalf Of Farrell,Bob Sent: Tuesday, November 07, 2006 7:14 PM To: elias.probst at gmx.de ; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map Have you opened the "English" pdf install guides? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto: nagios-users-bounces at lists.sourceforge.net ] On Behalf Of Elias Probst Sent: Tuesday, November 07, 2006 7:09 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.5 Status map http://oreon-project.org/index.php?lang=en Have you tried the English page? Regards, Elias P. BTW: The default page isn't German, it's French > Got Nagios installed, but the status map does not work. > > I followed the link below, but still no luck. > > Any help would be appreciated. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=55 > > > > Also, I would LOVE to try out Oreon, but I cannot speak German. Anyone > have alternatives for front end guis that can aid in administration, > reporting, etc.? > > > > Regards, > > Bob F ------------------------------------------------------------------------ - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without sup porting 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 teng at dataway.com Thu Nov 9 00:30:51 2006 From: teng at dataway.com (Tedman Eng) Date: Wed, 8 Nov 2006 15:30:51 -0800 Subject: Using Nagios to monitor "service-less" hosts Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F14@dw-mail.dataway.com> Are you sure you've haven't got check_interval configured in the host directive, or inherited from the template being applied? The "active checks" setting does something different. "check_interval" = how often to perform SCHEDULED host checks "active_checks_enabled" = whether or not Nagios executes a check when needed "when needed" can be be triggered by "host check_interval" or "service non-ok" With retention turned on, some settings are retained and thus ignore changes in .cfg files. For more detailed info, http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#retention_notes NOTE: The retention notes specify that it only applies to settings changed during runtime, but I've seen cases where undefining a setting does not "clear" the setting if it's been set in the past through a .cfg file. For example enabling "flap detection" in .cfg, and then later not defining it in the .cfg left the host with flap detection enabled. > -----Original Message----- > From: Andy Shellam (Mailing Lists) > [mailto:andy.shellam-lists at mailnetwork.co.uk] > Sent: Wednesday, November 08, 2006 2:45 PM > To: Tedman Eng > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Using Nagios to monitor > "service-less" hosts > > > Ted, > > I've stopped Nagios, removed all ".dat" files from var, and > restarted it > - all checks are now pending. > However, I did look through retention.dat (I presume this is what you > meant - status.sav didn't exist) before I killed it, and the > check_interval parameter was not defined for any host. > > I would think, surely, "state retention" only retains the > service/host > check states so if, for example, the Nagios machine reboots, when it > comes back up it knows where it left off. Otherwise if you > change the > config, you'd have to remember to remove all the .dat files > (or at least > retention.dat) in var before the config change takes effect, and I > certainly haven't had to do that before. > > And as far as Nagios was concerned, "scheduled active host > checks" were > OFF - or so it said in the config viewer. > > I'll wait a couple of minutes, see where it goes from here...... > > OK 5 minutes have passed - no different. > Service SC-Gateway - Ping = checked and confirmed OK at 22:38:15 > The host SC-Gateway = checked and confirmed OK at 22:38:15, > then checked > again at 22:39:40 and again at 22:41:40. > And note "Next active scheduled check" reads N/A. > > Andy. > > Tedman Eng wrote: > > If you have state retention enabled, then Nagios remembers > lots of settings > > and does not "reset" them when reloading a config > (otherwise it wouldn't be > > retaining). "Host Active Checks Enabled" likely did not > disable themselves > > after changing the .cfg file, because the state was > "remembered" from > > previous runs. Try stopping Nagios, clearing the > status.sav and restarting > > Nagios. > > > > > >> -----Original Message----- > >> From: Andy Shellam (Mailing Lists) > >> [mailto:andy.shellam-lists at mailnetwork.co.uk] > >> Sent: Wednesday, November 08, 2006 12:58 PM > >> To: Tedman Eng > >> Cc: nagios-users at lists.sourceforge.net > >> Subject: Re: [Nagios-users] Using Nagios to monitor > >> "service-less" hosts > >> > >> > >> Hi Ted, > >> > >> I understand the distinction - I *did* have host checks actively > >> scheduled (ie. the host parameter 'check_interval' set to > 1 - this is > >> now 0 so host checks shouldn't be scheduled, right?) Yet > Nagios IS > >> checking the hosts every few minutes roughly, regardless of child > >> service status. > >> > >> Here's a dead simple example - the FH-Gateway - it has a > >> single service, > >> which is a Ping. The host also has a Ping set as it's > >> active_check_command parameter. > >> Now, if I show you the service breakdown for the Ping _service_ on > >> FH-Gateway: > >> > >> Current Status: > >> OK > >> Status Information: PING OK - Packet loss = 0%, RTA > = 3.02 ms > >> Performance Data: > >> Current Attempt: 1/2 > >> State Type: HARD > >> Last Check Type: ACTIVE > >> Last Check Time: 08-11-2006 20:49:37 > >> Status Data Age: 0d 0h 0m 51s > >> Next Scheduled Active Check: 08-11-2006 20:50:37 > >> Latency: 0.607 seconds > >> Check Duration: 9.013 seconds > >> Last State Change: 08-11-2006 10:46:46 > >> Current State Duration: 0d 10h 3m 42s > >> > >> > >> Nagios reports it's been in the same state (ie. OK) for 10 > hours, 3 > >> minutes, and 42 seconds right? > >> So why was the host checked only a few seconds ago? > >> > >> Host Status: > >> UP > >> Status Information: PING OK - Packet loss = 0%, RTA > = 0.27 ms > >> Performance Data: > >> Current Attempt: 1/2 > >> State Type: HARD > >> Last Check Type: ACTIVE > >> Last Check Time: 08-11-2006 20:50:49 > >> Status Data Age: 0d 0h 0m 39s > >> Next Scheduled Active Check: N/A > >> Latency: 9.113 seconds > >> Check Duration: 9.011 seconds > >> Last State Change: 07-11-2006 06:20:35 > >> Current State Duration: 1d 14h 30m 53s > >> Last Host Notification: N/A > >> Current Notification Number: 0 > >> Is This Host Flapping? > >> NO > >> Percent State Change: 0.00% > >> In Scheduled Downtime? > >> NO > >> Last Update: 08-11-2006 20:51:16 > >> > >> > >> If the general line of thinking is correct, Nagios should > have last > >> checked the host back at (or around) 10:46 this morning when > >> there was a > >> blip in the service check. But it didn't. It does check > >> them every 1-2 > >> minutes. > >> My check_interval parameter is 0 - the config viewer in > the web CGIs > >> shows "enabled active checks" as NO for each host. > >> > >> Since I've been writing this - the above host has been > >> checked again at > >> 20:54:49 - exactly 4 minutes since the last check. No > change in the > >> service status - 10 hours, 9 minutes now. > >> > >> Any ideas? > >> > >> Andy. > >> > >> > >> > >> Tedman Eng wrote: > >> > >>> Host checks are not actively scheduled in normal operation. > >>> > >>> You could go months without requiring a host check, and the > >>> > >> status age of > >> > >>> the host check will show something like 81 days for example. > >>> > >>> If you see recent host checks, then that means there was a > >>> > >> service problem > >> > >>> and Nagios wanted to be sure it wasn't the host. > >>> > >>> Perhaps if you thought of "host check" as "network link > >>> > >> status", it would > >> > >>> make the distinction more clear. > >>> > >>> > >>> > >>> > >>>> -----Original Message----- > >>>> From: Andy Shellam (Mailing Lists) > >>>> [mailto:andy.shellam-lists at mailnetwork.co.uk] > >>>> Sent: Wednesday, November 08, 2006 11:56 AM > >>>> To: Sloane, Robert Raymond > >>>> Cc: nagios-users at lists.sourceforge.net > >>>> Subject: Re: [Nagios-users] Using Nagios to monitor > >>>> "service-less" hosts > >>>> > >>>> > >>>> Sloane, Robert Raymond wrote: > >>>> > >>>> > >>>>>> Last Check Time: 08-11-2006 19:34:40 > >>>>>> Next Scheduled Active Check: N/A > >>>>>> > >>>>>> > >>>>>> > >>>>> Interesting. Nagios thinks the last check was run over a > >>>>> > >> month ago. > >> > >>>>> > >>>>> > >>>>> > >>>> No, thankfully! That date is the 8th November (British format.) > >>>> > >>>> > >>>>> You wouldn't see anything about hosts in the scheduling > >>>>> > >> queue. Host > >> > >>>>> checks are run immediately, not through the queue. That is > >>>>> > >>>>> > >>>> why it is > >>>> > >>>> > >>>>> best to not use them. > >>>>> > >>>>> > >>>>> > >>>> I did when the check_interval was set to 1 in the hosts - it > >>>> showed the > >>>> host name and a blank service column. > >>>> I'd mentioned this only to prove the point that the checks do > >>>> not seem > >>>> to be scheduled any more, so I cannot figure out why it's > >>>> still running > >>>> the host checks at (seemingly) regular intervals. > >>>> > >>>> There are no hosts under that machine (or indeed above > >>>> > >> it), and all > >> > >>>> services checks are up and have been for a good 6-8 hours. > >>>> > >>>> I'm stumped! > >>>> > >>>> Andy. > >>>> > >>>> -------------------------------------------------------------- > >>>> ----------- > >>>> Using Tomcat but need to do more? Need to support web > >>>> services, security? > >>>> Get stuff done quickly with pre-integrated technology to make > >>>> your job easier > >>>> Download IBM WebSphere Application Server v.1.0.1 based on > >>>> Apache Geronimo > >>>> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > >>>> > >>>> > >>> dat=121642 > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: 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 > > > > !DSPAM:37,455258fb40411755016805! > > > > > > > > > -------------------------------------------------------------- > ----------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 andy.shellam-lists at mailnetwork.co.uk Thu Nov 9 00:58:12 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Wed, 08 Nov 2006 23:58:12 +0000 Subject: Using Nagios to monitor "service-less" hosts In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F14@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F14@dw-mail.dataway.com> Message-ID: <45526F14.10501@mailnetwork.co.uk> > Are you sure you've haven't got check_interval configured in the host > directive, or inherited from the template being applied? The "active > checks" setting does something different. > The check_interval parameter is set to 0 (zero) in the host template. It was originally set to 1. > "check_interval" = how often to perform SCHEDULED host checks > "active_checks_enabled" = whether or not Nagios executes a check when > needed > > "when needed" can be be triggered by "host check_interval" or "service > non-ok" > Yep understood on this. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From termx23 at gmail.com Thu Nov 9 05:30:57 2006 From: termx23 at gmail.com (Peter Edmonds) Date: Thu, 9 Nov 2006 15:30:57 +1100 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <200610260806.50869.pitchfork@ederdrom.de> References: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> <200610260806.50869.pitchfork@ederdrom.de> Message-ID: <6b8cee7e0611082030r36295874t25b13bb7c30f72d8@mail.gmail.com> On 10/26/06, Joerg Linge wrote: > I use PNP http://www.ederdrom.de/doku.php/nagios/pnp_en > > PNP stores the Performance Data from the Nagios Plugins in RRDTool Archives. > You need: > Perl without special Modules > PHP to Display the RRD Graphs > RRDTool to do the work. > Nagios 2.x and Plugins producing valid Perfdata. > > Try it. Hi Joerg, You are right ! PNP is the easiest way to get performance data graphs in Nagios. I had PNP installed alongside Groundwork Monitor Open Source in under an hour. The best thing was that the graphs are created automatically (assuming your plugin is producing valid performance data and matches up with one of the PNP templates). Now when I add a new Windows machine, I will get graphs for CPU, memory usage and disk usage without having to manually configure Nagios in any way. Next in to get SNMP working so I can collect network interface stats from the Windows boxes. Thanks Peter Edmonds ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 9 08:26:15 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 9 Nov 2006 08:26:15 +0100 Subject: Charts and Graphs and Nagios Oh My! In-Reply-To: <6b8cee7e0611082030r36295874t25b13bb7c30f72d8@mail.gmail.com> References: <632EDB1E16D4E041A0EF1DB3ADF67B2B07B9FA83@OAEXCH1SERVER.oa.oclc.org> <200610260806.50869.pitchfork@ederdrom.de> <6b8cee7e0611082030r36295874t25b13bb7c30f72d8@mail.gmail.com> Message-ID: <200611090826.15658.pitchfork@ederdrom.de> Am Donnerstag, 9. November 2006 05:30 schrieb Peter Edmonds: [...] > Hi Joerg, Hi Peter, > You are right ! PNP is the easiest way to get performance data graphs > in Nagios. I had PNP installed alongside Groundwork Monitor Open > Source in under an hour. The best thing was that the graphs are > created automatically (assuming your plugin is producing valid > performance data and matches up with one of the PNP templates). > > Now when I add a new Windows machine, I will get graphs for CPU, > memory usage and disk usage without having to manually configure > Nagios in any way. Thanks for the feedback ! > Next in to get SNMP working so I can collect network interface stats > from the Windows boxes. I use Patrick Proys Perl Plugins ( http://www.manubulon.com/nagios/ ) check_snmp_int.pl works great. Use the Option -f to enable Perfdata Output. The PNP template check_snmp_int.pl will be available in pnp-0.2.6 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 bilo at gmx.it Thu Nov 9 10:22:48 2006 From: bilo at gmx.it (Danilo) Date: Thu, 9 Nov 2006 10:22:48 +0100 Subject: NagiosGrapher problem Message-ID: <739399111.20061109102248@gmx.it> Hello nagios-users, I've installed NagiosGrapher, but, after having modified a script, I am getting error on the graph. Having a look to templateInfo on the graph page it seems that de template used by NagiosGrapher has been doubled. For Example: this is the ping template Define { graph_legend Loss graph_legend_eol none graph_log_regex loss = ([0-9]*) graph_units % graph_value Loss page 2 Loss rrd_color ff0000 rrd_plottype LINE2 service_name PING } define { graph_legend RTA graph_log_regex rta = ([0-9]*\.[0-9]*) graph_units ms graph_value RTA page 1 RTA rrd_color 00a000 rrd_plottype AREA service_name PING } define { graph_calc RTA,AVERAGE graph_legend RTA Average graph_legend_eol LEFT graph_value vdef_ping_average hide no page 1 RTA rrd_color 0000ff rrd_plottype LINE1 service_name PING type VDEF } define { graph_legend Loss graph_legend_eol none graph_log_regex loss = ([0-9]*) graph_units % graph_value Loss page 2 Loss rrd_color ff0000 rrd_plottype LINE2 service_name PING } define { graph_legend RTA graph_log_regex rta = ([0-9]*\.[0-9]*) graph_units ms graph_value RTA page 1 RTA rrd_color 00a000 rrd_plottype AREA service_name PING } define { graph_calc RTA,AVERAGE graph_legend RTA Average graph_legend_eol LEFT graph_value vdef_ping_average hide no page 1 RTA rrd_color 0000ff rrd_plottype LINE1 service_name PING type VDEF } As you can see it's not normal, and the graph won't be displayed. Where NagiosGrapher save this template (the original chekc_ping is of course ok)? Thanks Danilo ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mstreb at netways.de Thu Nov 9 10:32:52 2006 From: mstreb at netways.de (Michael Streb) Date: Thu, 09 Nov 2006 10:32:52 +0100 Subject: NagiosGrapher problem In-Reply-To: <739399111.20061109102248@gmx.it> References: <739399111.20061109102248@gmx.it> Message-ID: Hello Danilo, Could you please report the whole error description from the graph output ? Thanks a lot. Michael On 09.11.2006 10:22 Uhr, "Danilo" wrote: > Hello nagios-users, > > > I've installed NagiosGrapher, but, after having modified a script, I > am getting error on the graph. > > Having a look to templateInfo on the graph page it seems that de > template used by NagiosGrapher has been doubled. > > For Example: > > this is the ping template > > > Define { > graph_legend Loss > graph_legend_eol none > graph_log_regex loss = ([0-9]*) > graph_units % > graph_value Loss > page 2 Loss > rrd_color ff0000 > rrd_plottype LINE2 > service_name PING > } > > define { > graph_legend RTA > graph_log_regex rta = ([0-9]*\.[0-9]*) > graph_units ms > graph_value RTA > page 1 RTA > rrd_color 00a000 > rrd_plottype AREA > service_name PING > } > > define { > graph_calc RTA,AVERAGE > graph_legend RTA Average > graph_legend_eol LEFT > graph_value vdef_ping_average > hide no > page 1 RTA > rrd_color 0000ff > rrd_plottype LINE1 > service_name PING > type VDEF > } > > define { > graph_legend Loss > graph_legend_eol none > graph_log_regex loss = ([0-9]*) > graph_units % > graph_value Loss > page 2 Loss > rrd_color ff0000 > rrd_plottype LINE2 > service_name PING > } > > define { > graph_legend RTA > graph_log_regex rta = ([0-9]*\.[0-9]*) > graph_units ms > graph_value RTA > page 1 RTA > rrd_color 00a000 > rrd_plottype AREA > service_name PING > } > > define { > graph_calc RTA,AVERAGE > graph_legend RTA Average > graph_legend_eol LEFT > graph_value vdef_ping_average > hide no > page 1 RTA > rrd_color 0000ff > rrd_plottype LINE1 > service_name PING > type VDEF > } > > > > > As you can see it's not normal, and the graph won't be displayed. > > > Where NagiosGrapher save this template (the original chekc_ping is > of course ok)? > > > Thanks > > Danilo > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Streb NETWAYS GmbH Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-35 mstreb at netways.de http://www.netways.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bilo at gmx.it Thu Nov 9 10:47:46 2006 From: bilo at gmx.it (Danilo) Date: Thu, 9 Nov 2006 10:47:46 +0100 Subject: NagiosGrapher problem In-Reply-To: References: <739399111.20061109102248@gmx.it> Message-ID: <416074891.20061109104746@gmx.it> Hello Michael, Thursday, November 9, 2006, 10:32:52 AM, you wrote: MS> Could you please report the whole error description from the graph output ? Thanks a lot for your fast answer .... Attached the image of the error that appear when "click" on the graph icon The "check_ping.ncfg" file is the original one. Ciao Danilo -------------- next part -------------- A non-text attachment was scrubbed... Name: ng.JPG Type: image/pjpeg Size: 38373 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 mstreb at netways.de Thu Nov 9 11:02:45 2006 From: mstreb at netways.de (Michael Streb) Date: Thu, 09 Nov 2006 11:02:45 +0100 Subject: NagiosGrapher problem In-Reply-To: <416074891.20061109104746@gmx.it> References: <416074891.20061109104746@gmx.it> Message-ID: Hello Danilo, the ds_name/template has to be configured twice somewhere, i think you have to go through your cfg_dir`s and search for the doubled entries. Best regards, Michael On 09.11.2006 10:47 Uhr, "Danilo" wrote: > Hello Michael, > > Thursday, November 9, 2006, 10:32:52 AM, you wrote: > > MS> Could you please report the whole error description from the graph output > ? > > > Thanks a lot for your fast answer .... > > Attached the image of the error that appear when "click" on the graph > icon > > > The "check_ping.ncfg" file is the original one. > > > Ciao > > Danilo > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Streb NETWAYS GmbH Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-35 mstreb at netways.de http://www.netways.de ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bilo at gmx.it Thu Nov 9 11:15:57 2006 From: bilo at gmx.it (Danilo) Date: Thu, 9 Nov 2006 11:15:57 +0100 Subject: NagiosGrapher problem In-Reply-To: References: <416074891.20061109104746@gmx.it> Message-ID: <7810697288.20061109111557@gmx.it> Hello Michael, Thursday, November 9, 2006, 11:02:45 AM, you wrote: MS> the ds_name/template has to be configured twice somewhere, i think you have MS> to go through your cfg_dir`s and search for the doubled entries. You're right Michael. Thanks a lot I didn't know that NagiosGrapher search for ngraph.d/standard directory and also subdirectory I copied the original script in a subdirectory under ngraph.d/standard and this doubled the template.. Thanks again Danilo ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spdesai at gnvfc.net Thu Nov 9 11:38:47 2006 From: spdesai at gnvfc.net (spdesai at gnvfc.net) Date: Thu, 9 Nov 2006 16:08:47 +0530 Subject: Fwd: Multiple host in hosts.cfg Message-ID: <1163068727.45530537318d0@mail.gnvfc.net> Hello, can i have multiple host(for exa: 192.168.10.0/24 or 192.168.10.1- 192.168.10.255) in address field in hosts.cfg file ? my hosts.cfg file is as per below define host{ use generic-host ; Name of host template to use host_name LAN contact_groups GNFC-Admin alias Workstation address 192.168.10.63,192.168.10.71,192.168.10.92 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } but it giving error like "1163068098] SERVICE ALERT: LAN;SMTP;UNKNOWN;HARD;1;check_smtp: Invalid hostname/address - 192.168.10.63,192.168.10.71,192.168.10.92" or is their any facility in nagios to auto-detect new inserted devices ? thanks in advace suhag desai ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ----- End forwarded message ----- ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 9 12:04:42 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Thu, 9 Nov 2006 12:04:42 +0100 Subject: Fwd: Multiple host in hosts.cfg Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F6222D@cmgexcdc01.CMG.local> Firstly, and I've seen this a couple of times in the last few days with different users - simply re-posting the same question just a few hours after the original post isn't likely to get you results. And it is generally considered bad netiquette. I seldom complain, but having had this feeling of deja-vu the second time round in the last few days I thought I'd mention it. My guess is that many people on the mailing list increasingly ignore people who double post questions when they don't get a reply. > > Hello, > > can i have multiple host(for exa: 192.168.10.0/24 or 192.168.10.1- > 192.168.10.255) in address field in hosts.cfg file ? > > my hosts.cfg file is as per below > > define host{ > use generic-host ; > Name of host > template to use > > host_name LAN > contact_groups GNFC-Admin > alias Workstation > address > 192.168.10.63,192.168.10.71,192.168.10.92 > check_command check-host-alive > max_check_attempts 10 > notification_interval 120 > notification_period 24x7 > notification_options d,u,r > } > > but it giving error like "1163068098] SERVICE ALERT: > LAN;SMTP;UNKNOWN;HARD;1;check_smtp: Invalid hostname/address > - 192.168.10.63,192.168.10.71,192.168.10.92" > "Invalid hostname/address" is the clue here... Oh and look, it references your comma separated address entry... Surely that means... Seems to me that Nagios is giving you a straight answer to your question. The syntax is not correct, you must have a single IP address defined for a host. A host is a container for a single host (I believe there are plugins available to define a second IP for the same host, but that isn't what you are looking for). > or is their any facility in nagios to auto-detect new > inserted devices ? > Not built in, but www.nagiosexchange.org is your friend. I came across this after thirty seconds of searching (considerably shorter than it took me to write this reply): http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[ p_view]=277 It might be what you're looking for. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spdesai at gnvfc.net Thu Nov 9 12:16:03 2006 From: spdesai at gnvfc.net (spdesai at gnvfc.net) Date: Thu, 9 Nov 2006 16:46:03 +0530 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F6222D@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F6222D@cmgexcdc01.CMG.local> Message-ID: <1163070963.45530df358c3b@mail.gnvfc.net> Hello thanks for your reply, let me clear that i have posted this messge today only once, now get back to the point, I have found that we can add multiple host in hosts.cfg from below nagios FAQ, http://www.nagios.org/faqs/viewfaq.php?faq_id=146&expand=false&showdesc=false Title: Can I specify multiple addresses for a host? FAQ ID: F0146 Submitted By: Ethan Galstad Last Updated: 02/25/2003 Description: User would like to specify multiple addresses for a single host in their configuration file. This is often useful for devices that have multiple interfaces (routers, multi-homed hosts, etc.). Solution: Yes, you can define multiple address for a host. In fact, you can add anything you want for a host address. You can specify an IP address, MAC address, GPS coordinates, etc. Nagios does not directly interpret a host's address (or addresses), so you can do pretty much anything you want. Nagios simply passes this address to plugins and external commands via the $HOSTADDRESS$ macro. You'll have to make sure that you host check command (and possibly service checks, etc.) can understand the format of your host's address in order to check it though. If you want to specify multiple IP addresses for a host, you might use something like this in the address directive of the host definition: 192.168.1.1,192.168.1.2 Nagios is designed to treat hosts (as well as services) in an abstract manner. Here's one valid example of a "host" you could monitor... Let's say you have a cat named Nightmare. Nightmare wears an RFID tag on his collar (claw attacks in the middle of the night have left you emotionally scarred and you want to track him). The asset number stored in that RFID tag is what we'll use as cat's "address". How do we check the status of the host (i.e. is the rascal still moving)? Hmmm... Well, we could create a host check command that sent out a radio-controlled Lego Mindstorm with an RFID locater that either a) prodded the cat or b) dangled some catnip in the air when it was in close proximity to the little devil. If the cat meowed, pounced, or just moved we could safely say the cat was still in good shape. And you thought you could only monitor network devices... Quoting Giles Coochey : > Firstly, and I've seen this a couple of times in the last few days with > different users - simply re-posting the same question just a few hours > after the original post isn't likely to get you results. And it is > generally considered bad netiquette. > > I seldom complain, but having had this feeling of deja-vu the second > time round in the last few days I thought I'd mention it. My guess is > that many people on the mailing list increasingly ignore people who > double post questions when they don't get a reply. > > > > > > Hello, > > > > can i have multiple host(for exa: 192.168.10.0/24 or 192.168.10.1- > > 192.168.10.255) in address field in hosts.cfg file ? > > > > my hosts.cfg file is as per below > > > > define host{ > > use generic-host ; > > Name of host > > template to use > > > > host_name LAN > > contact_groups GNFC-Admin > > alias Workstation > > address > > 192.168.10.63,192.168.10.71,192.168.10.92 > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,u,r > > } > > > > but it giving error like "1163068098] SERVICE ALERT: > > LAN;SMTP;UNKNOWN;HARD;1;check_smtp: Invalid hostname/address > > - 192.168.10.63,192.168.10.71,192.168.10.92" > > > > "Invalid hostname/address" is the clue here... Oh and look, it > references your comma separated address entry... Surely that means... > > Seems to me that Nagios is giving you a straight answer to your > question. The syntax is not correct, you must have a single IP address > defined for a host. A host is a container for a single host (I believe > there are plugins available to define a second IP for the same host, but > that isn't what you are looking for). > > > or is their any facility in nagios to auto-detect new > > inserted devices ? > > > > Not built in, but www.nagiosexchange.org is your friend. > > I came across this after thirty seconds of searching (considerably > shorter than it took me to write this reply): > > http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[ > p_view]=277 > > It might be what you're looking for. > > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanleyhopcroft at gmail.com Wed Nov 8 06:14:36 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Wed, 8 Nov 2006 16:14:36 +1100 Subject: Script returns "No Output" In-Reply-To: References: Message-ID: Dear Folks, Starting with the early 2.x releases there is a better mouse trap called 'new_mini_epn' (thoughtfully stuffed by RedHat in /usr/bin) On 08/11/06, Janet Post wrote: > WOW!!! > > Thanks Patrick! I will definitely use this tool! > > (and I fixed the -1 thing. Good catch.) > new_mini_epn not only embeds Perl and a facsimile of the Nagios service check running, it also embeds the Perl Term::ReadLine module (if your system has it) so on some systems at least you get file name complettion and command history. (Both mini_epns SEGV if there is not a p1.pl in the cwd. eg cd /usr/bin before running it) eg [root at acisf011 bin]# new_mini_epn plugin command line: /usr/lib/nagios/plugins/check_routes -R 10.0.255.3 embedded perl plugin return code and output was: 1 & WARNING. Failed to find expected routes in the route table of 10.0.255.3: missing routes to Adelaide Albany Brisbane1 Brisbane2 Bunbury Darwin Gympie Hobart Mackay Perth Thursday Toowoomba. plugin command line: That's all folks. [root at acisf011 bin]# Since I like embedded Perl, I find these tools very useful (recommend that you develop with -w and use strict;) ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 9 12:32:16 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Thu, 9 Nov 2006 12:32:16 +0100 Subject: Fwd: Multiple host in hosts.cfg Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> > -----Original Message----- > From: spdesai at gnvfc.net [mailto:spdesai at gnvfc.net] > Sent: 09 November 2006 12:16 > To: Giles Coochey > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Fwd: Multiple host in hosts.cfg > > Hello > > thanks for your reply, let me clear that i have posted this > messge today only once, > > now get back to the point, > > I have found that we can add multiple host in hosts.cfg from > below nagios FAQ, > > http://www.nagios.org/faqs/viewfaq.php?faq_id=146&expand=false > &showdesc=false > > Hi Suhag, While you can use any string for the host address you can then only use check plugins that will handle multiple addresses. The SMTP plugin you are using does not seem to handle the comma seperated list, hence your error. The concept that a host is a host and not a network or subnet of hosts still holds true. In my opinion, Nagios is an open box of tricks, so it is very 'hackable' as to what you can do. You will therefore see a lot of documentation and tips about being able to do things in an unexpected way. You should bear in mind that hacking around may lead you into problems that you will generally have to solve yourself. If you're not sure what's going on in the background then I would recommend writing individual host definitions for your hosts and generally keep to the examples and way of doing things that you see in the example configuration files and other documentation. To fix your problem with the SMTP service in particular would be to write a wrapper script for the SMTP plugin to run it twice or more times (once for each host in the comma seperated list) and generate critical errors when the service is down on all hosts and warnings when the service is down on one or more hosts, or even generate perf data to say how many hosts have the service up/down. Of course, that would just be for one type of implementation and may not suit your needs. How you do that is down to you, and there may well be tools to assist you on www.nagiosexchange.org in that. However, you will not be able to 'just' add a PING or other service check to that host in the future, as you have 'hacked' the address entry in the host definition to specifically only work with your wrapper, or other plugins that support that. Hope that clarifies things a little. Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 9 12:49:04 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Thu, 9 Nov 2006 12:49:04 +0100 Subject: timeouts when using secondary dns Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62236@cmgexcdc01.CMG.local> ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of stucky Sent: 07 November 2006 00:21 To: nagios Subject: [Nagios-users] timeouts when using secondary dns Guys I use the check_by_ssh plugin for most of my stuff and I noticed that if the primary nameserver is unavailable nagios starts freaking out. All of a sudden all plugins time out. I tested it using the 'host' command and it only takes about 1 second longer to lookup hosts using the secondary nameserver. The default timeout for check_by_ssh is 10 seconds. I cranked it up to 30 and still I get timeouts. I'm not sure I understand that one. Has anyone else seen this. A bit of a guess, but is this something to do with the SSH host signatures, perhaps ssh only checks the host signature for the hostname and if that fails it checks the host signature for the IP address. If you don't have that signature for the IP address in your known_hosts file ssh might timeout indefinately within the plugin execution. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iamcxcx at gmail.com Thu Nov 9 13:00:53 2006 From: iamcxcx at gmail.com (Cx Cx) Date: Thu, 9 Nov 2006 14:00:53 +0200 Subject: NDOUtils on x86_64 Compile Error Message-ID: <74aaceb00611090400g66ce1392i9b95aa5ea2f0379c@mail.gmail.com> Hi List, Sorry if this is a report, I have searched the lists and cant fond an answer to the following: I am trying to compile the NDOutils 1.3.1 on and x86_64 platform and get the following error: make[2]: Entering directory `/tmp/nagios/ndoutils-1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl /usr/bin/ld: io.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC io.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [ndomod-2x.o] Error 1 make[2]: Leaving directory `/tmp/nagios/ndoutils-1.3.1/src' make[1]: *** [ndomod] Error 2 make[1]: Leaving directory `/tmp/nagios/ndoutils-1.3.1/src' Has any1 got any ideas what might be causing this error and how to correct it? Thanks Craig -------------- 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 thiagodasilveira at gmail.com Thu Nov 9 13:30:58 2006 From: thiagodasilveira at gmail.com (Thiago da Silveira) Date: Thu, 9 Nov 2006 10:30:58 -0200 Subject: Problems with new hosts Message-ID: <7b8868150611090430u795ecaf9w3dafdf05d0cbc90a@mail.gmail.com> Good Morning! I?m having problems with new hosts that I recently add in my conf files. The hosts just appears sometimes in the nagios web interface, so I have to press F5 and cross my fingers.... It?s so strange. I don't know if there is something about the authentication in cgi, because these problems starts when I enable it, so all the hosts that I add before this change has this problem. I try to disable the authentication, but the problem consists. Thanks! -- Thiago da Silveira thiagodasilveira at gmail.com -------------- 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 GilesC at CarmenMedia.com Thu Nov 9 13:52:15 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Thu, 9 Nov 2006 13:52:15 +0100 Subject: Problems with new hosts Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62246@cmgexcdc01.CMG.local> Good Morning! I?m having problems with new hosts that I recently add in my conf files. The hosts just appears sometimes in the nagios web interface, so I have to press F5 and cross my fingers.... It?s so strange. I don't know if there is something about the authentication in cgi, because these problems starts when I enable it, so all the hosts that I add before this change has this problem. I try to disable the authentication, but the problem consists. Thanks! -- Thiago da Silveira thiagodasilveira at gmail.com Hi Thiago, Check how many nagios processes you have. This behaviour is sometimes caused by nagios not shutting down correctly when you restart it and you have a nagios process running with a cached old configuration in it. I also stop nagios, check it has stopped then restart it to avoid this problem. Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiagodasilveira at gmail.com Thu Nov 9 14:19:41 2006 From: thiagodasilveira at gmail.com (Thiago da Silveira) Date: Thu, 9 Nov 2006 11:19:41 -0200 Subject: Problems with new hosts In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F62246@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F62246@cmgexcdc01.CMG.local> Message-ID: <7b8868150611090519j6459b2fdo55f18cca71745b8e@mail.gmail.com> Hi Giles! Thanks for the help. The problem was really it. C ya. On 11/9/06, Giles Coochey wrote: > > > > Good Morning! > > I?m having problems with new hosts that I recently add in my conf > files. > > The hosts just appears sometimes in the nagios web interface, so I > have to press F5 and cross my fingers.... It?s so strange. > > I don't know if there is something about the authentication in cgi, > because these problems starts when I enable it, so all the hosts that I add > before this change has this problem. > > I try to disable the authentication, but the problem consists. > > Thanks! > -- > Thiago da Silveira > thiagodasilveira at gmail.com > > Hi Thiago, > > Check how many nagios processes you have. > > This behaviour is sometimes caused by nagios not shutting down correctly > when you restart it and you have a nagios process running with a cached old > configuration in it. > > I also stop nagios, check it has stopped then restart it to avoid this > problem. > > Thanks > > Giles > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > -- Thiago da Silveira thiagodasilveira at gmail.com -------------- 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 GilesC at CarmenMedia.com Thu Nov 9 14:39:07 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Thu, 9 Nov 2006 14:39:07 +0100 Subject: NDOUtils on x86_64 Compile Error Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F6224C@cmgexcdc01.CMG.local> Hi List, Sorry if this is a report, I have searched the lists and cant fond an answer to the following: I am trying to compile the NDOutils 1.3.1 on and x86_64 platform and get the following error: make[2]: Entering directory `/tmp/nagios/ndoutils- 1.3.1/src' gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl /usr/bin/ld: io.o: relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC io.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [ndomod-2x.o] Error 1 make[2]: Leaving directory `/tmp/nagios/ndoutils-1.3.1/src' make[1]: *** [ndomod] Error 2 make[1]: Leaving directory `/tmp/nagios/ndoutils- 1.3.1/src' Has any1 got any ideas what might be causing this error and how to correct it? Thanks Craig I have not compiled or used ndoutils in the past, but I do have a x64 platform and I tried to compile it just now. I get the exact same error on a Gentoo x64 system. Try: ./configure --build=i386 --host=i386 --libdir=/usr/lib32 CFLAGS="-fPIC" Then "make" and you go. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 9 14:44:05 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Thu, 9 Nov 2006 14:44:05 +0100 Subject: NDOUtils on x86_64 Compile Error Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F6224D@cmgexcdc01.CMG.local> > Try: > > ./configure --build=i386 --host=i386 --libdir=/usr/lib32 > CFLAGS="-fPIC" > > Then "make" and you go. > Sorry - replying to my own post, I reached those by experimentation, and now find that: ./configure CFLAGS="-fPIC" Works just the same. Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From iamcxcx at gmail.com Thu Nov 9 15:01:07 2006 From: iamcxcx at gmail.com (Cx Cx) Date: Thu, 9 Nov 2006 16:01:07 +0200 Subject: NDOUtils on x86_64 Compile Error In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F6224C@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F6224C@cmgexcdc01.CMG.local> Message-ID: <74aaceb00611090601x1ec26d21sf35ccf066576d554@mail.gmail.com> *Emails a bottle of champaign to Giles* Thx man, I checked your configure command and used the following and it worked. ./configure --enable-mysql --with-mysql-lib=/usr/lib64/mysql --disable-pgsql CFLAGS="-fPIC" I am compiling for MySQL support only with this command. Thx again!!!! Craig On 11/9/06, Giles Coochey wrote: > > > > Hi List, > > Sorry if this is a report, I have searched the lists and cant > fond an answer to the following: > > I am trying to compile the NDOutils 1.3.1 on and x86_64 platform > and get the following error: > > make[2]: Entering directory `/tmp/nagios/ndoutils- 1.3.1/src' > gcc -fPIC -g -O2 -DHAVE_CONFIG_H -D BUILD_NAGIOS_2X -o > ndomod-2x.o ndomod.c io.o utils.o -shared -lnsl > /usr/bin/ld: io.o: relocation R_X86_64_32 against `a local > symbol' can not be used when making a shared object; recompile with > -fPIC > io.o: could not read symbols: Bad value > collect2: ld returned 1 exit status > make[2]: *** [ndomod-2x.o] Error 1 > make[2]: Leaving directory `/tmp/nagios/ndoutils-1.3.1/src' > make[1]: *** [ndomod] Error 2 > make[1]: Leaving directory `/tmp/nagios/ndoutils- 1.3.1/src' > > > Has any1 got any ideas what might be causing this error and how > to correct it? > > Thanks > > Craig > > > I have not compiled or used ndoutils in the past, but I do have a x64 > platform and I tried to compile it just now. > > I get the exact same error on a Gentoo x64 system. > > Try: > > ./configure --build=i386 --host=i386 --libdir=/usr/lib32 CFLAGS="-fPIC" > > Then "make" and you go. > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > -------------- 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 ae at op5.se Thu Nov 9 16:44:00 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Nov 2006 16:44:00 +0100 Subject: NDOUtils on x86_64 Compile Error In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F6224D@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F6224D@cmgexcdc01.CMG.local> Message-ID: <45534CC0.8070708@op5.se> Giles Coochey wrote: >> Try: >> >> ./configure --build=i386 --host=i386 --libdir=/usr/lib32 >> CFLAGS="-fPIC" >> >> Then "make" and you go. >> > > Sorry - replying to my own post, I reached those by experimentation, and > now find that: > > ./configure CFLAGS="-fPIC" > > Works just the same. > I would imagine they should. The other flags will almost certainly be autodetected as required. I would expect nearly all module code to require either -fpic or -fPIC to be defined. The option flag is an acronym for Position Independent Code, meaning the linker shouldn't try to make assumptions on where function pointers inside the resulting module should reside based on their relative position to anything else in the object-code. -fPIC implies -mlarge-data and should be used to generate pic code where any of its segments are above a certain threshold in size (generally 64KiB on x86). -fpic generally makes for smaller and faster code, but can't be used when any of the structures pulled from the "mother-ship" (the program loading the module) is larger than the architecture-specific threshold for "one code-page". -fpic implies -msmall-data. What happens if you use "CFLAGS=-fpic" instead? If it works, it should create binaries that run slightly faster and with a smaller memory footprint, although with the constraints mentioned above. On a side-note, being able to write emails on a train isn't necessarily a good thing. The amount of junk output one produces when bored is nothing short of astonishing. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 webtent.net Thu Nov 9 17:01:02 2006 From: lists at webtent.net (Robert Fitzpatrick) Date: Thu, 09 Nov 2006 11:01:02 -0500 Subject: check_by_ssh Message-ID: <1163088062.10077.41.camel@columbus.webtent.org> Trying to use check_by_ssh and can't seem to get the -C argument right. I am getting a WARNING with this: Bad escape character ' 60 -F /var/spool/nagios/nagios.log -C /usr/local/bin/nagios' This is the way I have my checkcommand and service setup, I tried without the single quotes and it gave me an UNKNOWN error. I also tried breaking the check_by_ssh arguments up into three checkcommand arguments and tried passing three different arguments with the service, no help. # 'check_by_ssh' command definition define command{ command_name check_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C '$ARG1$' } define service{ use generic-service hostgroup_name nagios-servers service_description NAGIOS contact_groups admins check_command check_by_ssh!-e 60 -F /var/spool/nagios/nagios.log -C/usr/local/bin/nagios } When I run from the command line, all works. This is the first time I've tried to use check_by_ssh, would appreciate some guidance. Thanks in advance! -- Robert ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 9 17:51:12 2006 From: marc at ena.com (Marc Powell) Date: Thu, 9 Nov 2006 10:51:12 -0600 Subject: check_by_ssh Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Fitzpatrick > Sent: Thursday, November 09, 2006 10:01 AM > To: Nagios > Subject: [Nagios-users] check_by_ssh > > Trying to use check_by_ssh and can't seem to get the -C argument right. > I am getting a WARNING with this: > > Bad escape character ' 60 -F /var/spool/nagios/nagios.log -C > /usr/local/bin/nagios' > > This is the way I have my checkcommand and service setup, I tried > without the single quotes and it gave me an UNKNOWN error. I also tried > breaking the check_by_ssh arguments up into three checkcommand arguments > and tried passing three different arguments with the service, no help. > > # 'check_by_ssh' command definition > define command{ > command_name check_by_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C '$ARG1$' > } > > define service{ > use generic-service > hostgroup_name nagios-servers > service_description NAGIOS > contact_groups admins > check_command check_by_ssh!-e 60 -F > /var/spool/nagios/nagios.log -C/usr/local/bin/nagios > } > > When I run from the command line, all works. This is the first time I've > tried to use check_by_ssh, would appreciate some guidance. You must be running something different from the command line as the above could never work. Check_by_ssh is expecting -C to be a full path and command to run on a remote host. I'm doing the same kind of thing with -- define command { command_name check_nagios command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C "/usr/local/nagios/libexec/check_nagios /usr/local/nagios/var/status.dat 5 'bin/nagios'" } You're telling it to run the command "-e 60 -F ..." on the remote host which isn't valid and since it starts with '-e' that check_by_ssh is going to interpret that as an option to itself. HTH -- 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 gavin.conway at uksolutions.co.uk Thu Nov 9 17:52:46 2006 From: gavin.conway at uksolutions.co.uk (Gavin Conway) Date: Thu, 09 Nov 2006 16:52:46 +0000 Subject: check_by_ssh In-Reply-To: <1163088062.10077.41.camel@columbus.webtent.org> References: <1163088062.10077.41.camel@columbus.webtent.org> Message-ID: <45535CDE.3040207@uksolutions.co.uk> > # 'check_by_ssh' command definition > define command{ > command_name check_by_ssh > } > This doesn't look right; > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C "$ARG1$" This does -- Cheers, Gavin UKS Ltd, Birmingham Road, Studley, Warwickshire, B80 7BG Tel: 08700 681 333 - Fax: 01527 851 301 - AS: 20547 gavin.conway at uksolutions.co.uk - www.uksolutions.co.uk - Please, consider the environment before printing this email - ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stucky101 at gmail.com Thu Nov 9 18:57:24 2006 From: stucky101 at gmail.com (stucky) Date: Thu, 9 Nov 2006 09:57:24 -0800 Subject: timeouts when using secondary dns In-Reply-To: <45505EF7.2020402@whoever.org> References: <30997e260611061521w6588ce27r2935dc7a9cdc325c@mail.gmail.com> <45505EF7.2020402@whoever.org> Message-ID: <30997e260611090957j6ccc351fif1b89b8f655c6@mail.gmail.com> Yey !! That totally did it. Thx AZ I hadn't even considered messing with the resolver cuz I was sure it was a nagios issue so I had to fix nagios. If that wasn't a text book example of how well mailinglists can work then I don't know what is... thx On 11/7/06, Az wrote: > > stucky wrote: > > I use the check_by_ssh plugin for most of my stuff and I noticed that > > if the primary nameserver is unavailable nagios starts freaking out. > > All of a sudden all plugins time out. I tested it using the 'host' > > command and it only takes about 1 second longer to lookup hosts using > > the secondary nameserver. > > The default timeout for check_by_ssh is 10 seconds. I cranked it up to > > 30 and still I get timeouts. I'm not sure I understand that one. > > Has anyone else seen this. > We had a similar issue in that our primary DNS was doing strange things, > and it quite often took 5 or even 10 seconds to perform a DNS lookup. > What we were seeing was 70% of service checks (and subsequently host > checks) failing by timing out. The key was the multiple of 5 seconds. > The resolver timeout on, say, RHEL3 is based on RES_TIMEOUT in > resolv.h... which was 5 seconds. > > We added the following to our resolv.conf, and found the problems went > away: > > options timeout:2 rotate > > This sets the timeout for waiting for a reply to 2 seconds, and tells > the resolve to rotate through your 'nameserver' entries rather than > always hitting #1, then #2, etc. > > Cheers. > > > > > -- stucky -------------- 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 lists at webtent.net Thu Nov 9 20:11:24 2006 From: lists at webtent.net (Robert Fitzpatrick) Date: Thu, 09 Nov 2006 14:11:24 -0500 Subject: check_by_ssh In-Reply-To: References: Message-ID: <1163099484.10077.71.camel@columbus.webtent.org> On Thu, 2006-11-09 at 10:51 -0600, Marc Powell wrote: > You must be running something different from the command line as the > above could never work. Check_by_ssh is expecting -C to be a full path > and command to run on a remote host. I'm doing the same kind of thing > with -- Yes, I was running the check_nagios on the remote server. > > > define command { > command_name check_nagios > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ > -C "/usr/local/nagios/libexec/check_nagios > /usr/local/nagios/var/status.dat 5 'bin/nagios'" > } > > You're telling it to run the command "-e 60 -F ..." on the remote host > which isn't valid and since it starts with '-e' that check_by_ssh is > going to interpret that as an option to itself. > Thanks! Got it working and now trying to add another server to the hostgroup. Unbelievably, it works from the command line, but reports 'Host key verification failed' in the log and sends notifications. I run this from the command line and it works with no password required... genoa# /usr/local/libexec/nagios/check_by_ssh -H -l -i -C "/usr/local/libexec/nagios/check_nagios /var/spool/nagios/status.dat 5 '/usr/local/bin/nagios'" NAGIOS OK: 1 process, status log updated 5 seconds ago genoa# tail -1 /var/spool/nagios/nagios.log [1163098643] SERVICE ALERT: esmtp-ky;NAGIOS;WARNING;HARD;3;Host key verification failed. Here is the setup, the esmtp host is working fine and reporting OK: define hostgroup{ hostgroup_name nagios-servers alias Nagios Servers members esmtp,esmtp-ky } define host{ use generic-host ; Name of host template to use host_name esmtp-ky alias KY Mail Gateway address } How is this possible? Both remote servers have the same key in their authorized_keys file and like you can see from above, it works from the command line flawlessly :( -- Robert ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Nov 9 20:18:56 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 09 Nov 2006 20:18:56 +0100 Subject: check_by_ssh In-Reply-To: <1163099484.10077.71.camel@columbus.webtent.org> References: <1163099484.10077.71.camel@columbus.webtent.org> Message-ID: <45537F20.2090302@op5.se> Robert Fitzpatrick wrote: > On Thu, 2006-11-09 at 10:51 -0600, Marc Powell wrote: >> You must be running something different from the command line as the >> above could never work. Check_by_ssh is expecting -C to be a full path >> and command to run on a remote host. I'm doing the same kind of thing >> with -- > Yes, I was running the check_nagios on the remote server. > >> >> define command { >> command_name check_nagios >> command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ >> -C "/usr/local/nagios/libexec/check_nagios >> /usr/local/nagios/var/status.dat 5 'bin/nagios'" >> } >> >> You're telling it to run the command "-e 60 -F ..." on the remote host >> which isn't valid and since it starts with '-e' that check_by_ssh is >> going to interpret that as an option to itself. >> > Thanks! Got it working and now trying to add another server to the > hostgroup. Unbelievably, it works from the command line, but reports > 'Host key verification failed' in the log and sends notifications. I run > this from the command line and it works with no password required... > > genoa# /usr/local/libexec/nagios/check_by_ssh -H -l -i -C "/usr/local/libexec/nagios/check_nagios /var/spool/nagios/status.dat 5 '/usr/local/bin/nagios'" > NAGIOS OK: 1 process, status log updated 5 seconds ago > genoa# tail -1 /var/spool/nagios/nagios.log > [1163098643] SERVICE ALERT: esmtp-ky;NAGIOS;WARNING;HARD;3;Host key verification failed. > If this is a cut 'n paste, you're running the commands from command-line as root, while Nagios is running as a pseudo-user and thus uses a different ~/.ssh/id_[rd]sa.pub Always, always, always run things from command-line as the same user nagios runs as. Can't be iterated enough, really. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Thu Nov 9 21:13:40 2006 From: magic.rooter at gmail.com ( magic_rooter) Date: Thu, 9 Nov 2006 23:13:40 +0300 Subject: Another one statusmap.cgi needed Message-ID: <989aee610611091213g10929865j15b405d045283faf@mail.gmail.com> Hello everyone! The problem is in self-made( user-supplied) map.I have very many hosts in my network. More than 1000. And it is not the limit. There is no place on the screen for the half of my hosts! On the circular maps objects gather in non-readable heap. On the balanced tree map for example the page is very long. I have to scroll a lot to reach the right (left) corner of my network. I have the task from my boss - to draw our own map, in order to see all of the monitored hosts and routers on the screen WITHOUT scrolling and large heap, where we see almost nothing. It is very important for comfortable monitoring in our enterprise. So, what I need? I need to make something like hyperlink to another web page with statusmap. For example, from main router to its subnetwork, which is large. So have I to create another map? But how? Statusmap is the cgi program, not html page By another words I want to have some more layout methods except already existing. Where these layers are described in Nagios? Can I add my own methods (in other words - my additional maps) somewhere? Or the only way is to insert changes to the source code of statusmap.cgi? Is it available for us, nagios administrators? Help me please, you are the last hope:(. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 9 21:23:57 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 9 Nov 2006 12:23:57 -0800 Subject: Another one statusmap.cgi needed In-Reply-To: <989aee610611091213g10929865j15b405d045283faf@mail.gmail.com> References: <989aee610611091213g10929865j15b405d045283faf@mail.gmail.com> Message-ID: <20061109202357.GD17454@pmorris.usa.hp.com> On Thu, 09 Nov 2006, magic_rooter wrote: > I have the task from my boss - to draw our own map, in order to see > all of the monitored hosts and routers on the screen WITHOUT scrolling > and large heap, where we see almost nothing. It is very important for > comfortable monitoring in our enterprise. > > So, what I need? > I need to make something like hyperlink to another web page with > statusmap. For example, from main router to its subnetwork, which is > large. > So have I to create another map? But how? Statusmap is the cgi > program, not html page It sounds like you want the "Depth Layers" mode to be your default. You can set that in cgi.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 AHKAPLAN at PARTNERS.ORG Thu Nov 9 21:36:12 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 9 Nov 2006 15:36:12 -0500 Subject: Nagios 2.x and NRPE 1.x Message-ID: <9C63A4713C4E3342B90428CE44806A7302679A1B@PHSXMB5.partners.org> I don't know if this question has already been asked, so my apologies if I am repeating something: Is a Nagios 2.x server compatible with clients running NRPE 1.x? 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 magic.rooter at gmail.com Thu Nov 9 21:39:19 2006 From: magic.rooter at gmail.com ( magic_rooter) Date: Thu, 9 Nov 2006 23:39:19 +0300 Subject: Another one statusmap.cgi needed In-Reply-To: <989aee610611091236g702ed9edm80a048d293263e73@mail.gmail.com> References: <989aee610611091213g10929865j15b405d045283faf@mail.gmail.com> <20061109202357.GD17454@pmorris.usa.hp.com> <989aee610611091236g702ed9edm80a048d293263e73@mail.gmail.com> Message-ID: <989aee610611091239l1afd93e8g2569dec787cc6511@mail.gmail.com> 2 Patrick 2006/11/9, magic_rooter : > 2006/11/9, Patrick Morris : > > On Thu, 09 Nov 2006, magic_rooter wrote: > > > > > I have the task from my boss - to draw our own map, in order to see > > > all of the monitored hosts and routers on the screen WITHOUT scrolling > > > and large heap, where we see almost nothing. It is very important for > > > comfortable monitoring in our enterprise. > > > > > > So, what I need? > > > I need to make something like hyperlink to another web page with > > > statusmap. For example, from main router to its subnetwork, which is > > > large. > > > So have I to create another map? But how? Statusmap is the cgi > > > program, not html page > > > > It sounds like you want the "Depth Layers" mode to be your default. You > > can set that in cgi.cfg. > > > > No, I know the depth layer map and use it for another purposes. This > layer does not show as much objects as I need. For example, I have 4 > core routers, than everyone of them has 2 routers below. An so on. It > is not enouth for me. I need to have more large picture. Not the only > 4 routers, and then other layers below but the map with for example > 50-100 main routers and parent hosts. And then to make something like > a layer where and how I want > > The main idea - is to add where needed a hyperlink for large > subnetwork of this router (for about 500 hosts) in each one. Maybe > it can be pop-up window. > The main distinct is - no layers like in "depth layer map "(levels in > another words) on the same page, but something like hyperlink to > another page. > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.tjang at ask.com Thu Nov 9 22:11:29 2006 From: andrew.tjang at ask.com (Andrew Tjang) Date: Thu, 9 Nov 2006 16:11:29 -0500 Subject: Organization and host checks Message-ID: <8C338DAD92399E4188B567F5FB967A6302F82903@SITE2MAIL01.jeeves.ask.info> Hello all, I have a couple of questions about how nagios functions. How does nagios determine the host status? It seems that without any user intervention, host status changes from pending to "Up". I have no is_alive checks set. So shouldn't the host status remain pending until it receives information to the contrary? (I have passive checks set up, and another script generates the host state information). The only thing I can think of is that I've set all the host addresses to 127.0.0.1 (b/c i'm using passive checks, and not all hosts have a real IP anyway), and somehow nagios is sensing that localhost is up, and thus is setting the host status to Up. If this is the case, how do i disable this behavior? The second question I have is how to further organize hostgroups. I would like to use one nagios installation to monitor 2 sets of machines (each with their own list of hostgroups that might share the same namespace). What is the easiest way to segregate these sets of machines - perhaps on 2 hostgroup summary pages? Thanks in advance for your help! -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 andy.shellam-lists at mailnetwork.co.uk Thu Nov 9 22:57:49 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 09 Nov 2006 21:57:49 +0000 Subject: Looking-Glass Beta-testers: critical bug Message-ID: <4553A45D.1000207@mailnetwork.co.uk> Hi, To anyone who's testing Nagios Looking Glass 0.2.41, there is a bug in the code that denies all IPs access to the poller when $AllowedIPs is not set. It should be that when $AllowedIPs = Array(), any host is allowed a connection. To fix: In poller_s2.php, replace lines 22-26 (inclusive) with the following 9 lines: // First check the allowed list of IPs // BUG FIX FS#52 - only check the IPs if the array contains *some* IPs if (count($AllowedIPs) > 0) { if (!in_array($_SERVER['REMOTE_ADDR'], $AllowedIPs)) { $NLGPoller->CreateErrorToken("Host " . $_SERVER['REMOTE_ADDR'] . " is not allowed to connect to the poller"); } } It has also been discovered that NLG may not be compatible with Nagios 1.x - I'm investigating. Thanks, Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Thu Nov 9 23:01:04 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 09 Nov 2006 22:01:04 +0000 Subject: File formats between 1.x and 2.x Message-ID: <4553A520.4060607@mailnetwork.co.uk> Hi, The following is a file-list taken from a Nagios installation's ./var directory - I believe it is Nagios 1.x - can someone clarify? drwxrwxr-x 2 nagios nagios 4096 Nov 9 00:00 archives -rwxrwxr-x 1 nagios nagios 238 Nov 3 17:56 comment.log -rwxrwxr-x 1 nagios nagios 239 Nov 3 17:56 downtime.log -rwxrwxr-x 1 nagios nagios 1574 Nov 9 19:46 host-perfdata.dat -rw-r--r-- 1 nagios nagios 6 Nov 9 19:09 nagios.lock -rwxrwxr-x 1 nagios nagios 629203 Nov 9 19:45 nagios.log -rwxrwxr-x 1 nagios nagios 169090 Nov 9 19:09 objects.cache -rwxrwxr-x 1 nagios nagios 0 Nov 9 19:09 retention.dat drwxrwxr-x 2 nagios nagiocmd 4096 Nov 9 19:09 rw -rwxrwxr-x 1 nagios nagios 6302 Nov 9 19:46 service-perfdata.dat -rw-rw-r-- 1 nagios nagios 227505 Nov 9 19:46 status.log -rw------- 1 nagios nagios 239027 Nov 9 19:09 status.sav In comparison to my 2.5 installations ./var directory: -rw-rw-r-- 1 nagios nagios 500 Nov 8 22:45 comments.dat -rw-rw-r-- 1 nagios nagios 239 Nov 8 22:36 downtime.dat -rw-r--r-- 1 nagios nagios 5 Nov 8 22:36 nagios.lock -rw-rw-r-- 1 nagios nagios 0 Nov 8 22:36 nagios.log -rw-r--r-- 1 nagios nagios 45383 Nov 8 22:36 objects.cache -rw------- 1 nagios nagios 63927 Nov 9 21:36 retention.dat drwxrws--- 2 nagios nagcmd 4096 Nov 8 22:36 rw -rw-rw-r-- 1 nagios nagios 60676 Nov 9 21:59 status.dat In which version were the ".log" files dropped in favour of ".dat"? Are the .log files the same format as the current .dat files? Thanks, Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 9 23:25:42 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 10 Nov 2006 11:25:42 +1300 Subject: timeouts when using secondary dns In-Reply-To: <30997e260611090957j6ccc351fif1b89b8f655c6@mail.gmail.com> References: <30997e260611090957j6ccc351fif1b89b8f655c6@mail.gmail.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A252BD71@UXCHANGE3.UoA.auckland.ac.nz> We dealt with this by installing a local caching-only nameserver on the Nagios host itself. This also took a lot of the load off of the main nameservers. So, resolv.conf was set to use 127.0.0.1 by default and have our normal name servers as secondaries. A nice sideeffect was that it vastly sped up the name resolution. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of stucky Sent: Friday, 10 November 2006 6:57 a.m. To: Az Cc: nagios Subject: Re: [Nagios-users] timeouts when using secondary dns Yey !! That totally did it. Thx AZ I hadn't even considered messing with the resolver cuz I was sure it was a nagios issue so I had to fix nagios. If that wasn't a text book example of how well mailinglists can work then I don't know what is... thx On 11/7/06, Az wrote: stucky wrote: > I use the check_by_ssh plugin for most of my stuff and I noticed that > if the primary nameserver is unavailable nagios starts freaking out. > All of a sudden all plugins time out. I tested it using the 'host' > command and it only takes about 1 second longer to lookup hosts using > the secondary nameserver. > The default timeout for check_by_ssh is 10 seconds. I cranked it up to > 30 and still I get timeouts. I'm not sure I understand that one. > Has anyone else seen this. We had a similar issue in that our primary DNS was doing strange things, and it quite often took 5 or even 10 seconds to perform a DNS lookup. What we were seeing was 70% of service checks (and subsequently host checks) failing by timing out. The key was the multiple of 5 seconds. The resolver timeout on, say, RHEL3 is based on RES_TIMEOUT in resolv.h... which was 5 seconds. We added the following to our resolv.conf , and found the problems went away: options timeout:2 rotate This sets the timeout for waiting for a reply to 2 seconds, and tells the resolve to rotate through your 'nameserver' entries rather than always hitting #1, then #2, etc. Cheers. -- stucky -------------- 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 Thu Nov 9 23:36:00 2006 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 9 Nov 2006 22:36:00 +0000 Subject: timeouts when using secondary dns In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A252BD71@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A252BD71@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <21DBB9B4-84E4-4057-8D7E-C5936292C278@altinity.com> Hi! Just to let you know that I've made a change to CVS today, reported by Pawel Malachowski, where it looked like the plugins were making too many calls to resolver/DNS when the plugins were compiled with IPv6 options enabled. This should reduce the occasions of timeouts. However, I do like the idea of making the Nagios server a caching name server too... Ton On 9 Nov 2006, at 22:25, Steve Shipway wrote: > We dealt with this by installing a local caching-only nameserver on > the Nagios host itself. This also took a lot of the load off of > the main nameservers. So, resolv.conf was set to use 127.0.0.1 by > default and have our normal name servers as secondaries. A nice > sideeffect was that it vastly sped up the name resolution. > > Steve > > -- > Steve Shipway > ITSS, University of Auckland > (09) 3737 599 x 86487 > s.shipway at auckland.ac.nz > > > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > users-bounces at lists.sourceforge.net] On Behalf Of stucky > Sent: Friday, 10 November 2006 6:57 a.m. > To: Az > Cc: nagios > Subject: Re: [Nagios-users] timeouts when using secondary dns > > Yey !! That totally did it. Thx AZ I hadn't even considered messing > with the resolver cuz I was sure it was a nagios issue so I had to > fix nagios. > If that wasn't a text book example of how well mailinglists can > work then I don't know what is... > > thx > > On 11/7/06, Az wrote: > stucky wrote: > > I use the check_by_ssh plugin for most of my stuff and I noticed > that > > if the primary nameserver is unavailable nagios starts freaking out. > > All of a sudden all plugins time out. I tested it using the 'host' > > command and it only takes about 1 second longer to lookup hosts > using > > the secondary nameserver. > > The default timeout for check_by_ssh is 10 seconds. I cranked it > up to > > 30 and still I get timeouts. I'm not sure I understand that one. > > Has anyone else seen this. > We had a similar issue in that our primary DNS was doing strange > things, > and it quite often took 5 or even 10 seconds to perform a DNS lookup. > What we were seeing was 70% of service checks (and subsequently host > checks) failing by timing out. The key was the multiple of 5 seconds. > The resolver timeout on, say, RHEL3 is based on RES_TIMEOUT in > resolv.h... which was 5 seconds. > > We added the following to our resolv.conf , and found the problems > went away: > > options timeout:2 rotate > > This sets the timeout for waiting for a reply to 2 seconds, and tells > the resolve to rotate through your 'nameserver' entries rather than > always hitting #1, then #2, etc. > > Cheers. > > > > > > > > -- > stucky > > > 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 ae at op5.se Fri Nov 10 00:09:46 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Nov 2006 00:09:46 +0100 Subject: Organization and host checks In-Reply-To: <8C338DAD92399E4188B567F5FB967A6302F82903@SITE2MAIL01.jeeves.ask.info> References: <8C338DAD92399E4188B567F5FB967A6302F82903@SITE2MAIL01.jeeves.ask.info> Message-ID: <4553B53A.10400@op5.se> Andrew Tjang wrote: > Hello all, > > I have a couple of questions about how nagios functions. > > How does nagios determine the host status? http://nagios.sourceforge.net/docs/2_0/networkreachability.html > It seems that without any > user intervention, host status changes from pending to "Up". > I have no is_alive checks set. So shouldn't the host status remain > pending until it receives information to the contrary? (I have passive > checks set up, and another script generates the host state information). > > > The only thing I can think of is that I've set all the host addresses to > 127.0.0.1 (b/c i'm using passive checks, and not all hosts have a real > IP anyway), and somehow nagios is sensing that localhost is up, and thus > is setting the host status to Up. If this is the case, how do i disable > this behavior? > You're dead wrong there, I'm afraid. Nagios just assumes that since one or more of the services on the host you're checking reported in OK the host can't, by definition, be down. This is *always* the only sane thing to do. > The second question I have is how to further organize hostgroups. I > would like to use one nagios installation to monitor 2 sets of machines > (each with their own list of hostgroups that might share the same > namespace). What is the easiest way to segregate these sets of machines > - perhaps on 2 hostgroup summary pages? > This relates to administrativia and as such any answer will be tainted by opinion rather than hard fact. I can't help but to think you're spot on with the hostgroup plan though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 10 00:11:58 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Nov 2006 00:11:58 +0100 Subject: Looking-Glass Beta-testers: critical bug In-Reply-To: <4553A45D.1000207@mailnetwork.co.uk> References: <4553A45D.1000207@mailnetwork.co.uk> Message-ID: <4553B5BE.4030301@op5.se> Andy Shellam (Mailing Lists) wrote: > Hi, > > To anyone who's testing Nagios Looking Glass 0.2.41, there is a bug in > the code that denies all IPs access to the poller when $AllowedIPs is > not set. > It should be that when $AllowedIPs = Array(), any host is allowed a > connection. > This is not a very safe way to go about it. Personally, I think I like the "buggy" code better, although perhaps coupled with a "$disable_security_altogether" variable. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.contri at tecem.it Fri Nov 10 00:14:11 2006 From: matteo.contri at tecem.it (Matteo Contri) Date: Fri, 10 Nov 2006 00:14:11 +0100 Subject: ndoutils + sqlite Message-ID: <4553B643.604@tecem.it> ndoutils looks very promising for creating a PHP webinterface but it seems lack support of sqlite. Does anyone known something about it? Patchs? Hacks? Suggestions? I believe sqlite is a good choise for small to medium companies. Matteo Contri ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Nov 10 00:17:15 2006 From: ae at op5.se (Andreas Ericsson) Date: Fri, 10 Nov 2006 00:17:15 +0100 Subject: File formats between 1.x and 2.x In-Reply-To: <4553A520.4060607@mailnetwork.co.uk> References: <4553A520.4060607@mailnetwork.co.uk> Message-ID: <4553B6FB.6000109@op5.se> Andy Shellam (Mailing Lists) wrote: > Hi, > > The following is a file-list taken from a Nagios installation's ./var > directory - I believe it is Nagios 1.x - can someone clarify? > > drwxrwxr-x 2 nagios nagios 4096 Nov 9 00:00 archives > -rwxrwxr-x 1 nagios nagios 238 Nov 3 17:56 comment.log > -rwxrwxr-x 1 nagios nagios 239 Nov 3 17:56 downtime.log > -rwxrwxr-x 1 nagios nagios 1574 Nov 9 19:46 host-perfdata.dat > -rw-r--r-- 1 nagios nagios 6 Nov 9 19:09 nagios.lock > -rwxrwxr-x 1 nagios nagios 629203 Nov 9 19:45 nagios.log > -rwxrwxr-x 1 nagios nagios 169090 Nov 9 19:09 objects.cache > -rwxrwxr-x 1 nagios nagios 0 Nov 9 19:09 retention.dat > drwxrwxr-x 2 nagios nagiocmd 4096 Nov 9 19:09 rw > -rwxrwxr-x 1 nagios nagios 6302 Nov 9 19:46 service-perfdata.dat > -rw-rw-r-- 1 nagios nagios 227505 Nov 9 19:46 status.log > -rw------- 1 nagios nagios 239027 Nov 9 19:09 status.sav > > In comparison to my 2.5 installations ./var directory: > > -rw-rw-r-- 1 nagios nagios 500 Nov 8 22:45 comments.dat > -rw-rw-r-- 1 nagios nagios 239 Nov 8 22:36 downtime.dat > -rw-r--r-- 1 nagios nagios 5 Nov 8 22:36 nagios.lock > -rw-rw-r-- 1 nagios nagios 0 Nov 8 22:36 nagios.log > -rw-r--r-- 1 nagios nagios 45383 Nov 8 22:36 objects.cache > -rw------- 1 nagios nagios 63927 Nov 9 21:36 retention.dat > drwxrws--- 2 nagios nagcmd 4096 Nov 8 22:36 rw > -rw-rw-r-- 1 nagios nagios 60676 Nov 9 21:59 status.dat > > In which version were the ".log" files dropped in favour of ".dat"? 1.2 -> 2.0 transition. As is proper, backward-incompatible changes only occur on a "major-version" upgrade. The reason, I think, was that the .log-suffix is usually preserved for files which are only appended to. This has never been the case for any of {downtime,comments,status,retention}.{log,dat} > Are the .log files the same format as the current .dat files? > Nopes. If I were you I'd drop 1.x support from NLG though. It's, imo, not worth the trouble to cater to an already small audience that will only diminish in numbers. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Nov 10 00:21:38 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 09 Nov 2006 23:21:38 +0000 Subject: Looking-Glass Beta-testers: critical bug In-Reply-To: <4553B5BE.4030301@op5.se> References: <4553A45D.1000207@mailnetwork.co.uk> <4553B5BE.4030301@op5.se> Message-ID: <4553B802.8000004@mailnetwork.co.uk> True, however it states in the config file that this variable is only to be used if it's not possible to set the authentication in Apache's config using the allow,deny directives. This is the preferred method, and that's why you can zero out the array. The scenario NLG was designed for was when the Nagios server is not accessible from a public network (such as the Internet), but you want to give an interface to customers to check server status etc, so really this is mainly a paranoid safety check. I do, however, see your point, and I'll perhaps make it so that if no hosts are specified, by definition only 127.0.0.1 is allowed to connect (as this will account for 'same-server' installs of NLG), and then add a "$EnableIPcheck" variable. Andreas Ericsson wrote: > Andy Shellam (Mailing Lists) wrote: >> Hi, >> >> To anyone who's testing Nagios Looking Glass 0.2.41, there is a bug >> in the code that denies all IPs access to the poller when $AllowedIPs >> is not set. >> It should be that when $AllowedIPs = Array(), any host is allowed a >> connection. >> > > This is not a very safe way to go about it. Personally, I think I like > the "buggy" code better, although perhaps coupled with a > "$disable_security_altogether" variable. > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Nov 10 00:26:42 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 09 Nov 2006 23:26:42 +0000 Subject: File formats between 1.x and 2.x In-Reply-To: <4553B6FB.6000109@op5.se> References: <4553A520.4060607@mailnetwork.co.uk> <4553B6FB.6000109@op5.se> Message-ID: <4553B932.4050407@mailnetwork.co.uk> Andreas Ericsson wrote: > 1.2 -> 2.0 transition. As is proper, backward-incompatible changes > only occur on a "major-version" upgrade. The reason, I think, was that > the .log-suffix is usually preserved for files which are only appended > to. This has never been the case for any of > {downtime,comments,status,retention}.{log,dat} Cool, that's what I'd thought. > > Nopes. If I were you I'd drop 1.x support from NLG though. It's, imo, > not worth the trouble to cater to an already small audience that will > only diminish in numbers. > Also cool - NLG doesn't support 1.x as-is, if the file formats were the same I would have been able to check for the existence of either and use it, but as it's different, I'll stick with 2.0-onwards only. Thanks for the clarification, Andreas. Andy. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 10 10:15:34 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Fri, 10 Nov 2006 10:15:34 +0100 Subject: NDOUtils on x86_64 Compile Error Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62292@cmgexcdc01.CMG.local> > > Giles Coochey wrote: > >> Try: > >> > >> ./configure --build=i386 --host=i386 --libdir=/usr/lib32 > >> CFLAGS="-fPIC" > >> > >> Then "make" and you go. > >> > > > > Sorry - replying to my own post, I reached those by > experimentation, > > and now find that: > > > > ./configure CFLAGS="-fPIC" > > > > Works just the same. > > > > I would imagine they should. The other flags will almost > certainly be autodetected as required. > Actually I used the other flags as part of troubleshooting in an attempt to force compilation of 32-bit rather than 64-bit. > What happens if you use "CFLAGS=-fpic" instead? If it works, > it should create binaries that run slightly faster and with a > smaller memory footprint, although with the constraints > mentioned above. > -fpic works for me as well. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joerg.Hartmann at mercateo.com Fri Nov 10 11:43:53 2006 From: Joerg.Hartmann at mercateo.com (Joerg Hartmann) Date: Fri, 10 Nov 2006 11:43:53 +0100 Subject: Problem with cfg_dir Message-ID: <455457E9.5020403@mercateo.com> Hello, i tried to change the location of the config files of a good working Nagios 2.5-Installation. I put a # in front of all cfg_file= parameter in nagios.cfg and wrote two new lines with cfg_dir= cfg_dir=/etc/nagios/Global cfg_dir=/etc/nagios/LiveSystem After that i moved all *.cfg files (except nagios.cfg) from /etc/nagios to the two new directories. The reason is a project to install some more nagios servers for distributed monitoring with one central server and some remote nagios machine in different locations. Unfortunatly i can not get this to work. A quick test showed: Reading configuration data... Error: Unexpected token or statement in file '/etc/nagios/Global/cgi.cfg' on line 15. The cgi.cfg is a known good working one, without Non-ASCII Chars etc.! If i take the cgi.cfg away the same error is shown with resource.cfg or any other cfg file. The only difference is then the line number of the error. It is always the first non-comment line. Google had no help for me, so i hope someone on the list can point me to the right direction ... Thanks. regards Joerg ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samfraser at yahoo.co.uk Fri Nov 10 12:26:15 2006 From: samfraser at yahoo.co.uk (Sam Fraser) Date: Fri, 10 Nov 2006 11:26:15 +0000 (GMT) Subject: Can't install Plugins :- 'make' error after running configure Message-ID: <20061110112615.2112.qmail@web23107.mail.ird.yahoo.com> I've tried your suggestion to download and install 1.4.5. I'm able to run make and make install now but libexec doesn't appear in my specifed directory /usr/local/nagios/ nagios-plugins-1.4.5]# ls /usr/local/nagios/ bin etc sbin share var Although I was able to run make ./configure still had a lot of "no's", don't know if this is important or not. Any idea what could be the problem. Donald ----- Original Message ---- From: Ton Voon To: Nagios Users mailinglist Sent: Wednesday, 8 November, 2006 12:53:04 PM Subject: Re: [Nagios-users] Can't install Plugins :- 'make' error after running configure Sam, Can you try the 1.4.5 release as we updated libtool and I think this removes the dependency on cpp. Please let us know if this fixes it for you. Ton On 8 Nov 2006, at 12:38, Sam Fraser wrote: Hello All Nagios users, I'm trying to install Nagios and it's plugins but have a problem when I run through the installation steps outlined in the INSTALL file. This is the output I get from running ./configure as instructed. I've found some archive messages that seem to suggest that where there is a "no" it means I don't have the package and should install those before continuing. There seems to be an awful lot of no's in this output!! Surely I don't have to install all of this!? Help Anyone? Donald. nagios-plugins-1.4.3]# ./configure --prefix=/usr/local/nagios --with-nagios-user=samfraser --with-nagios-group= brochsecure --with-cgiurl=/nagios/cgi-bin checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for gcc... (cached) gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ANSI C... (cached) none needed checking dependency style of gcc... (cached) gcc3 checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for a sed that does not truncate output... /bin/sed checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking whether ln -s works... yes 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. nagios-plugins-1.4.3]# make make: *** No targets specified and no makefile found. Stop. Send instant messages to your online friends http://uk.messenger.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 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 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Send instant messages to your online friends http://uk.messenger.yahoo.com -------------- 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 GilesC at CarmenMedia.com Fri Nov 10 12:39:35 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Fri, 10 Nov 2006 12:39:35 +0100 Subject: Can't install Plugins :- 'make' error afterrunning configure Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F622C0@cmgexcdc01.CMG.local> ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sam Fraser Sent: 10 November 2006 12:26 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Can't install Plugins :- 'make' error afterrunning configure I've tried your suggestion to download and install 1.4.5. I'm able to run make and make install now but libexec doesn't appear in my specifed directory /usr/local/nagios/ nagios-plugins-1.4.5]# ls /usr/local/nagios/ bin etc sbin share var Although I was able to run make ./configure still had a lot of "no's", don't know if this is important or not. Any idea what could be the problem. Donald Sam/Donald, What was the output of make install ? Specifically, where did it say it was installing? Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Nov 10 13:45:36 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 10 Nov 2006 12:45:36 +0000 Subject: Problem with cfg_dir In-Reply-To: <455457E9.5020403@mercateo.com> References: <455457E9.5020403@mercateo.com> Message-ID: <45547470.1030404@mailnetwork.co.uk> Hi Joerg, What is actually on that line 15? I understand it's happening on several config files, and is a correctly working installation, but if we can see the files we might be able to spot something out of place. Regards Andy. Joerg Hartmann wrote: > Hello, > > i tried to change the location of the config files of a good working > Nagios 2.5-Installation. > I put a # in front of all cfg_file= parameter in nagios.cfg and > wrote two new lines with cfg_dir= > > cfg_dir=/etc/nagios/Global > cfg_dir=/etc/nagios/LiveSystem > > After that i moved all *.cfg files (except nagios.cfg) from /etc/nagios > to the two new directories. > The reason is a project to install some more nagios servers for > distributed monitoring with one central server and some remote nagios > machine in different locations. > > Unfortunatly i can not get this to work. A quick test showed: > > Reading configuration data... > > Error: Unexpected token or statement in file > '/etc/nagios/Global/cgi.cfg' on line 15. > > The cgi.cfg is a known good working one, without Non-ASCII Chars etc.! > If i take the cgi.cfg away the same error is shown with resource.cfg or > any other cfg file. The only difference is then the line number of the > error. It is always the first non-comment line. > > Google had no help for me, so i hope someone on the list can point me to > the right direction ... > Thanks. > > regards > Joerg > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,455457fd40411754313402! > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 10 13:55:41 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Fri, 10 Nov 2006 13:55:41 +0100 Subject: Problem with cfg_dir Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F622C9@cmgexcdc01.CMG.local> > > Hello, > > i tried to change the location of the config files of a good > working Nagios 2.5-Installation. > I put a # in front of all cfg_file= parameter in nagios.cfg > and wrote two new lines with cfg_dir= > > cfg_dir=/etc/nagios/Global > cfg_dir=/etc/nagios/LiveSystem > > After that i moved all *.cfg files (except nagios.cfg) from > /etc/nagios to the two new directories. > The reason is a project to install some more nagios servers > for distributed monitoring with one central server and some > remote nagios machine in different locations. > > Unfortunatly i can not get this to work. A quick test showed: > > Reading configuration data... > > Error: Unexpected token or statement in file > '/etc/nagios/Global/cgi.cfg' on line 15. > > The cgi.cfg is a known good working one, without Non-ASCII Chars etc.! > If i take the cgi.cfg away the same error is shown with > resource.cfg or any other cfg file. The only difference is > then the line number of the error. It is always the first > non-comment line. > Hi Joerg, I believe, but may be wrong, that cgi.cfg and resource.cfg need to be specified in the nagios.cfg file and need to be (usually) in the same folder as nagios.cfg It is possible to have more than one resource.cfg file. I think only one cgi.cfg is possible though. The configuration files that you may put in the 'cfg_dir' directories are those for definitions, i.e. check commands, notifications, services, hosts, etc... Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 10 14:01:53 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 10 Nov 2006 14:01:53 +0100 Subject: Problem with cfg_dir In-Reply-To: <455457E9.5020403@mercateo.com> References: <455457E9.5020403@mercateo.com> Message-ID: <200611101401.53627.pitchfork@ederdrom.de> Am Freitag, 10. November 2006 11:43 schrieb Joerg Hartmann: > Hello, > > i tried to change the location of the config files of a good working > Nagios 2.5-Installation. > I put a # in front of all cfg_file= parameter in nagios.cfg and > wrote two new lines with cfg_dir= > > cfg_dir=/etc/nagios/Global > cfg_dir=/etc/nagios/LiveSystem > > After that i moved all *.cfg files (except nagios.cfg) from /etc/nagios > to the two new directories. > The reason is a project to install some more nagios servers for > distributed monitoring with one central server and some remote nagios > machine in different locations. > > Unfortunatly i can not get this to work. A quick test showed: > > Reading configuration data... > > Error: Unexpected token or statement in file > '/etc/nagios/Global/cgi.cfg' on line 15. [...] The cgi.cfg is no Object Config File and should not be placed inside cfg_dir. 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 AHKAPLAN at PARTNERS.ORG Fri Nov 10 14:05:48 2006 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Fri, 10 Nov 2006 08:05:48 -0500 Subject: REPOST -- Nagios 2.x and NRPE 1.x Message-ID: <9C63A4713C4E3342B90428CE44806A7302679A1D@PHSXMB5.partners.org> Sorry about the repost, I just need to get an answer on this so I know how to proceed with a project I'm working on at this time. Thanks. I don't know if this question has already been asked, so my apologies if I am repeating something: Is a Nagios 2.x server compatible with clients running NRPE 1.x? Thanks ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. Sent: Thursday, November 09, 2006 3:36 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios 2.x and NRPE 1.x I don't know if this question has already been asked, so my apologies if I am repeating something: Is a Nagios 2.x server compatible with clients running NRPE 1.x? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT1074584.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT1074585.txt 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 jlongland at grintek.com Fri Nov 10 14:10:59 2006 From: jlongland at grintek.com (John Longland) Date: Fri, 10 Nov 2006 15:10:59 +0200 Subject: attributes file for check_radius_adv Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9C03@gtmail.grintel.com> Hi all!! I've been using check_radius_adv for some time now on my nagios system and its been working well. I do need to send some more attributes up to the radius-server, though. running the help file ( check_radius_adv --help ) revieles that one can specify an attributes file with the "-a" switch and on eis refered to a "samplefile" for its format. This samplefile is very unhelpfull at the least. Anyone that can throw some light on its format ? I need to send a "Calling-Station-ID = 11111" to the radius server. Thanks ! John -------------- 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 andy.shellam-lists at mailnetwork.co.uk Fri Nov 10 14:21:36 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 10 Nov 2006 13:21:36 +0000 Subject: REPOST -- Nagios 2.x and NRPE 1.x In-Reply-To: <9C63A4713C4E3342B90428CE44806A7302679A1D@PHSXMB5.partners.org> References: <9C63A4713C4E3342B90428CE44806A7302679A1D@PHSXMB5.partners.org> Message-ID: <45547CE0.20606@mailnetwork.co.uk> Hi Andrew, I'm afraid I only started on Nagios 2.4 but I'm answering this to give you some food for thought until someone more knowledgeable finds the info out. The check_nrpe plugin is executed on the Nagios host, and is built from the NRPE source code. Therefore if you build NRPE 1.x, you'll get a check_nrpe 1.x script built to run on your Nagios server. As long as it returns the same return codes Nagios 2.x is expecting (0 = ok, 1 = warning, 2 = failed, 3 = unknown), I would assume you could run the check_nrpe 1.x script on your Nagios 2.x server to read from a check_nrpe 1.x client machine. Andy. Kaplan, Andrew H. wrote: > > Sorry about the repost, I just need to get an answer on this so I know > how to proceed with a project I?m working on at this time. Thanks. > > I don?t know if this question has already been asked, so my apologies > if I am repeating something: > > Is a Nagios 2.x server compatible with clients running NRPE 1.x? Thanks > > ------------------------------------------------------------------------ > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Kaplan, Andrew H. > *Sent:* Thursday, November 09, 2006 3:36 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Nagios 2.x and NRPE 1.x > > I don?t know if this question has already been asked, so my apologies > if I am repeating something: > > Is a Nagios 2.x server compatible with clients running NRPE 1.x? Thanks. > > !DSPAM:37,4554795340412141712987! ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Joerg.Hartmann at mercateo.com Fri Nov 10 14:21:23 2006 From: Joerg.Hartmann at mercateo.com (Joerg Hartmann) Date: Fri, 10 Nov 2006 14:21:23 +0100 Subject: Problem with cfg_dir Message-ID: <45547CD3.70609@mercateo.com> Giles and J?rg - you are right. Thanks very much for you help! - for the list archive - If i take cgi.cfg AND resource.cfg out of the subdirs which i defined with cfg_dir and put them back at /etc/nagios (where nagios.cfg resides) it works like expected. Thanks again - and a nice weekend to you all. regards 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 cjsanz4job at hotmail.com Fri Nov 10 15:22:58 2006 From: cjsanz4job at hotmail.com (Carlos Sánchez) Date: Fri, 10 Nov 2006 09:22:58 -0500 Subject: error check external commands Message-ID: Hi! When I try to run check external commands i have this error: Error: Could not stat() command file '/nagios/var/rw/nagios.cmd'! Any body know why? thanks _________________________________________________________________ Add a Yahoo! contact to Windows Live Messenger for a chance to win a free trip! http://www.imagine-windowslive.com/minisites/yahoo/default.aspx?locale=en-us&hmtagline ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjsanz4job at hotmail.com Fri Nov 10 15:31:30 2006 From: cjsanz4job at hotmail.com (Carlos Sánchez) Date: Fri, 10 Nov 2006 09:31:30 -0500 Subject: error check external commands In-Reply-To: <45548C6D.3090409@outbackwifi.com> References: <45548C6D.3090409@outbackwifi.com> Message-ID: The file /nagios/var/rw/nagios.cmd exist, and have this permisions prw-rw---- 1 nagios nagios 0 Nov 10 04:19 nagios.cmd >From: Shivkumar >To: Carlos S?nchez >Subject: Re: [Nagios-users] error check external commands >Date: Fri, 10 Nov 2006 19:57:57 +0530 > > >Carlos S?nchez said the following: > > Error: Could > > not stat() command file '/nagios/var/rw/nagios.cmd'! > > > > Any body know why? > > >Umm, Sure! the /nagios/var/rw/nagios.cmd file doesnt exist? _________________________________________________________________ All-in-one security and maintenance for your PC. Get a free 90-day trial! http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail -------------- 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 gmueller at netways.de Fri Nov 10 16:30:31 2006 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 10 Nov 2006 15:30:31 +0000 Subject: attributes file for check_radius_adv In-Reply-To: <510595ECCFAEFC44941F5EDA4324F275011F9C03@gtmail.grintel.com> References: <510595ECCFAEFC44941F5EDA4324F275011F9C03@gtmail.grintel.com> Message-ID: <1163172631.7431.13.camel@localhost.localdomain> Hi John, if you would like to send this attribute http://www.gnu.org/software/radius/manual/html_node/radius_187.html Then use: 31 0 0 S 11111 31 is the attrib-ID, 0 0 are only needed for vendor attribs, S stands for string and 11111 is obviously your value Hope that helps Cheers, Gerd Am Freitag, den 10.11.2006, 15:10 +0200 schrieb John Longland: > Hi all!! > > > I've been using check_radius_adv for some time now on my nagios > system > and its been working well. > > I do need to send some more attributes up to the radius-server, > though. > running the help file ( check_radius_adv --help ) revieles that one > can > specify an attributes file with the "-a" switch and on eis refered to > a "samplefile" > for its format. This samplefile is very unhelpfull at the least. > > Anyone that can throw some light on its format ? > > I need to send a "Calling-Station-ID = 11111" to the radius server. > > Thanks ! > John > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 gmueller at netways.de Fri Nov 10 16:48:20 2006 From: gmueller at netways.de (Gerd Mueller) Date: Fri, 10 Nov 2006 15:48:20 +0000 Subject: timeouts when using secondary dns In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A252BD71@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A252BD71@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <1163173700.7431.17.camel@localhost.localdomain> Hi, I normaly configure hostaddresses by their ip-adresses. If it's not possible I always use nscd as very very simple name server cache. Cheers, Gerd Am Freitag, den 10.11.2006, 11:25 +1300 schrieb Steve Shipway: > We dealt with this by installing a local caching-only nameserver on > the Nagios host itself. This also took a lot of the load off of the > main nameservers. So, resolv.conf was set to use 127.0.0.1 by > default and have our normal name servers as secondaries. A nice > sideeffect was that it vastly sped up the name resolution. > > Steve > > -- > Steve Shipway > ITSS, University of Auckland > (09) 3737 599 x 86487 > s.shipway at auckland.ac.nz > > > > > > > ______________________________________________________________ > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of stucky > Sent: Friday, 10 November 2006 6:57 a.m. > To: Az > Cc: nagios > Subject: Re: [Nagios-users] timeouts when using secondary dns > > > > Yey !! That totally did it. Thx AZ I hadn't even considered > messing with the resolver cuz I was sure it was a nagios issue > so I had to fix nagios. > If that wasn't a text book example of how well mailinglists > can work then I don't know what is... > > thx > > On 11/7/06, Az wrote: > stucky wrote: > > I use the check_by_ssh plugin for most of my stuff > and I noticed that > > if the primary nameserver is unavailable nagios > starts freaking out. > > All of a sudden all plugins time out. I tested it > using the 'host' > > command and it only takes about 1 second longer to > lookup hosts using > > the secondary nameserver. > > The default timeout for check_by_ssh is 10 seconds. > I cranked it up to > > 30 and still I get timeouts. I'm not sure I > understand that one. > > Has anyone else seen this. > We had a similar issue in that our primary DNS was > doing strange things, > and it quite often took 5 or even 10 seconds to > perform a DNS lookup. > What we were seeing was 70% of service checks (and > subsequently host > checks) failing by timing out. The key was the > multiple of 5 seconds. > The resolver timeout on, say, RHEL3 is based on > RES_TIMEOUT in > resolv.h... which was 5 seconds. > > We added the following to our resolv.conf , and found > the problems went away: > > options timeout:2 rotate > > This sets the timeout for waiting for a reply to 2 > seconds, and tells > the resolve to rotate through your 'nameserver' > entries rather than > always hitting #1, then #2, etc. > > Cheers. > > > > > > > > -- > stucky > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 marc at ena.com Fri Nov 10 16:58:59 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Nov 2006 09:58:59 -0600 Subject: REPOST -- Nagios 2.x and NRPE 1.x Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. > Sent: Friday, November 10, 2006 7:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] REPOST -- Nagios 2.x and NRPE 1.x > > Sorry about the repost, I just need to get an answer on this so I know > how to proceed with a project I'm working on at this time. Thanks. > > > > I don't know if this question has already been asked, so my apologies if I > am repeating something: > > > > Is a Nagios 2.x server compatible with clients running NRPE 1.x? Thanks Yes, as long as NRPE (check_nrpe specifically) version on the server matches the NRPE version of the clients. As far as nagios is concerned, check_nrpe is just another plugin. The nagios <-> plugin interface hasn't changed in a long time. -- 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 Fri Nov 10 17:02:48 2006 From: marc at ena.com (Marc Powell) Date: Fri, 10 Nov 2006 10:02:48 -0600 Subject: error check external commands Message-ID: Either you did not completely follow the documentation on enabling external command and your web server is not in the nagios group (and restarted), a directory above /nagios/var/rw/nagios.cmd does not have sufficient permissions to allow your web server access to that file or you have SELinux enabled and it is blocking access to that file from your web server. Those are the most likely problems given the information you've provided. Check your http error log and messages log. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Carlos S?nchez > Sent: Friday, November 10, 2006 8:32 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] error check external commands > > The file /nagios/var/rw/nagios.cmd exist, and have this permisions > > prw-rw---- 1 nagios nagios 0 Nov 10 04:19 nagios.cmd > > > >From: Shivkumar > >To: Carlos S?nchez > >Subject: Re: [Nagios-users] error check external commands > >Date: Fri, 10 Nov 2006 19:57:57 +0530 > > > > > >Carlos S?nchez said the following: > > > Error: Could > > > not stat() command file '/nagios/var/rw/nagios.cmd'! > > > > > > Any body know why? > > > > >Umm, Sure! the /nagios/var/rw/nagios.cmd file doesnt exist? > > _________________________________________________________________ > All-in-one security and maintenance for your PC. Get a free 90-day trial! > http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://w > ww.windowsonecare.com/?sc_cid=msn_hotmail > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjsanz4job at hotmail.com Fri Nov 10 17:05:56 2006 From: cjsanz4job at hotmail.com (Carlos Sánchez) Date: Fri, 10 Nov 2006 11:05:56 -0500 Subject: error check external commands In-Reply-To: References: Message-ID: thanks, my error was by the SELinux. I change the config file of the SELinux and I change to permissible and reboot my machine and the external commands is right >From: "Marc Powell" >To: >Subject: Re: [Nagios-users] error check external commands >Date: Fri, 10 Nov 2006 10:02:48 -0600 > >Either you did not completely follow the documentation on enabling external >command and your web server is not in the nagios group (and restarted), a >directory above /nagios/var/rw/nagios.cmd does not have sufficient >permissions to allow your web server access to that file or you have >SELinux enabled and it is blocking access to that file from your web >server. Those are the most likely problems given the information you've >provided. > >Check your http error log and messages log. > >-- >Marc > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Carlos S?nchez > > Sent: Friday, November 10, 2006 8:32 AM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] error check external commands > > > > The file /nagios/var/rw/nagios.cmd exist, and have this permisions > > > > prw-rw---- 1 nagios nagios 0 Nov 10 04:19 nagios.cmd > > > > > > >From: Shivkumar > > >To: Carlos S?nchez > > >Subject: Re: [Nagios-users] error check external commands > > >Date: Fri, 10 Nov 2006 19:57:57 +0530 > > > > > > > > >Carlos S?nchez said the following: > > > > Error: Could > > > > not stat() command file '/nagios/var/rw/nagios.cmd'! > > > > > > > > Any body know why? > > > > > > >Umm, Sure! the /nagios/var/rw/nagios.cmd file doesnt exist? > > > > _________________________________________________________________ > > All-in-one security and maintenance for your PC. Get a free 90-day >trial! > > >http://clk.atdmt.com/MSN/go/msnnkwlo0050000002msn/direct/01/?href=http://w > > ww.windowsonecare.com/?sc_cid=msn_hotmail > > > > >------------------------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job >easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Stay in touch with old friends and meet new ones with Windows Live Spaces http://clk.atdmt.com/MSN/go/msnnkwsp0070000001msn/direct/01/?href=http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us -------------- 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 jcoleman at cctechnol.com Fri Nov 10 19:41:06 2006 From: jcoleman at cctechnol.com (Jeremiah Coleman) Date: Fri, 10 Nov 2006 12:41:06 -0600 Subject: Problem with nagios skipping check_rpc checks Message-ID: <1163184066.9189.50.camel@europa.cctechnol.com> I have a nagios system I recently set up, and everything is working fine, except for check_rpc checks. For some reason, the schedular seems to be skipping the checks, and not rescheduling them. I get no error messages that I can find in the logs. All other checks run as they should. The relevant portions of the configs: define command{ command_name check_nfs command_line $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -p 2049 -t } check_rpc is in the directory pointed to by $USER1$. All the other checks have the same directory. I can run this check command line no problem at all. define service{ use generic-service ; Name of servic e template to use host_name kraken,luna,zeus service_description NFS 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_nfs } Can anyone help me with this? Thanks, Jay -- Jeremiah Coleman Systems Administrator C & C Technologies 337-261-0660 x3421 jcoleman at cctechnol.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 vasiliy at linuxspecial.com Fri Nov 10 22:45:44 2006 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Fri, 10 Nov 2006 16:45:44 -0500 Subject: Nagios Directory check In-Reply-To: References: Message-ID: <4554F308.7060505@linuxspecial.com> Gents, Need a nagios check to get me a remote directory size on a windows/linux machine. Does anyone have a check in mind? THANKS! Vasiliy Boulytchev vasiliy at linuxspecial.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 alex_b at users.sourceforge.net Sat Nov 11 03:43:40 2006 From: alex_b at users.sourceforge.net (Alex Burger) Date: Fri, 10 Nov 2006 21:43:40 -0500 Subject: Advanced permissions/user properties In-Reply-To: <74F3567C-0CC8-48B3-A057-3D75026AA026@altinity.com> References: <20061031095636.GA31688@eric.schwarzvogel.de> <454A99AB.6080706@users.sourceforge.net> <454CC341.2060200@users.sourceforge.net> <353DE8BA-307C-4068-8651-DABA1B4194D6@altinity.com> <454F664C.30909@users.sourceforge.net> <74F3567C-0CC8-48B3-A057-3D75026AA026@altinity.com> Message-ID: <455538DC.6080803@users.sourceforge.net> Hi Ton. Ton Voon wrote: > On 6 Nov 2006, at 16:43, Alex Burger wrote: >> I haven't tried Nagios 3 yet, but it doesn't look like my patch will >> work with it. I'll see if I can port it over. Any idea when the >> release date is for v3? > > Ethan stated at the Nagios Conference that he was aiming for v3 to go > stable by end of this year. I was able to port the patch to Nagios 3.0 so hopefully there is enough time to consider it for the final release. I have submitted patches for both 2.5 and 3.0 to the Nagios-Devel list. This version also adds permissions to the escalation checks. 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 From Javier.Castillo at a-e.es Mon Nov 13 10:18:42 2006 From: Javier.Castillo at a-e.es (Javier Castillo Alcibar) Date: Mon, 13 Nov 2006 10:18:42 +0100 Subject: Plugin error: Remote cisco command via SSH not working Message-ID: <5383F55524AE6748B360645F92DCCB3F7C6922@ALHM3SRV.ae.local> Hello all, I have some cisco routers that can only be managed using SSH. I wrote an script, to do remotely some PING's from these routers, integrated in nagios. My problem is very strange: - if a execute this script from the command line by myself, it works as expected. - if nagios process executes the script, it does not work. It looks like ssh process didn't return anything.... I think it's a problem related with ttys.....but I'm not sure. This is my (perl) script: #!/usr/bin/perl # # Uso: usr/local/sbin/check_cisco_ping_ssh # use Net::SSH::Perl; $router=$ARGV[0]; $port=$ARGV[1]; $user=$ARGV[2]; $pass=$ARGV[3]; $ip=$ARGV[4]; $warn=$ARGV[5]; $crit=$ARGV[6]; my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, cipher=>'DES', port=>$port); $sesion_ssh->login($user, $pass); $command="ping $ip"; my($output, $output_error, $val_exit) = $sesion_ssh->cmd($command); $output =~ /Success rate is (\d*) (.*)/; $rate=$1; if ( $rate <= $crit ) { print "PROBLEM: PING Rate=$rate%\n"; exit 2; } if ( $rate <= $warn ) { print "WARNING: PING Rate=$rate%\n"; exit 1; } if ( $rate <= 100 ) { print "OK: PING Rate=$rate%\n"; exit 0; } exit 3; Any help is welcome!!. Thx in advance. Regards -------------------------------------------------------- Alhambra-Eidos ha cambiado su dominio de correo electronico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. Muchas gracias. Alhambra-Eidos. We solve IT, we solve 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 peter.d.farrell at gmail.com Mon Nov 13 11:11:13 2006 From: peter.d.farrell at gmail.com (Peter Farrell) Date: Mon, 13 Nov 2006 10:11:13 +0000 Subject: How can you set service check execution time? (aside from passive cron) Message-ID: How can you set service check execution time? (aside from passive cron) I have loads of log checks that need to be checked after 8am and only once each day. As services - they fire at seemingly random times - 2.30am 4am, 6am, etc. I have a many paged Nagios cron already that runs various passive checks - and don't really have an issue w/ adding the log checks to that cronttab - just wanted to know if there was a way to set a time when a service check is fired off. I know it goes against the grain (in that I only want 1 check / 24H) of Nagios as a continuous monitoring application - but was just curious if anyone has the same issues. -Peter ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jochen.maes at sejo.be Mon Nov 13 14:30:45 2006 From: jochen.maes at sejo.be (Jochen Maes) Date: Mon, 13 Nov 2006 14:30:45 +0100 Subject: dumb question? In-Reply-To: References: Message-ID: <45587385.4070506@sejo.be> Hey all, I have a check running, and sometimes it can fail (depending on the network load). But i do not want to see the state change to critical until it failed 3 times. Now I can hold out the notifications until the service has been retried 3 times. What is the best path to take to solve this? Kind regards, Jochen -- "Defer no time, delays have dangerous ends" "Ne humanus crede" Jochen Maes http://sejo.be ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 13:37:07 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 13 Nov 2006 13:37:07 +0100 Subject: dumb question? Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62343@cmgexcdc01.CMG.local> > Hey all, > > > I have a check running, and sometimes it can fail (depending > on the network load). But i do not want to see the state > change to critical until it failed 3 times. Now I can hold > out the notifications until the service has been retried 3 times. > > What is the best path to take to solve this? > max_check_attempts 3 Nagios puts the service in a soft state until max_check_attempts is reached, then the service enters a hard state and a notification is sent out. This is the default (with max_check_attempts 4) in the sample configuration files. Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spdesai at gnvfc.net Mon Nov 13 15:03:49 2006 From: spdesai at gnvfc.net (spdesai at gnvfc.net) Date: Mon, 13 Nov 2006 19:33:49 +0530 Subject: SNMP Based Queries FAILED Message-ID: <1163426629.45587b450bcdf@mail.gnvfc.net> Dear All, I have installed NAGIOS-2.5. it is working fine for ping,ftp,telne,pop3 etc. But its create problem with SNMP query. like check_snmp and other queries which use SNMP. It giving me error like [root at linuxtest libexec]# ./check_snmp -C public -H 192.168.10.92 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public 192.168.10.92:161 [root at linuxtest libexec]# and i have installed another extra plugin like check_hd (nagiosexchange.com) which detect windows based machine harddisk. but it also giving me error like below. [root at linuxtest pluginextra]# ./check_hd 192.168.10.92 public -w50 -c50 c: Critical : no response [root at linuxtest pluginextra]# check_hd script look like below =========================================================================== #!/usr/bin/perl # Dont use the embedded apache perl.... # Author : Peter # Date : Apr 11 2006 # check_hd IP COMMUNITY warnlevel criticallevel disc sub print_usage { print " ############################## check_hd ############################### # Version : 1.0 # Date : Apr 11 2006 # Author : Peter Stimpel # Thanks to Benjamin Jakubowski for the idea to walk through snmp # Help : http://www.peters-webcorner.de/nagios/ # Licence : GPL - http://www.fsf.org/licenses/gpl.txt #######################################################################\n";^M print "check_hd IP COMMUNITY warnlevel criticallevel disc\n"; print"\ncheck_hd -v for version info\n"; } $PROGNAME = "check_hd"; if (@ARGV[0] eq "-v") { print_usage(); exit 0; } if ( @ARGV[0] eq "" || @ARGV[1] eq "" || @ARGV[2] eq "" || @ARGV[3] eq "" || @ARGV[4] eq "") { print_usage(); exit 0; } $IP=@ARGV[0]; $COMMUNITY=@ARGV[1]; $Service=@ARGV[2]; $LW=@ARGV[4]; $resultat =`snmpwalk -v 1 -c $COMMUNITY $IP hrStorageDescr | grep $LW\:\\`; $fullsize1=0; $usedsize1=0; $freespace=0; if ( $resultat ) { $resstring= $resultat; if ($resultat = ~/hrStorageDescr./) { $tsid = substr($resstring,35,1); $resultat2 =`snmpwalk -v 1 -c $COMMUNITY $IP hrStorageAllocationUnits.$tsid`; $resstring2 = $resultat2; if ($resultat2 = ~/hrStorageAllocationUnits.$tsid/) { #@unit = substr($resstring2,58,5); @unit=split(/:/,$resstring2); @unit1=split(/\ /,$unit[3]); $unit1=$unit1[1]; $resultat3 =`snmpwalk -v 1 -c $COMMUNITY $IP hrStorageSize.$tsid`; $resstring3 = $resultat3; if ($resultat3 = ~/hrStorageSize.$tsid/) { @ta=split(/INTEGER/,$resstring3); chomp($ta[1]); $size1=substr($ta[1],1); $fullsize1 = $fullsize1 + $size1; $fullsize1 = $fullsize1 * $unit1; } $resultat4 =`snmpwalk -v 1 -c $COMMUNITY $IP hrStorageUsed.$tsid`; $resstring4 = $resultat4; if ($resultat4 = ~/hrStorageUsed.$tsid/) { @tb=split(/INTEGER/,$resstring4); chomp($tb[1]); $size1=substr($tb[1],1); $usedsize1 = $usedsize1 + $size1; $usedsize1 = $usedsize1 * $unit1; } if ($usedsize1 > 0 && $fullsize1 > 0) { $freespace=$fullsize1 - $usedsize1; $freespace=$freespace / 1024 / 1024 / 1024; $percfilled=$usedsize1 * 100 / $fullsize1; if ($percfilled > @ARGV[3]) { print "critical: hd $LW in use $percfilled perc and $freespace GB free w-$A RGV[2] c-$ARGV[3]\n"; exit 2; } if ($percfilled > @ARGV[2]) { print "warning: hd $LW in use $percfilled perc and $freespace GB free w-$AR GV[2] c-$ARGV[3]\n"; exit 1; } print "OK: hd $LW in use $percfilled perc and $freespace GB free w-$ARGV[2] c-$ARGV [3]\n"; exit 0; } } } print "Critical : Response unknown\n"; exit 2; } else { print "Critical : no response\n"; exit 2; } ======================================================================= Thanks and Regards, Suhag Desai. ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 15:10:48 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 13 Nov 2006 15:10:48 +0100 Subject: SNMP Based Queries FAILED Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62359@cmgexcdc01.CMG.local> > > Dear All, > > I have installed NAGIOS-2.5. it is working fine for > ping,ftp,telne,pop3 etc. > > But its create problem with SNMP query. like check_snmp and > other queries > which use SNMP. > > It giving me error like > > [root at linuxtest libexec]# ./check_snmp -C public -H 192.168.10.92 > SNMP problem - No data received from host > CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public 192.168.10.92:161 > [root at linuxtest libexec]# > Please check your syntax for check_snmp: 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] You should note that the -o is not a optional parameter. Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 15:20:03 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 13 Nov 2006 15:20:03 +0100 Subject: SNMP Based Queries FAILED Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F6235C@cmgexcdc01.CMG.local> > > [root at linuxtest pluginextra]# ./check_hd 192.168.10.92 public > -w50 -c50 c: > Critical : no response > [root at linuxtest pluginextra]# > > >From the NagiosExchange documentation you may need to do: ./check_hd public -w50 -c50 C There doesn't seem to be a colon after the drive lever, and it may also be case sensitive (try using a capital). Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tjl at topdanmark.dk Mon Nov 13 15:30:47 2006 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Mon, 13 Nov 2006 15:30:47 +0100 Subject: Vedr.: Re: SNMP Based Queries FAILED In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F6235C@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F6235C@cmgexcdc01.CMG.local> Message-ID: Hi Giles, Have you tried the snmpget or snmpwalk from the prompt? Just to see that it?s working? Like this: snmpwalk 192.168.10.92 public .1.3.6.1.2.1.1 Best regards 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 tjl at topdanmark.dk Mon Nov 13 15:31:19 2006 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Mon, 13 Nov 2006 15:31:19 +0100 Subject: Vedr.: Re: SNMP Based Queries FAILED - no2 In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F6235C@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F6235C@cmgexcdc01.CMG.local> Message-ID: Hi Giles, Have you tried the snmpget or snmpwalk from the prompt? Just to see that it?s working? Like this: snmpwalk 192.168.10.92 public .1.3.6.1.2.1.1 Best regards 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 leonid.titov at gmail.com Mon Nov 13 15:41:35 2006 From: leonid.titov at gmail.com (Leonid Titov) Date: Mon, 13 Nov 2006 17:41:35 +0300 Subject: UTF8 Japanese characters in macros In-Reply-To: 453590CB.9040202@star.fielding.nec.co.jp Message-ID: <1163428895.4803.18.camel@localhost> Hi! I encountered the same problem with Nagios 2.3 running on FreeBSD. I supposed that the problem is a command-line interface, which - as I supposed - couldn't transfer a UTF-8 encoded string to /usr/bin/printf. So I wrote a simple perl script which streamed UTF-8 through STDIN. Unfortunately, this trial was unsuccessfull: I still have blanks instead of Cyrillic characters. I think this issue is deeply inherent from nagios internal architecture, which was not intended to use in a non-ASCII environment :( > I am running nagios 2.5 on SuSE 10.1, and I would like to include > japanese in my mail notifications. SuSE is set up to use UTF8 as the > base language, and I am using the standard host-notify-by-email command > provided in the example configs as below: > > /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > $HOSTNAME$!" $CONTACTEMAIL$ > > note the use of $HOSTNOTES$, this is where I would like to include the > japanese location of the device having problems. > > for example I have the following hostextinfo entry: > > define hostextinfo{ > host_name mail > notes [room name in japanese UTF8] > } > > However, the mail arrives with an empty line where the notes information > should be. If I include some english in the notes section, for example > "Location: [Japanese]" the mail contains "Location: ", but not the rest. > > Both printf and mail work fine with UTF8 japanese, and tests using only > the $HOSTNOTES$ macro yeilds similar results (nothing output). > The CGI's work fine, and display the japanese, so it seems the macro > processing is not able to handle the characters. > > Has anyone had similar problems, and is there a solution? > > Thanks, > Martin -- Leonid Titov Silvernet urban network: http://www.silvernet.ru ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bilo at gmx.it Mon Nov 13 15:45:45 2006 From: bilo at gmx.it (Danilo) Date: Mon, 13 Nov 2006 15:45:45 +0100 Subject: I give up .... Message-ID: <1469805625.20061113154545@gmx.it> Ok, I am not (really not) a Perl Expert. I am simply trying to get out some values from ngraph.log to display free space on a windows server ... This is the line that nagios gives me. PIPE: DB2 DISCO_D Disk ok - 25.33G (31%) free on \\10.1.1.8\d My check script in nagios_grapher is define ngraph { service_name DISCO graph_perf_regex [0-9]*\.[0-9]*G graph_value disk_free graph_units Bytes graph_legend spazio libero % rrd_plottype AREA rrd_color 00a000 hide yes } can somebody help me telling the right way to write a valid and fully functional regex to be able to catch the value (25.33G in this case) Thanks a lot ..... a coffee cup payed :-))))) Danilo ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 15:55:15 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 13 Nov 2006 15:55:15 +0100 Subject: I give up .... Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62361@cmgexcdc01.CMG.local> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Danilo > Sent: 13 November 2006 15:46 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] I give up .... > > > Ok, I am not (really not) a Perl Expert. I am simply trying > to get out some values from ngraph.log to display free space > on a windows server ... > > > This is the line that nagios gives me. > > PIPE: DB2 DISCO_D Disk ok - 25.33G (31%) free on \\10.1.1.8\d > > > My check script in nagios_grapher is > > > define ngraph { > service_name DISCO > graph_perf_regex [0-9]*\.[0-9]*G > graph_value disk_free > graph_units Bytes > graph_legend spazio libero % > rrd_plottype AREA > rrd_color 00a000 > hide yes > } > > Try something like: define ngraph{ service_name DiskFree graph_log_regex t=- (\d+\.\d+)G graph_value df graph_units Gigabytes graph_legend Gigabytes graph_legent_eol left graph_legend_max 100 rrd_plottype LINE1 rrd_color 00a000 } define ngraph{ service_name DiskFree type CDEF graph_value cdef_df graph_units graph_legend graph_calc df rrd_plottype LINE1 rrd_color 00a000 hide no } > > can somebody help me telling the right way to write a valid > and fully functional regex to be able to catch the value > (25.33G in this case) > > > Thanks a lot ..... > > > a coffee cup payed :-))))) > > Danilo > > ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 15:59:50 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 13 Nov 2006 15:59:50 +0100 Subject: I give up .... Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62362@cmgexcdc01.CMG.local> > graph_log_regex t=- (\d+\.\d+)G Grrr... graph_log_regex - (\d+\.\d+)G Ah better... ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spdesai at gnvfc.net Mon Nov 13 16:12:13 2006 From: spdesai at gnvfc.net (spdesai at gnvfc.net) Date: Mon, 13 Nov 2006 20:42:13 +0530 Subject: SNMP Based Queries FAILED In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F62359@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F62359@cmgexcdc01.CMG.local> Message-ID: <1163430733.45588b4d655a3@mail.gnvfc.net> Dear Giles, Thanks as always for yr prompt reply.. I understand that OID is Object identifier(s) or SNMP variables whose value you wish to query. but kindly let me know the value of OID for various variables. or provide me list of OIDs. Thanks you suhag desai Quoting Giles Coochey : > > > > Dear All, > > > > I have installed NAGIOS-2.5. it is working fine for > > ping,ftp,telne,pop3 etc. > > > > But its create problem with SNMP query. like check_snmp and > > other queries > > which use SNMP. > > > > It giving me error like > > > > [root at linuxtest libexec]# ./check_snmp -C public -H 192.168.10.92 > > SNMP problem - No data received from host > > CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public 192.168.10.92:161 > > [root at linuxtest libexec]# > > > > Please check your syntax for check_snmp: > > 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] > > You should note that the -o is not a optional parameter. > > Thanks > > Giles > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 16:13:31 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 13 Nov 2006 16:13:31 +0100 Subject: SNMP Based Queries FAILED Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62364@cmgexcdc01.CMG.local> > > Dear Giles, > > Thanks as always for yr prompt reply.. > > I understand that OID is Object identifier(s) or SNMP > variables whose value you wish to query. but kindly let me > know the value of OID for various variables. or provide me > list of OIDs. > > Thanks you > Suhag, The following command will list available OIDs on a particular host. Assuming it supports version 2c of the SNMP protocol, and accepts the community string "public" snmpwalk -v 2c -c public What SNMP OIDs are defined for a particular host depends on the published MIB that that host supports. Please check with the manufacturer of the equipment for a complete list. Having said that there are a number of standard OIDs that you will immediately be able to query straight away, most of these will displayed by the snmpwalk command. Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 16:23:38 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 13 Nov 2006 16:23:38 +0100 Subject: I give up .... Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62366@cmgexcdc01.CMG.local> > Ahh, I am now showing my noviceness with Nagios. > > The regex below is OK, unless you don't have a gig free. > > Wouldn't this be a better regex: > graph_log_regex t=- (.+)\D [(] > > Tal > Indeed - that does look better (though I've not tested it, and am not a regex expert either). However, I messed up my syntax for ngraph so a (minor) correction would be: graph_log_regex - (.+)\D [(] I took my example from another plugin (returning temperature via t=x.x), it's not required for his plug-in. Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 16:35:00 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Mon, 13 Nov 2006 16:35:00 +0100 Subject: I give up .... Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F62368@cmgexcdc01.CMG.local> > 2006-11-13 16:28:02 REGEX: regex=m/- (\d+\.\d+)G/i > 2006-11-13 16:28:02 REGEX: perfdata= > 2006-11-13 16:28:02 REGEX: NO MATCH. > 2006-11-13 16:28:02 VALUES: [Domino][DISCO_D]:No matching > perfdata values found. > .. > > > any other hint ???? > > Hi Danilo, Your perfdata is empty, what is your process-service-perfdata command look like? Mine looks something like: (For network socket mode:) define command{ command_name process-service-perfdata command_line /opt/nagios/contrib/udpecho 127.0.0.1 '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 5667 } (For pipe mode, change command line to something like:) # command_line echo -e '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$' > /opt/nagios/var/rw/ngraph.pipe Notice that I am sending nagiosgrapher both the service output and the service perfdata. It seems that your plugin doesn't provide perfdata, so you'll need to send the service output as well. Thanks Giles PS There is a (rather low-volume) nagios-grapher mailing list, and this is actually slightly off-topic from the core Nagios discussion. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 16:59:07 2006 From: marc at ena.com (Marc Powell) Date: Mon, 13 Nov 2006 09:59:07 -0600 Subject: How can you set service check execution time? (asidefrom passive cron) Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Peter Farrell > Sent: Monday, November 13, 2006 4:11 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How can you set service check execution time? > (asidefrom passive cron) > > How can you set service check execution time? (aside from passive cron) > > I have loads of log checks that need to be checked after 8am and only > once each day. > As services - they fire at seemingly random times - 2.30am 4am, 6am, etc. > Untested but I would approach it by creating a new time_period definition that was just the time every day of the week that you want it to run then assign that as the check_period for your service. Combine that with a normal_check_interval of 1440 (24 hours) and I would expect one check per day at that time. You may want to give a small window in the timeperiod for the scheduler to work with. I can't think of any reason why that wouldn't work. -- 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 donnell.lewis at icoretechnology.com Mon Nov 13 17:01:02 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Mon, 13 Nov 2006 11:01:02 -0500 Subject: How can you set service check execution time? (aside from passive cron) In-Reply-To: References: Message-ID: <1163433662.7184.21.camel@localhost.localdomain> Should be able to create another timzperiod config in the timeperiods.cfg I would imagine and in the service definition use the check_period Could have additional timeperiod definition for a certain time each day which would execcute the service checks JUST between those times. Think I am on the right track with that. -Don Lewis On Mon, 2006-11-13 at 10:11 +0000, Peter Farrell wrote: > How can you set service check execution time? (aside from passive cron) > > I have loads of log checks that need to be checked after 8am and only > once each day. > As services - they fire at seemingly random times - 2.30am 4am, 6am, etc. > > I have a many paged Nagios cron already that runs various passive > checks - and don't really have an issue w/ adding the log checks to > that cronttab - just wanted to know if there was a way to set a time > when a service check is fired off. > > I know it goes against the grain (in that I only want 1 check / 24H) > of Nagios as a continuous monitoring application - but was just > curious if anyone has the same issues. > > -Peter > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 peter.d.farrell at gmail.com Mon Nov 13 17:11:35 2006 From: peter.d.farrell at gmail.com (Peter Farrell) Date: Mon, 13 Nov 2006 16:11:35 +0000 Subject: How can you set service check execution time? (aside from passive cron) In-Reply-To: References: Message-ID: Nice! Thanks a lot for the tips - Marc and Donnell were right on time. -Peter On 13/11/06, Peter Farrell wrote: > How can you set service check execution time? (aside from passive cron) > > I have loads of log checks that need to be checked after 8am and only > once each day. > As services - they fire at seemingly random times - 2.30am 4am, 6am, etc. > > I have a many paged Nagios cron already that runs various passive > checks - and don't really have an issue w/ adding the log checks to > that cronttab - just wanted to know if there was a way to set a time > when a service check is fired off. > > I know it goes against the grain (in that I only want 1 check / 24H) > of Nagios as a continuous monitoring application - but was just > curious if anyone has the same issues. > > -Peter > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 13 17:24:12 2006 From: thyes at gmx.net (Frank Thyes) Date: Mon, 13 Nov 2006 17:24:12 +0100 Subject: I give up .... In-Reply-To: <1469805625.20061113154545@gmx.it> References: <1469805625.20061113154545@gmx.it> Message-ID: <20061113162412.GA42731@gator> +++ Danilo [Mon, Nov 13, 2006 at 03:45:45PM CET]: > > Ok, I am not (really not) a Perl Expert. I am simply trying to get > out some values from ngraph.log to display free space on a windows > server ... > > > This is the line that nagios gives me. > > PIPE: DB2 DISCO_D Disk ok - 25.33G (31%) free on \\10.1.1.8\d > > > My check script in nagios_grapher is > > > define ngraph { > service_name DISCO > graph_perf_regex [0-9]*\.[0-9]*G > graph_value disk_free > graph_units Bytes > graph_legend spazio libero % > rrd_plottype AREA > rrd_color 00a000 > hide yes > } > > > > can somebody help me telling the right way to write a valid and fully > functional regex to be able to catch the value (25.33G in this case) > > > Thanks a lot ..... > > > a coffee cup payed :-))))) \s*([0-9]*\.[0-9]*)G or -\s*([0-9]*\.[0-9]*)G Btw, this stupid pseudo regex has nearly nothing to do with perl ;) Another suggestion, each time you have modified your ngraph.ncfg file. Verify that there are no unprintable chars (vi :set list) like blanks or tabs.... Ciao Frank -- Join the |****|==========| Soon bombing US World |****|==========| a small Domination |===============| country Tour 2007! |===============| near 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 hpsekhon at googlemail.com Mon Nov 13 10:59:07 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 13 Nov 2006 09:59:07 +0000 Subject: Nagios Directory check In-Reply-To: <4554F308.7060505@linuxspecial.com> References: <4554F308.7060505@linuxspecial.com> Message-ID: <455841EB.9000007@googlemail.com> I'm thinking samba or smbfs/cifs with a little shell, easy to do, just try mounting the remote share and then du it or something... -h Hari Sekhon Vasiliy Boulytchev wrote: > Gents, > Need a nagios check to get me a remote directory size on a windows/linux > machine. > > Does anyone have a check in mind? > > THANKS! > > Vasiliy Boulytchev > vasiliy at linuxspecial.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 patrick.morris at hp.com Mon Nov 13 20:42:19 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 13 Nov 2006 11:42:19 -0800 Subject: SNMP Based Queries FAILED In-Reply-To: <1163430733.45588b4d655a3@mail.gnvfc.net> References: <28919ADDC3E2C44BAD07B1EB44818493F62359@cmgexcdc01.CMG.local> <1163430733.45588b4d655a3@mail.gnvfc.net> Message-ID: <20061113194219.GL17454@pmorris.usa.hp.com> > Dear Giles, > > Thanks as always for yr prompt reply.. > > I understand that OID is Object identifier(s) or SNMP variables whose value > you wish to query. but kindly let me know the value of OID for various > variables. or provide me list of OIDs. There are probably, at a rough guess, millions of different OIDs out there. See the documentation for whatever you're trying to monitor, and it may not be a bad idea to read up a little on SNMP in general to geta better idea of where you should start. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ewelch at novacoast.com Mon Nov 13 20:44:23 2006 From: ewelch at novacoast.com (Eric Welch) Date: Mon, 13 Nov 2006 20:44:23 +0100 (CET) Subject: Monitoring active WAN path Message-ID: <20061113194423.60FE54F4046@desire.netways.de> Hi list I am trying to figure out how to monitor which WAN path is an active path between a home office and a remote office. I have two point to point connections. The routers are cisco. The routing protocol is eigrp. All devices along both paths at any one time are all pingable. EIGRP is controlling the "active" path. I would like to determine if the active path changes or which link is active. - Eric Welch (ewelch at novacoast.com) ----------------------- 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 marc at ena.com Mon Nov 13 22:10:19 2006 From: marc at ena.com (Marc Powell) Date: Mon, 13 Nov 2006 15:10:19 -0600 Subject: Monitoring active WAN path Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Eric Welch > Sent: Monday, November 13, 2006 1:44 PM > To: nagios-users at lists.sourceforge.net; ewelch at novacoast.com > Subject: [Nagios-users] Monitoring active WAN path > > Hi list > > I am trying to figure out how to monitor which WAN path is an active path > between a home office and a remote office. I have two point to point > connections. The routers are cisco. The routing protocol is eigrp. All > devices along both paths at any one time are all pingable. EIGRP is > controlling the "active" path. I would like to determine if the active > path changes or which link is active. Just a suggestion but we monitor our BGP links via SNMP via -- define command { command_name check_bgp_peer_state command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o .1.3.6.1.2.1.15.3.1.2.$ARG1$ -s 6 -C $USER3$ -l 'BGP Peer $ARG1$ State' } .1.3.6.1.2.1.15.3.1.2 is the bgpPeerState MIB for cisco routers, $ARG1$ is the ip of the peer and 6 is the response to expect when the peer is established. Maybe there is something similar for EIGRP? http://www.cisco.com/univercd/cc/td/doc/product/software/ios124/124cg/hi rp_c/ch07/h_eigmib.htm#wp1064141 looks promising. -- 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 david.garvey at gmail.com Tue Nov 14 03:07:43 2006 From: david.garvey at gmail.com (David Garvey) Date: Mon, 13 Nov 2006 18:07:43 -0800 Subject: notification escalations Message-ID: <2e90c57d0611131807t57c88f2aybf7bdc76f89363ed@mail.gmail.com> I need to get escalations working. Here is my current configs... Am I missing anything? I am only getting the first notication and escalation is not working. Has anyone run into this problem? Thanks in advance, David define hostescalation { host_name * first_notification 3 last_notification 5 notification_interval 15 contact_groups first,second } define hostescalation { host_name * first_notification 6 last_notification 9 notification_interval 15 contact_groups first,second,third } define hostescalation { host_name * first_notification 10 last_notification 12 notification_interval 15 contact_groups first,second,third,fourth } define hostescalation { host_name * first_notification 13 last_notification 15 notification_interval 30 contact_groups first,second,third,forth,fifth } define hostescalation { host_name * first_notification 16 last_notification 18 notification_interval 30 contact_groups first,second,third,forth,fifth,sixth } define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 3 contact_groups first notification_interval 10 notification_period 24x7 notification_options d,r register 0 } define host { host_name Webserver1 alias Webserver1 address 1.1.1.1 use generic-host } -------------- 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 ae at op5.se Tue Nov 14 08:19:48 2006 From: ae at op5.se (Andreas Ericsson) Date: Tue, 14 Nov 2006 08:19:48 +0100 Subject: UTF8 Japanese characters in macros In-Reply-To: <453590CB.9040202@star.fielding.nec.co.jp> References: <453590CB.9040202@star.fielding.nec.co.jp> Message-ID: <45596E14.5090806@op5.se> ????? wrote: > Hi, > > I am running nagios 2.5 on SuSE 10.1, and I would like to include > japanese in my mail notifications. SuSE is set up to use UTF8 as the > base language, and I am using the standard host-notify-by-email command > provided in the example configs as below: > > /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\n$HOSTNOTES$\n\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for > $HOSTNAME$!" $CONTACTEMAIL$ > > note the use of $HOSTNOTES$, this is where I would like to include the > japanese location of the device having problems. > > for example I have the following hostextinfo entry: > > define hostextinfo{ > host_name mail > notes [room name in japanese UTF8] > } > > However, the mail arrives with an empty line where the notes information > should be. If I include some english in the notes section, for example > "Location: [Japanese]" the mail contains "Location: ", but not the rest. > > Both printf and mail work fine with UTF8 japanese, and tests using only > the $HOSTNOTES$ macro yeilds similar results (nothing output). > The CGI's work fine, and display the japanese, so it seems the macro > processing is not able to handle the characters. > > Has anyone had similar problems, and is there a solution? > Certain characters are blocked from being output by Nagios when it executes commands. One way to work around it once and for all would be to teach it to grok a command-line properly and exec() all external commands instead of using the shell (via popen()). Because this is pretty intrusive and any bugs will have big impact on the core of how Nagios works patches should be tested and re-tested before being sent in. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lieve.vandenheuvel at trasys.be Tue Nov 14 09:13:21 2006 From: lieve.vandenheuvel at trasys.be (Lieve Van den Heuvel) Date: Tue, 14 Nov 2006 09:13:21 +0100 Subject: Weblogic configuration Message-ID: <000801c707c4$c03b1370$ae0aa8c0@ariane.tractebel.be> Hi I started working with nagios about a week ago and yesterday I managed to get it running and checking the first host (which made me very happy since it was my first installation on Linux as well ;)).. But now I want to add monitoring for weblogic servers and I've been looking for hours now to find information on the net but it appears to me that I'm either looking for the wrong things or that just not much is around... So I was wondering if there is anybody that can give me an overview on what to do? Perhaps an example of the configuration? That would be very very much appreciated. Thank you!!!!! Lieve -------------- 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 b00mer at gmx.net Tue Nov 14 09:47:40 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Tue, 14 Nov 2006 09:47:40 +0100 Subject: Weblogic configuration In-Reply-To: <000801c707c4$c03b1370$ae0aa8c0@ariane.tractebel.be> References: <000801c707c4$c03b1370$ae0aa8c0@ariane.tractebel.be> Message-ID: <455982AC.6070800@gmx.net> Hi Lieve, I've written a short perl Plugin which checks our Bea Webservers via SNMP. For us it works fine but it is not tested very well. If you don't have a problem to establish some SNMP Sessions between your Nagios Server und your Weblogic server you are able to ask for nearly any of the informations from the bea weblogic snmp mib: http://e-docs.bea.com/wls/docs81/snmp/ It would be nice for me to got some "beta" testing reports ;) Best regards, Hendrik Lieve Van den Heuvel schrieb: > Hi > > I started working with nagios about a week ago and yesterday I managed > to get it running and checking the first host (which made me very > happy since it was my first installation on Linux as well ;)).. But > now I want to add monitoring for weblogic servers and I've been > looking for hours now to find information on the net but it appears to > me that I'm either looking for the wrong things or that just not much > is around... > > So I was wondering if there is anybody that can give me an overview on > what to do? Perhaps an example of the configuration? That would be > very very much appreciated. > > Thank you!!!!! > > Lieve > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 shoktai at gmail.com Tue Nov 14 11:36:53 2006 From: shoktai at gmail.com (Toto Capuccino) Date: Tue, 14 Nov 2006 11:36:53 +0100 Subject: Blackberry server monitoring Message-ID: <619cf3c0611140236p67473467lab603f513e9226e9@mail.gmail.com> Hi Guys, I have just installed the blackberry mibs in my nagios server, i was wondering if you would already know wich OIDs are relevant to monitor. Thanks. -- Le bon sens est la chose du monde la mieux partag?e. -------------- 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 bobf at studentsonly.com Tue Nov 14 11:43:38 2006 From: bobf at studentsonly.com (Farrell,Bob) Date: Tue, 14 Nov 2006 05:43:38 -0500 Subject: Oreon Message-ID: I have posted to the Oreon board, but thought someone here might have an answer as well. I have Nagios and Oreon working on all existing checks, but cannot seem to add new ones. Has anyone run into this? I setup the check, save it, export it to Nagios, then it never shows up. Nothing in any logs. Regards, Bob -------------- 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 ralf.prengel at comline.de Tue Nov 14 12:17:14 2006 From: ralf.prengel at comline.de (Ralf Prengel) Date: Tue, 14 Nov 2006 12:17:14 +0100 Subject: check if spoole directoty is epmty Message-ID: <4559A5BA.4020403@comline.de> Hello, i try to check printer and mail spooldirectories. My idea = if the directories are empty printig and mailing is working. The problem is how to check if a directory is empty. I found the plugin file_age but that seemsto need a named file or am I wrong with this? Thanks for hints. Ralf Prengel ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 14 12:21:53 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Tue, 14 Nov 2006 12:21:53 +0100 Subject: check if spoole directoty is epmty Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F6239F@cmgexcdc01.CMG.local> > > Hello, > > i try to check printer and mail spooldirectories. > My idea = if the directories are empty printig and mailing is working. > > The problem is how to check if a directory is empty. > > I found the plugin file_age but that seemsto need a named > file or am I wrong with this? > > > Thanks for hints. > Why not check the output of: ls -1 | wc -l Should return number of files in a folder. Thanks Giles ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 14 12:32:01 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Tue, 14 Nov 2006 12:32:01 +0100 Subject: check if spoole directoty is epmty In-Reply-To: <4559A5BA.4020403@comline.de> References: <4559A5BA.4020403@comline.de> Message-ID: <4559A931.4090604@gmx.net> Hi Ralf, For Mail: what about checking the local mailq? check_mailq out of the standard plugins might help. try to use check_smtp for connecting directly to your smtp port? Best wishes Hendrik B?cker Ralf Prengel schrieb: > Hello, > > i try to check printer and mail spooldirectories. > My idea = if the directories are empty printig and mailing is working. > > The problem is how to check if a directory is empty. > > I found the plugin file_age but that seemsto need a named file or am I > wrong with this? > > > Thanks for hints. > > Ralf Prengel > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ralf.prengel at comline.de Tue Nov 14 12:56:42 2006 From: ralf.prengel at comline.de (Ralf Prengel) Date: Tue, 14 Nov 2006 12:56:42 +0100 Subject: check if spoole directoty is epmty In-Reply-To: <4559A931.4090604@gmx.net> References: <4559A5BA.4020403@comline.de> <4559A931.4090604@gmx.net> Message-ID: <4559AEFA.1050706@comline.de> Hendrik Baecker schrieb: > Hi Ralf, > > For Mail: > what about checking the local mailq? check_mailq out of the standard > plugins might help. > try to use check_smtp for connecting directly to your smtp port? 1) The Plugin needs tls that is not installed on every server/ clientsystem for sendig internal status-mails. 2) My idea is to check direct via filesystem to avoid wrong results because of mailq oder postfix-problems. In other words: is the mailqueue empty everything should 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 GilesC at CarmenMedia.com Tue Nov 14 13:02:40 2006 From: GilesC at CarmenMedia.com (Giles Coochey) Date: Tue, 14 Nov 2006 13:02:40 +0100 Subject: check if spoole directoty is epmty Message-ID: <28919ADDC3E2C44BAD07B1EB44818493F623A4@cmgexcdc01.CMG.local> > > Hendrik Baecker schrieb: > > Hi Ralf, > > > > For Mail: > > what about checking the local mailq? check_mailq out of the > standard > > plugins might help. > > try to use check_smtp for connecting directly to your smtp port? > Actually, on my system check_mailq returns OK status when nagios does not have rights to read the queue folder. So it also seems a little flawed. Might get better results with Qmail instead of sendmail I suppose. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 14 14:07:39 2006 From: ton.voon at altinity.com (Ton Voon) Date: Tue, 14 Nov 2006 13:07:39 +0000 Subject: check if spoole directoty is epmty In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F623A4@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F623A4@cmgexcdc01.CMG.local> Message-ID: On 14 Nov 2006, at 12:02, Giles Coochey wrote: > >> >> Hendrik Baecker schrieb: >>> Hi Ralf, >>> >>> For Mail: >>> what about checking the local mailq? check_mailq out of the >> standard >>> plugins might help. >>> try to use check_smtp for connecting directly to your smtp port? >> > > Actually, on my system check_mailq returns OK status when nagios does > not have rights to read the queue folder. So it also seems a little > flawed. Might get better results with Qmail instead of sendmail I > suppose. Hi Giles, FYI, this was fixed in the plugins 1.4.4 release. Please try that and let me know if it is still a problem. 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 npietrangelo at jewels.com Tue Nov 14 14:20:56 2006 From: npietrangelo at jewels.com (Nicholas Pietrangelo) Date: Tue, 14 Nov 2006 08:20:56 -0500 Subject: Nagios 2.5 for RHEL4 & FC6 Message-ID: <1163510456.3825.2.camel@dustymonkey> Is there any documentation for Nagios 2.5? There seems to be changes in the installation (RPM) and directory structures. If anyone has a list of instructions on how to configure the webserver and clients it would be appreciated. TIA, Nick P. -- Nicholas Pietrangelo Sterling Jewelers, Inc. 330-665-6182 office 440-829-7777 mobile npietrangelo at jewels.com The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. 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 jperrin at gmail.com Tue Nov 14 14:39:07 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 14 Nov 2006 08:39:07 -0500 Subject: Nagios 2.5 for RHEL4 & FC6 In-Reply-To: <1163510456.3825.2.camel@dustymonkey> References: <1163510456.3825.2.camel@dustymonkey> Message-ID: <302ce8b50611140539l29e040e6p5ac34cab6ecc9ccb@mail.gmail.com> On 11/14/06, Nicholas Pietrangelo wrote: > > Is there any documentation for Nagios 2.5? There seems to be changes in > the installation (RPM) and directory structures. If anyone has a list of > instructions on how to configure the webserver and clients it would be > appreciated. > http://wiki.centos.org/Nagios_on_CentOS_4.x CentOS is a rebuild of RHEL so the directions should work quite well. The versions are slightly off (2.4 instead of 2.5) but should be mostly trivial changes. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell -------------- 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 Tue Nov 14 15:00:09 2006 From: btmanmeh at verizon.net (Max H.) Date: Tue, 14 Nov 2006 09:00:09 -0500 Subject: Nagios 2.5 for RHEL4 & FC6 In-Reply-To: <302ce8b50611140539l29e040e6p5ac34cab6ecc9ccb@mail.gmail.com> References: <1163510456.3825.2.camel@dustymonkey> <302ce8b50611140539l29e040e6p5ac34cab6ecc9ccb@mail.gmail.com> Message-ID: <4559CBE9.2010502@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Perrin wrote: > > http://wiki.centos.org/Nagios_on_CentOS_4.x > CentOS is a rebuild of RHEL so the directions should work quite well. > The versions are slightly off ( 2.4 instead of 2.5) but should be mostly > trivial changes. I added a brief mention on that how-to about upgrading from 2.4 to 2.5, so there shouldn't be any problem at all with following it. I haven't re-written it yet for 2.5 because I upgraded my Nagios instance with yum and didn't have any problems or issues. Just a note about that guide, it's very very basic installation and concept. I don't have much documented on the client side in that guide, but if you visit there's plenty of guides for many things. I have one for the Nagios NRPE client at that site as well. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFWcvpHoeeepPau2ERAnvgAJ4pAdpektEWGieZjG6gBIoXzirnygCgxst3 FnjDBftROMctwl3MWB5/lS0= =TLoD -----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 vasiliy at linuxspecial.com Tue Nov 14 16:13:49 2006 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Tue, 14 Nov 2006 10:13:49 -0500 Subject: NRPE Disk check problem, indoes 100% Message-ID: <4559DD2D.8050805@linuxspecial.com> Gents, I use nrpe plugin to check my Linux systems for disk utilization... Filesystem Size Used Avail Use% Mounted on /dev/sda2 981M 573M 359M 62% / /dev/sda1 99M 27M 67M 29% /boot none 1.3G 0 1.3G 0% /dev/shm /dev/sda3 132G 3.2G 122G 3% /home /dev/sda6 2.9G 37M 2.7G 2% /tmp /dev/sda5 9.7G 7.3G 1.9G 80% /usr Check comes back... The drive values are appropriate... Why are the inodes at 100 percent? How do I fix that? I presume thats what causing the alarm... DISK WARNING - free space: / 358 MB (37% inode=94%): /boot 67 MB (68% inode=100%): /dev/shm 1267 MB (100% inode=100%): /home 124159 MB (93% inode=100%): /tmp 2763 MB (94% inode=100%): /usr 1943 MB (20% inode=89%): THANKS!!!!!!! -- Vasiliy Boulytchev vasiliy at linuxspecial.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 vasiliy at linuxspecial.com Tue Nov 14 16:16:39 2006 From: vasiliy at linuxspecial.com (Vasiliy Boulytchev) Date: Tue, 14 Nov 2006 10:16:39 -0500 Subject: Nagios Directory check In-Reply-To: <455841EB.9000007@googlemail.com> References: <4554F308.7060505@linuxspecial.com> <455841EB.9000007@googlemail.com> Message-ID: <4559DDD7.8010806@linuxspecial.com> Unfortunately, that is not possible on the WAN side :( I need to monitor some devices off-net. Our developer will have to write some asp I think... Probably the cleanest way to do this... asp checks the specified directories, then shoots off an email... Then on nagios server, write the perl to check the imap account, do the checks, return a value. THANKS!!! Vasiliy Boulytchev vasiliy at linuxspecial.com Hari Sekhon wrote: > I'm thinking samba or smbfs/cifs with a little shell, easy to do, just > try mounting the remote share and then du it or something... > > -h > > Hari Sekhon > > > > Vasiliy Boulytchev wrote: > >> Gents, >> Need a nagios check to get me a remote directory size on a windows/linux >> machine. >> >> Does anyone have a check in mind? >> >> THANKS! >> >> Vasiliy Boulytchev >> vasiliy at linuxspecial.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 > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From forums at emat.be Tue Nov 14 17:00:24 2006 From: forums at emat.be (Jelle S.) Date: Tue, 14 Nov 2006 17:00:24 +0100 Subject: status map background In-Reply-To: <003b01c6fd26$f817c610$0208090a@a1> References: <003b01c6fd26$f817c610$0208090a@a1> Message-ID: <4559E818.60804@emat.be> 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 knobdy at gmail.com Tue Nov 14 17:39:37 2006 From: knobdy at gmail.com (Brian Loe) Date: Tue, 14 Nov 2006 10:39:37 -0600 Subject: customer request possible? Message-ID: <3c4611bc0611140839h738028d6k28d6176ba2384982@mail.gmail.com> I have a customer that would like us to monitor all devices that involve the services we're selling them, and provide them with an availability report. I've created a host group with just those devices but the outstanding issues are: 1. Need to change the polling/pinging interval to 2 minutes. I assume I will need to do that through their individual host records? 2. Need to export an availability report on a weekly basis. I have had no luck in editing the one reporting script I have to use the availability cgi - has anyone else? I would need it to run a simple report for the previous week for this specific hostgroup, etc., etc... It can't be that difficult I'm sure - I'm just not getting it... ------------------------------------------------------------------------- SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs posted by companies looking to hire people just like you. http://jobs.slashdot.org/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Nov 14 17:55:47 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Nov 2006 10:55:47 -0600 Subject: NRPE Disk check problem, indoes 100% Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Vasiliy Boulytchev > Sent: Tuesday, November 14, 2006 9:14 AM > To: Nagios Users mailinglist > Subject: [Nagios-users] NRPE Disk check problem, indoes 100% > > Gents, > I use nrpe plugin to check my Linux systems for disk utilization... > > > Filesystem Size Used Avail Use% Mounted on > /dev/sda2 981M 573M 359M 62% / > /dev/sda1 99M 27M 67M 29% /boot > none 1.3G 0 1.3G 0% /dev/shm > /dev/sda3 132G 3.2G 122G 3% /home > /dev/sda6 2.9G 37M 2.7G 2% /tmp > /dev/sda5 9.7G 7.3G 1.9G 80% /usr > > Check comes back... The drive values are appropriate... Why are the > inodes at 100 percent? How do I fix that? I presume thats what causing > the alarm... > > DISK WARNING - free space: > / 358 MB (37% inode=94%): > /boot 67 MB (68% inode=100%): > /dev/shm 1267 MB (100% inode=100%): > /home 124159 MB (93% inode=100%): > /tmp 2763 MB (94% inode=100%): > /usr 1943 MB (20% inode=89%): The short answer is that you have reached the maximum number of files those partitions will support based on how you formatted them. You need to either remove files from the partitions, expand the partitions which would also expand the inode pool or re-format them with a higher inode density. Clearly the first is easiest. I consider it unusual to hit max inodes under normal circumstances. Do you have an unusual number of files on those filesystems? Note that /dev/shm is a special filesystem and can't be modified. I believe check_disk ignores it. A longer description of inodes is at http://en.wikipedia.org/wiki/Inode. -- Marc ------------------------------------------------------------------------- SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs posted by companies looking to hire people just like you. http://jobs.slashdot.org/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steele at agora-net.com Tue Nov 14 19:05:49 2006 From: steele at agora-net.com (Ryan Steele) Date: Tue, 14 Nov 2006 13:05:49 -0500 Subject: A question regarding nagios-statd-{client, server} and NRPE Message-ID: <455A057D.2040103@agora-net.com> Just as a small preamble, I'm running Debian. I've recently acquired some new machines, and I'm upgrading them all to Nagios2.5. I've noticed that in the old Nagios configs, there are references to commands that call /usr/bin/nagios-stat (for example, check_disk_statd: /usr/bin/nagios-stat -d $ARG1$ disk $HOSTADDRESS$). From what I've been able to ascertain, this binary utility shipped with nagios-statd-client. However, nagios-statd-client depends on the "nagios" package. Since I have nagios2 installed and not nagios, I cannot install nagios-statd-client as the dependencies aren't met. I did, however, see that there is a plugin called NRPE, which doesn't depend on nagios2...and I'm thinking this might be what I need. So, I guess my question is, "What package(s) is/are meant to replace nagios-statd-client for nagios2?" I'm doing my best to seamlessly transition, but I need the check commands that rely on the binaries that seem to be associated with nagios-statd-client. Any advice/suggestions? Thanks alot in advance, Best Regards, Ryan -- Ryan Steele Systems Administrator steele at agora-net.com AgoraNet, Inc. (302) 224-2475 314 E. Main Street, Suite 1 (302) 224-2552 (fax) Newark, DE 19711 http://www.agora-net.com ------------------------------------------------------------------------- SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs posted by companies looking to hire people just like you. http://jobs.slashdot.org/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jon.Knepp at acxiom.com Tue Nov 14 19:17:41 2006 From: Jon.Knepp at acxiom.com (Knepp Jon - jknepp) Date: Tue, 14 Nov 2006 12:17:41 -0600 Subject: NDOutils-1.3.1 nebmodule_init problem Message-ID: Sorry for the resend. There were no responses from my initial submission last week so I thought I'd give this one more go... I am receiving the following error in my nagios.log file on startup: [1163011077] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) [1163011077] Error: Function nebmodule_init() in module '/usr/local/nagios/bin/ndomod.o' returned an error. Module will be unloaded. [1163011077] Event broker module '/usr/local/nagios/bin/ndomod.o' deinitialized successfully. The good news is that ndo2db appears to be running properly as I was able to use the log2ndo command from the ndoutils-1.3.1/src/ directory to load my nagios.log file into my MySQL database without error. I have also verified that my nagios executable was properly compiled with Event Broker support as it was able to successfully load the helloworld.o module included in the nagios-2.5/module/ directory, generating the successful helloworld.o module load messages in the nagios.log file. After multiple successful and uneventful compilings of the ndomod.o (ala ndomod-2x.o variety) with "./configure --with-mysql-lib=/usr/lib/mysql --disable-pgsql" the only thing that continues to elude me is a successful initialization of the ndomod.o at nagios startup. I would greatly appreciate any assistance. Thanks in advance, Jon ************************************************************************* The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please resend this communication to the sender and delete the original message or any copy of it from your computer system. Thank you. ************************************************************************* -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.net email is sponsored by: A Better Job is Waiting for You - Find it Now. Check out Slashdot's new job board. Browse through tons of technical jobs posted by companies looking to hire people just like you. http://jobs.slashdot.org/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Richard.A.Childers at wellsfargo.com Tue Nov 14 20:00:41 2006 From: Richard.A.Childers at wellsfargo.com (Richard.A.Childers at wellsfargo.com) Date: Tue, 14 Nov 2006 13:00:41 -0600 Subject: Customizing avail.cgi (two questions) Message-ID: <8A880C79FFE28546933CE022FE244C7C010B75BD@msgswbiadsm48.wellsfargo.com> Dear fellow Nagios abusers, I am trying to figure out how to provide customized views for different groups, using Nagios. What I'd like to do is call avail.cgi and deposit the results in separate directories, then make those separate directories password-protected by separate htpasswd entries, so that department heads can log in and see their servers' history, but no one else's. Is this possible? Is there any way to customize the behavior of avail.cgi without having to rewrite it (it's a monster)? Separately, I've been asked to explain (and possibly eliminate) the replicate numbers on the availability report - you know, you have a server that's been up 100% of the time, it will have a report saying something like "100.000%", followed immediately by the same number in parentheses, "(100.000%)". What do these numbers in parentheses represent, and why are they there, seeing as they reflect the same number ('Uptime') that's not in parentheses? Inquiring minds and all that. Regards, -- richard ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Andreas.Luber at atosorigin.com Tue Nov 14 20:07:21 2006 From: Andreas.Luber at atosorigin.com (Andreas.Luber at atosorigin.com) Date: Tue, 14 Nov 2006 20:07:21 +0100 Subject: nagios.log: Possible to define only one column separator in Nagios? Message-ID: <0BD0B10BB7C83641AF55A85477F75F977F4BB2@DEFMX001.deuser.de.intra> Hi, we are using Nagios 2.5 and are currently in the process of trying to import all nagios log files into a central data warehouse in order to do some nice sla reporting. Now, i was wondering why three separators, 1. 'white space' (after time stamp), 2.':' (after service alert / host alert), 3. ';' (remaining columns) are being used? Example: [1163525428] SERVICE ALERT: EMMZS73906;DHCP172.18.0.0;OK;SOFT;2;OK - 48 freie IPs in Scope 172.18.0.0 Is there a way to have all "columns" separated by the same character? I couldn't find an appropriate option in nagios.cfg, nor a corresponding hint in the archives. Any help greatly appreciated. Kind regards, Andreas -------------- 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 bob.debolt at starblanket.ca Tue Nov 14 20:38:14 2006 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Tue, 14 Nov 2006 12:38:14 -0700 Subject: NRPE Disk check problem, indoes 100% In-Reply-To: <4559DD2D.8050805@linuxspecial.com> References: <4559DD2D.8050805@linuxspecial.com> Message-ID: <200611141238.14247.bob.debolt@starblanket.ca> On Tuesday 14 November 2006 8:13 am, Vasiliy Boulytchev wrote: Hi Vasiliy It would appear that you have a command / script error as the likelyhood of all the inodes being used up on that many partitions is quite low. Post your command line / nagios / nrpe versions etc. > > DISK WARNING - free space: > / 358 MB (37% inode=94%): > /boot 67 MB (68% inode=100%): > /dev/shm 1267 MB (100% inode=100%): > /home 124159 MB (93% inode=100%): > /tmp 2763 MB (94% inode=100%): > /usr 1943 MB (20% inode=89%): Bob ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 14 20:42:10 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Nov 2006 13:42:10 -0600 Subject: Customizing avail.cgi (two questions) Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of > Richard.A.Childers at wellsfargo.com > Sent: Tuesday, November 14, 2006 1:01 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Customizing avail.cgi (two questions) > > > Dear fellow Nagios abusers, > > > I am trying to figure out how to provide customized views for different > groups, using Nagios. > > What I'd like to do is call avail.cgi and deposit the results in > separate directories, then make those separate directories > password-protected by separate htpasswd entries, so that department > heads can log in and see their servers' history, but no one else's. > > Is this possible? Is there any way to customize the behavior of > avail.cgi without having to rewrite it (it's a monster)? Nagios does this automagically if web authentication is enabled (see the docs). By default authenticated users can only see hosts and services for which they are authorized contacts. Using that you have a couple of useful options -- 1) You can add these users as contacts for their services. They can then log in to nagios and see status for only their hosts/services and run reports themselves. 2) If you only want to provide them with reports, create generic users as above then > > > Separately, I've been asked to explain (and possibly eliminate) the > replicate numbers on the availability report - you know, you have a > server that's been up 100% of the time, it will have a report saying > something like "100.000%", followed immediately by the same number in > parentheses, "(100.000%)". > > What do these numbers in parentheses represent, and why are they there, > seeing as they reflect the same number ('Uptime') that's not in > parentheses? Inquiring minds and all that. > > > Regards, > > -- richard > > > ------------------------------------------------------------------------ - > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > 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 Tue Nov 14 20:43:44 2006 From: marc at ena.com (Marc Powell) Date: Tue, 14 Nov 2006 13:43:44 -0600 Subject: nagios.log: Possible to define only one columnseparator in Nagios? Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Andreas.Luber at atosorigin.com > Sent: Tuesday, November 14, 2006 1:07 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios.log: Possible to define only one > columnseparator in Nagios? > > Hi, > > we are using Nagios 2.5 and are currently in the process of trying to > import all nagios log files into a central data warehouse in order to do > some nice sla reporting. Now, i was wondering why three separators, 1. > 'white space' (after time stamp), 2.':' (after service alert / host > alert), 3. ';' (remaining columns) are being used? > > Example: > [1163525428] SERVICE ALERT: EMMZS73906;DHCP172.18.0.0;OK;SOFT;2;OK - 48 > freie IPs in Scope 172.18.0.0 > > Is there a way to have all "columns" separated by the same character? > > I couldn't find an appropriate option in nagios.cfg, nor a corresponding > hint in the archives. I can't answer why but it's non-configurable. You'll need to edit the source if you want to change 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 patrick.morris at hp.com Tue Nov 14 20:43:13 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 14 Nov 2006 14:43:13 -0500 Subject: A question regarding nagios-statd-{client, server} and NRPE In-Reply-To: <455A057D.2040103@agora-net.com> References: <455A057D.2040103@agora-net.com> Message-ID: Nagios-statd works fine with Nagios 2. Nagios-stat is just a single Python script. If your package is insisting on installing Nagios, you can just grab that single script and drop it in place on your new servers. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Ryan Steele > Sent: Tuesday, November 14, 2006 10:06 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] A question regarding > nagios-statd-{client,server} and NRPE > > Just as a small preamble, I'm running Debian. > > I've recently acquired some new machines, and I'm upgrading > them all to Nagios2.5. I've noticed that in the old Nagios > configs, there are references to commands that call > /usr/bin/nagios-stat (for example, > check_disk_statd: /usr/bin/nagios-stat -d $ARG1$ disk > $HOSTADDRESS$). > From what I've been able to ascertain, this binary utility > shipped with nagios-statd-client. However, > nagios-statd-client depends on the "nagios" package. Since I > have nagios2 installed and not nagios, I cannot install > nagios-statd-client as the dependencies aren't met. > > I did, however, see that there is a plugin called NRPE, which > doesn't depend on nagios2...and I'm thinking this might be > what I need. So, I guess my question is, "What package(s) > is/are meant to replace nagios-statd-client for nagios2?" > > I'm doing my best to seamlessly transition, but I need the > check commands that rely on the binaries that seem to be > associated with nagios-statd-client. Any advice/suggestions? > Thanks alot in advance, ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Tue Nov 14 20:55:06 2006 From: knobdy at gmail.com (Brian Loe) Date: Tue, 14 Nov 2006 13:55:06 -0600 Subject: nagios startup options Message-ID: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> What is the best, safest way to have Nagios start at boot? It would also need to respawn - if for some reason it was killed? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donnell.lewis at icoretechnology.com Tue Nov 14 21:03:22 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Tue, 14 Nov 2006 15:03:22 -0500 Subject: nagios startup options In-Reply-To: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> References: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> Message-ID: <1163534602.7184.61.camel@localhost.localdomain> Well, This would solely depend on what distro you are running it on I would imagine. I run mine on redhat, so when I installed it it put the proper files in the /etc/rc.d directories and /etc/init.d and all I had to do was chkconfig --add nagios. Not sure what distro you are using but you could add it to your init/rc directories the old POSIX way if you aren't using a package manager or service control files, otherwise you could start it up in /etc/rc.local file. As for making sure to restart if it dies, well, that could be done by writing a little bash script that check to see if the nagios process itself is running and if not start it up through the service control or command line string. You really needed to provide a little more info like what distro etc you are running, but that's the gist of it. -Donnell Lewis On Tue, 2006-11-14 at 13:55 -0600, Brian Loe wrote: > What is the best, safest way to have Nagios start at boot? It would > also need to respawn - if for some reason it was killed? > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 knobdy at gmail.com Tue Nov 14 21:09:10 2006 From: knobdy at gmail.com (Brian Loe) Date: Tue, 14 Nov 2006 14:09:10 -0600 Subject: nagios startup options In-Reply-To: <1163534602.7184.61.camel@localhost.localdomain> References: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> <1163534602.7184.61.camel@localhost.localdomain> Message-ID: <3c4611bc0611141209i274eaa12gf7741d23beb495d3@mail.gmail.com> On 11/14/06, Donnell Lewis wrote: > > As for making sure to restart if it dies, well, that could be done by > writing a little bash script that check to see if the nagios process > itself is running and if not start it up through the service control or > command line string. I was hoping for something more along the lines of inittab respawning. > > You really needed to provide a little more info like what distro etc you > are running, but that's the gist of it. Yeah, knew it as soon as I sent it: SuSE 10, 64 bit on PPC ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 14 21:12:58 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 14 Nov 2006 12:12:58 -0800 Subject: Customizing avail.cgi (two questions) Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F1D@dw-mail.dataway.com> > -----Original Message----- > From: Richard.A.Childers at wellsfargo.com > [mailto:Richard.A.Childers at wellsfargo.com] > Sent: Tuesday, November 14, 2006 11:01 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Customizing avail.cgi (two questions) > > Separately, I've been asked to explain (and possibly eliminate) the > replicate numbers on the availability report - you know, you have a > server that's been up 100% of the time, it will have a report saying > something like "100.000%", followed immediately by the same number in > parentheses, "(100.000%)". > > What do these numbers in parentheses represent, and why are > they there, > seeing as they reflect the same number ('Uptime') that's not in > parentheses? Inquiring minds and all that. The numbers outside parenthesis are all times, including unknown periods. The numbers inside parentehsis are all times, minus unknown periods. "Unknown" is due to nagios not running for some period (ie. if you shut off your nagios server for a day) ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jesse.Saletan at amd.com Tue Nov 14 21:12:04 2006 From: Jesse.Saletan at amd.com (Saletan, Jesse) Date: Tue, 14 Nov 2006 14:12:04 -0600 Subject: nagios startup options Message-ID: As Donnell said this may be somewhat distro dependent, but with Red Hat/Fedora I think you could make Nagios respawn using a "respawn" line in /etc/inittab. I couldn't give you the exact syntax offhand but it's pretty straightforward. I also agree that the simplest and most effective way to start it at boot is with SysV init scripts. -Jesse Saletan ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steele at agora-net.com Tue Nov 14 21:22:00 2006 From: steele at agora-net.com (Ryan Steele) Date: Tue, 14 Nov 2006 15:22:00 -0500 Subject: [Fwd: Re: A question regarding nagios-statd-{client, server} and NRPE] Message-ID: <455A2568.6000508@agora-net.com> Forgot to forward this to the list.... so here it is. -- Ryan Steele Systems Administrator steele at agora-net.com AgoraNet, Inc. (302) 224-2475 314 E. Main Street, Suite 1 (302) 224-2552 (fax) Newark, DE 19711 http://www.agora-net.com -------------- next part -------------- An embedded message was scrubbed... From: Ryan Steele Subject: Re: [Nagios-users] A question regarding nagios-statd-{client, server} and NRPE Date: Tue, 14 Nov 2006 15:21:16 -0500 Size: 3558 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 knobdy at gmail.com Tue Nov 14 21:31:27 2006 From: knobdy at gmail.com (Brian Loe) Date: Tue, 14 Nov 2006 14:31:27 -0600 Subject: nagios startup options In-Reply-To: References: Message-ID: <3c4611bc0611141231q6cd791a1yd1d1748f7ee693ed@mail.gmail.com> On 11/14/06, Saletan, Jesse wrote: > As Donnell said this may be somewhat distro dependent, but with Red > Hat/Fedora I think you could make Nagios respawn using a "respawn" line > in /etc/inittab. I couldn't give you the exact syntax offhand but it's > pretty straightforward. > > I also agree that the simplest and most effective way to start it at > boot is with SysV init scripts. If you have it in inittab it will start at boot as well, will it not? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Tue Nov 14 21:36:58 2006 From: knobdy at gmail.com (Brian Loe) Date: Tue, 14 Nov 2006 14:36:58 -0600 Subject: reporting Message-ID: <3c4611bc0611141236g2d254577y857cdb3876210d64@mail.gmail.com> I've played with a couple of reporting scripts from nagios exchange - with little success. Does anyone have one that they KNOW works on the latest, stable version of Nagios and can provide availability for a particular hostgroup? Or, conversely and probably preffered, a list of outages for each host in a particular hostgroup? Changing polling interval to 2 minutes was a no-brainer, I guess it had just been awhile since I messed with the configuration files. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 14 21:41:22 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 14 Nov 2006 21:41:22 +0100 (CET) Subject: nagios startup options In-Reply-To: <3c4611bc0611141209i274eaa12gf7741d23beb495d3@mail.gmail.com> References: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> <1163534602.7184.61.camel@localhost.localdomain> <3c4611bc0611141209i274eaa12gf7741d23beb495d3@mail.gmail.com> Message-ID: On Tue, 14 Nov 2006, Brian Loe wrote: > On 11/14/06, Donnell Lewis wrote: > > > > As for making sure to restart if it dies, well, that could be done by > > writing a little bash script that check to see if the nagios process > > itself is running and if not start it up through the service control or > > command line string. > > I was hoping for something more along the lines of inittab respawning. Sounds like a bad idea. If you make a typo in the config your system will respawn itself a lot as it will start and die in quick succesion. A watchdog script can be smarter. And my nagios uptime is almost identical to my OS uptime. (Which equals the amount of time it takes to run my Sxxnagios script in rc3.d after boot up.) Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Tue Nov 14 21:57:34 2006 From: knobdy at gmail.com (Brian Loe) Date: Tue, 14 Nov 2006 14:57:34 -0600 Subject: nagios startup options In-Reply-To: References: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> <1163534602.7184.61.camel@localhost.localdomain> <3c4611bc0611141209i274eaa12gf7741d23beb495d3@mail.gmail.com> Message-ID: <3c4611bc0611141257t25785c20j825cc67e964ac69c@mail.gmail.com> On 11/14/06, Hugo van der Kooij wrote: > > > Sounds like a bad idea. If you make a typo in the config your system will > respawn itself a lot as it will start and die in quick succesion. > > A watchdog script can be smarter. And my nagios uptime is almost identical > to my OS uptime. (Which equals the amount of time it takes to run my > Sxxnagios script in rc3.d after boot up.) > Do you have such a watchdog script you can share? :) Do you kick it off from an rc file as well? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steele at agora-net.com Tue Nov 14 22:04:10 2006 From: steele at agora-net.com (Ryan Steele) Date: Tue, 14 Nov 2006 16:04:10 -0500 Subject: A question regarding nagios-statd-{client, server} and NRPE In-Reply-To: References: Message-ID: <455A2F4A.706@agora-net.com> Morris, Patrick wrote: >> -----Original Message----- >> From: Ryan Steele [mailto:steele at agora-net.com] >> Sent: Tuesday, November 14, 2006 12:21 PM >> To: Morris, Patrick >> Subject: Re: [Nagios-users] A question regarding >> nagios-statd-{client,server} and NRPE >> >> Patrick, >> >> While convenient in this case, it defeats the purpose of >> Debian's extensive package management tools; it just isn't >> maintainable with respect to scaling. However, it is >> interesting to note that nagios-statd works with Nagios2. On >> my Debian boxes - and, according to packages.debian.org - it >> basically boils down to this: >> >> nagios-statd-client: Depends: nagios >> >> I'm sure there is good reason for this dependency, though >> I've not taken a look at the package with enough scrutiny to >> know why. I also notice, however, that development in the >> nagios-statd vein seems to have stopped in 2004? >> >> http://packages.qa.debian.org/n/nagios-statd.html >> >> So, that's where my assumption of NRPE succeeding it came >> from... but I may be incorrect in that assumption. I guess >> I'll have to continue researching.... >> >> Thanks for your response, and any other advice is most >> certainly welcome. >> > > Hang on a sec... We're talking about nagios-stat here, right? That's > the Nagios-side client, and probably *should* depend on Nagios, since > it's relatively useless without it. > > What are the dependencies for nagios-statd-server (the nagios-statd > script), which is what you'd want installed on the remote machines that > don't have Nagios on them? > Well, I think this discussion is sort of moot now, as I've found that NRPE does in fact seem to supersede nagios-statd-{client,server}. The nagios-statd client/server combo (for which development has been stopped) limited you to only a handful of hardcoded checks. NRPE client/server gives you the ability to remotely check _anything_ that you have a plugin for. So, for example, if the LDAP port is blocked to anything external to a given cluster, but you still want to check if it is running from a remote Nagios server, you could pass the check_ldap plugin to NRPE, and you'd have the information you desire. Thank you again for trying to help me understand this! Best Regards, Ryan -- Ryan Steele Systems Administrator steele at agora-net.com AgoraNet, Inc. (302) 224-2475 314 E. Main Street, Suite 1 (302) 224-2552 (fax) Newark, DE 19711 http://www.agora-net.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 Nov 14 22:29:20 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 14 Nov 2006 22:29:20 +0100 (CET) Subject: nagios startup options In-Reply-To: <3c4611bc0611141257t25785c20j825cc67e964ac69c@mail.gmail.com> References: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> <1163534602.7184.61.camel@localhost.localdomain> <3c4611bc0611141209i274eaa12gf7741d23beb495d3@mail.gmail.com> <3c4611bc0611141257t25785c20j825cc67e964ac69c@mail.gmail.com> Message-ID: On Tue, 14 Nov 2006, Brian Loe wrote: > On 11/14/06, Hugo van der Kooij wrote: > > > > > > Sounds like a bad idea. If you make a typo in the config your system will > > respawn itself a lot as it will start and die in quick succesion. > > > > A watchdog script can be smarter. And my nagios uptime is almost identical > > to my OS uptime. (Which equals the amount of time it takes to run my > > Sxxnagios script in rc3.d after boot up.) > > Do you have such a watchdog script you can share? :) Well. I do not have one because nagios is quite stable. But it might contain a check like: ps ax|egrep "^`cat /var/run/nagios.pid`" And verify is still is the nagios process. Other check might work just as well. > Do you kick it off from an rc file as well? Sure. Multiple Centos 4 system all running nagios from DAG's rpm packages. Everything except the actual nagios config files was a breeze to install. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donnell.lewis at icoretechnology.com Tue Nov 14 23:24:29 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Tue, 14 Nov 2006 17:24:29 -0500 Subject: nagios startup options In-Reply-To: References: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> <1163534602.7184.61.camel@localhost.localdomain> <3c4611bc0611141209i274eaa12gf7741d23beb495d3@mail.gmail.com> <3c4611bc0611141257t25785c20j825cc67e964ac69c@mail.gmail.com> Message-ID: <1163543069.7184.73.camel@localhost.localdomain> I always like using the nagios process check myself rather than checking for the ".pid" file as I have had nagios die off and the ps wasn't telling me anything, I use this which works pretty good for me, I also use this along with additonal and modified to check our nagios primary to make sure it's up and if not startup slave etc. Might want to give this a try, edit according to your install of course : #!/bin/bash plugindir="/usr/local/nagios/libexec" cmdstart='/sbin/service nagios start' #Check nagios with check_nagios plugin $plugindir/check_nagios -e 5 -F /usr/local/nagios/var/nagios.log -C /usr/local/nagios/bin/nagios if [ "${?}" != 0 ] ; then echo "CRITICAL:Nagios not found running..." $cmdstart else echo "OK:Nagios runnning..." fi exit -Donnell Lewis On Tue, 2006-11-14 at 22:29 +0100, Hugo van der Kooij wrote: > On Tue, 14 Nov 2006, Brian Loe wrote: > > > On 11/14/06, Hugo van der Kooij wrote: > > > > > > > > > Sounds like a bad idea. If you make a typo in the config your system will > > > respawn itself a lot as it will start and die in quick succesion. > > > > > > A watchdog script can be smarter. And my nagios uptime is almost identical > > > to my OS uptime. (Which equals the amount of time it takes to run my > > > Sxxnagios script in rc3.d after boot up.) > > > > Do you have such a watchdog script you can share? :) > > Well. I do not have one because nagios is quite stable. But it might > contain a check like: > > ps ax|egrep "^`cat /var/run/nagios.pid`" > > And verify is still is the nagios process. > > Other check might work just as well. > > > Do you kick it off from an rc file as well? > > Sure. Multiple Centos 4 system all running nagios from DAG's rpm packages. > Everything except the actual nagios config files was a breeze to install. > > Hugo. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Tue Nov 14 23:46:01 2006 From: knobdy at gmail.com (Brian Loe) Date: Tue, 14 Nov 2006 16:46:01 -0600 Subject: nagios startup options In-Reply-To: <1163543069.7184.73.camel@localhost.localdomain> References: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> <1163534602.7184.61.camel@localhost.localdomain> <3c4611bc0611141209i274eaa12gf7741d23beb495d3@mail.gmail.com> <3c4611bc0611141257t25785c20j825cc67e964ac69c@mail.gmail.com> <1163543069.7184.73.camel@localhost.localdomain> Message-ID: <3c4611bc0611141446u65ba16a6y1a1bcc10e09c4838@mail.gmail.com> On 11/14/06, Donnell Lewis wrote: > I always like using the nagios process check myself rather than checking > for the ".pid" file as I have had nagios die off and the ps wasn't > telling me anything, I use this which works pretty good for me, I also > use this along with additonal and modified to check our nagios primary > to make sure it's up and if not startup slave etc. > Where do you run this from? Looks good... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donnell.lewis at icoretechnology.com Tue Nov 14 23:53:25 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Tue, 14 Nov 2006 17:53:25 -0500 Subject: nagios startup options In-Reply-To: <3c4611bc0611141446u65ba16a6y1a1bcc10e09c4838@mail.gmail.com> References: <3c4611bc0611141155q6bd08859n79502a4c9e701551@mail.gmail.com> <1163534602.7184.61.camel@localhost.localdomain> <3c4611bc0611141209i274eaa12gf7741d23beb495d3@mail.gmail.com> <3c4611bc0611141257t25785c20j825cc67e964ac69c@mail.gmail.com> <1163543069.7184.73.camel@localhost.localdomain> <3c4611bc0611141446u65ba16a6y1a1bcc10e09c4838@mail.gmail.com> Message-ID: <1163544805.7184.78.camel@localhost.localdomain> I run it as a user allowed to startup nagios process and have it run as a cronjob. Could also dump as a cron in like /etc/cron.d*, for me I have the nagios user able to startup the nagios process using a sudo ability letting the nagios user just execute that command to startup the process via root. I have our checking on crontab like every 5 or 10 minutes, can't remember which. -Donnell Lewis On Tue, 2006-11-14 at 16:46 -0600, Brian Loe wrote: > On 11/14/06, Donnell Lewis wrote: > > I always like using the nagios process check myself rather than checking > > for the ".pid" file as I have had nagios die off and the ps wasn't > > telling me anything, I use this which works pretty good for me, I also > > use this along with additonal and modified to check our nagios primary > > to make sure it's up and if not startup slave etc. > > > > Where do you run this from? Looks good... ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreas.fladischer at ecofinance.com Wed Nov 15 08:21:38 2006 From: andreas.fladischer at ecofinance.com (Andreas Fladischer) Date: Wed, 15 Nov 2006 08:21:38 +0100 Subject: =?iso-8859-1?q?Intel=AE_RAID_Controller_SRCS16?= Message-ID: <455AC002.8090902@ecofinance.com> Hi at all! I tried to install a check_raid system. I already installed such a script for checking a lsi logic raid with mpt-status but i can't find a similar tool to check an *Intel? RAID Controller SRCS16! *I searched a while but i found nothing! i hope someone can give me a hint! thanks a lot -- Andreas Fladischer IT Consultant ecofinance Finanzsoftware & Consulting GmbH Grieskai 10, 8020 Graz, Austria, +43/(0)316/908030 Graz / Vienna / Essen / London www.ecofinance.com Diese E-Mail koennte vertrauliche und/oder rechtlich geschuetzte Informationen enthalten und ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat sind oder diese E-Mail irrtuemlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese E-Mail. Anderen als dem/den bestimmungsgemaessen Adressaten ist jede Form der Kenntnisnahme, Veroeffentlichung, Vervielfaeltigung oder Weitergabe untersagt. Obwohl wir aktuelle Virenschutzprogramme anwenden, koennen wir fuer Schaeden, die dem Empfaenger durch von uns ggf. dennoch mit Viren, Wuermern o.ae. verseuchten E-Mails entstehen, keine Haftung uebernehmen. This e-mail may contain confidential and/or privileged information and is intended solely for the addressee. If you are not the intended recipient (or have received this e-mail by mistake) please notify the sender immediately and destroy this e-mail. Any form of disclosure, reproduction, distribution by the unintended addressee is prohibited and may be unlawful. Although we make use of up-to-date anti-virus software, we cannot accept any responsibility for damage caused by viruses, worms and the like through our e-mails. -------------- 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 lieve.vandenheuvel at trasys.be Wed Nov 15 09:40:13 2006 From: lieve.vandenheuvel at trasys.be (Lieve Van den Heuvel) Date: Wed, 15 Nov 2006 09:40:13 +0100 Subject: Weblogic configuration Message-ID: I've managed to get a signal from weblogic through snmp but now I'm trying to figure out which attributes I have to monitor and how to get their OID's.. Is there anybody who has already done this? There is just so much that can be monitored but for now I want to start to see if the admin server and the managed servers are running.. Thank you for any help you can give me! Lieve -----Original Message----- From: Lieve Van den Heuvel [mailto:lieve.vandenheuvel at trasys.be] Sent: woensdag 15 november 2006 9:39 To: 'Hendrik Baecker' Subject: RE: [Nagios-users] Weblogic configuration I've managed to get a signal from weblogic through snmp but now I'm trying to figure out which attributes I have to monitor and how to get their OID's.. Is there anybody who has already done this? There is just so much that can be monitored but for now I want to start to see if the admin server and the managed servers are running.. Thank you for any help you can give me! Lieve -----Original Message----- From: Hendrik Baecker [mailto:b00mer at gmx.net] Sent: dinsdag 14 november 2006 9:48 To: lieve.vandenheuvel at trasys.be Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Weblogic configuration Hi Lieve, I've written a short perl Plugin which checks our Bea Webservers via SNMP. For us it works fine but it is not tested very well. If you don't have a problem to establish some SNMP Sessions between your Nagios Server und your Weblogic server you are able to ask for nearly any of the informations from the bea weblogic snmp mib: http://e-docs.bea.com/wls/docs81/snmp/ It would be nice for me to got some "beta" testing reports ;) Best regards, Hendrik Lieve Van den Heuvel schrieb: > Hi > > I started working with nagios about a week ago and yesterday I managed > to get it running and checking the first host (which made me very > happy since it was my first installation on Linux as well ;)).. But > now I want to add monitoring for weblogic servers and I've been > looking for hours now to find information on the net but it appears to > me that I'm either looking for the wrong things or that just not much > is around... > > So I was wondering if there is anybody that can give me an overview on > what to do? Perhaps an example of the configuration? That would be > very very much appreciated. > > Thank you!!!!! > > Lieve > ---------------------------------------------------------------------- > -- > > ---------------------------------------------------------------------- > --- Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jh+nagios at axis.com Wed Nov 15 14:27:29 2006 From: jh+nagios at axis.com (=?iso-8859-1?Q?J=F6rgen_H=E4gg?=) Date: Wed, 15 Nov 2006 14:27:29 +0100 Subject: nagios2 stops checking Message-ID: <21454.1163597249@axis.com> Something strange happens sometimes to a service. I got a warning that was checked 09:41:36. Next scheduled active check was due for 09:42:36. But there was no further check done, it is now more than four hours since the last check. I can confirm it because I'm running nagios-grapher and it has no data after 09:41. The warning disappeared after I manually re-scheduled next check of the service. Here is the detailed service page: (This info was reloaded around 14:24) Current Status: WARNING Status Information: WARNING - load average: 7.66, 2.76, 1.29 Performance Data: load1=7.660;5.000;10.000;0; load5=2.760;4.000;8.000;0; load15=1.290;3.000;5.000;0; Current Attempt: 1/3 State Type: SOFT Last Check Type: ACTIVE Last Check Time: 2006-11-15 09:41:36 Status Data Age: 0d 4h 40m 45s Next Scheduled Active Check: 2006-11-15 09:42:36 Latency: 0.356 seconds Check Duration: 1.023 seconds Last State Change: 2006-11-15 09:41:36 Current State Duration: 0d 4h 40m 45s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 0.00% In Scheduled Downtime? NO Last Update: 2006-11-15 14:22:15 Active Checks: ENABLED Passive Checks: ENABLED Obsessing: ENABLED Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED This is nagios 2.5-1 in Debian. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jastrolo at gmail.com Wed Nov 15 14:58:53 2006 From: jastrolo at gmail.com (Joe Astrologo) Date: Wed, 15 Nov 2006 08:58:53 -0500 Subject: $DATE$ and $OUTPUT$ macro do not show real values Message-ID: <879d1e490611150558n690079eex12950f3f39f876c5@mail.gmail.com> Example form nagios notification ** Nagios ** Notification Type: PROBLEM Service: Disk Space F Service State: WARNING Host: antares99.ohis.local Host: Hot Site SQL server Host Group: windows-servers Info: PING OK - Packet loss = 0%, RTA = 3.50 ms Date/Time: *$DATETIME$* Additional Info: *$OUTPUT$* ** *How can i fix this?* -------------- 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 mccamish at usna.edu Wed Nov 15 15:03:21 2006 From: mccamish at usna.edu (scott mccamish (Contractor)) Date: Wed, 15 Nov 2006 09:03:21 -0500 Subject: $DATE$ and $OUTPUT$ macro do not show real values In-Reply-To: <879d1e490611150558n690079eex12950f3f39f876c5@mail.gmail.com> References: <879d1e490611150558n690079eex12950f3f39f876c5@mail.gmail.com> Message-ID: <455B1E29.3020302@usna.edu> Did you recently upgrade to nagios 2.x? Both of those macro names have changed. See http://nagios.sourceforge.net/docs/2_0/macros.html -Scott Joe Astrologo wrote: > Example form nagios notification > > > ** Nagios ** > > Notification Type: PROBLEM > > Service: Disk Space F > > Service State: WARNING > > Host: antares99.ohis.local > > Host: Hot Site SQL server > > Host Group: windows-servers > > Info: PING OK - Packet loss = 0%, RTA = 3.50 ms > > Date/Time: *$DATETIME$* > > Additional Info: > > *$OUTPUT$* > > ** > > *How can i fix this?* > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at progettomio.net Wed Nov 15 15:17:33 2006 From: matteo at progettomio.net (matteo at progettomio.net) Date: Wed, 15 Nov 2006 15:17:33 +0100 Subject: $DATE$ and $OUTPUT$ macro do not show real values In-Reply-To: <879d1e490611150558n690079eex12950f3f39f876c5@mail.gmail.com> References: <879d1e490611150558n690079eex12950f3f39f876c5@mail.gmail.com> Message-ID: <455B217D.1080601@progettomio.net> > *$OUTPUT$* > *How can i fix this?* Now all the variables are enviroment variables with NAGIOS_ prefix. Try to add it. Matteo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From davidj at synaq.com Wed Nov 15 16:15:51 2006 From: davidj at synaq.com (David Jacobson) Date: Wed, 15 Nov 2006 17:15:51 +0200 Subject: Passve Linux Plugin Message-ID: <1163603751.5151.42.camel@localhost> Hi Gents, We've used active / passive monitoring for a 4 years now with great success. I'd like to know if there is a Linux plugin anyone is aware of that can send the data passively without installing nagios? -- Regards, David Jacobson Technical Director SYNAQ (Pty) Ltd Tel: 011 245 5888 Direct: 011 245 5889 Fax: 011 783 9275 Cell: 083 235 0760 Mail: davidj at synaq.com Web: http://www.synaq.com Key Fingerprint 8246 FCE1 3C22 7EFB E61B 18DF 6E8B 65E8 BD50 78A1 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Wed Nov 15 18:54:08 2006 From: ratty at they.org (frank) Date: Wed, 15 Nov 2006 09:54:08 -0800 (PST) Subject: nagios2 stops checking In-Reply-To: <21454.1163597249@axis.com> References: <21454.1163597249@axis.com> Message-ID: On Wed, 15 Nov 2006, J?rgen H?gg wrote: > > Something strange happens sometimes to a service. > > I got a warning that was checked 09:41:36. Next scheduled active > check was due for 09:42:36. > > But there was no further check done, it is now more than four hours > since the last check. I can confirm it because I'm running > nagios-grapher and it has no data after 09:41. > > The warning disappeared after I manually re-scheduled next check of the > service. I've seen the same problem on 2.0b4 (yes, I know I need to upgrade, but try to convince upper management that it's a good idea and they'll read you the riot act.) Passive checks continued to be handled properly and the status.dat file was being updated on a regular basis so the check_nagios plugin was useless to determine any error. But all active checks stopped dead. This has happened more than once. I don't think I was able to un-wedge it by forcing a new check tho. I'll try that next time it happens. > Here is the detailed service page: > (This info was reloaded around 14:24) > > Current Status: WARNING > Status Information: WARNING - load average: 7.66, 2.76, 1.29 > Performance Data: load1=7.660;5.000;10.000;0; load5=2.760;4.000;8.000;0; load15=1.290;3.000;5.000;0; > Current Attempt: 1/3 > State Type: SOFT > Last Check Type: ACTIVE > Last Check Time: 2006-11-15 09:41:36 > Status Data Age: 0d 4h 40m 45s > Next Scheduled Active Check: 2006-11-15 09:42:36 > Latency: 0.356 seconds > Check Duration: 1.023 seconds > Last State Change: 2006-11-15 09:41:36 > Current State Duration: 0d 4h 40m 45s > Last Service Notification: N/A > Current Notification Number: 0 > Is This Service Flapping? NO > Percent State Change: 0.00% > In Scheduled Downtime? NO > Last Update: 2006-11-15 14:22:15 > Active Checks: ENABLED > Passive Checks: ENABLED > Obsessing: ENABLED > Notifications: ENABLED > Event Handler: ENABLED > Flap Detection: ENABLED > > > This is nagios 2.5-1 in Debian. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SrvFaucon at cslaval.qc.ca Wed Nov 15 19:58:07 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 15 Nov 2006 13:58:07 -0500 Subject: Charts and Graphs and Nagios Oh My! (PNP question) Message-ID: Hi Joerg, Of course your use PNP, it's your program :) I have try NagiosGraph and PNP is so much easier to install. I have a question about the check_nt plugin. Somehow, there are no graph related to the check_nt plugin. Even if I put this [[ illegal_macro_output_chars=`~$&|"<> ]] in the config. Looking at the commands and the log... #command ./check_nt -H srvsql20 -p 1248 -v CPULOAD -l 5,85,96,60,85,96,1440,85,96 #result CPU Load 12% (5 min average) 12% (60 min average) 6% (1440 min average) | '5 min avg Load'=12%;85;96;0;100 '60 min avg Load'=12%;85;96;0;100 '1440 min avg Load'=6%;85;96;0;100 #logs 2006-11-15 13:51:28 [13887] found Performance Data for SRVSQL20 / CPUload5m1h24h ( 5 min avg Load=10%;85;96;0;100 60 min avg Load=11%;85;96;0;100 1440 min avg Lo ad=6%;85;96;0;100 ) 2006-11-15 13:51:28 [13887] Searching Custom Template for nsclient_CPULoad 2006-11-15 13:51:28 [13887] No Custom Template found for nsclient_CPULoad 2006-11-15 13:51:28 [13887] Template is nsclient_CPULoad.php 2006-11-15 13:51:28 [13887] RRD Data Type = GAUGE 2006-11-15 13:51:28 [13887] Perfdata contains spaces (5 min avg Load=10%;85;96;0 ;100 60 min avg Load=11%;85;96;0;100 1440 min avg Load=6%;85;96;0;100) check ill egal_macro_otput_chars in nagios.cfg 2006-11-15 13:51:28 [13887] PNP exiting ... Thanks --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> Joerg Linge 2006-10-26 02:06:50 >>> Am Mittwoch, 25. Oktober 2006 20:15 schrieb Maxwell,Brady: > I have a need to setup some performance and trending graphing or charts > for many of the service checks I am performing with Nagios. [...] I use PNP http://www.ederdrom.de/doku.php/nagios/pnp_en PNP stores the Performance Data from the Nagios Plugins in RRDTool Archives. You need: Perl without special Modules PHP to Display the RRD Graphs RRDTool to do the work. Nagios 2.x and Plugins producing valid Perfdata. Try it. 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 15 20:22:59 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 15 Nov 2006 11:22:59 -0800 Subject: Passve Linux Plugin In-Reply-To: <1163603751.5151.42.camel@localhost> References: <1163603751.5151.42.camel@localhost> Message-ID: <20061115192259.GR17454@pmorris.usa.hp.com> > We've used active / passive monitoring for a 4 years now with great > success. > > I'd like to know if there is a Linux plugin anyone is aware of that can > send the data passively without installing nagios? Take a look at nsca. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 15 16:38:26 2006 From: marc at ena.com (Marc Powell) Date: Wed, 15 Nov 2006 09:38:26 -0600 Subject: Passve Linux Plugin Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of David Jacobson > Sent: Wednesday, November 15, 2006 9:16 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Passve Linux Plugin > > Hi Gents, > > We've used active / passive monitoring for a 4 years now with great > success. > > I'd like to know if there is a Linux plugin anyone is aware of that can > send the data passively without installing nagios? Are you looking for nsca/send_nsca? The submit_check_result script at http://nagios.sourceforge.net/docs/2_0/distributed.html could easily be modified to run a plugin, process it's output and send it to a remote nagios server. -- 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 Eric.Hernandez at infosightinc.com Wed Nov 15 16:58:28 2006 From: Eric.Hernandez at infosightinc.com (Eric Hernandez) Date: Wed, 15 Nov 2006 10:58:28 -0500 Subject: Setting up database support, scripts Message-ID: Hi, I am trying to setup nagios with database support. Scripts for creating tables are included in the contrib directory according to the documentation but its not there? Does anyone have these scripts? http://nagios.sourceforge.net/docs/1_0/xdata-db.html Important: Scripts for creating tables for all types of external data for both MySQL and PostgreSQL databases can be found in the contrib/database/ directory of the distribution -Eric -------------- 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 rneely at zcorum.com Wed Nov 15 17:57:24 2006 From: rneely at zcorum.com (Richard) Date: Wed, 15 Nov 2006 11:57:24 -0500 Subject: Network Outages Message-ID: <004101c708d7$202dc5d0$1e229c44@BIOHAZZARD> Is there a way to Acknowled a Network Outage so that it isn't red anymore and changes to pink! -------------- 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 matteo at progettomio.net Wed Nov 15 18:05:09 2006 From: matteo at progettomio.net (matteo at progettomio.net) Date: Wed, 15 Nov 2006 18:05:09 +0100 Subject: $DATE$ and $OUTPUT$ macro do not show real values In-Reply-To: <455B217D.1080601@progettomio.net> References: <879d1e490611150558n690079eex12950f3f39f876c5@mail.gmail.com> <455B217D.1080601@progettomio.net> Message-ID: <455B48C5.2070100@progettomio.net> use $NAGIOS_OUTPUT or $NAGIOS_HOSTNAME, etc. in your script (i use a bash one to send mail). I suppose you upgrade from 1.x, i suggest you to read carefully the many changes between the version in the nagios documentation page. Regards, Matteo P.S: you forgot to put in copy the mailing list ;-) >>> Where should they be added? What file or files? >>>> > *$OUTPUT$* >>>> > *How can i fix this?* >>>> Now all the variables are enviroment variables with NAGIOS_ prefix. Try >>>> to add it. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 15 21:45:56 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Wed, 15 Nov 2006 21:45:56 +0100 Subject: =?iso-8859-1?q?Charts_and_Graphs_and_Nagios_Oh_My!?= =?iso-8859-1?q?_=28_PNP=09question_=29?= In-Reply-To: References: Message-ID: <200611152145.56580.pitchfork@ederdrom.de> Am Mittwoch, 15. November 2006 19:58 schrieb Serveur-Faucon Surveillance: > Hi Joerg, > > Of course your use PNP, it's your program :) ;-) > I have try NagiosGraph and PNP is so much easier to install. Thanks ! > I have a question about the check_nt plugin. Somehow, there are no graph > related to the check_nt plugin. > > Even if I put this [[ illegal_macro_output_chars=`~$&|"<> ]] in the > config. [...] What do you add exactly to nagios.cfg ? Here is an example .... # host check commands. # The following macros are stripped of the characters you specify: # $HOSTOUTPUT$ # $HOSTPERFDATA$ # $HOSTACKAUTHOR$ # $HOSTACKCOMMENT$ # $SERVICEOUTPUT$ # $SERVICEPERFDATA$ # $SERVICEACKAUTHOR$ # $SERVICEACKCOMMENT$ illegal_macro_output_chars=`~$&|"<> ... 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 marc at ena.com Wed Nov 15 21:44:53 2006 From: marc at ena.com (Marc Powell) Date: Wed, 15 Nov 2006 14:44:53 -0600 Subject: $DATE$ and $OUTPUT$ macro do not show real values Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of matteo at progettomio.net > Sent: Wednesday, November 15, 2006 11:05 AM > To: Joe Astrologo > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] $DATE$ and $OUTPUT$ macro do not show real > values > > use $NAGIOS_OUTPUT or $NAGIOS_HOSTNAME, etc. in your script (i use a > bash one to send mail). > I suppose you upgrade from 1.x, i suggest you to read carefully the many > changes between the version in the nagios documentation page. For the record, $OUTPUT$ and $NAGIOS_OUTPUT are not valid with 2.x. OUTPUT should be either SERVICEOUTPUT or HOSTOUTPUT depending on what is wanted. -- 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 SrvFaucon at cslaval.qc.ca Wed Nov 15 22:27:09 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 15 Nov 2006 16:27:09 -0500 Subject: Charts and Graphs and Nagios Oh My! ( PNP question ) Message-ID: Haaaaaa, I was changing the "illegal_object_name_chars" line instead of the "illegal_macro_output_chars". It is now working, thanks! --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> Joerg Linge 2006-11-15 15:45:56 >>> Am Mittwoch, 15. November 2006 19:58 schrieb Serveur-Faucon Surveillance: > Hi Joerg, > > Of course your use PNP, it's your program :) ;-) > I have try NagiosGraph and PNP is so much easier to install. Thanks ! > I have a question about the check_nt plugin. Somehow, there are no graph > related to the check_nt plugin. > > Even if I put this [[ illegal_macro_output_chars=`~$&|"<> ]] in the > config. [...] What do you add exactly to nagios.cfg ? Here is an example .... # host check commands. # The following macros are stripped of the characters you specify: # $HOSTOUTPUT$ # $HOSTPERFDATA$ # $HOSTACKAUTHOR$ # $HOSTACKCOMMENT$ # $SERVICEOUTPUT$ # $SERVICEPERFDATA$ # $SERVICEACKAUTHOR$ # $SERVICEACKCOMMENT$ illegal_macro_output_chars=`~$&|"<> ... 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 rmjconsulting.net Thu Nov 16 03:36:03 2006 From: rjenkins at rmjconsulting.net (Ron Jenkins) Date: Wed, 15 Nov 2006 20:36:03 -0600 Subject: Monitoring Windows 2000 Memory Used / Free via SNMP Message-ID: <1F07979053C0554898D81014C0DA1CC603ACE1@rmj-f01.rmj.local> Has anyone got the plug-in check_snmp_storage to check for physical memory used on a Windows 2000 server? I have it working with Windows 2003 servers. Thanks... Ron Jenkins (SnortCP, MCNE, CNE6, MCP, CCNA, CCEA) RMJ Consulting, LLC. "Bringing Companies and Solutions Together" Senior Architect 7575 Jefferson Hwy #103 Baton Rouge, La 70806 Phone. 225-931-1632 Fax. 225-755-1254 Email. rjenkins at rmjconsulting.net Web. http://www.rmjconsulting.net (Aanval Reseller and Technology Partner) http://www.aanval.com/tour/rmj -------------- 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 RLAdams at AdamsInfoServ.Com Thu Nov 16 06:59:49 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 15 Nov 2006 23:59:49 -0600 Subject: Monitoring Windows 2000 Memory Used / Free via SNMP In-Reply-To: <1F07979053C0554898D81014C0DA1CC603ACE1@rmj-f01.rmj.local> References: <1F07979053C0554898D81014C0DA1CC603ACE1@rmj-f01.rmj.local> Message-ID: <20061116055949.GA24810@keroberos.demosthenes.org> As I recall the result of memory used from Win2k on systems with >2GB of memory total is completely buggered (ie: wrapped neagative). I had to use a workaround scrip that used awk and snmpwalk to total the amount of memory from the process list. Russell On Wed, Nov 15, 2006 at 08:36:03PM -0600, Ron Jenkins wrote: > Has anyone got the plug-in check_snmp_storage to check for physical > memory used on a Windows 2000 server? I have it working with Windows > 2003 servers. > > > > > > Thanks... > > > > Ron Jenkins (SnortCP, MCNE, CNE6, MCP, CCNA, CCEA) > > RMJ Consulting, LLC. > > "Bringing Companies and Solutions Together" > > Senior Architect > > 7575 Jefferson Hwy #103 > > Baton Rouge, La 70806 > > Phone. 225-931-1632 > > Fax. 225-755-1254 > > Email. rjenkins at rmjconsulting.net > > Web. http://www.rmjconsulting.net > > (Aanval Reseller and Technology Partner) http://www.aanval.com/tour/rmj > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 pitchfork at ederdrom.de Thu Nov 16 07:34:01 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 16 Nov 2006 07:34:01 +0100 Subject: =?iso-8859-1?q?Charts_and_Graphs_and_Nagios_Oh_My!?= =?iso-8859-1?q?_=28_PNP=09question_=29?= In-Reply-To: References: Message-ID: <200611160734.01843.pitchfork@ederdrom.de> Am Mittwoch, 15. November 2006 22:27 schrieb Serveur-Faucon Surveillance: > Haaaaaa, :-) > I was changing the "illegal_object_name_chars" line instead of the "illegal_macro_output_chars". > It is now working, thanks! Have a lot of fun .. 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 goetz.reinicke at filmakademie.de Thu Nov 16 08:40:17 2006 From: goetz.reinicke at filmakademie.de (=?ISO-8859-15?Q?G=F6tz_Reinicke?=) Date: Thu, 16 Nov 2006 08:40:17 +0100 Subject: check_mailq plugin via nrpe Error code 78 Message-ID: <455C15E1.3000500@filmakademie.de> Hi, I do have a problem checking my mailservers mailq from my nagios server. I checked the message from P. Houseland a few day ago; he had nearly the same problem. His solution didden't solve my problem. The servers are both centos 4.4, the nagios software is nagios-2.5-1.el4.rf nagios-plugins-1.4.4-1.el4.rf nagios-plugins-nrpe-2.5.1-1.el4.rf The check_mailq works localy at the mailserver, but "check_nrpe -H mail -c check_mailq" from the nagios server fails with this message: CRITICAL: Error code 78 returned from /usr/bin/mailq I added the mailservers nagiosuser to the mailgroup, so he should be able to read the /var/spool/mqueue, but the error persists. Any ideas what to look for? Thanks and best regards G?tz Reinicke -- G?tz Reinicke IT Koordinator Tel. +49 7141 969-420 Fax +49 7141 969 55-420 goetz.reinicke at filmakademie.de Filmakademie Baden-W?rttemberg Mathildenstr. 20 71638 Ludwigsburg www.filmakademie.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vajc at altectelecoms.gr Thu Nov 16 10:54:27 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Thu, 16 Nov 2006 11:54:27 +0200 Subject: Customized map for customers Message-ID: <9DB9DF2949D8774796CB054FBEC1569903571E2A@Tyran.int.acn.gr> Hi, We are an ISP and we have a lot of customers set-up with VRF. Using Nagios, would I be able to provide a customized map to my customer where the would see: Their_Remote_Office_Router-----------Their_Central_Office_Rou ter Can Nagios provide a web access where my customer would see: - A networking diagram CE1----------CE2 - The traffic rate going between the two Customer Equipment routers. Thank you for your time! Christophe Disclaimer The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Thu Nov 16 12:43:31 2006 From: jlongland at grintek.com (John Longland) Date: Thu, 16 Nov 2006 13:43:31 +0200 Subject: 3D-display on Nagios Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9C14@gtmail.grintel.com> Hi all !!!! I'd like to use the 3D display on Nagios in my call-center. Got the basic display going and I can change the structure ( circle , tree etc ) 2 Questions. 1. I'd like to change to the type where I supply the coordinates. I have done the following: Created /usr/local/nagios/etc/hostextinfo.cfg containing entries for my hosts define hostextinfo{ host_name icon_image . . 3D-coords } Entered the following line in /usr/local/nagios/etc/cgi.cfg xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg I have selected user-coordinates (0) for default_statusmap_layout default_statuswrl_layout in cgi.cfg When I restart nagios and view the 3D-display, it says that I have not created 3D-corrdinates. I thought I covered everything ?? **************************************************************************** ********** 2. If I revert back to display type 3 ( eg ) I get the tree-display, but oh my goodness the colors looks awfull. Is this my browser ( konqueror ) ??? Thanks !! JOhn -------------- 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.gerbec at agenda.si Thu Nov 16 12:52:28 2006 From: david.gerbec at agenda.si (David Gerbec) Date: Thu, 16 Nov 2006 12:52:28 +0100 Subject: 3D-display on Nagios In-Reply-To: <510595ECCFAEFC44941F5EDA4324F275011F9C14@gtmail.grintel.com> References: <510595ECCFAEFC44941F5EDA4324F275011F9C14@gtmail.grintel.com> Message-ID: <455C50FC.5020802@agenda.si> 'lo John Longland pravi: > Hi all !!!! > > > I'd like to use the 3D display on Nagios in my call-center. > Got the basic display going and I can change the structure > ( circle , tree etc ) > > 2 Questions. > > 1. I'd like to change to the type where I supply the coordinates. > I have done the following: > Created /usr/local/nagios/etc/hostextinfo.cfg containing entries for my > hosts > define hostextinfo{ > host_name > icon_image > . > . > 3D-coords Unless you want to you WRML, change the 3D-coords to: 2d_coords and it should be fine. 3D is for WRML... Regards, David > } > > Entered the following line in /usr/local/nagios/etc/cgi.cfg > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg > > I have selected user-coordinates (0) for > default_statusmap_layout > default_statuswrl_layout > in cgi.cfg > > When I restart nagios and view the 3D-display, it says that I have not > created 3D-corrdinates. > > I thought I covered everything ?? > > ************************************************************************************** > > > 2. If I revert back to display type 3 ( eg ) I get the tree-display, but > oh my goodness > the colors looks awfull. Is this my browser ( konqueror ) ??? > > > > Thanks !! > JOhn > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 SrvFaucon at cslaval.qc.ca Thu Nov 16 15:09:04 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 16 Nov 2006 09:09:04 -0500 Subject: All hosts template trick not working Message-ID: Here : http://nagios.sourceforge.net/docs/2_0/templatetricks.html#hostgroup on the official Nagios documentation, there is a template trick for creating a hostgroup that has all hosts. define hostgroup{ hostgroup_name TOUTESLESMACHINES alias TOUTESLESMACHINES members * } But it does not work. Someone has find a trick for that? The idear is to have the PNP graphs (http://www.ederdrom.de/doku.php/nagios/pnp_en) logo beside every hosts. Thanks. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Javier.Castillo at a-e.es Thu Nov 16 15:34:28 2006 From: Javier.Castillo at a-e.es (Javier Castillo Alcibar) Date: Thu, 16 Nov 2006 15:34:28 +0100 Subject: Plugin error: Remote cisco command via SSH notworking Message-ID: <5383F55524AE6748B360645F92DCCB3F91CB06@ALHM3SRV.ae.local> Hello All, No one has faced this problem?? :(( Kind regards, Javier -----Mensaje original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] En nombre de Javier Castillo Alcibar Enviado el: lunes, 13 de noviembre de 2006 10:19 Para: nagios-users at lists.sourceforge.net Asunto: [Nagios-users] Plugin error: Remote cisco command via SSH notworking Hello all, I have some cisco routers that can only be managed using SSH. I wrote an script, to do remotely some PING's from these routers, integrated in nagios. My problem is very strange: - if a execute this script from the command line by myself, it works as expected. - if nagios process executes the script, it does not work. It looks like ssh process didn't return anything.... I think it's a problem related with ttys.....but I'm not sure. This is my (perl) script: #!/usr/bin/perl # # Uso: usr/local/sbin/check_cisco_ping_ssh # use Net::SSH::Perl; $router=$ARGV[0]; $port=$ARGV[1]; $user=$ARGV[2]; $pass=$ARGV[3]; $ip=$ARGV[4]; $warn=$ARGV[5]; $crit=$ARGV[6]; my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, cipher=>'DES', port=>$port); $sesion_ssh->login($user, $pass); $command="ping $ip"; my($output, $output_error, $val_exit) = $sesion_ssh->cmd($command); $output =~ /Success rate is (\d*) (.*)/; $rate=$1; if ( $rate <= $crit ) { print "PROBLEM: PING Rate=$rate%\n"; exit 2; } if ( $rate <= $warn ) { print "WARNING: PING Rate=$rate%\n"; exit 1; } if ( $rate <= 100 ) { print "OK: PING Rate=$rate%\n"; exit 0; } exit 3; Any help is welcome!!. Thx in advance. Regards -------------------------------------------------------- Alhambra-Eidos ha cambiado su dominio de correo electronico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. Muchas gracias. Alhambra-Eidos. We solve IT, we solve 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 -------------------------------------------------------- Alhambra-Eidos ha cambiado su dominio de correo electronico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. Muchas gracias. Alhambra-Eidos. We solve IT, we solve it -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.gerbec at agenda.si Thu Nov 16 15:37:48 2006 From: david.gerbec at agenda.si (David Gerbec) Date: Thu, 16 Nov 2006 15:37:48 +0100 Subject: Plugin error: Remote cisco command via SSH notworking In-Reply-To: <5383F55524AE6748B360645F92DCCB3F91CB06@ALHM3SRV.ae.local> References: <5383F55524AE6748B360645F92DCCB3F91CB06@ALHM3SRV.ae.local> Message-ID: <455C77BC.3050505@agenda.si> 'lo Javier Castillo Alcibar pravi: > Hello All, > > No one has faced this problem?? :(( > > Kind regards, > Javier > > > > -----Mensaje original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] En nombre de Javier > Castillo Alcibar > Enviado el: lunes, 13 de noviembre de 2006 10:19 > Para: nagios-users at lists.sourceforge.net > Asunto: [Nagios-users] Plugin error: Remote cisco command via SSH > notworking > > Hello all, > > I have some cisco routers that can only be managed using SSH. I wrote an > script, to do remotely some PING's from these routers, integrated in > nagios. > > My problem is very strange: > - if a execute this script from the command line by myself, it > works as expected. > - if nagios process executes the script, it does not work. It > looks like ssh process didn't return anything.... > > I think it's a problem related with ttys.....but I'm not sure. > Could it be premission related? Regrads, David > This is my (perl) script: > > #!/usr/bin/perl > # > # Uso: usr/local/sbin/check_cisco_ping_ssh > # use Net::SSH::Perl; > > $router=$ARGV[0]; > $port=$ARGV[1]; > $user=$ARGV[2]; > $pass=$ARGV[3]; > $ip=$ARGV[4]; > $warn=$ARGV[5]; > $crit=$ARGV[6]; > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, > cipher=>'DES', port=>$port); $sesion_ssh->login($user, $pass); > > $command="ping $ip"; > > my($output, $output_error, $val_exit) = $sesion_ssh->cmd($command); > > $output =~ /Success rate is (\d*) (.*)/; $rate=$1; > > if ( $rate <= $crit ) { > print "PROBLEM: PING Rate=$rate%\n"; > exit 2; > } > if ( $rate <= $warn ) { > print "WARNING: PING Rate=$rate%\n"; > exit 1; > } > if ( $rate <= 100 ) { > print "OK: PING Rate=$rate%\n"; > exit 0; > } > exit 3; > > > Any help is welcome!!. > > Thx in advance. > Regards > > -------------------------------------------------------- > Alhambra-Eidos ha cambiado su dominio de correo electronico. Por favor > revise sus contactos, y proceda a actualizar nuestras direcciones a > @a-e.es. > > > > Muchas gracias. > Alhambra-Eidos. We solve IT, we solve 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 > > -------------------------------------------------------- > Alhambra-Eidos ha cambiado su dominio de correo electronico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. > > > > Muchas gracias. > Alhambra-Eidos. We solve IT, we solve it > -------------------------------------------------------- > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Javier.Castillo at a-e.es Thu Nov 16 16:02:16 2006 From: Javier.Castillo at a-e.es (Javier Castillo Alcibar) Date: Thu, 16 Nov 2006 16:02:16 +0100 Subject: Plugin error: Remote cisco command viaSSH notworking Message-ID: <5383F55524AE6748B360645F92DCCB3F91CB0E@ALHM3SRV.ae.local> Pherhaps...... Do you know how to run a plugin from nagios like root. My nagios process run as nagios user. (Debian/Sarge) But, if I run the plugin from a command line, and with user nagios (su - nagios), the plugin works as expected..... I am confused..... thx Javier Castillo Alc?bar (2404) +34 91 787 23 00 javier.castillo at a-e.es -----Mensaje original----- De: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] En nombre de David Gerbec Enviado el: jueves, 16 de noviembre de 2006 15:38 Para: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Plugin error: Remote cisco command viaSSH notworking 'lo Javier Castillo Alcibar pravi: > Hello All, > > No one has faced this problem?? :(( > > Kind regards, > Javier > > > > -----Mensaje original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] En nombre de > Javier Castillo Alcibar Enviado el: lunes, 13 de noviembre de 2006 > 10:19 > Para: nagios-users at lists.sourceforge.net > Asunto: [Nagios-users] Plugin error: Remote cisco command via SSH > notworking > > Hello all, > > I have some cisco routers that can only be managed using SSH. I wrote > an script, to do remotely some PING's from these routers, integrated > in nagios. > > My problem is very strange: > - if a execute this script from the command line by myself, it works > as expected. > - if nagios process executes the script, it does not work. It looks > like ssh process didn't return anything.... > > I think it's a problem related with ttys.....but I'm not sure. > Could it be premission related? Regrads, David > This is my (perl) script: > > #!/usr/bin/perl > # > # Uso: usr/local/sbin/check_cisco_ping_ssh > # use Net::SSH::Perl; > > $router=$ARGV[0]; > $port=$ARGV[1]; > $user=$ARGV[2]; > $pass=$ARGV[3]; > $ip=$ARGV[4]; > $warn=$ARGV[5]; > $crit=$ARGV[6]; > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, > cipher=>'DES', port=>$port); $sesion_ssh->login($user, $pass); > > $command="ping $ip"; > > my($output, $output_error, $val_exit) = $sesion_ssh->cmd($command); > > $output =~ /Success rate is (\d*) (.*)/; $rate=$1; > > if ( $rate <= $crit ) { > print "PROBLEM: PING Rate=$rate%\n"; > exit 2; > } > if ( $rate <= $warn ) { > print "WARNING: PING Rate=$rate%\n"; > exit 1; > } > if ( $rate <= 100 ) { > print "OK: PING Rate=$rate%\n"; > exit 0; > } > exit 3; > > > Any help is welcome!!. > > Thx in advance. > Regards > > -------------------------------------------------------- > Alhambra-Eidos ha cambiado su dominio de correo electronico. Por favor > revise sus contactos, y proceda a actualizar nuestras direcciones a > @a-e.es. > > > > Muchas gracias. > Alhambra-Eidos. We solve IT, we solve 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=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 > > -------------------------------------------------------- > Alhambra-Eidos ha cambiado su dominio de correo electronico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. > > > > Muchas gracias. > Alhambra-Eidos. We solve IT, we solve it > -------------------------------------------------------- > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV > DEV _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------------------------------------------------- Alhambra-Eidos ha cambiado su dominio de correo electr?nico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. Muchas gracias. Alhambra-Eidos. We solve IT, we solve it -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 16 16:11:30 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Nov 2006 09:11:30 -0600 Subject: Plugin error: Remote cisco command via SSHnotworking Message-ID: Apparently no and that wouldn't be unusual for a custom plugin. Is nagios compiled with ePN? If so, have you verified that your plugin meets the ePN requirements (http://nagios.sourceforge.net/docs/2_0/embeddedperl.html). I can see at a glance that you're not (you don't use strict). You can also test your script with the mini_epn program in the contrib directory. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Javier Castillo Alcibar > Sent: Thursday, November 16, 2006 8:34 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Plugin error: Remote cisco command via > SSHnotworking > > Hello All, > > No one has faced this problem?? :(( > > Kind regards, > Javier > > > > -----Mensaje original----- > De: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] En nombre de Javier > Castillo Alcibar > Enviado el: lunes, 13 de noviembre de 2006 10:19 > Para: nagios-users at lists.sourceforge.net > Asunto: [Nagios-users] Plugin error: Remote cisco command via SSH > notworking > > Hello all, > > I have some cisco routers that can only be managed using SSH. I wrote an > script, to do remotely some PING's from these routers, integrated in > nagios. > > My problem is very strange: > - if a execute this script from the command line by myself, it > works as expected. > - if nagios process executes the script, it does not work. It > looks like ssh process didn't return anything.... > > I think it's a problem related with ttys.....but I'm not sure. > > This is my (perl) script: [chop] ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Thu Nov 16 16:25:12 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 16 Nov 2006 15:25:12 +0000 Subject: All hosts template trick not working In-Reply-To: References: Message-ID: <455C82D8.1010902@googlemail.com> That is a link for the version 2.0 documentation. Are you sure you are not using version 1.4.x? I am using 1.4.1 for example because this is the latest stable in my distros package repository... -h Hari Sekhon Serveur-Faucon Surveillance wrote: > Here : > > http://nagios.sourceforge.net/docs/2_0/templatetricks.html#hostgroup > > on the official Nagios documentation, there is a template trick for creating a hostgroup that has all hosts. > > define hostgroup{ > hostgroup_name TOUTESLESMACHINES > alias TOUTESLESMACHINES > members * > } > > But it does not work. Someone has find a trick for that? > > > The idear is to have the PNP graphs (http://www.ederdrom.de/doku.php/nagios/pnp_en) logo beside every hosts. > > Thanks. > > --------------------------------------------------- > Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com > Montr?al, Qu?bec, Canada > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 NRogers at netopia.com Thu Nov 16 16:52:35 2006 From: NRogers at netopia.com (Rogers, Nick) Date: Thu, 16 Nov 2006 09:52:35 -0600 Subject: nagios2 stops checking In-Reply-To: References: Message-ID: I noticed this on my Nagios 2.5 server as well, and fixed it with check_for_orphaned_services=1 in my nagios.cfg file. In my case, it was affecting a hostgroup - when one failed, the checks to the entire hostgroup stopped. On 11/15/06 11:54 AM, "frank" wrote: > On Wed, 15 Nov 2006, J?rgen H?gg wrote: > >> >> Something strange happens sometimes to a service. >> >> I got a warning that was checked 09:41:36. Next scheduled active >> check was due for 09:42:36. >> >> But there was no further check done, it is now more than four hours >> since the last check. I can confirm it because I'm running >> nagios-grapher and it has no data after 09:41. >> >> The warning disappeared after I manually re-scheduled next check of the >> service. > > > I've seen the same problem on 2.0b4 (yes, I know I need to upgrade, but > try to convince upper management that it's a good idea and they'll read > you the riot act.) Passive checks continued to be handled properly and the > status.dat file was being updated on a regular basis so the check_nagios > plugin was useless to determine any error. But all active checks stopped > dead. This has happened more than once. I don't think I was able to > un-wedge it by forcing a new check tho. I'll try that next time it > happens. > > >> Here is the detailed service page: >> (This info was reloaded around 14:24) >> >> Current Status: WARNING >> Status Information: WARNING - load average: 7.66, 2.76, 1.29 >> Performance Data: load1=7.660;5.000;10.000;0; load5=2.760;4.000;8.000;0; >> load15=1.290;3.000;5.000;0; >> Current Attempt: 1/3 >> State Type: SOFT >> Last Check Type: ACTIVE >> Last Check Time: 2006-11-15 09:41:36 >> Status Data Age: 0d 4h 40m 45s >> Next Scheduled Active Check: 2006-11-15 09:42:36 >> Latency: 0.356 seconds >> Check Duration: 1.023 seconds >> Last State Change: 2006-11-15 09:41:36 >> Current State Duration: 0d 4h 40m 45s >> Last Service Notification: N/A >> Current Notification Number: 0 >> Is This Service Flapping? NO >> Percent State Change: 0.00% >> In Scheduled Downtime? NO >> Last Update: 2006-11-15 14:22:15 >> Active Checks: ENABLED >> Passive Checks: ENABLED >> Obsessing: ENABLED >> Notifications: ENABLED >> Event Handler: ENABLED >> Flap Detection: ENABLED >> >> >> This is nagios 2.5-1 in Debian. >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 16 16:58:43 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Nov 2006 09:58:43 -0600 Subject: All hosts template trick not working 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, November 16, 2006 9:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] All hosts template trick not working > > That is a link for the version 2.0 documentation. Are you sure you are > not using version 1.4.x? I am using 1.4.1 for example because this is > the latest stable in my distros package repository... It would still work. There was nothing new introduced with 2.0 along these lines. > > Serveur-Faucon Surveillance wrote: > > Here : > > > > http://nagios.sourceforge.net/docs/2_0/templatetricks.html#hostgroup > > > > on the official Nagios documentation, there is a template trick for > creating a hostgroup that has all hosts. > > > > define hostgroup{ > > hostgroup_name TOUTESLESMACHINES > > alias TOUTESLESMACHINES > > members * > > } > > > > But it does not work. Someone has find a trick for that? All your hosts are not in the TOUTESLESMACHINES hostgroup or the logo below doesn't appear? I would expect this to work. I'm not aware of this ever _not_ working. > > The idear is to have the PNP graphs > (http://www.ederdrom.de/doku.php/nagios/pnp_en) logo beside every hosts. Adding a host to a hostgroup doesn't add any icons/logos ever. I've not used PNP but the docs show that you need a serviceextinfo{} definition. That's what causes the display of the icon. Do you have those 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 ae at op5.se Thu Nov 16 16:58:30 2006 From: ae at op5.se (Andreas Ericsson) Date: Thu, 16 Nov 2006 16:58:30 +0100 Subject: Plugin error: Remote cisco command via SSH notworking In-Reply-To: <5383F55524AE6748B360645F92DCCB3F91CB06@ALHM3SRV.ae.local> References: <5383F55524AE6748B360645F92DCCB3F91CB06@ALHM3SRV.ae.local> Message-ID: <455C8AA6.4090701@op5.se> Javier Castillo Alcibar wrote: > > Hello all, > > I have some cisco routers that can only be managed using SSH. I wrote an > script, to do remotely some PING's from these routers, integrated in > nagios. > > My problem is very strange: > - if a execute this script from the command line by myself, it > works as expected. > - if nagios process executes the script, it does not work. It > looks like ssh process didn't return anything.... > > I think it's a problem related with ttys.....but I'm not sure. > > This is my (perl) script: > > #!/usr/bin/perl > # > # Uso: usr/local/sbin/check_cisco_ping_ssh > # use Net::SSH::Perl; > > $router=$ARGV[0]; > $port=$ARGV[1]; > $user=$ARGV[2]; > $pass=$ARGV[3]; > $ip=$ARGV[4]; > $warn=$ARGV[5]; > $crit=$ARGV[6]; > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, > cipher=>'DES', port=>$port); $sesion_ssh->login($user, $pass); > > $command="ping $ip"; > > my($output, $output_error, $val_exit) = $sesion_ssh->cmd($command); > > $output =~ /Success rate is (\d*) (.*)/; $rate=$1; > > if ( $rate <= $crit ) { > print "PROBLEM: PING Rate=$rate%\n"; > exit 2; > } > if ( $rate <= $warn ) { > print "WARNING: PING Rate=$rate%\n"; > exit 1; > } > if ( $rate <= 100 ) { > print "OK: PING Rate=$rate%\n"; > exit 0; > } > exit 3; > > > Any help is welcome!!. > Have you compiled nagios with embedded perl support? If so, use /usr/bin/perl /path/to/your/script.pl instead of just /path/to/your/script.pl in the command definition. Other than that, make sure that the nagios-user has access to execute the script and try it from the command-line *as the nagios user*. If that works, you've made some mistake in your configuration. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Thu Nov 16 17:14:00 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 16 Nov 2006 11:14:00 -0500 Subject: All hosts template trick not working Message-ID: I use Nagios 2.5 for the infos. > > define hostgroup{ > > hostgroup_name TOUTESLESMACHINES > > alias TOUTESLESMACHINES > > members * > > } > > > > But it does not work. Someone has find a trick for that? >> "Marc Powell" 2006-11-16 10:58:43 >>> > -----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, November 16, 2006 9:25 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] All hosts template trick not working > > That is a link for the version 2.0 documentation. Are you sure you are > not using version 1.4.x? I am using 1.4.1 for example because this is > the latest stable in my distros package repository... It would still work. There was nothing new introduced with 2.0 along these lines. > > Serveur-Faucon Surveillance wrote: > > Here : > > > > http://nagios.sourceforge.net/docs/2_0/templatetricks.html#hostgroup > > > > on the official Nagios documentation, there is a template trick for > creating a hostgroup that has all hosts. > > > > define hostgroup{ > > hostgroup_name TOUTESLESMACHINES > > alias TOUTESLESMACHINES > > members * > > } > > > > But it does not work. Someone has find a trick for that? All your hosts are not in the TOUTESLESMACHINES hostgroup or the logo below doesn't appear? I would expect this to work. I'm not aware of this ever _not_ working. > > The idear is to have the PNP graphs > (http://www.ederdrom.de/doku.php/nagios/pnp_en) logo beside every hosts. Adding a host to a hostgroup doesn't add any icons/logos ever. I've not used PNP but the docs show that you need a serviceextinfo{} definition. That's what causes the display of the icon. Do you have those 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Javier.Castillo at a-e.es Thu Nov 16 17:13:46 2006 From: Javier.Castillo at a-e.es (Javier Castillo Alcibar) Date: Thu, 16 Nov 2006 17:13:46 +0100 Subject: SOLVED: RE: Plugin error: Remote cisco command via SSH notworking Message-ID: <5383F55524AE6748B360645F92DCCB3F91CB3C@ALHM3SRV.ae.local> Hello, I think I solved the problem. Notice this command in my perl script: "$ENV{'HOME'} = '/var/lib/nagios';" Nagios process was executing the plugin with HOME env varible set to "/root" ????. This made ssh fails when trying to read $HOME/.ssh/config files.... (root folder is not readable by other users) Finally, my contribution to nagios world: check_cisco_ping_ssh (ping from cisco routers, using ssh): #!/usr/bin/perl # Net::SSH de http://www.stupidfool.org/perl/net-ssh/ # # Use: usr/local/sbin/check_cisco_ping_ssh # use strict; use Net::SSH::Perl; $ENV{'HOME'} = '/var/lib/nagios'; my $router=$ARGV[0]; my $port=$ARGV[1]; my $user=$ARGV[2]; my $pass=$ARGV[3]; my $ip=$ARGV[4]; my $warn=$ARGV[5]; my $crit=$ARGV[6]; my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, cipher=>'DES', port=>$port, debug=> 'false'); $sesion_ssh->login($user, $pass); my $comand="ping $ip"; my($output, $output_error, $value_exit) = $sesion_ssh->cmd($command); $output =~ /Success rate is (\d*) (.*)/; my $rate=$1; if ( $rate <= $crit ) { print "PROBLEM: Rate=$rate%\n"; exit 2; } if ( $rate <= $warn ) { print "WARNING: Rate=$rate%\n"; exit 1; } if ( $rate <= 100 ) { print "OK: Rate=$rate%\n"; exit 0; } exit 3; Enjoy it. Regards Javier Castillo Alc?bar (2404) Alhambra Eidos. +34 91 787 23 00 javier.castillo at a-e.es -----Mensaje original----- De: Andreas Ericsson [mailto:ae at op5.se] Enviado el: jueves, 16 de noviembre de 2006 16:59 Para: Javier Castillo Alcibar CC: nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] Plugin error: Remote cisco command via SSH notworking Javier Castillo Alcibar wrote: > > Hello all, > > I have some cisco routers that can only be managed using SSH. I wrote > an script, to do remotely some PING's from these routers, integrated > in nagios. > > My problem is very strange: > - if a execute this script from the command line by myself, it works > as expected. > - if nagios process executes the script, it does not work. It looks > like ssh process didn't return anything.... > > I think it's a problem related with ttys.....but I'm not sure. > > This is my (perl) script: > > #!/usr/bin/perl > # > # Uso: usr/local/sbin/check_cisco_ping_ssh > # use Net::SSH::Perl; > > $router=$ARGV[0]; > $port=$ARGV[1]; > $user=$ARGV[2]; > $pass=$ARGV[3]; > $ip=$ARGV[4]; > $warn=$ARGV[5]; > $crit=$ARGV[6]; > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, > cipher=>'DES', port=>$port); $sesion_ssh->login($user, $pass); > > $command="ping $ip"; > > my($output, $output_error, $val_exit) = $sesion_ssh->cmd($command); > > $output =~ /Success rate is (\d*) (.*)/; $rate=$1; > > if ( $rate <= $crit ) { > print "PROBLEM: PING Rate=$rate%\n"; > exit 2; > } > if ( $rate <= $warn ) { > print "WARNING: PING Rate=$rate%\n"; > exit 1; > } > if ( $rate <= 100 ) { > print "OK: PING Rate=$rate%\n"; > exit 0; > } > exit 3; > > > Any help is welcome!!. > Have you compiled nagios with embedded perl support? If so, use /usr/bin/perl /path/to/your/script.pl instead of just /path/to/your/script.pl in the command definition. Other than that, make sure that the nagios-user has access to execute the script and try it from the command-line *as the nagios user*. If that works, you've made some mistake in your configuration. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -------------------------------------------------------- Alhambra-Eidos ha cambiado su dominio de correo electr?nico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. Muchas gracias. Alhambra-Eidos. We solve IT, we solve it -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donnell.lewis at icoretechnology.com Thu Nov 16 17:33:20 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Thu, 16 Nov 2006 11:33:20 -0500 Subject: SOLVED: RE: Plugin error: Remote cisco command via SSH notworking In-Reply-To: <5383F55524AE6748B360645F92DCCB3F91CB3C@ALHM3SRV.ae.local> References: <5383F55524AE6748B360645F92DCCB3F91CB3C@ALHM3SRV.ae.local> Message-ID: <1163694800.2209.11.camel@localhost.localdomain> Don't forget you may also want to post this on nagiosexchange.com as it's a great resource for Nagios related projects. Thx, -Don Lewis On Thu, 2006-11-16 at 17:13 +0100, Javier Castillo Alcibar wrote: > Hello, > > I think I solved the problem. Notice this command in my perl script: > "$ENV{'HOME'} = '/var/lib/nagios';" > > Nagios process was executing the plugin with HOME env varible set to "/root" ????. This made ssh fails when trying to read $HOME/.ssh/config files.... (root folder is not readable by other users) > > Finally, my contribution to nagios world: check_cisco_ping_ssh (ping from cisco routers, using ssh): > > #!/usr/bin/perl > # Net::SSH de http://www.stupidfool.org/perl/net-ssh/ > # > # Use: usr/local/sbin/check_cisco_ping_ssh > # > use strict; > > use Net::SSH::Perl; > > $ENV{'HOME'} = '/var/lib/nagios'; > > my $router=$ARGV[0]; > my $port=$ARGV[1]; > > my $user=$ARGV[2]; > my $pass=$ARGV[3]; > > my $ip=$ARGV[4]; > > my $warn=$ARGV[5]; > my $crit=$ARGV[6]; > > > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, cipher=>'DES', port=>$port, debug=> 'false'); > $sesion_ssh->login($user, $pass); > > my $comand="ping $ip"; > > my($output, $output_error, $value_exit) = $sesion_ssh->cmd($command); > > $output =~ /Success rate is (\d*) (.*)/; > > my $rate=$1; > > if ( $rate <= $crit ) { > print "PROBLEM: Rate=$rate%\n"; > exit 2; > } > > if ( $rate <= $warn ) { > print "WARNING: Rate=$rate%\n"; > exit 1; > } > > if ( $rate <= 100 ) { > print "OK: Rate=$rate%\n"; > exit 0; > } > > exit 3; > > > > Enjoy it. > Regards > > Javier Castillo Alc?bar (2404) > Alhambra Eidos. > +34 91 787 23 00 javier.castillo at a-e.es > > > > > > > > -----Mensaje original----- > De: Andreas Ericsson [mailto:ae at op5.se] > Enviado el: jueves, 16 de noviembre de 2006 16:59 > Para: Javier Castillo Alcibar > CC: nagios-users at lists.sourceforge.net > Asunto: Re: [Nagios-users] Plugin error: Remote cisco command via SSH notworking > > Javier Castillo Alcibar wrote: > > > > Hello all, > > > > I have some cisco routers that can only be managed using SSH. I wrote > > an script, to do remotely some PING's from these routers, integrated > > in nagios. > > > > My problem is very strange: > > - if a execute this script from the command line by myself, it works > > as expected. > > - if nagios process executes the script, it does not work. It looks > > like ssh process didn't return anything.... > > > > I think it's a problem related with ttys.....but I'm not sure. > > > > This is my (perl) script: > > > > #!/usr/bin/perl > > # > > # Uso: usr/local/sbin/check_cisco_ping_ssh > > # use Net::SSH::Perl; > > > > $router=$ARGV[0]; > > $port=$ARGV[1]; > > $user=$ARGV[2]; > > $pass=$ARGV[3]; > > $ip=$ARGV[4]; > > $warn=$ARGV[5]; > > $crit=$ARGV[6]; > > > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, > > cipher=>'DES', port=>$port); $sesion_ssh->login($user, $pass); > > > > $command="ping $ip"; > > > > my($output, $output_error, $val_exit) = $sesion_ssh->cmd($command); > > > > $output =~ /Success rate is (\d*) (.*)/; $rate=$1; > > > > if ( $rate <= $crit ) { > > print "PROBLEM: PING Rate=$rate%\n"; > > exit 2; > > } > > if ( $rate <= $warn ) { > > print "WARNING: PING Rate=$rate%\n"; > > exit 1; > > } > > if ( $rate <= 100 ) { > > print "OK: PING Rate=$rate%\n"; > > exit 0; > > } > > exit 3; > > > > > > Any help is welcome!!. > > > > Have you compiled nagios with embedded perl support? If so, use /usr/bin/perl /path/to/your/script.pl > > instead of just > > /path/to/your/script.pl > > in the command definition. > > Other than that, make sure that the nagios-user has access to execute the script and try it from the command-line *as the nagios user*. If that works, you've made some mistake in your configuration. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > -------------------------------------------------------- > Alhambra-Eidos ha cambiado su dominio de correo electr?nico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. > > > > Muchas gracias. > Alhambra-Eidos. We solve IT, we solve it > -------------------------------------------------------- > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 don at techdataserv.net Thu Nov 16 17:34:17 2006 From: don at techdataserv.net (Don Lewis) Date: Thu, 16 Nov 2006 11:34:17 -0500 Subject: SOLVED: RE: Plugin error: Remote cisco command via SSH notworking In-Reply-To: <1163694800.2209.11.camel@localhost.localdomain> References: <5383F55524AE6748B360645F92DCCB3F91CB3C@ALHM3SRV.ae.local> <1163694800.2209.11.camel@localhost.localdomain> Message-ID: <1163694857.2209.13.camel@localhost.localdomain> nagiosexchange.org...(.com was force of habit.;)) -DL On Thu, 2006-11-16 at 11:33 -0500, Donnell Lewis wrote: > Don't forget you may also want to post this on nagiosexchange.com as > it's a great resource for Nagios related projects. > > Thx, > > -Don Lewis > > On Thu, 2006-11-16 at 17:13 +0100, Javier Castillo Alcibar wrote: > > Hello, > > > > I think I solved the problem. Notice this command in my perl script: > > "$ENV{'HOME'} = '/var/lib/nagios';" > > > > Nagios process was executing the plugin with HOME env varible set to "/root" ????. This made ssh fails when trying to read $HOME/.ssh/config files.... (root folder is not readable by other users) > > > > Finally, my contribution to nagios world: check_cisco_ping_ssh (ping from cisco routers, using ssh): > > > > #!/usr/bin/perl > > # Net::SSH de http://www.stupidfool.org/perl/net-ssh/ > > # > > # Use: usr/local/sbin/check_cisco_ping_ssh > > # > > use strict; > > > > use Net::SSH::Perl; > > > > $ENV{'HOME'} = '/var/lib/nagios'; > > > > my $router=$ARGV[0]; > > my $port=$ARGV[1]; > > > > my $user=$ARGV[2]; > > my $pass=$ARGV[3]; > > > > my $ip=$ARGV[4]; > > > > my $warn=$ARGV[5]; > > my $crit=$ARGV[6]; > > > > > > > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, cipher=>'DES', port=>$port, debug=> 'false'); > > $sesion_ssh->login($user, $pass); > > > > my $comand="ping $ip"; > > > > my($output, $output_error, $value_exit) = $sesion_ssh->cmd($command); > > > > $output =~ /Success rate is (\d*) (.*)/; > > > > my $rate=$1; > > > > if ( $rate <= $crit ) { > > print "PROBLEM: Rate=$rate%\n"; > > exit 2; > > } > > > > if ( $rate <= $warn ) { > > print "WARNING: Rate=$rate%\n"; > > exit 1; > > } > > > > if ( $rate <= 100 ) { > > print "OK: Rate=$rate%\n"; > > exit 0; > > } > > > > exit 3; > > > > > > > > Enjoy it. > > Regards > > > > Javier Castillo Alc?bar (2404) > > Alhambra Eidos. > > +34 91 787 23 00 javier.castillo at a-e.es > > > > > > > > > > > > > > > > -----Mensaje original----- > > De: Andreas Ericsson [mailto:ae at op5.se] > > Enviado el: jueves, 16 de noviembre de 2006 16:59 > > Para: Javier Castillo Alcibar > > CC: nagios-users at lists.sourceforge.net > > Asunto: Re: [Nagios-users] Plugin error: Remote cisco command via SSH notworking > > > > Javier Castillo Alcibar wrote: > > > > > > Hello all, > > > > > > I have some cisco routers that can only be managed using SSH. I wrote > > > an script, to do remotely some PING's from these routers, integrated > > > in nagios. > > > > > > My problem is very strange: > > > - if a execute this script from the command line by myself, it works > > > as expected. > > > - if nagios process executes the script, it does not work. It looks > > > like ssh process didn't return anything.... > > > > > > I think it's a problem related with ttys.....but I'm not sure. > > > > > > This is my (perl) script: > > > > > > #!/usr/bin/perl > > > # > > > # Uso: usr/local/sbin/check_cisco_ping_ssh > > > # use Net::SSH::Perl; > > > > > > $router=$ARGV[0]; > > > $port=$ARGV[1]; > > > $user=$ARGV[2]; > > > $pass=$ARGV[3]; > > > $ip=$ARGV[4]; > > > $warn=$ARGV[5]; > > > $crit=$ARGV[6]; > > > > > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, > > > cipher=>'DES', port=>$port); $sesion_ssh->login($user, $pass); > > > > > > $command="ping $ip"; > > > > > > my($output, $output_error, $val_exit) = $sesion_ssh->cmd($command); > > > > > > $output =~ /Success rate is (\d*) (.*)/; $rate=$1; > > > > > > if ( $rate <= $crit ) { > > > print "PROBLEM: PING Rate=$rate%\n"; > > > exit 2; > > > } > > > if ( $rate <= $warn ) { > > > print "WARNING: PING Rate=$rate%\n"; > > > exit 1; > > > } > > > if ( $rate <= 100 ) { > > > print "OK: PING Rate=$rate%\n"; > > > exit 0; > > > } > > > exit 3; > > > > > > > > > Any help is welcome!!. > > > > > > > Have you compiled nagios with embedded perl support? If so, use /usr/bin/perl /path/to/your/script.pl > > > > instead of just > > > > /path/to/your/script.pl > > > > in the command definition. > > > > Other than that, make sure that the nagios-user has access to execute the script and try it from the command-line *as the nagios user*. If that works, you've made some mistake in your configuration. > > > > -- > > Andreas Ericsson andreas.ericsson at op5.se > > OP5 AB www.op5.se > > Tel: +46 8-230225 Fax: +46 8-230231 > > > > -------------------------------------------------------- > > Alhambra-Eidos ha cambiado su dominio de correo electr?nico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. > > > > > > > > Muchas gracias. > > Alhambra-Eidos. We solve IT, we solve it > > -------------------------------------------------------- > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: smime.p7s Type: application/x-pkcs7-signature Size: 4466 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 knobdy at gmail.com Thu Nov 16 17:40:16 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 16 Nov 2006 10:40:16 -0600 Subject: work time Message-ID: <3c4611bc0611160840j6b9efb42sefe3e18cc31d4041@mail.gmail.com> When you all report on availability, how do you go about working out any scheduled maintenance periods? For instance, I'd like to report on a specific hostgroup. The time period is 24x7 except 2-6 on Sundays. 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 Javier.Castillo at a-e.es Thu Nov 16 17:49:02 2006 From: Javier.Castillo at a-e.es (Javier Castillo Alcibar) Date: Thu, 16 Nov 2006 17:49:02 +0100 Subject: SOLVED: RE: Plugin error: Remote cisco commandvia SSH notworking Message-ID: <5383F55524AE6748B360645F92DCCB3F91CB5D@ALHM3SRV.ae.local> http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=792&tx_netnagext_pi1[page]=10%3A10 Javier Castillo Alc?bar (2404) +34 91 787 23 00 javier.castillo at a-e.es -----Mensaje original----- De: Donnell Lewis [mailto:donnell.lewis at icoretechnology.com] Enviado el: jueves, 16 de noviembre de 2006 17:33 Para: Javier Castillo Alcibar CC: Andreas Ericsson; nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] SOLVED: RE: Plugin error: Remote cisco commandvia SSH notworking Don't forget you may also want to post this on nagiosexchange.com as it's a great resource for Nagios related projects. Thx, -Don Lewis On Thu, 2006-11-16 at 17:13 +0100, Javier Castillo Alcibar wrote: > Hello, > > I think I solved the problem. Notice this command in my perl script: > "$ENV{'HOME'} = '/var/lib/nagios';" > > Nagios process was executing the plugin with HOME env varible set to > "/root" ????. This made ssh fails when trying to read > $HOME/.ssh/config files.... (root folder is not readable by other > users) > > Finally, my contribution to nagios world: check_cisco_ping_ssh (ping from cisco routers, using ssh): > > #!/usr/bin/perl > # Net::SSH de http://www.stupidfool.org/perl/net-ssh/ > # > # Use: usr/local/sbin/check_cisco_ping_ssh > # use strict; > > use Net::SSH::Perl; > > $ENV{'HOME'} = '/var/lib/nagios'; > > my $router=$ARGV[0]; > my $port=$ARGV[1]; > > my $user=$ARGV[2]; > my $pass=$ARGV[3]; > > my $ip=$ARGV[4]; > > my $warn=$ARGV[5]; > my $crit=$ARGV[6]; > > > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, > cipher=>'DES', port=>$port, debug=> 'false'); > $sesion_ssh->login($user, $pass); > > my $comand="ping $ip"; > > my($output, $output_error, $value_exit) = $sesion_ssh->cmd($command); > > $output =~ /Success rate is (\d*) (.*)/; > > my $rate=$1; > > if ( $rate <= $crit ) { > print "PROBLEM: Rate=$rate%\n"; > exit 2; > } > > if ( $rate <= $warn ) { > print "WARNING: Rate=$rate%\n"; > exit 1; > } > > if ( $rate <= 100 ) { > print "OK: Rate=$rate%\n"; > exit 0; > } > > exit 3; > > > > Enjoy it. > Regards > > Javier Castillo Alc?bar (2404) > Alhambra Eidos. > +34 91 787 23 00 javier.castillo at a-e.es > > > > > > > > -----Mensaje original----- > De: Andreas Ericsson [mailto:ae at op5.se] Enviado el: jueves, 16 de > noviembre de 2006 16:59 > Para: Javier Castillo Alcibar > CC: nagios-users at lists.sourceforge.net > Asunto: Re: [Nagios-users] Plugin error: Remote cisco command via SSH > notworking > > Javier Castillo Alcibar wrote: > > > > Hello all, > > > > I have some cisco routers that can only be managed using SSH. I > > wrote an script, to do remotely some PING's from these routers, > > integrated in nagios. > > > > My problem is very strange: > > - if a execute this script from the command line by myself, it > > works as expected. > > - if nagios process executes the script, it does not work. It looks > > like ssh process didn't return anything.... > > > > I think it's a problem related with ttys.....but I'm not sure. > > > > This is my (perl) script: > > > > #!/usr/bin/perl > > # > > # Uso: usr/local/sbin/check_cisco_ping_ssh > > # use Net::SSH::Perl; > > > > $router=$ARGV[0]; > > $port=$ARGV[1]; > > $user=$ARGV[2]; > > $pass=$ARGV[3]; > > $ip=$ARGV[4]; > > $warn=$ARGV[5]; > > $crit=$ARGV[6]; > > > > my $sesion_ssh = Net::SSH::Perl->new($router, protocol=>1, > > cipher=>'DES', port=>$port); $sesion_ssh->login($user, $pass); > > > > $command="ping $ip"; > > > > my($output, $output_error, $val_exit) = $sesion_ssh->cmd($command); > > > > $output =~ /Success rate is (\d*) (.*)/; $rate=$1; > > > > if ( $rate <= $crit ) { > > print "PROBLEM: PING Rate=$rate%\n"; > > exit 2; > > } > > if ( $rate <= $warn ) { > > print "WARNING: PING Rate=$rate%\n"; > > exit 1; > > } > > if ( $rate <= 100 ) { > > print "OK: PING Rate=$rate%\n"; > > exit 0; > > } > > exit 3; > > > > > > Any help is welcome!!. > > > > Have you compiled nagios with embedded perl support? If so, use > /usr/bin/perl /path/to/your/script.pl > > instead of just > > /path/to/your/script.pl > > in the command definition. > > Other than that, make sure that the nagios-user has access to execute the script and try it from the command-line *as the nagios user*. If that works, you've made some mistake in your configuration. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > -------------------------------------------------------- > Alhambra-Eidos ha cambiado su dominio de correo electr?nico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. > > > > Muchas gracias. > Alhambra-Eidos. We solve IT, we solve it > -------------------------------------------------------- > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV > DEV _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------------------------------------------------- Alhambra-Eidos ha cambiado su dominio de correo electr?nico. Por favor revise sus contactos, y proceda a actualizar nuestras direcciones a @a-e.es. Muchas gracias. Alhambra-Eidos. We solve IT, we solve it -------------------------------------------------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donnell.lewis at icoretechnology.com Thu Nov 16 17:58:43 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Thu, 16 Nov 2006 11:58:43 -0500 Subject: Customized map for customers In-Reply-To: <9DB9DF2949D8774796CB054FBEC1569903571E2A@Tyran.int.acn.gr> References: <9DB9DF2949D8774796CB054FBEC1569903571E2A@Tyran.int.acn.gr> Message-ID: <1163696323.2209.22.camel@localhost.localdomain> On Thu, 2006-11-16 at 11:54 +0200, Varaillon Jean Cristophe wrote: > Hi, > > We are an ISP and we have a lot of customers set-up with VRF. > > Using Nagios, would I be able to provide a customized map to my customer > where the would see: > > Their_Remote_Office_Router-----------Their_Central_Office_Rou > ter > Yes, this can be achieved using the web authentication that you setup to login to nagios. You would make your .htaccess or auth schema user the same as the user you put them into contacts.cfg as. Then you would have to create a group just for them in contactgroup.cfg. After that you would then add their contactgroup to the host/services for which they have with you. The ISP cloud will basically show as the central nagios host that's doing the checks, unless you add a host and just name it that for viewing purposes on the map. Then, after you have added them to the auth files, contacts.cfg, contactgroups.cfg and put their group name into the hosts/services they are to see you would also need to make sure that in the hosts/services definitions that you are using the 'parent ' option so that things will fall correctly on the map. Hope that helps somewhat, didn't describe as best as I probably could. -Don Lewis > Can Nagios provide a web access where my customer would see: > - A networking diagram CE1----------CE2 > - The traffic rate going between the two Customer Equipment routers. > > Thank you for your time! > > Christophe > > Disclaimer > The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. 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. > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 btmanmeh at verizon.net Thu Nov 16 18:04:32 2006 From: btmanmeh at verizon.net (Max H.) Date: Thu, 16 Nov 2006 12:04:32 -0500 Subject: work time In-Reply-To: <3c4611bc0611160840j6b9efb42sefe3e18cc31d4041@mail.gmail.com> References: <3c4611bc0611160840j6b9efb42sefe3e18cc31d4041@mail.gmail.com> Message-ID: <455C9A20.7030004@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Brian Loe wrote: > When you all report on availability, how do you go about working out > any scheduled maintenance periods? > > For instance, I'd like to report on a specific hostgroup. The time > period is 24x7 except 2-6 on Sundays. > > Ideas? #(12am to 2pm, 6pm to 12am) define timeperiod{ timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week, Except on Sundays sunday 00:00-14:00,18: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 } I'm assuming you mean 2pm to 6pm. If you meant 2am to 6am, then Sunday would like like: sunday 00:00-02:00,06:00-24:00 (12am to 2am, 6am to 12pm) Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFXJogHoeeepPau2ERAjqZAJ4rpO2jGU5PZ64ZpwKWL7DA+qboTgCeOx6j WRW1rMs4wjZ0uoPlf0tufBY= =C2Mu -----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 ugob at camo-route.com Thu Nov 16 18:20:05 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Thu, 16 Nov 2006 12:20:05 -0500 Subject: check_dns_random Message-ID: Hi there, I'm trying to configure check_dns_random.pl on my nagios server (contrib). I get this error: **ePN /usr/lib64/nagios/plugins/contrib/check_dns_random.pl: "Argument "25/etc/nagios/.list" isn't numeric in rand at (eval 6) line 55,". I'm using /etc/nagios/domains.list for domain list file and the check runs fine when run by user nagios. /usr/lib64/nagios/plugins/contrib/check_dns_random.pl 127.0.0.1 DNS OK: 0.005 seconds response time. iweb.ca returns 209.172.41.170|time=0.005172s;;;0.000000 Here is my command definition: # 'check_dns1_random' command definition define command{ command_name check_dns1_random command_line $USER1$/contrib/check_dns_random.pl 127.0.0.1 } Any idea? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Nov 16 18:22:03 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 16 Nov 2006 11:22:03 -0600 Subject: work time In-Reply-To: <455C9A20.7030004@verizon.net> References: <3c4611bc0611160840j6b9efb42sefe3e18cc31d4041@mail.gmail.com> <455C9A20.7030004@verizon.net> Message-ID: <3c4611bc0611160922v273e9b89g41727556485dda7b@mail.gmail.com> Doh! I knew that!! Now its just a matter of getting that into a script for e-mailing... thank you! On 11/16/06, Max H. wrote: > I'm assuming you mean 2pm to 6pm. If you meant 2am to 6am, then Sunday > would like like: > > sunday 00:00-02:00,06:00-24:00 (12am to 2am, 6am to 12pm) > > 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 kevinm at softcom.biz Thu Nov 16 18:27:41 2006 From: kevinm at softcom.biz (Kevin Millman) Date: Thu, 16 Nov 2006 12:27:41 -0500 Subject: Nagios as an SLA monitoring tool Message-ID: Hi, I've been requested to come up with a solution to monitor some of our network services externally (to simulate the clients enviroment) for things like www, email, ftp, etc to try and get a sense of what the external availablity of each cluster is. I'd like to setup machines on a couple of DSL networks and have a host machine collect this data and only report a service as down if both external checks confirm it as down (possibly just a DSL network is having routing problems or something) - then take the data from the host machine and graph it to show the management. I'm having a hard time coming up with a great solution for this but thought that maybe the Nagios list could help. Doing some reading it seems this could be done using passive checks and perfparse maybe? Does anyone know of an article I could read over where someone has done something similar? Alternatively does anyone think this is just a bad idea and have a better solution for gathering SLA information. Right now I'm in the information gathering stage before I start making a proof of concept -- any suggestions are welcome. Regards, Kevin -------------- 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 donnell.lewis at icoretechnology.com Thu Nov 16 18:30:01 2006 From: donnell.lewis at icoretechnology.com (Donnell Lewis) Date: Thu, 16 Nov 2006 12:30:01 -0500 Subject: check_dns_random In-Reply-To: References: Message-ID: <1163698201.2209.25.camel@localhost.localdomain> On Thu, 2006-11-16 at 12:20 -0500, Ugo Bellavance wrote: > # 'check_dns1_random' command definition > define command{ > command_name check_dns1_random > command_line $USER1$/contrib/check_dns_random.pl 127.0.0.1 > } Just out of curiousity have you tried: # 'check_dns1_random' command definition define command{ command_name check_dns1_random command_line $USER1$/contrib/check_dns_random.pl "127.0.0.1" } and make sure the perms of course are correct on the plugin check. Don't know if that will help but sometimes I have had to use "" for things on the command line being executed. -Don Lewis ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ugob at camo-route.com Thu Nov 16 18:46:59 2006 From: ugob at camo-route.com (Ugo Bellavance) Date: Thu, 16 Nov 2006 12:46:59 -0500 Subject: check_dns_random In-Reply-To: <1163698201.2209.25.camel@localhost.localdomain> References: <1163698201.2209.25.camel@localhost.localdomain> Message-ID: Donnell Lewis wrote: > On Thu, 2006-11-16 at 12:20 -0500, Ugo Bellavance wrote: >> # 'check_dns1_random' command definition >> define command{ >> command_name check_dns1_random >> command_line $USER1$/contrib/check_dns_random.pl 127.0.0.1 >> } > > Just out of curiousity have you tried: > > # 'check_dns1_random' command definition > define command{ > command_name check_dns1_random > command_line $USER1$/contrib/check_dns_random.pl "127.0.0.1" > } > I tried that, no change. > and make sure the perms of course are correct on the plugin check. > Don't know if that will help but sometimes I have had to use "" for > things on the command line being executed. The permissions are ok and it runs ok when I run it manually using the nagios user. 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 marc at ena.com Thu Nov 16 20:24:10 2006 From: marc at ena.com (Marc Powell) Date: Thu, 16 Nov 2006 13:24:10 -0600 Subject: All hosts template trick not working Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Serveur-Faucon Surveillance > Sent: Thursday, November 16, 2006 10:14 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] All hosts template trick not working > > I use Nagios 2.5 for the infos. > > > > define hostgroup{ > > > hostgroup_name TOUTESLESMACHINES > > > alias TOUTESLESMACHINES > > > members * > > > } > > > > > > But it does not work. Someone has find a trick for that? > > > Actually, I get this while testing the files. > > [root at srv etc]# /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg > > Nagios 2.5 > [...] > Reading configuration data... > > Error: Could not find any host matching '*' > Error: Could not expand member hosts specified in hostgroup (config file > '/usr/local/nagios/etc/touteslesmachines.cfg', starting on line 14) > > --- > > After that I have tried to remove the "*" from the illegal host name, but > I get the same result. > You must enable regular expression matching for this to work. http://nagios.sourceforge.net/docs/2_0/configmain.html#use_regexp_matchi ng -- 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 aharrison at gmail.com Thu Nov 16 21:26:06 2006 From: aharrison at gmail.com (Andy Harrison) Date: Thu, 16 Nov 2006 15:26:06 -0500 Subject: nagios-plugins on Solaris 9 --with-ps-command Message-ID: Could anyone please help me with the proper syntax for the configure line? No matter what I use, during the configure process I get: checking for ps... /usr/bin/ps checking for ps syntax... using nagios-plugins internal ps for solaris The pst3 command does not work for me. check_procs is broken anyway, so it just hangs until timeout when pst3 fails. When I run pst3 manually as root, I get... # /usr/local/nagios/libexec/pst3 /usr/local/nagios/libexec/pst3: /dev/ksyms is not a 32-bit kernel namelist pst3: Failed to open kernel memory: Error 0 I figured that --with-ps-command=/usr/ucb/ps in my configure line would do the trick, but it always picks up /usr/bin/ps instead. This box is a sunfire v440 sparc running Solaris 9 with gcc-3.4.5 installed and I'm compiling from the most recent nagios-plugins-1.4.5 source tarball. Any suggestions appreciated. Thanks! -- Andy Harrison ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From knobdy at gmail.com Thu Nov 16 22:21:01 2006 From: knobdy at gmail.com (Brian Loe) Date: Thu, 16 Nov 2006 15:21:01 -0600 Subject: previously supplied script Message-ID: <3c4611bc0611161321yee9b647o24c2c35b41fd4cb2@mail.gmail.com> I can find no record of the original e-mail, but whomever it was that was nice enough to post their availability reporting script could provide a way for the script to either send an e-mail rather than create a file - or, better, both - I would again appreciate it. I played with it as much as I know how and its not enough...couldn't get any output to anything other than the file. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmoore at novell.com Thu Nov 16 22:39:04 2006 From: fmoore at novell.com (Frank Moore) Date: Thu, 16 Nov 2006 14:39:04 -0700 Subject: Problems seeing host and service detail Message-ID: <455C9428.933F.001B.0@novell.com> I have just installed nagios 1.3.6 on SLES 10 and can not get hosts and services to show up. I am just trying a simple install using minimal.cfg and the localhost. The apache authentication works and I can see the main web console web page but as soon as I try to see services or host details I get the following error. I can see the event log. I also can not get any configuration information It appears as though you do not have permission to view information for any of the hosts you requested I have checked all the cfg files, done the nagios -v and get no errors, and checked to make sure the contact name is the same as the htpasswd user name. What else can I check? Is there something else to configure? Thanks for the help Frank Frank Moore ATT Engineer/Instructor WW Training Services 801-861-4134 Sent from a SUSE Linux Desktop ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steele at agora-net.com Thu Nov 16 22:40:19 2006 From: steele at agora-net.com (Ryan Steele) Date: Thu, 16 Nov 2006 16:40:19 -0500 Subject: Problems seeing host and service detail In-Reply-To: <455C9428.933F.001B.0@novell.com> References: <455C9428.933F.001B.0@novell.com> Message-ID: <455CDAC3.8050603@agora-net.com> Frank, The current version of Nagios is 2.5 ...if you're just starting out, it's probably advisable to begin with that. Best, Ryan Frank Moore wrote: > I have just installed nagios 1.3.6 on SLES 10 and can not get hosts and > services to show up. I am just trying a simple install using > minimal.cfg and the localhost. > > The apache authentication works and I can see the main web console web > page but as soon as I try to see services or host details I get the > following error. I can see the event log. > > I also can not get any configuration information > > It appears as though you do not have permission to view information for > any of the hosts you requested > > I have checked all the cfg files, done the nagios -v and get no errors, > and checked to make sure the contact name is the same as the htpasswd > user name. > > What else can I check? Is there something else to configure? > > Thanks for the help > > Frank > > > > > Frank Moore > ATT Engineer/Instructor > WW Training Services > 801-861-4134 > > Sent from a SUSE Linux Desktop > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Ryan Steele Systems Administrator steele at agora-net.com AgoraNet, Inc. (302) 224-2475 314 E. Main Street, Suite 1 (302) 224-2552 (fax) Newark, DE 19711 http://www.agora-net.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 Nov 16 22:55:12 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Thu, 16 Nov 2006 14:55:12 -0700 Subject: Mass Acknowledgement from Command Line Message-ID: <2D0245E43DEC724F81592D697F05689904C43259@SIDHQEXCHMB1.Cabelas.Corp> I know a few people have asked about this in the past, so here goes... http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[ p_view]=793 This PHP script will allow you to perform mass-acknowledgements of nagios problems from the command line. Both the 'host' and 'service' parameters are treated as perl regular expressions, so you can do things like: # nagios_ack webprod httpd "I shot all of the httpd processes with psDOOM by accident" To acknowledge alarms for any services matching 'httpd' (eg, httpd_response_time, httpd_process, etc...) on any hosts matching 'webprod' (eg, webprod01, webprod02, test-webprod01, etc...) with the admission that you often like to admin your system using WASD. You may also use the keyword 'all' in place of either parameter... # nagios_ack all "Power Outage in Texas" To acknowledge ALL current host and service problems. # nagios_ack webprod all "Power Outage in Web Server Rack" To acknowledge ALL services in alarm on any host matching 'webprod'. The script uses the status.log (or status.dat) and nagios.cmd files. You will need to edit the top of the script to let it know where you keep yours. I use Groundworks/nagios so the current paths are customized for that purpose. See the README for config/cmdline information. Enjoy! -------------- 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 nmrksharma at gmail.com Fri Nov 17 07:35:55 2006 From: nmrksharma at gmail.com (sarma nmrk) Date: Fri, 17 Nov 2006 12:05:55 +0530 Subject: Could not find any host matching in Nagios. Message-ID: <649a2b030611162235x4eb8032y4da28ad2a663ea2f@mail.gmail.com> Hi I am new to Nagios.I installed nagios succcesffuly and able to monitor the local host services. But when i am trying to add new host to the configuration i am receving following error. Can any one help me in this.I am using Nagios 2.5 Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Error: Could not find any host matching "10.10.1.2" Error: Could not expand member hosts specified in hostgroup (config file '/usr/local/nagios/etc/minimal.cfg', starting on line 223) ***> 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. Pls help me in this regard.Thanks in advance. -------------- 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 nmrksharma at gmail.com Fri Nov 17 07:44:29 2006 From: nmrksharma at gmail.com (nmrk sharma) Date: Fri, 17 Nov 2006 07:44:29 +0100 (CET) Subject: Could not find any host matching in Nagios Message-ID: <20061117064429.9CD914F4046@desire.netways.de> Hi list I am new to Nagios.I installed nagios succcesffuly and able to monitor the local host services. But when i am trying to add new host to the configuration i am receving following error. Can any one help me in this.I am using Nagios 2.5 Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Error: Could not find any host matching "10.10.1.2" Error: Could not expand member hosts specified in hostgroup (config file '/usr/local/nagios/etc/minimal.cfg', starting on line 223) ***> 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. Pls help me in this regard.Thanks in advance - nmrk sharma (nmrksharma) ----------------------- 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 nmrksharma at gmail.com Fri Nov 17 07:44:43 2006 From: nmrksharma at gmail.com (nmrk sharma) Date: Fri, 17 Nov 2006 07:44:43 +0100 (CET) Subject: Could not find any host matching in Nagios Message-ID: <20061117064443.3E1BD4F4046@desire.netways.de> Hi list I am new to Nagios.I installed nagios succcesffuly and able to monitor the local host services. But when i am trying to add new host to the configuration i am receving following error. Can any one help me in this.I am using Nagios 2.5 Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Error: Could not find any host matching "10.10.1.2" Error: Could not expand member hosts specified in hostgroup (config file '/usr/local/nagios/etc/minimal.cfg', starting on line 223) ***> 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. Pls help me in this regard.Thanks in advance - nmrk sharma (nmrksharma) ----------------------- 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 nmrksharma at gmail.com Fri Nov 17 07:48:40 2006 From: nmrksharma at gmail.com (nmrk sharma) Date: Fri, 17 Nov 2006 07:48:40 +0100 (CET) Subject: Could not find any host matching in Nagios Message-ID: <20061117064840.984B94F4046@desire.netways.de> Hi list am new to Nagios.I installed nagios succcesffuly and able to monitor the local host services. But when i am trying to add new host to the configuration i am receving following error. Can any one help me in this.I am using Nagios 2.5 Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Reading configuration data... Error: Could not find any host matching "10.10.1.2" Error: Could not expand member hosts specified in hostgroup (config file '/usr/local/nagios/etc/minimal.cfg', starting on line 223) ***> 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. Pls help me in this regard.Thanks in advance - nmrk sharma (nmrksharma) ----------------------- 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 jochen.maes at sejo.be Fri Nov 17 09:06:18 2006 From: jochen.maes at sejo.be (Jochen Maes) Date: Fri, 17 Nov 2006 09:06:18 +0100 Subject: nagios "browser" Message-ID: <455D6D7A.7020908@sejo.be> Hey all, I'm looking for a webpage that shows all the errors/warnings and pendings in a list. And a simple checkbox next to each to acknowledge the problem or to manually reset to OK. This is handy for when our serverpark has gone through a downtime for one or the other reason. Does anyone know of it's existance? And if not would people use it if it would be developped? kind regards, Jochen -- "Defer no time, delays have dangerous ends" "Ne humanus crede" Jochen Maes http://sejo.be ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 08:43:06 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 17 Nov 2006 02:43:06 -0500 Subject: Could not find any host matching in Nagios In-Reply-To: <20061117064840.984B94F4046@desire.netways.de> References: <20061117064840.984B94F4046@desire.netways.de> Message-ID: > Can any one help me in this.I am using Nagios 2.5 > > Nagios 2.5 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 07-13-2006 > License: GPL > Reading configuration data... > > Error: Could not find any host matching "10.10.1.2" > > Error: Could not expand member hosts specified in hostgroup > (config file '/usr/local/nagios/etc/minimal.cfg', starting on > line 223) You have added a host to a hostgroup, but that host has not been defined. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 17 12:42:30 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Fri, 17 Nov 2006 17:12:30 +0530 Subject: check_cciss plugin for monitoring RAID arrays on HP servers Message-ID: Hi All, I am trying to monitor hardware RAID arrays on my HP Proliant DL380 G4 server using the nagios plugin "check_cciss". As per the relevant URL on www.nagiosexchange.org, this plugin uses "hpacucli" to check the status of RAID arrays and array controllers. hpacucli has already been installed on the server and I am able to use it from the command-line to query the RAID array status. But when I try to use the "check_cciss" plugin script to check the array status I get the error as given below ./check_cciss-1.5: line 90: ./utils.sh: No such file or directory Tried to go through the script to find out what is causing this error, but the script is a bit complex for me to identify the cause. Has anyone here used this plugin? Would be grateful if anyone can give me some pointers for resolving the problem. Thanks In Advance 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 simvirus at gmail.com Fri Nov 17 12:55:54 2006 From: simvirus at gmail.com (Sim) Date: Fri, 17 Nov 2006 12:55:54 +0100 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: References: Message-ID: Hi! After nagios-plugins setup (for example: /usr/local/nagios/libexec), you can find utils.pm and utils.sh. Those files have : STATE_OK=0 STATE_WARNING=1 STATE_CRITICAL=2 STATE_UNKNOWN=3 STATE_DEPENDENT=4 required for Nagios pluging status. Pls copy check_cciss into this path. Bye 2006/11/17, Yogesh Hasabnis : > Hi All, > > I am trying to monitor hardware RAID arrays on my HP Proliant DL380 G4 > server using the nagios plugin "check_cciss". As per the relevant URL on > www.nagiosexchange.org, this plugin uses "hpacucli" to check the status of > RAID arrays and array controllers. hpacucli has already been installed on > the server and I am able to use it from the command-line to query the RAID > array status. But when I try to use the "check_cciss" plugin script to check > the array status I get the error as given below > > ./check_cciss-1.5: line 90: ./utils.sh: No such file or directory > > Tried to go through the script to find out what is causing this error, but > the script is a bit complex for me to identify the cause. Has anyone here > used this plugin? Would be grateful if anyone can give me some pointers for > resolving the problem. > > Thanks In Advance > > Yogesh > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 duke at sigsegv.at Fri Nov 17 12:57:03 2006 From: duke at sigsegv.at (Thomas Hager) Date: Fri, 17 Nov 2006 12:57:03 +0100 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: References: Message-ID: <1163764623.28811.9.camel@localhost.localdomain> On Fri, 2006-11-17 at 17:12 +0530, Yogesh Hasabnis wrote: > Hi All, hi, > ./check_cciss-1.5: line 90: ./utils.sh: No such file or directory the plugin calls utils.sh (which comes with the nagios-plugins package) and needs it in the same directory you installed check_cciss. so, you got three joices: a) copy check_cciss-1.5 to the directory where all the nagios plugins are installed (including utils.sh) b) copy utils.sh to the directory you're testing check_cciss-1.5 c) edit the check_cciss script and adjust the path to utils.sh hth, tom. -- Thomas "Duke" Hager duke at sigsegv.at GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg ================================================================= "Never Underestimate the Power of Stupid People in Large Groups." -------------- 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 -------------- ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your 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 klausman at schwarzvogel.de Fri Nov 17 13:35:35 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Fri, 17 Nov 2006 13:35:35 +0100 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: <1163764623.28811.9.camel@localhost.localdomain> References: <1163764623.28811.9.camel@localhost.localdomain> Message-ID: <20061117123535.GA21602@eric.schwarzvogel.de> Hi! On Fri, 17 Nov 2006, Thomas Hager wrote: > > ./check_cciss-1.5: line 90: ./utils.sh: No such file or directory > the plugin calls utils.sh (which comes with the nagios-plugins package) > and needs it in the same directory you installed check_cciss. so, you > got three joices: > > a) copy check_cciss-1.5 to the directory where all the nagios plugins > are installed (including utils.sh) > b) copy utils.sh to the directory you're testing check_cciss-1.5 > c) edit the check_cciss script and adjust the path to utils.sh The other day I saw another tool which is completely OSS (GPL-2, IIRC) and independent of hpacucli. It works just fine for me and it's even included in our fave distro (Debian). It works for both IDA and CCISS devices and already returns the retvals the way Nagios wants them. http://www.strocamp.net/opensource/ The tool is called "arrayprobe" HTH, Tobias -- Never touch a burning 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 yhasabnis at gmail.com Fri Nov 17 13:41:02 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Fri, 17 Nov 2006 18:11:02 +0530 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: <1163764623.28811.9.camel@localhost.localdomain> References: <1163764623.28811.9.camel@localhost.localdomain> Message-ID: Thanks Thomas, Sim and all the friends on this list!! As per your suggestion, I copied the check_cciss plugin into the nagios/libexec directory and now the plugin works fine from the command-line ]# ./check_cciss-1.5 -N 0 -v RAID OK: Smart Array 6i in Slot 0 array A logicaldrive 1 (136.7 GB, RAID 1+0, OK) array B logicaldrive 2 (410.2 GB, RAID 5, OK) Now since the RAID arrays are not on the nagios host, I will need to configure NRPE to execute the cciss plugin remotely. Thanks for all the help again!! Yogesh On 11/17/06, Thomas Hager wrote: > > On Fri, 2006-11-17 at 17:12 +0530, Yogesh Hasabnis wrote: > > Hi All, > hi, > > > ./check_cciss-1.5: line 90: ./utils.sh: No such file or directory > the plugin calls utils.sh (which comes with the nagios-plugins package) > and needs it in the same directory you installed check_cciss. so, you > got three joices: > > a) copy check_cciss-1.5 to the directory where all the nagios plugins > are installed (including utils.sh) > b) copy utils.sh to the directory you're testing check_cciss-1.5 > c) edit the check_cciss script and adjust the path to utils.sh > > hth, > tom. > > -- > Thomas "Duke" Hager duke at sigsegv.at > GPG: 1024D/D27F858C http://www.sigsegv.at/gpg/duke.gpg > ================================================================= > "Never Underestimate the Power of Stupid People in Large Groups." > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 simvirus at gmail.com Fri Nov 17 13:52:49 2006 From: simvirus at gmail.com (Sim) Date: Fri, 17 Nov 2006 13:52:49 +0100 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: References: <1163764623.28811.9.camel@localhost.localdomain> Message-ID: 2006/11/17, Yogesh Hasabnis : > Thanks Thomas, Sim and all the friends on this list!! As per your > suggestion, I copied the check_cciss plugin into the nagios/libexec > directory and now the plugin works fine from the command-line > > ]# ./check_cciss-1.5 -N 0 -v > RAID OK: Smart Array 6i in Slot 0 array A logicaldrive 1 (136.7 GB, RAID > 1+0, OK) array B logicaldrive 2 (410.2 GB, RAID 5, OK) > > Now since the RAID arrays are not on the nagios host, I will need to > configure NRPE to execute the cciss plugin remotely. > Add this line into nrpe.cfg: command[check_cciss]=/usr/local/nagios/libexec/check_cciss-1.5 -N 0 -v and this into services.cfg (similar): define service{ use generic-service ; Name of service template to use host_name xxxxxxxxx service_description RAID is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups grp_admins notification_interval 720 notification_period 24x7 notification_options w,u,c,r check_command check_nrpe!check_cciss } ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From simvirus at gmail.com Fri Nov 17 14:09:01 2006 From: simvirus at gmail.com (Sim) Date: Fri, 17 Nov 2006 14:09:01 +0100 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: <20061117123535.GA21602@eric.schwarzvogel.de> References: <1163764623.28811.9.camel@localhost.localdomain> <20061117123535.GA21602@eric.schwarzvogel.de> Message-ID: > It works for both IDA and CCISS devices and already returns the > retvals the way Nagios wants them. Hi! Can you post output an example of this ? Have you tryed all case? ( Rebuilding, Inter.Recovery, Fail, etc.. ) 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 yhasabnis at gmail.com Fri Nov 17 14:09:09 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Fri, 17 Nov 2006 18:39:09 +0530 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: <20061117123535.GA21602@eric.schwarzvogel.de> References: <1163764623.28811.9.camel@localhost.localdomain> <20061117123535.GA21602@eric.schwarzvogel.de> Message-ID: On 11/17/06, Tobias Klausmann wrote: > > Hi! > > On Fri, 17 Nov 2006, Thomas Hager wrote: > > > ./check_cciss-1.5: line 90: ./utils.sh: No such file or directory > > the plugin calls utils.sh (which comes with the nagios-plugins package) > > and needs it in the same directory you installed check_cciss. so, you > > got three joices: > > > > a) copy check_cciss-1.5 to the directory where all the nagios plugins > > are installed (including utils.sh) > > b) copy utils.sh to the directory you're testing check_cciss-1.5 > > c) edit the check_cciss script and adjust the path to utils.sh > > The other day I saw another tool which is completely OSS (GPL-2, > IIRC) and independent of hpacucli. It works just fine for me and > it's even included in our fave distro (Debian). > > It works for both IDA and CCISS devices and already returns the > retvals the way Nagios wants them. > > http://www.strocamp.net/opensource/ > > The tool is called "arrayprobe" > > HTH, > Tobias Hi, Yes, I had used arrayprobe form the command-line. But being a layman, I was not sure how to define a checkcommand using arrayprobe. Anyway, I will also give it a try. 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 Joerg.Hartmann at mercateo.com Fri Nov 17 14:41:57 2006 From: Joerg.Hartmann at mercateo.com (Joerg Hartmann) Date: Fri, 17 Nov 2006 14:41:57 +0100 Subject: question about nsca modes Message-ID: <455DBC25.8020103@mercateo.com> Hello, i have a remote Nagios-Server which reports to a central Server on which a nsca daemon runns. This works only, if i run the nsca daemon in --daemon mode. If i start the nsca daemon in --single mode (which is the default according to the doc) the check-results on the central hosts are not updatet. With tcpdump i can see that the remote host is sending all the data to its central brother, but i think he dont gets the data from nsca. Now i wonder if its me or the nsca daemon. I simply dont understand this and the nsca daemon has gone wild for two times and created over 11000 childs. Does anyone else has seen this ? regards Joerg -- Joerg Hartmann Mercateo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 17 15:11:16 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Fri, 17 Nov 2006 15:11:16 +0100 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: References: <1163764623.28811.9.camel@localhost.localdomain> <20061117123535.GA21602@eric.schwarzvogel.de> Message-ID: <20061117141116.GA29807@eric.schwarzvogel.de> Hi! On Fri, 17 Nov 2006, Sim wrote: > > It works for both IDA and CCISS devices and already returns the > > retvals the way Nagios wants them. > > Hi! > > Can you post output an example of this ? > > Have you tryed all case? ( Rebuilding, Inter.Recovery, Fail, etc.. ) Ok state looks like this: # arrayprobe OK Arrayprobe All controllers ok # echo $? 0 So far I've only seen Interim Recovery Mode which is a warning. One could argue about that I guess, I found it to be ok for my use case. Failure is critical, which is definitely what I'd expect. What I like most about it is its simpleness and yet it's useful outside of Nagios, too. getting at the log of the controller is nice, too: # arrayprobe -r Retrieving logical drive information from controller /dev/cciss/c0d0 Number of logical volumes (00 00 00 08) : 1 Controller /dev/cciss/c0d0 reports 1 logical drives Logical drive 0 found on controller /dev/cciss/c0d0 Event code 5/0/0 at 8-26-2004 01:37:22 with message: State change, logical drive 0 logical drive 0, changed from state 2 to 0 state 2: Logical drive is not configured state 0: Logical drive is ok Event code 5/2/0 at 9-5-2005 11:09:26 with message: Parity/consistency initialization complete, logical drive 0 Event code 4/0/0 at 11-14-2006 17:55:33 with message: Physical drive failure: SCSI port 1 ID 1 physical drive 1 has failed with failurecode 5. this drive is part of a logical drive Event code 5/0/0 at 11-14-2006 17:55:33 with message: State change, logical drive 0 logical drive 0, changed from state 0 to 3 state 0: Logical drive is ok state 3: Logical drive is using interim recovery mode Event code 1/0/0 at 11-17-2006 13:01:33 with message: Hot-plug drive removed: SCSI port 1 ID 1 Event code 1/0/1 at 11-17-2006 13:01:52 with message: Hot-plug drive inserted: SCSI port 1 ID 1 Event code 5/0/0 at 11-17-2006 13:01:52 with message: State change, logical drive 0 logical drive 0, changed from state 3 to 4 state 3: Logical drive is using interim recovery mode state 4: Logical drive is ready for recovery operation Event code 5/0/0 at 11-17-2006 13:01:52 with message: State change, logical drive 0 logical drive 0, changed from state 4 to 5 state 4: Logical drive is ready for recovery operation state 5: Logical drive is is currently recovering Event code 5/0/0 at 11-17-2006 13:52:29 with message: State change, logical drive 0 logical drive 0, changed from state 5 to 0 state 5: Logical drive is is currently recovering state 0: Logical drive is ok Event code 0/0/0 with message: No events to report. failed to open device /dev/ida/c0d0: No such device or address Logical drive 0 on controller /dev/cciss/c0d0 has state 0 OK Arrayprobe All controllers ok Regards, Tobias > > 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 -- Never touch a burning 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 klausman at schwarzvogel.de Fri Nov 17 15:13:47 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Fri, 17 Nov 2006 15:13:47 +0100 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: References: <1163764623.28811.9.camel@localhost.localdomain> <20061117123535.GA21602@eric.schwarzvogel.de> Message-ID: <20061117141347.GB29807@eric.schwarzvogel.de> Hi! On Fri, 17 Nov 2006, Yogesh Hasabnis wrote: > Yes, I had used arrayprobe form the command-line. But being a layman, I was > not sure how to define a checkcommand using arrayprobe. Anyway, I will also > give it a try. We use this: nrpe.conf: command[check_array]=/usr/bin/sudo /usr/bin/arrayprobe Note that sudo is needed since NRPE has its own user and teh utility nees to run as root. nagios config: define service { host_name service_description check_array check_command check_nrpe!check_array max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 300 notification_period 24x7 notification_options w,c,r contact_groups } Hope this helps, Tobias -- Never touch a burning 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 yhasabnis at gmail.com Fri Nov 17 16:08:18 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Fri, 17 Nov 2006 20:38:18 +0530 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: References: <1163764623.28811.9.camel@localhost.localdomain> Message-ID: On 11/17/06, Sim wrote: > > 2006/11/17, Yogesh Hasabnis : > > Thanks Thomas, Sim and all the friends on this list!! As per your > > suggestion, I copied the check_cciss plugin into the nagios/libexec > > directory and now the plugin works fine from the command-line > > > > ]# ./check_cciss-1.5 -N 0 -v > > RAID OK: Smart Array 6i in Slot 0 array A logicaldrive 1 (136.7 GB, > RAID > > 1+0, OK) array B logicaldrive 2 (410.2 GB, RAID 5, OK) > > > > Now since the RAID arrays are not on the nagios host, I will need to > > configure NRPE to execute the cciss plugin remotely. > > > > Add this line into nrpe.cfg: > > command[check_cciss]=/usr/local/nagios/libexec/check_cciss-1.5 -N 0 -v > > > and this into services.cfg (similar): > > > define service{ > use generic-service ; Name > of service template to use > > host_name xxxxxxxxx > service_description RAID > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups grp_admins > notification_interval 720 > notification_period 24x7 > notification_options w,u,c,r > check_command check_nrpe!check_cciss > } > Yes, I am in the process of configuring nrpe for remotely executing check_cciss plugin. I am getting some permission errors for executing hpacucli after editing the /etc/sudoers. I will sort it out and give a feedback as soon as it works properly. Thanks a lot! 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 yhasabnis at gmail.com Fri Nov 17 16:10:12 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Fri, 17 Nov 2006 20:40:12 +0530 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: <20061117141347.GB29807@eric.schwarzvogel.de> References: <1163764623.28811.9.camel@localhost.localdomain> <20061117123535.GA21602@eric.schwarzvogel.de> <20061117141347.GB29807@eric.schwarzvogel.de> Message-ID: On 11/17/06, Tobias Klausmann wrote: > > Hi! > > On Fri, 17 Nov 2006, Yogesh Hasabnis wrote: > > Yes, I had used arrayprobe form the command-line. But being a layman, I > was > > not sure how to define a checkcommand using arrayprobe. Anyway, I will > also > > give it a try. > > We use this: > > nrpe.conf: > command[check_array]=/usr/bin/sudo /usr/bin/arrayprobe > > Note that sudo is needed since NRPE has its own user and teh > utility nees to run as root. > > nagios config: > define service { > host_name > service_description check_array > check_command check_nrpe!check_array > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 300 > notification_period 24x7 > notification_options w,c,r > contact_groups > } > > Hope this helps, > Tobias > > Yes, it will certainly help. Will give a feedback about both check_cciss and arrayprobe once I get it working. 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 Janet.Post at excapsa.ca Fri Nov 17 16:40:42 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Fri, 17 Nov 2006 10:40:42 -0500 Subject: Nagios as an SLA monitoring tool Message-ID: Hello Kevin, There are a couple of companies set up to do exactly what you are talking about. They have the advantage of checking your site from several places all over the world. Netcraft (http://audited.netcraft.com/dsm) and Keynote.com are the two companies I can think of readily. Netcraft will also check security for you as an added bonus. Janet. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin Millman Sent: November 16, 2006 12:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios as an SLA monitoring tool Hi, I've been requested to come up with a solution to monitor some of our network services externally (to simulate the clients enviroment) for things like www, email, ftp, etc to try and get a sense of what the external availablity of each cluster is. I'd like to setup machines on a couple of DSL networks and have a host machine collect this data and only report a service as down if both external checks confirm it as down (possibly just a DSL network is having routing problems or something) - then take the data from the host machine and graph it to show the management. I'm having a hard time coming up with a great solution for this but thought that maybe the Nagios list could help. Doing some reading it seems this could be done using passive checks and perfparse maybe? Does anyone know of an article I could read over where someone has done something similar? Alternatively does anyone think this is just a bad idea and have a better solution for gathering SLA information. Right now I'm in the information gathering stage before I start making a proof of concept -- any suggestions are welcome. Regards, Kevin -------------- 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 Nov 17 16:44:07 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Fri, 17 Nov 2006 08:44:07 -0700 Subject: Nagios as an SLA monitoring tool Message-ID: <2D0245E43DEC724F81592D697F05689904C43262@SIDHQEXCHMB1.Cabelas.Corp> Global Netwatch is another. http://globalnetwatch.com/ ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Janet Post Sent: Friday, November 17, 2006 8:41 AM To: Kevin Millman; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios as an SLA monitoring tool Hello Kevin, There are a couple of companies set up to do exactly what you are talking about. They have the advantage of checking your site from several places all over the world. Netcraft (http://audited.netcraft.com/dsm) and Keynote.com are the two companies I can think of readily. Netcraft will also check security for you as an added bonus. Janet. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin Millman Sent: November 16, 2006 12:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios as an SLA monitoring tool Hi, I've been requested to come up with a solution to monitor some of our network services externally (to simulate the clients enviroment) for things like www, email, ftp, etc to try and get a sense of what the external availablity of each cluster is. I'd like to setup machines on a couple of DSL networks and have a host machine collect this data and only report a service as down if both external checks confirm it as down (possibly just a DSL network is having routing problems or something) - then take the data from the host machine and graph it to show the management. I'm having a hard time coming up with a great solution for this but thought that maybe the Nagios list could help. Doing some reading it seems this could be done using passive checks and perfparse maybe? Does anyone know of an article I could read over where someone has done something similar? Alternatively does anyone think this is just a bad idea and have a better solution for gathering SLA information. Right now I'm in the information gathering stage before I start making a proof of concept -- any suggestions are welcome. Regards, Kevin -------------- 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 rns3 at psu.edu Fri Nov 17 17:41:08 2006 From: rns3 at psu.edu (Robert Snyder) Date: Fri, 17 Nov 2006 11:41:08 -0500 Subject: Re(2): Nagios as an SLA monitoring tool In-Reply-To: References: Message-ID: <20061117164108.1195824468@studentservices.outreach.psu.edu> Kevin, We supplement our Nagios monitoring with this kind of service from @watch.com (www.atwatch.com). The benefit is that it does give you a perspective that is larger than what you might be able to do yourself, easily. In our case, it also helps validate our internal auditing with our customers (we provide IT services to departments in our division of the University). It helps when we can say this is what we are seeing, and it is confirmed by this external, third-party, commercial monitoring service--especially with the Marketing group;-). But it is not a cheep solution, especially if you are monitoring several hosts and multiple services on those hosts. Robert On Fri, Nov 17, 2006, Janet Post wrote: >Hello Kevin, > > > >There are a couple of companies set up to do exactly what you are >talking about. They have the advantage of checking your site from >several places all over the world. Netcraft >(http://audited.netcraft.com/dsm) and Keynote.com are the two companies >I can think of readily. > > > >Netcraft will also check security for you as an added bonus. > > > >Janet. > > > > > >________________________________ > >From: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin >Millman >Sent: November 16, 2006 12:28 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Nagios as an SLA monitoring tool > > > >Hi, > > > >I've been requested to come up with a solution to monitor some of our >network services externally (to simulate the clients enviroment) for >things like www, email, ftp, etc to try and get a sense of what the >external availablity of each cluster is. I'd like to setup machines on >a couple of DSL networks and have a host machine collect this data and >only report a service as down if both external checks confirm it as down >(possibly just a DSL network is having routing problems or something) - >then take the data from the host machine and graph it to show the >management. > > > >I'm having a hard time coming up with a great solution for this but >thought that maybe the Nagios list could help. Doing some reading it >seems this could be done using passive checks and perfparse maybe? Does >anyone know of an article I could read over where someone has done >something similar? Alternatively does anyone think this is just a bad >idea and have a better solution for gathering SLA information. > > > >Right now I'm in the information gathering stage before I start making a >proof of concept -- any suggestions are welcome. > > > >Regards, > >Kevin > > > > > > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?pa >ge=join.php&p=sourceforge&CID=DEVDEV_ >______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 kevinm at softcom.biz Fri Nov 17 19:57:22 2006 From: kevinm at softcom.biz (Kevin Millman) Date: Fri, 17 Nov 2006 13:57:22 -0500 Subject: Re(2): Nagios as an SLA monitoring tool In-Reply-To: <20061117164108.1195824468@studentservices.outreach.psu.edu> References: <20061117164108.1195824468@studentservices.outreach.psu.edu> Message-ID: Thanks for the suggestions Robert, Aaron, and Janet - having a third party company doing this isn't really an option due to the number of hosts that would be monitored. I would love to go that route simply for the fact that I wouldn't need to maintain it however the cost is far beyond the budget I'm allowed. Earlier Mike had suggested openms.org - I haven't had a chance yet to explore this option but will try to do so this weekend. ~KM -----Original Message----- From: Robert Snyder [mailto:rns3 at psu.edu] Sent: Friday, November 17, 2006 11:41 AM To: Janet Post; Kevin Millman; Nagios Users Subject: Re(2): [Nagios-users] Nagios as an SLA monitoring tool Kevin, We supplement our Nagios monitoring with this kind of service from @watch.com (www.atwatch.com). The benefit is that it does give you a perspective that is larger than what you might be able to do yourself, easily. In our case, it also helps validate our internal auditing with our customers (we provide IT services to departments in our division of the University). It helps when we can say this is what we are seeing, and it is confirmed by this external, third-party, commercial monitoring service--especially with the Marketing group;-). But it is not a cheep solution, especially if you are monitoring several hosts and multiple services on those hosts. Robert On Fri, Nov 17, 2006, Janet Post wrote: >Hello Kevin, > > > >There are a couple of companies set up to do exactly what you are >talking about. They have the advantage of checking your site from >several places all over the world. Netcraft >(http://audited.netcraft.com/dsm) and Keynote.com are the two companies >I can think of readily. > > > >Netcraft will also check security for you as an added bonus. > > > >Janet. > > > > > >________________________________ > >From: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kevin >Millman >Sent: November 16, 2006 12:28 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Nagios as an SLA monitoring tool > > > >Hi, > > > >I've been requested to come up with a solution to monitor some of our >network services externally (to simulate the clients enviroment) for >things like www, email, ftp, etc to try and get a sense of what the >external availablity of each cluster is. I'd like to setup machines on >a couple of DSL networks and have a host machine collect this data and >only report a service as down if both external checks confirm it as down >(possibly just a DSL network is having routing problems or something) - >then take the data from the host machine and graph it to show the >management. > > > >I'm having a hard time coming up with a great solution for this but >thought that maybe the Nagios list could help. Doing some reading it >seems this could be done using passive checks and perfparse maybe? Does >anyone know of an article I could read over where someone has done >something similar? Alternatively does anyone think this is just a bad >idea and have a better solution for gathering SLA information. > > > >Right now I'm in the information gathering stage before I start making a >proof of concept -- any suggestions are welcome. > > > >Regards, > >Kevin > > > > > > > >----------------------------------------------------------------------- -- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?pa >ge=join.php&p=sourceforge&CID=DEVDEV_ >______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 SrvFaucon at cslaval.qc.ca Fri Nov 17 19:58:17 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 17 Nov 2006 13:58:17 -0500 Subject: =?iso-8859-1?q?R=E9p=2E_=3A_Re=3A__All_hosts_templ?= =?iso-8859-1?q?ate_trick_not_working?= Message-ID: --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> "Marc Powell" 2006-11-16 14:24:10 >>> -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Serveur-Faucon Surveillance > Sent: Thursday, November 16, 2006 10:14 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] All hosts template trick not working > > I use Nagios 2.5 for the infos. > > > > define hostgroup{ > > > hostgroup_name TOUTESLESMACHINES > > > alias TOUTESLESMACHINES > > > members * > > > } > > > > > > But it does not work. Someone has find a trick for that? > > > Actually, I get this while testing the files. > > [root at srv etc]# /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg > > Nagios 2.5 > [...] > Reading configuration data... > > Error: Could not find any host matching '*' > Error: Could not expand member hosts specified in hostgroup (config file > '/usr/local/nagios/etc/touteslesmachines.cfg', starting on line 14) > > --- > > After that I have tried to remove the "*" from the illegal host name, but > I get the same result. > You must enable regular expression matching for this to work. http://nagios.sourceforge.net/docs/2_0/configmain.html#use_regexp_matchi ng -- 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 marc at ena.com Fri Nov 17 21:52:38 2006 From: marc at ena.com (Marc Powell) Date: Fri, 17 Nov 2006 14:52:38 -0600 Subject: =?iso-8859-1?q?R=E9p=2E_=3A_Re=3A__All_hosts_templ?= =?iso-8859-1?q?ate_trick_not_working?= Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Serveur-Faucon Surveillance > Sent: Friday, November 17, 2006 12:58 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] R?p. : Re: All hosts template trick not working > > > > --------------------------------------------------- > Alexandre Racine - Gardien Virtuel - S?curit? Informatique > www.gardienvirtuel.com > Montr?al, Qu?bec, Canada > > >>> "Marc Powell" 2006-11-16 14:24:10 >>> > g > > > And they are, but since it is regular expression, I changed the "*" for > ".*" witch is way much more a regular expression. So the final result is > this : > > > define hostgroup{ > hostgroup_name TOUTESLESMACHINES > alias TOUTESLESMACHINES > members .* > } That's what nagios calls use_true_regexp_matching (as opposed to use_regexp_matching) in nagios.cfg. -- 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 hpsekhon at googlemail.com Fri Nov 17 23:15:10 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 17 Nov 2006 22:15:10 +0000 Subject: Migrating Nagios 1.x to 2.x Message-ID: <4f45772d0611171415q10659b9fo17e3db5a72c9c3bc@mail.gmail.com> I've got a production 1.x Nagios server monitoring 90 services or all different types. I have noticed that Nagios 2.x has just come into the stable branch of my linux server distro so I am going to upgrade tonight. I don't have a test environment for this at work so I really need to get this right first time... (don't tell me, this is the least of the problems this company has...) I am beginning with Macros definitions and have noticed that the docs seem to not address this directly. I have 3800 lines of stuff in /etc/nagios, surely they don't expect me to go through it one by one and see if the macro still exists? Is there a page or sheet somewhere with just the list of macros that have changed and what they have changed to. This seems pretty common sense so I'm hoping this is the case? -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From conigliaro at getproactivenow.com Fri Nov 17 23:45:43 2006 From: conigliaro at getproactivenow.com (mike conigliaro) Date: Fri, 17 Nov 2006 17:45:43 -0500 Subject: veritas backup exec check plugin Message-ID: <455E3B97.3050000@getproactivenow.com> i know there are plugins available for monitoring the backup exec services, but i was curious as to whether anyone has been able to monitor job status (ie: i want to know when a job fails, takes too long to complete, etc). i see that wmi integration has been around since v8.0, so i can very easily write my own plugin if necessary: http://support.veritas.com/docs/239922 however, im not sure if the backup exec wmi provider is going to allow me to monitor what i need. has anyone been down this road before? -- Mike Conigliaro ProActive Technologies conigliaro at getproactivenow.com 203.239.0440 ext:317 www.getproactivenow.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 marc at ena.com Fri Nov 17 23:51:15 2006 From: marc at ena.com (Marc Powell) Date: Fri, 17 Nov 2006 16:51:15 -0600 Subject: Migrating Nagios 1.x to 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 Hari Sekhon > Sent: Friday, November 17, 2006 4:15 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Migrating Nagios 1.x to 2.x > > I've got a production 1.x Nagios server monitoring 90 services or all > different types. I have noticed that Nagios 2.x has just come into the > stable branch of my linux server distro so I am going to upgrade > tonight. > > I don't have a test environment for this at work so I really need to > get this right first time... (don't tell me, this is the least of the > problems this company has...) > > I am beginning with Macros definitions and have noticed that the docs > seem to not address this directly. I have 3800 lines of stuff in > /etc/nagios, surely they don't expect me to go through it one by one > and see if the macro still exists? > > Is there a page or sheet somewhere with just the list of macros that > have changed and what they have changed to. This seems pretty common > sense so I'm hoping this is the case? The changes aren't as scary as they sound and comparing the macro doc pages between 1.0 and 2.0 makes things easy to see what's changed. There were a lot of new macros added but as far as changes the ones that affect most users are going to be -- $OUTPUT$ now becomes either $SERVICEOUTPUT$ or $HOSTOUTPUT$ depending on the check $PERFDATA$ now becomes either $SERVICEPERFDATA$ or $HOSTPERFDATA$. This holds true for other ambiguous macros like $LATENCY$, $EXECUTIONTIME$, etc which aren't commonly used. $DATETIME$ becomes $LONGDATETIME$ $STATETYPE$ becomes $SERVICESTATETYPE$ or $HOSTSTATETYPE$ Can you install 2.0 under /usr/local/nagios-2.0 on the same machine? That will allow you to at least verify your configs are correct with nagios -v (won't test macros though). Then, if you pass syntax check, fire it up in tandem with your current installation, with you as the only contact. That will allow you to verify functionality and check macros without breaking your current system. -- 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 hpsekhon at googlemail.com Sat Nov 18 00:23:48 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 17 Nov 2006 23:23:48 +0000 Subject: Migrating Nagios 1.x to 2.x In-Reply-To: References: Message-ID: <4f45772d0611171523w6c60a827me1ff4cf1ec3fb155@mail.gmail.com> Thanks. Almost forgot about the -v which I used from time to time to find warnings. I'll use this to make sure most of the rest of the config is ok... It would have been pretty easy for devs to do the section like $OUTPUT$ --> $HOSTOUTPUT$ $SERVICEOUTPUT$ just to make it clearer and easier rather than ending up missing fields in the misccomands which would lead to you not getting certain bits of information in alerts... Anyway, I'll give it a go. Thanks. -h On 17/11/06, 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: Friday, November 17, 2006 4:15 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Migrating Nagios 1.x to 2.x > > > > I've got a production 1.x Nagios server monitoring 90 services or all > > different types. I have noticed that Nagios 2.x has just come into the > > stable branch of my linux server distro so I am going to upgrade > > tonight. > > > > I don't have a test environment for this at work so I really need to > > get this right first time... (don't tell me, this is the least of the > > problems this company has...) > > > > I am beginning with Macros definitions and have noticed that the docs > > seem to not address this directly. I have 3800 lines of stuff in > > /etc/nagios, surely they don't expect me to go through it one by one > > and see if the macro still exists? > > > > Is there a page or sheet somewhere with just the list of macros that > > have changed and what they have changed to. This seems pretty common > > sense so I'm hoping this is the case? > > The changes aren't as scary as they sound and comparing the macro doc > pages between 1.0 and 2.0 makes things easy to see what's changed. There > were a lot of new macros added but as far as changes the ones that > affect most users are going to be -- > > $OUTPUT$ now becomes either $SERVICEOUTPUT$ or $HOSTOUTPUT$ depending on > the check > $PERFDATA$ now becomes either $SERVICEPERFDATA$ or $HOSTPERFDATA$. This > holds true for other ambiguous macros like $LATENCY$, $EXECUTIONTIME$, > etc which aren't commonly used. > $DATETIME$ becomes $LONGDATETIME$ > $STATETYPE$ becomes $SERVICESTATETYPE$ or $HOSTSTATETYPE$ > > Can you install 2.0 under /usr/local/nagios-2.0 on the same machine? > That will allow you to at least verify your configs are correct with > nagios -v (won't test macros though). Then, if you pass syntax check, > fire it up in tandem with your current installation, with you as the > only contact. That will allow you to verify functionality and check > macros without breaking your current system. > > -- > 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 > -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Nov 18 03:49:42 2006 From: saetaes at gmail.com (Mike M) Date: Fri, 17 Nov 2006 21:49:42 -0500 Subject: Nagios as an SLA monitoring tool Message-ID: <8552c3a30611171849o4359ed22m4ad1e4da47f59bb3@mail.gmail.com> > Earlier Mike had suggested openms.org - I haven't had a chance yet to > explore this option but will try to do so this weekend. Kevin, to get you started, here are some good links on OpenNMS' distributed monitor: http://opennms.org/index.php/Distributed_Monitor http://opennms.org/index.php/Remote_Location_Monitoring http://opennms.org/index.php/Distributed_status_display As with most open source projects, the documentation for OpenNMS is fairly weak: Your best bet if you have problems or questions is to hop onto the IRC channel, #opennms on freenode. The guys there are very friendly and always willing to give a hand. As I mentioned to Kevin off-list, for a pretty menial sum, you can hire the OpenNMS guys for consultation and implementation. See www.opennms.com for pricing, etc. I would encourage other Nagios users looking for something similar to check out the OpenNMS project if only for this functionality. I don't really see it as a competitor to Nagios, although they do have some common functionality. OpenNMS' learning curve is much steeper than Nagios, but if you have a lot of servers (>100) or need this distrubuted monitoring/correlation, I think it could be worth investigating. We definitely need more people working on the distributed code, but the ultimate goal is to get functionality similar to, if not better than, that of Keynote, Gomez, and others. BTW - I'm not involved with OpenNMS in any way other than as a user and satisfied customer of the OpenNMS group. Mike ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 18 11:42:40 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 18 Nov 2006 11:42:40 +0100 (CET) Subject: Migrating Nagios 1.x to 2.x In-Reply-To: <4f45772d0611171523w6c60a827me1ff4cf1ec3fb155@mail.gmail.com> References: <4f45772d0611171523w6c60a827me1ff4cf1ec3fb155@mail.gmail.com> Message-ID: On Fri, 17 Nov 2006, Hari Sekhon wrote: > Thanks. Almost forgot about the -v which I used from time to time to > find warnings. I'll use this to make sure most of the rest of the > config is ok... > > It would have been pretty easy for devs to do the section like > > $OUTPUT$ --> $HOSTOUTPUT$ > $SERVICEOUTPUT$ > > just to make it clearer and easier rather than ending up missing > fields in the misccomands which would lead to you not getting certain > bits of information in alerts... No one is stopping you from writing better documentation. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Sat Nov 18 13:27:11 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Sat, 18 Nov 2006 12:27:11 +0000 Subject: Migrating Nagios 1.x to 2.x In-Reply-To: References: <4f45772d0611171523w6c60a827me1ff4cf1ec3fb155@mail.gmail.com> Message-ID: <4f45772d0611180427g5ddc47b7j3116dab303ef7117@mail.gmail.com> I was thinking that when writing that but the problem is that I don't have a good understanding of the changes, I have just migrated but it was kind of hit and miss, I'm not knowledgeable enough to accurately list everything that changed and what it changed to... it would take someone more familiar with the subject... -h On 18/11/06, Hugo van der Kooij wrote: > On Fri, 17 Nov 2006, Hari Sekhon wrote: > > > Thanks. Almost forgot about the -v which I used from time to time to > > find warnings. I'll use this to make sure most of the rest of the > > config is ok... > > > > It would have been pretty easy for devs to do the section like > > > > $OUTPUT$ --> $HOSTOUTPUT$ > > $SERVICEOUTPUT$ > > > > just to make it clearer and easier rather than ending up missing > > fields in the misccomands which would lead to you not getting certain > > bits of information in alerts... > > No one is stopping you from writing better documentation. > > Hugo. > > -- > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > This message is using 100% recycled electrons. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From admin at treenetnz.com Sun Nov 19 08:50:59 2006 From: admin at treenetnz.com (TreeNet Admin) Date: Sun, 19 Nov 2006 20:50:59 +1300 Subject: 2.5 Upgrade and CGI scripts Message-ID: <005f01c70baf$740363b0$4000a8c0@rome> Hi, I am just upgrading my old 1.4 install to version 2.5 I have got the configuration, and plugins working as far as I can tell. Nagios itself is producing notifications and logging records. However the web interface produces the generic CGI error page when bringing up any of the CGI views. I have checked the p1.pl script, file permissions and changed all the etc/nagios/ references to etc/nagios2/ In the debugging so far I have gone to far as to move every one of the old nagios directories to a backup name just to be sure they are not being used. Is there anything you know I am overlooking? And yes I have RTM, and googled. AJ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Sun Nov 19 12:28:53 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Sun, 19 Nov 2006 12:28:53 +0100 Subject: veritas backup exec check plugin In-Reply-To: <455E3B97.3050000@getproactivenow.com> References: <455E3B97.3050000@getproactivenow.com> Message-ID: <45603FF5.5060103@vum.at> mike conigliaro schrieb: > however, im not sure if the backup exec wmi provider is going to allow me to > monitor what i need. has anyone been down this road before? Hi Mike, we did some monitoring of BE using WMI. We first did it by using NRPE calling a VB-Script which itself pulled the information out of WMI and - IIRC - some Textfiles. This approach did work, but was neither simple nor stable. One showstoper was, that WMI did not always work as expected. The scond was, that the NRPE-service on the Windowsbox tends to get overused and dies. Bottomline: We now integrate NSCA into our Nagios-system and try to receive and evaluate the SNMP-traps send by BE. hth, Ingo. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From whiterabbit at mand4la.info Sun Nov 19 16:01:18 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Sun, 19 Nov 2006 16:01:18 +0100 Subject: check_winmem ePN problem Message-ID: <456071BE.40702@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list.. I've just upgrade a nagios box from 1.x to 2.5, I've got a problem with check_winmem, in nagios web interface I recive this error **ePN /usr/lib/nagios/plugins/check_winmem: "Use of uninitialized value in pattern match (m//) at (eval 15) line 52,". Status Information: **ePN failed to compile /usr/lib/nagios/plugins/check_winmem: "Global symbol "$PROGNAME" requires explicit package name at (eval 9) line 21, Performance Data: Global symbol "$IP" requires explicit package name at (eval 9) line 39. If I try to use the plugin from command line all work fine... How can I solve it??? thanks MAtteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (GNU/Linux) iD8DBQFFYHG+/TjXD9LUVswRAs+FAJ9Z+hla4R3ecbI25BCWD5Swsm3zPQCdHR6X O+EjhdaKRb7bR0gsVyt0DXw= =/3hL -----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 trevor_obba at yahoo.co.uk Sun Nov 19 22:47:32 2006 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Sun, 19 Nov 2006 21:47:32 +0000 (GMT) Subject: Nagios cluster Message-ID: <20061119214732.69087.qmail@web23307.mail.ird.yahoo.com> I have two servers (server A and Server B) running Nagios 2.5 with mysql backend on Suse enterprise 10, I would like to cluster my Nagios 2.5, so Administrators can add hosts or delete on either Server A or Server B and the changes would replicate to the other server. I would also like both of my Nagios servers (server A and server B) to monitor clients but only one nagios sever will send out notifications at a time. If server A goes down, server B take over the sending notification. And if server B goes down take over sending notification. How can I solve this problem? Any ideas? please Can you help? Please ___________________________________________________________ All new Yahoo! Mail "The new Interface is stunning in its simplicity and ease of use." - PC Magazine http://uk.docs.yahoo.com/nowyoucan.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 stanleyhopcroft at gmail.com Mon Nov 20 03:44:44 2006 From: stanleyhopcroft at gmail.com (Stanley Hopcroft) Date: Mon, 20 Nov 2006 13:44:44 +1100 Subject: check_winmem ePN problem In-Reply-To: <456071BE.40702@mand4la.info> References: <456071BE.40702@mand4la.info> Message-ID: Dear Sir, I am writing to thank you for your letter and say, On 20/11/06, Matteo Mancini wrote: > Hi list.. > > I've just upgrade a nagios box from 1.x to 2.5, I've got a problem with > check_winmem, in nagios web interface I recive this error > > **ePN /usr/lib/nagios/plugins/check_winmem: "Use of uninitialized value > in pattern match (m//) at (eval 15) line 52,". > This is pretty much of an FAQ. ePN is intolerant of errors that running from the program from the CLI doesn't care about (ePN converts the program into a subroutine run with strict mode). Your choices are 1 Correct the plugin and feed the corrections back to the author Start by setting 'use strict' in the text, and add the -w option to the hashbang line (eg #!/usr/bin/perl -w). Fix every complaint it raises eg declare all vars with either my ($foo, @foo, %foo) or use vars qw($foo @foo %foo). 2 Wrap the plugin in another shell script of C program that calls the program. Search the archives for how to do this. 3 Use some recent advice and change the command in your config file to be something like command_line /usr/bin/perl check_winmem .... 4 Disable ePN (either compile it yourself and build a package or get a package that doesn't use ePN. The Dag Wieers packages do use ePN). > > Status Information: **ePN failed to compile > /usr/lib/nagios/plugins/check_winmem: "Global symbol "$PROGNAME" > requires explicit package name at (eval 9) line 21, > Performance Data: Global symbol "$IP" requires explicit package name at > (eval 9) line 39. > > > If I try to use the plugin from command line all work fine... > > How can I solve it??? > > > thanks > > MAtteo > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.3 (GNU/Linux) > > iD8DBQFFYHG+/TjXD9LUVswRAs+FAJ9Z+hla4R3ecbI25BCWD5Swsm3zPQCdHR6X > O+EjhdaKRb7bR0gsVyt0DXw= > =/3hL > -----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 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.contri at tecem.it Mon Nov 20 03:59:10 2006 From: matteo.contri at tecem.it (Matteo Contri) Date: Mon, 20 Nov 2006 03:59:10 +0100 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: <20061117123535.GA21602@eric.schwarzvogel.de> References: <1163764623.28811.9.camel@localhost.localdomain> <20061117123535.GA21602@eric.schwarzvogel.de> Message-ID: <456119FE.2040807@tecem.it> Thank you Tobias! i had a problem with pax and hpacucli; basically it doesn't work with hardened enviroment (or better: i was unable to make it working ;-)) Arrayprobe2.0, instead, seems to work happily... I haven't already tried to create errors and see the output of the script, but it seems work! Regards, Matteo > Tobias Klausmann (11/17/2006 01:35 PM): > Hi! > > On Fri, 17 Nov 2006, Thomas Hager wrote: >>> ./check_cciss-1.5: line 90: ./utils.sh: No such file or directory >> the plugin calls utils.sh (which comes with the nagios-plugins package) >> and needs it in the same directory you installed check_cciss. so, you >> got three joices: >> >> a) copy check_cciss-1.5 to the directory where all the nagios plugins >> are installed (including utils.sh) >> b) copy utils.sh to the directory you're testing check_cciss-1.5 >> c) edit the check_cciss script and adjust the path to utils.sh > > The other day I saw another tool which is completely OSS (GPL-2, > IIRC) and independent of hpacucli. It works just fine for me and > it's even included in our fave distro (Debian). > > It works for both IDA and CCISS devices and already returns the > retvals the way Nagios wants them. > > http://www.strocamp.net/opensource/ > > The tool is called "arrayprobe" > > HTH, > Tobias > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 20 09:18:48 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Mon, 20 Nov 2006 13:48:48 +0530 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: References: <1163764623.28811.9.camel@localhost.localdomain> Message-ID: On 11/17/06, Yogesh Hasabnis wrote: > > > > On 11/17/06, Sim wrote: > > > > 2006/11/17, Yogesh Hasabnis : > > > Thanks Thomas, Sim and all the friends on this list!! As per your > > > suggestion, I copied the check_cciss plugin into the nagios/libexec > > > directory and now the plugin works fine from the command-line > > > > > > ]# ./check_cciss-1.5 -N 0 -v > > > RAID OK: Smart Array 6i in Slot 0 array A logicaldrive 1 (136.7 GB, > > RAID > > > 1+0, OK) array B logicaldrive 2 ( 410.2 GB, RAID 5, OK) > > > > > > Now since the RAID arrays are not on the nagios host, I will need to > > > configure NRPE to execute the cciss plugin remotely. > > > > > > > Add this line into nrpe.cfg: > > > > command[check_cciss]=/usr/local/nagios/libexec/check_cciss- 1.5 -N 0 -v > > > > > > and this into services.cfg (similar): > > > > > > define service{ > > use generic-service ; Name > > of service template to use > > > > host_name xxxxxxxxx > > service_description RAID > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups grp_admins > > notification_interval 720 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command check_nrpe!check_cciss > > } > > > Yes, I am in the process of configuring nrpe for remotely executing > check_cciss plugin. I am getting some permission errors for executing > hpacucli after editing the /etc/sudoers. I will sort it out and give a > feedback as soon as it works properly. > > Thanks a lot! > > Yogesh > > > The check_cciss plugin is now working properly in my nagios setup. I was a little confused about how to edit the /etc/sudoers file for enabling the nagios user to execute hpacucli. But now it's working. Thanks for the help. 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 simvirus at gmail.com Mon Nov 20 09:33:46 2006 From: simvirus at gmail.com (Sim) Date: Mon, 20 Nov 2006 09:33:46 +0100 Subject: check_cciss plugin for monitoring RAID arrays on HP servers In-Reply-To: References: <1163764623.28811.9.camel@localhost.localdomain> Message-ID: > The check_cciss plugin is now working properly in my nagios setup. I was a > little confused about how to edit the /etc/sudoers file for enabling the > nagios user to execute hpacucli. But now it's working. > Hi Yogesh, HP Array Configuration Utility CLI need administrator rights (root user). If your Nagios server run without root user, HP CLI can't check your array. Try " su nagios " and excecute hpacucli with/without /etc/sudoers mod to check this. Bye ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl.kornel at mindspeed.com Mon Nov 20 10:07:04 2006 From: karl.kornel at mindspeed.com (karl.kornel at mindspeed.com) Date: Mon, 20 Nov 2006 01:07:04 -0800 Subject: Nagios cluster In-Reply-To: <20061119214732.69087.qmail@web23307.mail.ird.yahoo.com> References: <20061119214732.69087.qmail@web23307.mail.ird.yahoo.com> Message-ID: I use Ubuntu 6.06 LTS (Dapper Drake), Nagios 2.5 and MySQL 4.whatever. I am using clustering. My main hardware is a Compaq DL580; the backup machine is a virtual machine running on an ESX. I use the Linux-HA clustering system (made available in Ubuntu through the 'heartbeat' package) to fail Nagios over from the main machine to the backup machine when something goes wrong*. I have a single Nagios installation, which lives on a network-shared disk (using DRBD). The database also lives on the shared disk. I also take advantage of Linux-HA's IP address takeover scripts, so 'nagios.example.com' just needs to point to one IP address, which the heartbeat package automatically brings up on the active machine. With this setup, I only need to configure a single Nagios instance. There have been several times when the main machine failed (bad SCSI card), and in all cases the backup node took over with no problems (it helps that my MySQL databases all use InnoDB tables; I don't know how well MyISAM tables would fare). This setup works very well for me, but your situation may be different. Do you have a need for two Nagios instances, both monitoring the same hosts/services, to be active at once? -- A. Karl Kornel, Mindspeed Technologies, Inc. karl.kornel at mindspeed.com -- (949) 579-3503 "Remember the Rules: Separation & Optimization" * Yes, I know that having a virtual machine as one machine makes the split-brain syndrome possible, since I don't have a serial connection between the two. I'm dealing with it. nagios-users-bounces at lists.sourceforge.net wrote on 11/19/2006 01:47:32 PM: > > > I have two servers (server A and Server B) running Nagios 2.5 with > mysql backend on Suse enterprise 10, I would like to cluster my > Nagios 2.5, so Administrators can add hosts or delete on either > Server A or Server B > and the changes would replicate to the other server. > > > I would also like both of my Nagios servers (server A > and server B) to monitor clients but only one nagios sever will send out > notifications at a time. If server A > goes down, server B take over the sending notification. And if > server B goes down > take over sending notification. > > > > > > How can I solve this problem? Any ideas? please > > > Can you help? Please ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Mon Nov 20 13:37:52 2006 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Mon, 20 Nov 2006 13:37:52 +0100 Subject: host_retry_check_interval? Message-ID: <200611201337.56482.benoit.panizzon@imp.ch> Hi all Is there a way to define the retry check interval of the host-alive check command? We often have troulbes in a switched/routed network, that during a re-routing or Spanning-Tree phase, all hosts that become unreachable for say 30 seconds, get notified. I did try increasind the number of checks or the count (ping -c 30) but they all had very ugly side effects. Without such host_retry_check_interval nagios manages to run 5 host check within 5 seconds and then immediately send an alarm. Any suggestions how to solve that problem? Mit freundlichen Gr?ssen Benoit Panizzon -- I m p r o W a r e A G - System Services ______________________________________________________ Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 185 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 nagios at kilala.nl Mon Nov 20 14:13:11 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 20 Nov 2006 14:13:11 +0100 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> References: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> Message-ID: <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> Hi all... I know I'm getting back to this discussion quite late (I've had a 2.5w vacation, hence my absence from the ML), but I thought I'd contribute a little. On 9 Nov, 2006, at 12:32, Giles Coochey wrote: >> -----Original Message----- >> From: spdesai at gnvfc.net [mailto:spdesai at gnvfc.net] >> Sent: 09 November 2006 12:16 >> Subject: RE: [Nagios-users] Fwd: Multiple host in hosts.cfg >> >> I have found that we can add multiple host in hosts.cfg from >> below nagios FAQ, >> >> http://www.nagios.org/faqs/viewfaq.php?faq_id=146&expand=false >> &showdesc=false > > While you can use any string for the host address you can then only > use > check plugins that will handle multiple addresses. > ... > To fix your problem with the SMTP service in particular would be to > write a wrapper script for the SMTP plugin to run it twice or more > times IMHO a better way is thusly: * Define all your hosts individually. * Create one service description for "SMTP". * Add the list of hosts to the "host" parameter of the service description. That way you won't need a wrapper and you're not mucking about with address ranges. An even better method would be: * Create a host group, for example "SMTP-hosts". * Create one service description for "SMTP". * Add the host group to the "hostgroup" parameter of the service description. * "Subscribe" your hosts to the host group. That way, adding new hosts to the service check is a cinch and you won't have to repeatedly edit the service description itself. All you do is add host group subscriptions to the hosts. Naturally this idea can be carried through the whole of your configuration, which makes for a wonderfully clear and transparent configuration. 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 spdesai at gnvfc.net Mon Nov 20 15:20:15 2006 From: spdesai at gnvfc.net (spdesai at gnvfc.net) Date: Mon, 20 Nov 2006 19:50:15 +0530 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> References: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> Message-ID: <1164032415.4561b99faf770@mail.gnvfc.net> thanks for yr reply... what i want to do is to reduce the typeing in hosts.cfg file but in your suggestion also i need to difine individual hosts in hosts.cfg file. is their any best way to do this thanks and regardrs, suhag Quoting Thomas Sluyter : > Hi all... > > I know I'm getting back to this discussion quite late (I've had a > 2.5w vacation, hence my absence from the ML), but I thought I'd > contribute a little. > > > On 9 Nov, 2006, at 12:32, Giles Coochey wrote: > > >> -----Original Message----- > >> From: spdesai at gnvfc.net [mailto:spdesai at gnvfc.net] > >> Sent: 09 November 2006 12:16 > >> Subject: RE: [Nagios-users] Fwd: Multiple host in hosts.cfg > >> > >> I have found that we can add multiple host in hosts.cfg from > >> below nagios FAQ, > >> > >> http://www.nagios.org/faqs/viewfaq.php?faq_id=146&expand=false > >> &showdesc=false > > > > While you can use any string for the host address you can then only > > use > > check plugins that will handle multiple addresses. > > ... > > To fix your problem with the SMTP service in particular would be to > > write a wrapper script for the SMTP plugin to run it twice or more > > times > > IMHO a better way is thusly: > * Define all your hosts individually. > * Create one service description for "SMTP". > * Add the list of hosts to the "host" parameter of the service > description. > > That way you won't need a wrapper and you're not mucking about with > address ranges. > > An even better method would be: > * Create a host group, for example "SMTP-hosts". > * Create one service description for "SMTP". > * Add the host group to the "hostgroup" parameter of the service > description. > * "Subscribe" your hosts to the host group. > > That way, adding new hosts to the service check is a cinch and you > won't have to repeatedly edit the service description itself. All you > do is add host group subscriptions to the hosts. > > Naturally this idea can be carried through the whole of your > configuration, which makes for a wonderfully clear and transparent > configuration. > > 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 > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 20 16:22:50 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 20 Nov 2006 16:22:50 +0100 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: <1164032415.4561b99faf770@mail.gnvfc.net> References: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> <1164032415.4561b99faf770@mail.gnvfc.net> Message-ID: On 20 Nov, 2006, at 15:20, spdesai at gnvfc.net wrote: > what i want to do is to reduce the typeing in hosts.cfg file but > in your > suggestion also i need to difine individual hosts in hosts.cfg file. > > is their any best way to do this No. As others have said earlier this month each entry in hosts.cfg is not necessarily a real host, but is actually used as a container for specific service checks. Nagios cannot automatically generate these hosts, based on an address range. Mostly because the "address" does not necessarily need to be a real IP address. The host is one of the basic building blocks of Nagios. 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 Mon Nov 20 16:26:35 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 20 Nov 2006 16:26:35 +0100 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: <640bfc410611200712i15e9bcebu3b5c71d145d3e77@mail.gmail.com> References: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> <640bfc410611200712i15e9bcebu3b5c71d145d3e77@mail.gmail.com> Message-ID: On 20 Nov, 2006, at 16:12, Ian Collier wrote: > I don't think host_group is a valid parameter for service > descriptions - at > least according to the docs and certainly when I was getting > started with > 2.5 I tried this and could not make it work. > > What am I missing? Host groups can most definitely be used in service definitions. My whole Nagios configuration revolves around them :) The parameter you're looking for is "hostgroup_name". Unfortunately it is not mentioned in the basic documentation (Ethan?), but it is mentioned in the "Time saving tips" section. See: http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service 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 ianpcollier at gmail.com Mon Nov 20 16:38:38 2006 From: ianpcollier at gmail.com (Ian Collier) Date: Mon, 20 Nov 2006 15:38:38 +0000 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: References: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> <640bfc410611200712i15e9bcebu3b5c71d145d3e77@mail.gmail.com> Message-ID: <640bfc410611200738m7cd546d0r20c25f5aa8c06f2@mail.gmail.com> Ah! That would have saved me a lot of time! As it is it will be a nice clean up job... :-) --Ian On 11/20/06, Thomas Sluyter wrote: > > On 20 Nov, 2006, at 16:12, Ian Collier wrote: > > > I don't think host_group is a valid parameter for service > > descriptions - at > > least according to the docs and certainly when I was getting > > started with > > 2.5 I tried this and could not make it work. > > > > What am I missing? > > Host groups can most definitely be used in service definitions. My > whole Nagios configuration revolves around them :) > > The parameter you're looking for is "hostgroup_name". Unfortunately > it is not mentioned in the basic documentation (Ethan?), but it is > mentioned in the "Time saving tips" section. > > See: http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service > > 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 > -------------- 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 enediel at hotmail.com Mon Nov 20 18:19:26 2006 From: enediel at hotmail.com (enediel gonzalez) Date: Mon, 20 Nov 2006 17:19:26 +0000 Subject: how the file /var/log/status.log is updated Message-ID: Hello: I use nagios with linux, It's necessary for me to read the file status.log to look for services status and take decisions in some cases, but I need to know in which way this file is update to read it at the right time, If in case I read the file at the moment it's updated, I could make mistakes in my decisions. I'll appreciate any help to coordinate these processes. Thanks in advance for any answer Enediel SCJP 1.5 ( Sun Certified Java Programmer) Linux user 300141 Debian GNU/Linux _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.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 Mon Nov 20 18:26:33 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Mon, 20 Nov 2006 10:26:33 -0700 Subject: how the file /var/log/status.log is updated Message-ID: <2D0245E43DEC724F81592D697F05689904C4326E@SIDHQEXCHMB1.Cabelas.Corp> http://nagios.sourceforge.net/docs/2_0/configmain.html#status_update_int erval I have a script that loops and checks the mtime of the status.log. If it changes, I re-read the file. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of enediel gonzalez Sent: Monday, November 20, 2006 10:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] how the file /var/log/status.log is updated Hello: I use nagios with linux, It's necessary for me to read the file status.log to look for services status and take decisions in some cases, but I need to know in which way this file is update to read it at the right time, If in case I read the file at the moment it's updated, I could make mistakes in my decisions. I'll appreciate any help to coordinate these processes. Thanks in advance for any answer Enediel SCJP 1.5 ( Sun Certified Java Programmer) Linux user 300141 Debian GNU/Linux _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.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 knobdy at gmail.com Mon Nov 20 20:23:03 2006 From: knobdy at gmail.com (Brian Loe) Date: Mon, 20 Nov 2006 13:23:03 -0600 Subject: Fwd: In-Reply-To: <3c4611bc0611161005h7679ae43mff513036a256db6e@mail.gmail.com> References: <3c4611bc0611161005h7679ae43mff513036a256db6e@mail.gmail.com> Message-ID: <3c4611bc0611201123w13b515ecr83628812677ea437@mail.gmail.com> So, in the script that follows, should both (for example) smon and emon be "=0" or "=$mon"? I'm running a hostgroup availability, timeperiod=lastweek... #!/usr/bin/perl $now=time; ($sec,$min,$hour,$mday,$mon,$year,$wday,$yday,$isdst) = localtime(time); $mon++; $year += 1900; $threeago = ($mon + 9) % 12; if ($threeago > $mon) { $year-- } $wget = '/usr/bin/wget --http-user=guest --http-passwd=guest -O '; $sed = '/bin/sed -e \'s/avail.cgi/nagios\/cgi-bin\/avail.cgi/\''; $url = "http://localhost/nagios/cgi-bin/avail.cgi\?show_log_entries=\&host=all\&timeperiod=custom\&smon=$threeago\&sday=1\&syear=$year\&shour=1\&smin=0\&ssec=0\&emon=$mon\&eday=1\&eyear=$year\&ehour=0\&emin=0\&esec=0\&rpttimeperiod=\&assumeinitialstates=yes\&assumestateretention=yes\&assumestatesduringnotrunning=yes\&includesoftstates=no\&initialassumedhoststate=3\&initialassumedservicestate=6\&backtrack=2"; $out = '/var/www/html/hostavail.html'; `$wget /tmp/foo \"$url\"`; `$sed $out`; $url = "http://localhost/nagios/cgi-bin/avail.cgi\?show_log_entries=\&host=10.10.0-defrouter\&service=all\&timeperiod=custom\&smon=$threeago\&sday=1\&syear=$year\&shour=1\&smin=0\&ssec=0\&emon=$mon\&eday=1\&eyear=$year\&ehour=0\&emin=0\&esec=0\&rpttimeperiod=\&assumeinitialstates=yes\&assumestateretention=yes\&assumestatesduringnotrunning=yes\&includesoftstates=no\&initialassumedservicestate=6\&backtrack=2"; $out = '/var/www/html/svcavail.html'; `$wget /tmp/foo \"$url\"`; `$sed $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 dschlecht at doit.nv.gov Mon Nov 20 20:46:41 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Mon, 20 Nov 2006 20:46:41 +0100 (CET) Subject: Segfault: I'm still dying here Message-ID: <20061120194641.C13024F4046@desire.netways.de> Hi list First, let me apologize for posting this same issue so many times, but I really, really need to get it resolved and I'm really really hoping someone can take a few minutes and help me out. Nagios frequently segfaults when processing EXTERNAL commands. The cmd.cgi would hang, but research found that it was because Nagios had given up the other end of the nagios.cmd named pipe. Nagios has crashed and cmd.cgi hangs. This has been happening for years, now with every version of Nagios, on any of numerous machines (32-bit, 64-bit, mainframe...) on different flavors of Linux including SUSe8, SLES9, and RH. Doing a stack trace on the comatose Nagios v2.5 process, I get the following backtrace: ============ Detaching after fork from child process 19947. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208391264 (LWP 5431)] 0x0806c951 in hashfunc2 (name1=0x2
, name2=0x80f
, hashslots=1024) at utils.c:4285 4285 for(i=0;i, name2=0x80f
, hashslots=1024) at utils.c:4285 #1 0x080768a1 in find_service (host_name=0x2
, svc_desc=dwarf2_read_address: Corrupted DWARF expression.) at ../common/objects.c:5016 #2 0x0808ef4b in handle_scheduled_downtime (temp_downtime=0x9f21c00) at ../common/downtime.c:311 #3 0x08063454 in handle_timed_event (event=0x9fa2728) at events.c:1289 #4 0x08063a9d in event_execution_loop () at events.c:964 #5 0x0805394d in main (argc=3, argv=0xbff3f274) at nagios.c:710 (gdb) ========== Please help! - 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 ralf.prengel at comline.de Mon Nov 20 21:22:52 2006 From: ralf.prengel at comline.de (ralf.prengel at comline.de) Date: Mon, 20 Nov 2006 21:22:52 +0100 Subject: looking for a way to check a networkcard without using snmp Message-ID: <64460BFCC03A1142A9EEDC99F1D774220131972C@nuntius.comline.de> Hallo, I m looking for a way to check a networkcard without using snmp. I searched using keywords like traffic, nic, load and network card but no hits. Has anyone a hint? 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 knobdy at gmail.com Mon Nov 20 22:03:23 2006 From: knobdy at gmail.com (Brian Loe) Date: Mon, 20 Nov 2006 15:03:23 -0600 Subject: previously supplied script In-Reply-To: <3c4611bc0611161321yee9b647o24c2c35b41fd4cb2@mail.gmail.com> References: <3c4611bc0611161321yee9b647o24c2c35b41fd4cb2@mail.gmail.com> Message-ID: <3c4611bc0611201303v371de543s5090ac1085ffb887@mail.gmail.com> I got it to work with an e-mail, btw, just need help now in figuring out what the time settings for the querry ought to be (see previous post)... On 11/16/06, Brian Loe wrote: > I can find no record of the original e-mail, but whomever it was that > was nice enough to post their availability reporting script could > provide a way for the script to either send an e-mail rather than > create a file - or, better, both - I would again appreciate it. > > I played with it as much as I know how and its not enough...couldn't > get any output to anything other than the file. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Mon Nov 20 22:04:14 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Mon, 20 Nov 2006 22:04:14 +0100 (MET) Subject: looking for a way to check a networkcard without using snmp In-Reply-To: <64460BFCC03A1142A9EEDC99F1D774220131972C@nuntius.comline.de> References: <64460BFCC03A1142A9EEDC99F1D774220131972C@nuntius.comline.de> Message-ID: <4562184D.70702@its-lehmann.de> Hi, On 11/20/2006 9:22 PM, ralf.prengel at comline.de wrote: > > > Hallo, > > I m looking for a way to check a networkcard without using snmp. > I searched using keywords like traffic, nic, load and network card but > no hits. Difficult. SNMP is the way to go IMO. Other than that, I know that rtmon exists but never used it. O linux you've also got ifconfig which displays basic traffic statistics. You could wrap these into a nagios plugin of course. Arno > > Has anyone a hint? > > 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 -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 20 22:56:29 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 20 Nov 2006 22:56:29 +0100 (CET) Subject: Downtime in UP messages? Message-ID: Hi, I have been looking over the documentation and have searched for it but I could not find an answer. (Which may be entirely my fault ;-) I would like to put the downtime in the host up messages. So if I get a host UP message I can tell how long it has been down. Looking in the manual the $HOSTDURATION$ macro seems a tempting target. But it seems the only alert which seems to give a sane duration is the FLAPPINGSTOP message. Does anyone happen to have a simple solution to this challenge? I tried it with a misccommand.cfg entry like: # '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$\nDuration: $HOSTDURATION$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } Perhaps my approach is flawed. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 20 23:22:39 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 20 Nov 2006 23:22:39 +0100 (CET) Subject: looking for a way to check a networkcard without using snmp In-Reply-To: <64460BFCC03A1142A9EEDC99F1D774220131972C@nuntius.comline.de> References: <64460BFCC03A1142A9EEDC99F1D774220131972C@nuntius.comline.de> Message-ID: On Mon, 20 Nov 2006, ralf.prengel at comline.de wrote: > I m looking for a way to check a networkcard without using snmp. > I searched using keywords like traffic, nic, load and network card but no hits. Have you tried looking under /proc/sys/net ? Does netstat provide you with the output you need? The definition 'check a networkcard' is rather wide. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 21 00:06:52 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 21 Nov 2006 12:06:52 +1300 Subject: Nagios cluster In-Reply-To: References: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A252C46C@UXCHANGE3.UoA.auckland.ac.nz> > am using clustering. My main hardware is a Compaq DL580; the backup > machine is a virtual machine running on an ESX. I use the Linux-HA > clustering system (made available in Ubuntu through the 'heartbeat' > package) to fail Nagios over from the main machine to the > backup machine This is very similar to what we are doing, except we have an additional crossover network cable and a inhouse written lock on the disk to prevent split-brain. We also use the standby machine for our MRTG installation, so it can failover in the other direction. The adaptec serveraid card also has some nice locking features. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 21 00:10:10 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 21 Nov 2006 12:10:10 +1300 Subject: Nagios cluster In-Reply-To: <20061119214732.69087.qmail@web23307.mail.ird.yahoo.com> References: <20061119214732.69087.qmail@web23307.mail.ird.yahoo.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A252C46F@UXCHANGE3.UoA.auckland.ac.nz> > I would also like both of my Nagios servers (server A > and server B) to monitor clients but only one nagios sever > will send out > notifications at a time. If server A > goes down, server B take over the sending notification. And > if server B goes down > take over sending notification. How about this - on server B, have the global notifications enabled set to no. Then you add an extra check on server B that tests for server A being properly up. This check has an Event Handler that edits the nagios.cfg to set the global notify flag to yes and restart Nagios. Have a similar event handler to do the same in reverse when the server A reappears. This is what we're doing on the Nagios box on our DR site (we already have a pair in a cluster on a shared disk at our live site for HA). Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 21 01:20:34 2006 From: marc at ena.com (Marc Powell) Date: Mon, 20 Nov 2006 18:20:34 -0600 Subject: Nagios cluster Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Steve Shipway > Sent: Monday, November 20, 2006 5:10 PM > To: trevor obba > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios cluster > > > I would also like both of my Nagios servers (server A > > and server B) to monitor clients but only one nagios sever > > will send out > > notifications at a time. If server A > > goes down, server B take over the sending notification. And > > if server B goes down > > take over sending notification. > > How about this - on server B, have the global notifications enabled set > to no. Then you add an extra check on server B that tests for server A > being properly up. This check has an Event Handler that edits the > nagios.cfg to set the global notify flag to yes and restart Nagios. > Have a similar event handler to do the same in reverse when the server A > reappears. There are external commands that you can send to the command pipe to enable/disable host and service notifications from the eventhandler. That's how I'd approach this particular task instead of editing nagios.cfg and reloading. Enable/disable_host_notifications, enable/disable_svc_notifications. http://www.nagios.org/developerinfo/externalcommands/commandlist.php?cat egory_id=4&version_id=7&btnSubmit=Update -- 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 s.shipway at auckland.ac.nz Tue Nov 21 04:47:19 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Tue, 21 Nov 2006 16:47:19 +1300 Subject: Nagios cluster In-Reply-To: References: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A252C4F8@UXCHANGE3.UoA.auckland.ac.nz> Marc wrote: > Steve wrote: > > How about this - on server B, have the global notifications enabled set > > to no. Then you add an extra check on server B that tests for server A > > being properly up. This check has an Event Handler that edits the > > nagios.cfg to set the global notify flag to yes and restart Nagios. > > Have a similar event handler to do the same in reverse when the server A > > reappears. > > There are external commands that you can send to the command pipe to > enable/disable host and service notifications from the eventhandler. > That's how I'd approach this particular task instead of editing > nagios.cfg and reloading. Enable/disable_host_notifications, > enable/disable_svc_notifications. If it were for a single host I'd agree, but in this case we want to enable/disable ALL the notifications for ALL hosts and services on the standby server. Also, but making the change in the nagios.cfg, we can preserve any disable flags in the active configuration over changes. Unless, of course, there exists an external command to change the global Notifications Enabled flag - but I don't think there is (at least, not in v1.4 which we run). On a side thought, you'd also need to enable/disable the global Event Handler flag, if you use eventhandlers. You may even want to have execture_service_checks disabled on the standby server, in order to decrease load on your monitored hosts. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 21 06:35:36 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 21 Nov 2006 06:35:36 +0100 Subject: looking for a way to check a networkcard without using snmp In-Reply-To: References: <64460BFCC03A1142A9EEDC99F1D774220131972C@nuntius.comline.de> Message-ID: <2A25E8A7-6810-408B-8D70-40D9CDAF4CA3@kilala.nl> On 20 Nov, 2006, at 23:22, Hugo van der Kooij wrote: > On Mon, 20 Nov 2006, ralf.prengel at comline.de wrote: > >> I m looking for a way to check a networkcard without using snmp. >> I searched using keywords like traffic, nic, load and network card >> but no hits. > > Have you tried looking under /proc/sys/net ? > Does netstat provide you with the output you need? And if you happen to be working on Solaris, there's always the "kstat" command. The kernel has a big bunch of counters related to the network interfaces. 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 ralf.prengel at comline.de Tue Nov 21 09:34:39 2006 From: ralf.prengel at comline.de (ralf.prengel at comline.de) Date: Tue, 21 Nov 2006 09:34:39 +0100 Subject: looking for a way to check a networkcard without using snmp In-Reply-To: References: Message-ID: <64460BFCC03A1142A9EEDC99F1D77422B97F2A@nuntius.comline.de> > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von Hugo van der Kooij > Gesendet: Montag, 20. November 2006 23:23 > An: Nagios Users mailinglist > Betreff: Re: [Nagios-users] looking for a way to check a > networkcard without using snmp > > On Mon, 20 Nov 2006, ralf.prengel at comline.de wrote: > > > I m looking for a way to check a networkcard without using snmp. > > I searched using keywords like traffic, nic, load and > network card but no hits. > > Have you tried looking under /proc/sys/net ? > Does netstat provide you with the output you need? > > The definition 'check a networkcard' is rather wide. I need the informations like traffic out,traffic in and number of errors. Informations that are really easy to check if snmp is possible. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Tue Nov 21 10:36:31 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 21 Nov 2006 09:36:31 +0000 Subject: Nagios Critical: Cannot parse Nagios log file for valid time. Message-ID: <4562C89F.9070302@googlemail.com> I have the check_nagios cronned to run every 10 minutes and if nagios is not running then to send me an email. Every single day at exactly midnight I get an email saying that nagios is not running. The output of the test are below: NAGIOS CRITICAL: Cannot parse Nagios log file for valid time This never used to happen, it only started happening in the last few days but I can't think of what changed. Just after it started happening I upgraded to 2.5 but I think I already had one or two of these before that when using 1.4.1. What is wrong with it, any ideas? -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akardec.linux at gmail.com Tue Nov 21 14:31:37 2006 From: akardec.linux at gmail.com (Allan Kardec) Date: Tue, 21 Nov 2006 11:31:37 -0200 Subject: Problemas no historico Message-ID: Eu estou com problema no meu server q tem em 1 servidor q ele coloca q ele esta 100% donw, mas ele esta ligado direto e em outro ele diz que e indeterminado. Ja nos demais do sistema ele esta informando numa boa. alguem poderia me ajudar. -------------- 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 spdesai at gnvfc.net Tue Nov 21 14:37:40 2006 From: spdesai at gnvfc.net (spdesai at gnvfc.net) Date: Tue, 21 Nov 2006 19:07:40 +0530 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: <640bfc410611200738m7cd546d0r20c25f5aa8c06f2@mail.gmail.com> References: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> <640bfc410611200712i15e9bcebu3b5c71d145d3e77@mail.gmail.com> <640bfc410611200738m7cd546d0r20c25f5aa8c06f2@mail.gmail.com> Message-ID: <1164116260.45630124ac6ef@mail.gnvfc.net> Dear Thomas, I have tried and gone through the link given by u but i m not successfully done this thing. Let me explain u in details, Suppose i want to monitor SMTP,PING,POP,Harddisk usage,Memory,TELNET,FTP for the host 192.168.10.1,192.168.10.2,192.168.10.3----192.168.10.50. So give me the configuration example for hosts.cfg, hostgroups.cfg, service.cfg and whatever file needed to be configured. I have enable SNMP for SNMP based query on all the machine. Hope u got my point.. Thanks and Regards, Suhag Desai Quoting Ian Collier : > Ah! That would have saved me a lot of time! As it is it will be a nice clean > up job... :-) > > --Ian > > On 11/20/06, Thomas Sluyter wrote: > > > > On 20 Nov, 2006, at 16:12, Ian Collier wrote: > > > > > I don't think host_group is a valid parameter for service > > > descriptions - at > > > least according to the docs and certainly when I was getting > > > started with > > > 2.5 I tried this and could not make it work. > > > > > > What am I missing? > > > > Host groups can most definitely be used in service definitions. My > > whole Nagios configuration revolves around them :) > > > > The parameter you're looking for is "hostgroup_name". Unfortunately > > it is not mentioned in the basic documentation (Ethan?), but it is > > mentioned in the "Time saving tips" section. > > > > See: http://nagios.sourceforge.net/docs/2_0/templatetricks.html#service > > > > 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 > > > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 21 16:12:07 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Tue, 21 Nov 2006 08:12:07 -0700 Subject: Problemas no historico Message-ID: <2D0245E43DEC724F81592D697F05689904C43274@SIDHQEXCHMB1.Cabelas.Corp> "I am with problem in my server q I have in 1 serving q it I place q it this 100% donw, but it this on direct and in another one it says that and indeterminate. Ja in excessively of the system it this informing in a good one. they alguem could help me." Thanks, Babelfish! ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Allan Kardec Sent: Tuesday, November 21, 2006 6:32 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problemas no historico Eu estou com problema no meu server q tem em 1 servidor q ele coloca q ele esta 100% donw, mas ele esta ligado direto e em outro ele diz que e indeterminado. Ja nos demais do sistema ele esta informando numa boa. alguem poderia me ajudar. -------------- 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 vajc at altectelecoms.gr Tue Nov 21 16:21:48 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Tue, 21 Nov 2006 17:21:48 +0200 Subject: Flat map Message-ID: <9DB9DF2949D8774796CB054FBEC1569903572358@Tyran.int.acn.gr> Hi, I trying to get a nice map showing the actual topology of my network. So fare all what I am getting is a "flat" map without hierarchy where all nodes and routers are linked to "Nagios Process". Also the "Status Information" of each router and node is: "(No information!)" Finally the icon representing each device is a just a question mark. Any suggestion why all this is happening? In fact I am not sure how Nagios is discovering the network,, meaning who connects to who. Also, is Nagios drawing L2 and/or L3 topology? Many thanks in advance for your time. Christophe Disclaimer The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 21 16:31:07 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 21 Nov 2006 16:31:07 +0100 Subject: Flat map In-Reply-To: <9DB9DF2949D8774796CB054FBEC1569903572358@Tyran.int.acn.gr> References: <9DB9DF2949D8774796CB054FBEC1569903572358@Tyran.int.acn.gr> Message-ID: Hiyas... On 21 Nov, 2006, at 16:21, Varaillon Jean Cristophe wrote: > I trying to get a nice map showing the actual topology of my network. NagVis is supposed to be pretty sweet. > Any suggestion why all this is happening? Because you haven't filled in any of the information in hostextinfo.cfg :) > In fact I am not sure how Nagios is discovering the network,, meaning > who connects to who. It doesn't. You have to tell it who does what and connects to which. And so forth. Nagios does not discover anything. > Also, is Nagios drawing L2 and/or L3 topology? Nagios draws what you tell it to. 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 conosciani.m at adrtel.it Tue Nov 21 16:59:02 2006 From: conosciani.m at adrtel.it (Conosciani Mauro) Date: Tue, 21 Nov 2006 16:59:02 +0100 Subject: nagios 2.5 and Mysql DB Scripts setup Message-ID: Hi, I am trying to setup nagios with database support. I've seen that in Doc 1.x there were Scripts for creating tables in the contrib directory as the following doc say http://nagios.sourceforge.net/docs/1_0/xdata-db.html I'd like to know if this was an version 1.x feature and if it's possible to do the same with version 2.5, and (IF Yes), where is possible to get this scripts to setup MySql DB Cheers. Mauro ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Tue Nov 21 18:08:30 2006 From: gardealuis at gmail.com (Luis Gardea) Date: Tue, 21 Nov 2006 10:08:30 -0700 Subject: conserve all information nagios v2.0b3 to 2.5 Message-ID: <44f056cc0611210908r10276688h379fc0fdaeee1f6f@mail.gmail.com> Hello I have a server running Nagios v2.0b3 under Fedora C3 since May 27th 2005. I want to install another version (v2.5) of Nagios under another server unser Fedora C5 however I wish to conserve all the information that my other server (Nagios v2.0b3) have. How can I do it? 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 rothschilde2006 at yahoo.com Tue Nov 21 18:20:21 2006 From: rothschilde2006 at yahoo.com (Mike Carpenter) Date: Tue, 21 Nov 2006 09:20:21 -0800 (PST) Subject: nsca/services issue Message-ID: <862064.42230.qm@web37008.mail.mud.yahoo.com> I have a question about nsca and service checks. I am running nsca 2.6 and Nagios 2.5. I have just trying to send a simple test service check to Nagios to see if I can get the state to change and it isn?t working Here is what I am trying to do From the remote machine: /usr/bin/send_nsca ?H ian -d ?;? ?c /etc/send_nagios.cfg < test The file test contains: mike;nmbd;2;?ok-just one test? I have configured nsca on the Nagios server and the config file contains: server_port=5667 server_address=192.168.1.10 nsca_user=nagios nsca_group=nagios debug=0 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 password=password decryption_method=10 The send_nagios.cfg contains: password=password encryption_method=10 My service check is: define service{ host_name mike service_description syslog-ng active_checks_enabled 0 passive_checks_enabled 1 check_freshness 0 is_volatile 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 check_period none contact_groups nagios-admins check_command check_dummy!2!Critical notification_options w,c,u notification_period 24x7 notification_interval 120 } The /var/log/messages file shows the following: Nov 21 00:09:00 ian nsca[12202]: SERVICE CHECK -> Host Name: 'mike', Service Description: 'nmbd', Return Code: '2', Output: ''ok-just one test'' Nov 21 00:09:47 ian nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;mike;nmbd;2;'ok-just one test' It appears that the external command file is getting the check but the host page just sits there saying that the host hasn?t been checked. I have tried several different states and still the same result. I understand that an active check isnt being performed but I would think that because of the above "PROCESS_SERVICE_CHECK_RESULT" line that the nagios.cmd file got the message and the page should be updated with a critical message. I read in the docs that the check needs to have the date in front of it but when I tried that I couldn?t get nsca to expand the variable I have checked permissions, etc. So where have I messed up? LOL. Any help is greatly appreciated. --------------------------------- Sponsored Link Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms -------------- 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 jedrzej at man.poznan.pl Tue Nov 21 18:30:57 2006 From: jedrzej at man.poznan.pl (Jedrzej Jajor) Date: Tue, 21 Nov 2006 18:30:57 +0100 Subject: nsca/services issue In-Reply-To: <862064.42230.qm@web37008.mail.mud.yahoo.com> References: <862064.42230.qm@web37008.mail.mud.yahoo.com> Message-ID: <200611211731.kALHV15S029996@rose.man.poznan.pl> Hi, I assume you have a host 'mike' and a service 'nmbd' defined on it. Check if you have "accept_passive_service_checks=1" in nagios.cfg and "passive_checks_enabled 1" in the service definition. If you open the Service State Information page in the web interface it should also say that passive checks are enabled. Hope this helps. Regards, Jedrzej _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mike Carpenter Sent: Tuesday, November 21, 2006 6:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nsca/services issue I have a question about nsca and service checks. I am running nsca 2.6 and Nagios 2.5. I have just trying to send a simple test service check to Nagios to see if I can get the state to change.and it isn't working. Here is what I am trying to do. >From the remote machine: /usr/bin/send_nsca -H ian -d ";" -c /etc/send_nagios.cfg < test The file test contains: mike;nmbd;2;'ok-just one test' I have configured nsca on the Nagios server and the config file contains: server_port=5667 server_address=192.168.1.10 nsca_user=nagios nsca_group=nagios debug=0 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 password=password decryption_method=10 The send_nagios.cfg contains: password=password encryption_method=10 My service check is: define service{ host_name mike service_description syslog-ng active_checks_enabled 0 passive_checks_enabled 1 check_freshness 0 is_volatile 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 check_period none contact_groups nagios-admins check_command check_dummy!2!Critical notification_options w,c,u notification_period 24x7 notification_interval 120 } The /var/log/messages file shows the following: Nov 21 00:09:00 ian nsca[12202]: SERVICE CHECK -> Host Name: 'mike', Service Description: 'nmbd', Return Code: '2', Output: ''ok-just one test'' Nov 21 00:09:47 ian nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;mike;nmbd;2;'ok-just one test' It appears that the external command file is getting the check.but the host page just sits there saying that the host hasn't been checked. I have tried several different states and still the same result. I understand that an active check isnt being performed but I would think that because of the above "PROCESS_SERVICE_CHECK_RESULT" line that the nagios.cmd file got the message and the page should be updated with a critical message. I read in the docs that the check needs to have the date in front of it .but when I tried that I couldn't get nsca to expand the variable.I have checked permissions, etc. So.where have I messed up? LOL. Any help is greatly appreciated. _____ Sponsored Link Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3383 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 rothschilde2006 at yahoo.com Tue Nov 21 18:38:42 2006 From: rothschilde2006 at yahoo.com (Mike Carpenter) Date: Tue, 21 Nov 2006 09:38:42 -0800 (PST) Subject: nsca/services issue In-Reply-To: <200611211731.kALHV15S029996@rose.man.poznan.pl> References: <200611211731.kALHV15S029996@rose.man.poznan.pl> Message-ID: <20061121173842.35246.qmail@web37011.mail.mud.yahoo.com> I guess I should have said that this isnt a distributed set up. I am setting up syslog-ng and am just trying to make sure that everything is working...so there are no services installed on the client "mike". I have checked to make sure that the passive_checks directives are enabled in the nagios.cfg and the Service State page also shows that they are. Is this not a good way to test prior to turning on syslog-ng? Jedrzej Jajor wrote: Hi, I assume you have a host 'mike' and a service 'nmbd' defined on it. Check if you have "accept_passive_service_checks=1" in nagios.cfg and "passive_checks_enabled 1" in the service definition. If you open the Service State Information page in the web interface it should also say that passive checks are enabled. Hope this helps. Regards, Jedrzej --------------------------------- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mike Carpenter Sent: Tuesday, November 21, 2006 6:20 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nsca/services issue I have a question about nsca and service checks. I am running nsca 2.6 and Nagios 2.5. I have just trying to send a simple test service check to Nagios to see if I can get the state to change and it isn?t working Here is what I am trying to do From the remote machine: /usr/bin/send_nsca ?H ian -d ?;? ?c /etc/send_nagios.cfg < test The file test contains: mike;nmbd;2;?ok-just one test? I have configured nsca on the Nagios server and the config file contains: server_port=5667 server_address=192.168.1.10 nsca_user=nagios nsca_group=nagios debug=0 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 password=password decryption_method=10 The send_nagios.cfg contains: password=password encryption_method=10 My service check is: define service{ host_name mike service_description syslog-ng active_checks_enabled 0 passive_checks_enabled 1 check_freshness 0 is_volatile 1 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 check_period none contact_groups nagios-admins check_command check_dummy!2!Critical notification_options w,c,u notification_period 24x7 notification_interval 120 } The /var/log/messages file shows the following: Nov 21 00:09:00 ian nsca[12202]: SERVICE CHECK -> Host Name: 'mike', Service Description: 'nmbd', Return Code: '2', Output: ''ok-just one test'' Nov 21 00:09:47 ian nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;mike;nmbd;2;'ok-just one test' It appears that the external command file is getting the check but the host page just sits there saying that the host hasn?t been checked. I have tried several different states and still the same result. I understand that an active check isnt being performed but I would think that because of the above "PROCESS_SERVICE_CHECK_RESULT" line that the nagios.cmd file got the message and the page should be updated with a critical message. I read in the docs that the check needs to have the date in front of it but when I tried that I couldn?t get nsca to expand the variable I have checked permissions, etc. So where have I messed up? LOL. Any help is greatly appreciated. --------------------------------- Sponsored Link Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms --------------------------------- Sponsored Link Rates near 39yr lows. $420,000 Loan for $1399/mo - Calculate new house payment -------------- 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 ratty at they.org Tue Nov 21 19:05:47 2006 From: ratty at they.org (frank) Date: Tue, 21 Nov 2006 10:05:47 -0800 (PST) Subject: nsca/services issue In-Reply-To: <862064.42230.qm@web37008.mail.mud.yahoo.com> References: <862064.42230.qm@web37008.mail.mud.yahoo.com> Message-ID: Sorry for top-posting but my point would get lost in the mix. Pardon me if I'm wrong here, but it looks like you have a service defined for syslog-ng, yet the status that you're sending thru nsca is for _nmbd_. nmbd != syslog-ng, therefore no change to nagios display. Did I miss something? -f On Tue, 21 Nov 2006, Mike Carpenter wrote: > Date: Tue, 21 Nov 2006 09:20:21 -0800 (PST) > From: Mike Carpenter > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nsca/services issue > > I have a question about nsca and service checks. I am running nsca 2.6 and Nagios 2.5. I have just trying to send a simple test service check to Nagios to see if I can get the state to change and it isn?t working > > Here is what I am trying to do > > From the remote machine: > /usr/bin/send_nsca ?H ian -d ?;? ?c /etc/send_nagios.cfg < test > > The file test contains: > mike;nmbd;2;?ok-just one test? > > I have configured nsca on the Nagios server and the config file contains: > > server_port=5667 > server_address=192.168.1.10 > nsca_user=nagios > nsca_group=nagios > debug=0 > command_file=/usr/local/nagios/var/rw/nagios.cmd > alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump > aggregate_writes=0 > append_to_file=0 > max_packet_age=30 > password=password > decryption_method=10 > > The send_nagios.cfg contains: > password=password > encryption_method=10 > > My service check is: > > define service{ > host_name mike > service_description syslog-ng > active_checks_enabled 0 > passive_checks_enabled 1 > check_freshness 0 > is_volatile 1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > check_period none > contact_groups nagios-admins > check_command check_dummy!2!Critical > notification_options w,c,u > notification_period 24x7 > notification_interval 120 > } > > The /var/log/messages file shows the following: > > Nov 21 00:09:00 ian nsca[12202]: SERVICE CHECK -> Host Name: 'mike', Service Description: 'nmbd', Return Code: '2', Output: ''ok-just one test'' > > Nov 21 00:09:47 ian nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;mike;nmbd;2;'ok-just one test' > > It appears that the external command file is getting the check but the host page just sits there saying that the host hasn?t been checked. I have tried several different states and still the same result. I understand that an active check isnt being performed but I would think that because of the above "PROCESS_SERVICE_CHECK_RESULT" line that the nagios.cmd file got the message and the page should be updated with a critical message. > > I read in the docs that the check needs to have the date in front of it but when I tried that I couldn?t get nsca to expand the variable I have checked permissions, etc. > > So where have I messed up? LOL. > > Any help is greatly appreciated. > > > --------------------------------- > Sponsored Link > > Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms -------------- 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 rothschilde2006 at yahoo.com Tue Nov 21 19:09:00 2006 From: rothschilde2006 at yahoo.com (Mike Carpenter) Date: Tue, 21 Nov 2006 10:09:00 -0800 (PST) Subject: nsca/services issue In-Reply-To: References: Message-ID: <398768.57608.qm@web37008.mail.mud.yahoo.com> Probably not... I have been reading some documentation on both syslog and nsca that talk (at the same time) about distributed systems and logging. This is a test script that I took from one to the pieces of documentation and appears that I messed up at midnight. With that said...how can I can I test this in this manner? Thanks frank wrote: Sorry for top-posting but my point would get lost in the mix. Pardon me if I'm wrong here, but it looks like you have a service defined for syslog-ng, yet the status that you're sending thru nsca is for _nmbd_. nmbd != syslog-ng, therefore no change to nagios display. Did I miss something? -f On Tue, 21 Nov 2006, Mike Carpenter wrote: > Date: Tue, 21 Nov 2006 09:20:21 -0800 (PST) > From: Mike Carpenter > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nsca/services issue > > I have a question about nsca and service checks. I am running nsca 2.6 and Nagios 2.5. I have just trying to send a simple test service check to Nagios to see if I can get the state to change and it isn?t working > > Here is what I am trying to do > > From the remote machine: > /usr/bin/send_nsca ?H ian -d ?;? ?c /etc/send_nagios.cfg < test > > The file test contains: > mike;nmbd;2;?ok-just one test? > > I have configured nsca on the Nagios server and the config file contains: > > server_port=5667 > server_address=192.168.1.10 > nsca_user=nagios > nsca_group=nagios > debug=0 > command_file=/usr/local/nagios/var/rw/nagios.cmd > alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump > aggregate_writes=0 > append_to_file=0 > max_packet_age=30 > password=password > decryption_method=10 > > The send_nagios.cfg contains: > password=password > encryption_method=10 > > My service check is: > > define service{ > host_name mike > service_description syslog-ng > active_checks_enabled 0 > passive_checks_enabled 1 > check_freshness 0 > is_volatile 1 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > check_period none > contact_groups nagios-admins > check_command check_dummy!2!Critical > notification_options w,c,u > notification_period 24x7 > notification_interval 120 > } > > The /var/log/messages file shows the following: > > Nov 21 00:09:00 ian nsca[12202]: SERVICE CHECK -> Host Name: 'mike', Service Description: 'nmbd', Return Code: '2', Output: ''ok-just one test'' > > Nov 21 00:09:47 ian nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;mike;nmbd;2;'ok-just one test' > > It appears that the external command file is getting the check but the host page just sits there saying that the host hasn?t been checked. I have tried several different states and still the same result. I understand that an active check isnt being performed but I would think that because of the above "PROCESS_SERVICE_CHECK_RESULT" line that the nagios.cmd file got the message and the page should be updated with a critical message. > > I read in the docs that the check needs to have the date in front of it but when I tried that I couldn?t get nsca to expand the variable I have checked permissions, etc. > > So where have I messed up? LOL. > > Any help is greatly appreciated. > > > --------------------------------- > Sponsored Link > > Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms --------------------------------- Sponsored Link Degrees for employed people - in as fast as 1 year. A.S. / Bachelors / Masters -------------- 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 rstewart at eandhis.com Tue Nov 21 19:17:11 2006 From: rstewart at eandhis.com (Stewart, Robert D.) Date: Tue, 21 Nov 2006 13:17:11 -0500 Subject: problems with check_traffic plugin displaying images Message-ID: <59A7E3E593E47D4C8B5482F6D7A4FFB42C9C3B@webmail.eandhis.com> Has anybody able to get this plugins working, ie: be able to view the graphs of the monitored device bandwidth? It works just fine except I can not display the graphs I get error is the apache log In the apache log, I have lines with this : "Premature end script header ..." I can"t find the problem, could you help me please ? !! Robert Stewart E&H Integrated System Sales Eng. 502 212 4209 rstewart at eandhis.com -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 9299 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 nagios at kilala.nl Tue Nov 21 19:27:24 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Tue, 21 Nov 2006 19:27:24 +0100 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: <1164124698.4563221a20de7@mail.gnvfc.net> References: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> <1164124698.4563221a20de7@mail.gnvfc.net> Message-ID: On 21 Nov, 2006, at 16:58, spdesai at gnvfc.net wrote: > Sorry for wrongly posting youe message to IAN. No problem. I saw your e-mail the first time, since you CCed it to the ML. > I have tried and gone through the link given by u but i m not > successfully done this thing. Let me explain u in details. Suppose i > want to monitor SMTP,PING,POP,Harddisk usage,Memory,TELNET,FTP for the > host 192.168.10.1,192.168.10.2,192.168.10.3----192.168.10.50. > > So give me the configuration example for hosts.cfg, hostgroups.cfg, > service.cfg and whatever file needed to be configured. I know what you want and I know what you were originally looking for. As I explained yesterday there is no shortcut in defining Nagios hosts. I will not type up everything (since that wouldn't leave any chance for you to learn), but I will show you a few examples that apply to what I told Ian yesterday. In this case, hosts 1 and 2 run SMTP and POP, while 3 runs as an FTP server. define host{ use host-template host_name foobar1 alias foobar1 address 192.168.10.1 hostgroups HG-all,HG-mail } define host{ use host-template host_name foobar2 alias foobar2 address 192.168.10.2 hostgroups HG-all,HG-mail } define host{ use host-template host_name foobar3 alias foobar3 address 192.168.10.3 hostgroups HG-all,HG-ftp } define hostgroup{ hostgroup_name HG-all alias All systems } define hostgroup{ hostgroup_name HG-mail alias All UNIX systems } define hostgroup{ hostgroup_name HG-ftp alias All UNIX systems } define service{ use service-template hostgroup_name HG-mail service_description SMTP check_command $WHATEVER$ } define service{ use service-template hostgroup_name HG-mail service_description POP check_command $WHATEVER$ } define service{ use service-template hostgroup_name HG-ftp service_description FTP check_command $WHATEVER$ } define service{ use service-template hostgroup_name HG-all service_description TELNET check_command $WHATEVER$ } define service{ use service-template hostgroup_name HG-all service_description PING check_command $WHATEVER$ } This way, you are grouping various service checks by linking them to groups of hosts. So, yes. If you add new hosts to your monitoring environment you will need to manually add these on an individual basis. But instead of manually adding all the required service descriptions as well, you will be automatically assigning these to the hosts in question by "subscribing" to the relevant host groups. > I have enable SNMP for SNMP based query on all the machine. That's fine. You could use SNMP to monitor your hard disk and memory usage in two ways: by reading the SNMP objects for the specific volume, or by running check_disk locally by tying it to a custom SNMP object of your choosing. You may also run check_disk passively through NSCA or actively through NRPE. Make your pick :) 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 ratty at they.org Tue Nov 21 19:32:21 2006 From: ratty at they.org (frank) Date: Tue, 21 Nov 2006 10:32:21 -0800 (PST) Subject: nsca/services issue In-Reply-To: <398768.57608.qm@web37008.mail.mud.yahoo.com> References: <398768.57608.qm@web37008.mail.mud.yahoo.com> Message-ID: I'm not absolutely positive, but I think you just need to change your "test" file so it says "syslog-ng" instead of "nmbd". It's possible to send passive checks (via nsca or whatever other methods one may employ) for _any_ host or service you can imagine, but Nagios will log and ignore every one of them unless they're properly defined in your Nagios config files. >From http://nagios.sourceforge.net/docs/2_0/passivechecks.html Note that in order to submit service checks to Nagios, a service must have already been defined in the object configuration file! Nagios will ignore all check results for services that had not been configured before it was last (re)started. -f On Tue, 21 Nov 2006, Mike Carpenter wrote: > Probably not... > > I have been reading some documentation on both syslog and nsca that talk (at the same time) about distributed systems and logging. This is a test script that I took from one to the pieces of documentation and appears that I messed up at midnight. > > With that said...how can I can I test this in this manner? > > Thanks > > frank wrote: > > Sorry for top-posting but my point would get lost in the mix. > > Pardon me if I'm wrong here, but it looks like you have a service defined > for syslog-ng, yet the status that you're sending thru nsca is for _nmbd_. > nmbd != syslog-ng, therefore no change to nagios display. > > Did I miss something? > > -f > > > On Tue, 21 Nov 2006, Mike Carpenter wrote: > >> Date: Tue, 21 Nov 2006 09:20:21 -0800 (PST) >> From: Mike Carpenter >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] nsca/services issue >> >> I have a question about nsca and service checks. I am running nsca 2.6 and Nagios 2.5. I have just trying to send a simple test service check to Nagios to see if I can get the state to change and it isn?t working >> >> Here is what I am trying to do >> >> From the remote machine: >> /usr/bin/send_nsca ?H ian -d ?;? ?c /etc/send_nagios.cfg < test >> >> The file test contains: >> mike;nmbd;2;?ok-just one test? >> >> I have configured nsca on the Nagios server and the config file contains: >> >> server_port=5667 >> server_address=192.168.1.10 >> nsca_user=nagios >> nsca_group=nagios >> debug=0 >> command_file=/usr/local/nagios/var/rw/nagios.cmd >> alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump >> aggregate_writes=0 >> append_to_file=0 >> max_packet_age=30 >> password=password >> decryption_method=10 >> >> The send_nagios.cfg contains: >> password=password >> encryption_method=10 >> >> My service check is: >> >> define service{ >> host_name mike >> service_description syslog-ng >> active_checks_enabled 0 >> passive_checks_enabled 1 >> check_freshness 0 >> is_volatile 1 >> max_check_attempts 1 >> normal_check_interval 1 >> retry_check_interval 1 >> check_period none >> contact_groups nagios-admins >> check_command check_dummy!2!Critical >> notification_options w,c,u >> notification_period 24x7 >> notification_interval 120 >> } >> >> The /var/log/messages file shows the following: >> >> Nov 21 00:09:00 ian nsca[12202]: SERVICE CHECK -> Host Name: 'mike', Service Description: 'nmbd', Return Code: '2', Output: ''ok-just one test'' >> >> Nov 21 00:09:47 ian nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;mike;nmbd;2;'ok-just one test' >> >> It appears that the external command file is getting the check but the host page just sits there saying that the host hasn?t been checked. I have tried several different states and still the same result. I understand that an active check isnt being performed but I would think that because of the above "PROCESS_SERVICE_CHECK_RESULT" line that the nagios.cmd file got the message and the page should be updated with a critical message. >> >> I read in the docs that the check needs to have the date in front of it but when I tried that I couldn?t get nsca to expand the variable I have checked permissions, etc. >> >> So where have I messed up? LOL. >> >> Any help is greatly appreciated. >> >> >> --------------------------------- >> Sponsored Link >> >> Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms > > > --------------------------------- > Sponsored Link > > Degrees for employed people - in as fast as 1 year. A.S. / Bachelors / Masters -------------- 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 teng at dataway.com Tue Nov 21 19:38:07 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 21 Nov 2006 10:38:07 -0800 Subject: Flat map Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2F24@dw-mail.dataway.com> Set some of your hosts's parents using the parent directive and the heirarchy will be mapped out. > -----Original Message----- > From: Varaillon Jean Cristophe [mailto:vajc at altectelecoms.gr] > Sent: Tuesday, November 21, 2006 7:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Flat map > > > Hi, > > I trying to get a nice map showing the actual topology of my network. > > So fare all what I am getting is a "flat" map without hierarchy where > all nodes and routers are linked to "Nagios Process". > > Also the "Status Information" of each router and node is: "(No > information!)" > > Finally the icon representing each device is a just a question mark. > > Any suggestion why all this is happening? > > In fact I am not sure how Nagios is discovering the network,, meaning > who connects to who. > > Also, is Nagios drawing L2 and/or L3 topology? > > Many thanks in advance for your time. > > Christophe > > Disclaimer > The information in this e-mail and any attachments is > confidential. It is intended solely for the attention and use > of the named addressee(s). If you are not the intended > recipient, or person responsible for delivering this > information to the intended recipient, please notify the > sender immediately. Unless you are the intended recipient or > his/her representative you are not authorized to, and must > not, read, copy, distribute, use or retain this message or > any part of it. 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. > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 rothschilde2006 at yahoo.com Tue Nov 21 19:43:06 2006 From: rothschilde2006 at yahoo.com (Mike Carpenter) Date: Tue, 21 Nov 2006 10:43:06 -0800 (PST) Subject: nsca/services issue In-Reply-To: References: Message-ID: <575935.31214.qm@web37014.mail.mud.yahoo.com> That was the answer...thank you very much... frank wrote: I'm not absolutely positive, but I think you just need to change your "test" file so it says "syslog-ng" instead of "nmbd". It's possible to send passive checks (via nsca or whatever other methods one may employ) for _any_ host or service you can imagine, but Nagios will log and ignore every one of them unless they're properly defined in your Nagios config files. >From http://nagios.sourceforge.net/docs/2_0/passivechecks.html Note that in order to submit service checks to Nagios, a service must have already been defined in the object configuration file! Nagios will ignore all check results for services that had not been configured before it was last (re)started. -f On Tue, 21 Nov 2006, Mike Carpenter wrote: > Probably not... > > I have been reading some documentation on both syslog and nsca that talk (at the same time) about distributed systems and logging. This is a test script that I took from one to the pieces of documentation and appears that I messed up at midnight. > > With that said...how can I can I test this in this manner? > > Thanks > > frank wrote: > > Sorry for top-posting but my point would get lost in the mix. > > Pardon me if I'm wrong here, but it looks like you have a service defined > for syslog-ng, yet the status that you're sending thru nsca is for _nmbd_. > nmbd != syslog-ng, therefore no change to nagios display. > > Did I miss something? > > -f > > > On Tue, 21 Nov 2006, Mike Carpenter wrote: > >> Date: Tue, 21 Nov 2006 09:20:21 -0800 (PST) >> From: Mike Carpenter >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] nsca/services issue >> >> I have a question about nsca and service checks. I am running nsca 2.6 and Nagios 2.5. I have just trying to send a simple test service check to Nagios to see if I can get the state to change and it isn?t working >> >> Here is what I am trying to do >> >> From the remote machine: >> /usr/bin/send_nsca ?H ian -d ?;? ?c /etc/send_nagios.cfg < test >> >> The file test contains: >> mike;nmbd;2;?ok-just one test? >> >> I have configured nsca on the Nagios server and the config file contains: >> >> server_port=5667 >> server_address=192.168.1.10 >> nsca_user=nagios >> nsca_group=nagios >> debug=0 >> command_file=/usr/local/nagios/var/rw/nagios.cmd >> alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump >> aggregate_writes=0 >> append_to_file=0 >> max_packet_age=30 >> password=password >> decryption_method=10 >> >> The send_nagios.cfg contains: >> password=password >> encryption_method=10 >> >> My service check is: >> >> define service{ >> host_name mike >> service_description syslog-ng >> active_checks_enabled 0 >> passive_checks_enabled 1 >> check_freshness 0 >> is_volatile 1 >> max_check_attempts 1 >> normal_check_interval 1 >> retry_check_interval 1 >> check_period none >> contact_groups nagios-admins >> check_command check_dummy!2!Critical >> notification_options w,c,u >> notification_period 24x7 >> notification_interval 120 >> } >> >> The /var/log/messages file shows the following: >> >> Nov 21 00:09:00 ian nsca[12202]: SERVICE CHECK -> Host Name: 'mike', Service Description: 'nmbd', Return Code: '2', Output: ''ok-just one test'' >> >> Nov 21 00:09:47 ian nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;mike;nmbd;2;'ok-just one test' >> >> It appears that the external command file is getting the check but the host page just sits there saying that the host hasn?t been checked. I have tried several different states and still the same result. I understand that an active check isnt being performed but I would think that because of the above "PROCESS_SERVICE_CHECK_RESULT" line that the nagios.cmd file got the message and the page should be updated with a critical message. >> >> I read in the docs that the check needs to have the date in front of it but when I tried that I couldn?t get nsca to expand the variable I have checked permissions, etc. >> >> So where have I messed up? LOL. >> >> Any help is greatly appreciated. >> >> >> --------------------------------- >> Sponsored Link >> >> Mortgage rates as low as 4.625% - $150,000 loan for $579 a month. Intro-*Terms > > > --------------------------------- > Sponsored Link > > Degrees for employed people - in as fast as 1 year. A.S. / Bachelors / Masters --------------------------------- Sponsored Link Rates near 39yr lows. $510,000 Loan for $1698/mo - Calculate new house payment -------------- 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 linux at lookit.org Tue Nov 21 20:43:28 2006 From: linux at lookit.org (Manu Linux Lookit) Date: Tue, 21 Nov 2006 20:43:28 +0100 Subject: Nagios et Nsca ... Timeout of Nagios ? Message-ID: <456356E0.60709@lookit.org> Hello, I am looking at which are the best possibilities of supervision/administration of networks... I use currently a little more than 400 servers with Cfengine. I would like to interface it with Nagios and his Nsca agent... (Nrpe requires too much opening of ports). But knowing the bases of Nagios, I don't know all the specs about the Nsca agent at all (always used NRPE). I just have a small question: if the agent NSCA on the client server does not send anything to the nagios server, will Nagios at the end of one period go up an alarm? Is this period can be changed ? Tks a lot for your answers And good luck for everybody. Regards Manu ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jedrzej at man.poznan.pl Tue Nov 21 20:57:17 2006 From: jedrzej at man.poznan.pl (Jedrzej Jajor) Date: Tue, 21 Nov 2006 20:57:17 +0100 Subject: Nagios et Nsca ... Timeout of Nagios ? In-Reply-To: <456356E0.60709@lookit.org> References: <456356E0.60709@lookit.org> Message-ID: <45635A1D.8080203@man.poznan.pl> Manu Linux Lookit wrote: > Hello, > Hi Manu, > I am looking at which are the best possibilities of > supervision/administration of networks... > > I use currently a little more than 400 servers with Cfengine. > > I would like to interface it with Nagios and his Nsca agent... (Nrpe > requires too much opening of ports). > > But knowing the bases of Nagios, I don't know all the specs about the > Nsca agent at all (always used NRPE). > > I just have a small question: if the agent NSCA on the client server > does not send anything to the nagios server, will Nagios at the end of > one period go up an alarm? > Yes, if configured. > Is this period can be changed ? > Yes. > Tks a lot for your answers > You might want to look at the feature of Nagios called "Service and Host Result Freshness Checks" desribed in Nagios documentation (http://nagios.sourceforge.net/docs/2_0/freshness.html). There are also some hints in "Distributed Monitoring". Both chapters were very hepful for me to setup similar configuration. > And good luck for everybody. > And good luck to you too :) > Regards > Manu > Regards, Jedrzej ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linux at lookit.org Tue Nov 21 21:27:01 2006 From: linux at lookit.org (Manu Linux Lookit) Date: Tue, 21 Nov 2006 21:27:01 +0100 Subject: Nagios et Nsca ... Timeout of Nagios ? In-Reply-To: <45635A1D.8080203@man.poznan.pl> References: <456356E0.60709@lookit.org> <45635A1D.8080203@man.poznan.pl> Message-ID: <45636115.6070206@lookit.org> Hi Jedrzej, tks a lot for your link ... it'll help me ... http://nagios.sourceforge.net/docs/2_0/freshness.html I'll use the NSCA agent and launching commands with cfengine ... I think it's the way to monitor some networks ... Regards and tks for all Jedrzej Jajor a ?crit : > Manu Linux Lookit wrote: >> Hello, >> > Hi Manu, >> I am looking at which are the best possibilities of >> supervision/administration of networks... >> >> I use currently a little more than 400 servers with Cfengine. >> >> I would like to interface it with Nagios and his Nsca agent... (Nrpe >> requires too much opening of ports). >> >> But knowing the bases of Nagios, I don't know all the specs about the >> Nsca agent at all (always used NRPE). >> >> I just have a small question: if the agent NSCA on the client server >> does not send anything to the nagios server, will Nagios at the end of >> one period go up an alarm? >> > Yes, if configured. >> Is this period can be changed ? >> > Yes. >> Tks a lot for your answers >> > You might want to look at the feature of Nagios called "Service and Host > Result Freshness Checks" desribed in Nagios documentation > (http://nagios.sourceforge.net/docs/2_0/freshness.html). There are also > some hints in "Distributed Monitoring". Both chapters were very hepful > for me to setup similar configuration. >> And good luck for everybody. >> > And good luck to you too :) >> Regards >> Manu >> > Regards, > Jedrzej > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 21 22:05:03 2006 From: marc at ena.com (Marc Powell) Date: Tue, 21 Nov 2006 15:05:03 -0600 Subject: Nagios cluster Message-ID: > -----Original Message----- > From: Steve Shipway [mailto:s.shipway at auckland.ac.nz] > Sent: Monday, November 20, 2006 9:47 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios cluster > > Marc wrote: > > Steve wrote: > > > How about this - on server B, have the global notifications enabled > set > > > to no. Then you add an extra check on server B that tests for > server A > > > being properly up. This check has an Event Handler that edits the > > > nagios.cfg to set the global notify flag to yes and restart Nagios. > > > Have a similar event handler to do the same in reverse when the > server A > > > reappears. > > > > There are external commands that you can send to the command pipe to > > enable/disable host and service notifications from the eventhandler. > > That's how I'd approach this particular task instead of editing > > nagios.cfg and reloading. Enable/disable_host_notifications, > > enable/disable_svc_notifications. > > If it were for a single host I'd agree, but in this case we want to > enable/disable ALL the notifications for ALL hosts and services on the > standby server. Also, but making the change in the nagios.cfg, we can > preserve any disable flags in the active configuration over changes. > > Unless, of course, there exists an external command to change the global > Notifications Enabled flag - but I don't think there is (at least, not > in v1.4 which we run). Yep -- http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=8 There's a matching DISABLE_NOTIFICATIONS. That's actually what I was going for with my response but wasn't thinking straight. > > On a side thought, you'd also need to enable/disable the global Event > Handler flag, if you use eventhandlers. You may even want to have > execture_service_checks disabled on the standby server, in order to > decrease load on your monitored hosts. There are external commands for both of those as well. -- 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 Nov 21 22:11:01 2006 From: marc at ena.com (Marc Powell) Date: Tue, 21 Nov 2006 15:11:01 -0600 Subject: conserve all information nagios v2.0b3 to 2.5 Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Luis Gardea > Sent: Tuesday, November 21, 2006 11:09 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] conserve all information nagios v2.0b3 to 2.5 > > Hello > > I have a server running Nagios v2.0b3 under Fedora C3 since May 27th > 2005. I want to install another version (v2.5) of Nagios under another > server unser Fedora C5 however I wish to conserve all the information > that my other server (Nagios v2.0b3) have. > > How can I do it? Presuming that everything is installed in the same directory structures, stop nagios and copy over your ~nagios/etc and ~nagios/var directories. -- 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 s.shipway at auckland.ac.nz Tue Nov 21 22:29:06 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 22 Nov 2006 10:29:06 +1300 Subject: Nagios cluster In-Reply-To: References: Message-ID: <12A6FDDD13C460408A6E47E5DB1235A252C56B@UXCHANGE3.UoA.auckland.ac.nz> > > Unless, of course, there exists an external command to change the > global > > Notifications Enabled flag - but I don't think there is ... > Yep -- > http://www.nagios.org/developerinfo/externalcommands/commandin > fo.php?command_id=8 I stand corrected. I hadn't spotted this one... thanks for the tip. In this case, I agree that it is better to make the change via the external command rather than by modifying nagios.cfg and restarting. Anyway, regardless of the method used to achieve it, I think this is the way to achieve what the original poster wanted (use a special eventhandler monitoring the live Nagios to enable/disable notifications on the standby Nagios) Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 21 23:04:30 2006 From: cecil.williams at autozone.com (cecil.williams at autozone.com) Date: Tue, 21 Nov 2006 16:04:30 -0600 Subject: Cecil Williams/STS/AUTOZONE is out of the office. Message-ID: I will be out of the office starting 11/21/2006 and will not return until 11/22/2006. Please send all requests/problems to IT AIX SUPPORT via lotus notes. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nemir at hotmail.com Wed Nov 22 03:48:13 2006 From: nemir at hotmail.com (nemir nemiria) Date: Wed, 22 Nov 2006 02:48:13 +0000 Subject: problems with check_traffic plugin displaying images In-Reply-To: <59A7E3E593E47D4C8B5482F6D7A4FFB42C9C3B@webmail.eandhis.com> References: <59A7E3E593E47D4C8B5482F6D7A4FFB42C9C3B@webmail.eandhis.com> Message-ID: >Has anybody able to get this plugins working, ie: be able to view the >graphs of the >monitored device bandwidth? >It works just fine except I can not display the graphs I get error is >the apache log That sounds like Nagios is very happy. > In the apache log, I have lines with this : > "Premature end script header ..." This is a classic apache problem. The "Premature end of script headers" error message is probably the most loathed and common error message you'll find. What the error actually means, is that the script stopped for whatever reason before it returned any output to the web server. A common cause of this for script writers is to fail to set a content type before printing output code. What do the apache logs say? What does the source code of the page say? HTH Nemir _________________________________________________________________ Advertisement: 110,000+ cars with the click of a mouse at carsales.com.au http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fsecure%2Dau%2Eimrworldwide%2Ecom%2Fcgi%2Dbin%2Fa%2Fci%5F450304%2Fet%5F2%2Fcg%5F801577%2Fpi%5F1005244%2Fai%5F838593&_t=757768878&_r=endtext_110000&_m=EXT ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spdesai at gnvfc.net Wed Nov 22 04:44:07 2006 From: spdesai at gnvfc.net (spdesai at gnvfc.net) Date: Wed, 22 Nov 2006 09:14:07 +0530 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: References: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> <1164124698.4563221a20de7@mail.gnvfc.net> Message-ID: <1164167047.4563c787c7c06@mail.gnvfc.net> GOOD EXPLANATION FROM YR SIDE. SO IF I WANT TO ADD MORE HOSTS THEN I NEED TO ADD IN ONLY HOSTS.CFG FILE NOT IN ANY OTHER FILE(LIKE SERVICE/HOSTGROUPS ETC)AS OTHER FILES ARE LOOK HOSTS DETAILS FROM HOSTGROUP NAME. RIGHT ? PL. CONFIRM .. THANKS FOR YR SUPPORT THANKS AND REGARDS, SUHAG DESAI Quoting Thomas Slutyer : > On 21 Nov, 2006, at 16:58, spdesai at gnvfc.net wrote: > > > Sorry for wrongly posting youe message to IAN. > > No problem. I saw your e-mail the first time, since you CCed it to the > ML. > > > I have tried and gone through the link given by u but i m not > > successfully done this thing. Let me explain u in details. Suppose i > > want to monitor SMTP,PING,POP,Harddisk usage,Memory,TELNET,FTP for the > > host 192.168.10.1,192.168.10.2,192.168.10.3----192.168.10.50. > > > > So give me the configuration example for hosts.cfg, hostgroups.cfg, > > service.cfg and whatever file needed to be configured. > > I know what you want and I know what you were originally looking for. > As I explained yesterday there is no shortcut in defining Nagios hosts. > > I will not type up everything (since that wouldn't leave any chance for > you to learn), but I will show you a few examples that apply to what I > told Ian yesterday. > > In this case, hosts 1 and 2 run SMTP and POP, while 3 runs as an FTP > server. > > define host{ > use host-template > host_name foobar1 > alias foobar1 > address 192.168.10.1 > hostgroups HG-all,HG-mail > } > > define host{ > use host-template > host_name foobar2 > alias foobar2 > address 192.168.10.2 > hostgroups HG-all,HG-mail > } > > define host{ > use host-template > host_name foobar3 > alias foobar3 > address 192.168.10.3 > hostgroups HG-all,HG-ftp > } > > define hostgroup{ > hostgroup_name HG-all > alias All systems > } > > define hostgroup{ > hostgroup_name HG-mail > alias All UNIX systems > } > > define hostgroup{ > hostgroup_name HG-ftp > alias All UNIX systems > } > > define service{ > use service-template > hostgroup_name HG-mail > service_description SMTP > check_command $WHATEVER$ > } > > define service{ > use service-template > hostgroup_name HG-mail > service_description POP > check_command $WHATEVER$ > } > > define service{ > use service-template > hostgroup_name HG-ftp > service_description FTP > check_command $WHATEVER$ > } > > define service{ > use service-template > hostgroup_name HG-all > service_description TELNET > check_command $WHATEVER$ > } > > define service{ > use service-template > hostgroup_name HG-all > service_description PING > check_command $WHATEVER$ > } > > This way, you are grouping various service checks by linking them to > groups of hosts. > > So, yes. If you add new hosts to your monitoring environment you will > need to manually add these on an individual basis. But instead of > manually adding all the required service descriptions as well, you will > be automatically assigning these to the hosts in question by > "subscribing" to the relevant host groups. > > > I have enable SNMP for SNMP based query on all the machine. > That's fine. You could use SNMP to monitor your hard disk and memory > usage in two ways: by reading the SNMP objects for the specific volume, > or by running check_disk locally by tying it to a custom SNMP object of > your choosing. You may also run check_disk passively through NSCA or > actively through NRPE. Make your pick :) > > 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 > ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 22 08:05:03 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Wed, 22 Nov 2006 12:35:03 +0530 Subject: Query about smsclient Message-ID: Hi All, I am trying to use smsclient for SMS alerts. I have one basic question. If one uses an analog modem to send SMS alerts, how does the service provider charge us for using his services? I was planning to put this question on the smsclient users' mailing list. But when I try to subscribe for this mailing list, the subscription webpage gives a message that you will receive an email response to confirm your subscription, but I never receive this confirmation email. Is anybody on this list a member of that list? Is the smsclient project active? Thanks In Advance. 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 hvdkooij at vanderkooij.org Wed Nov 22 09:29:29 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 22 Nov 2006 09:29:29 +0100 (CET) Subject: Query about smsclient In-Reply-To: References: Message-ID: On Wed, 22 Nov 2006, Yogesh Hasabnis wrote: > I am trying to use smsclient for SMS alerts. I have one basic question. If > one uses an analog modem to send SMS alerts, how does the service provider > charge us for using his services? Ask your provider. They are the people to answer this question. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 22 10:07:50 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 22 Nov 2006 10:07:50 +0100 Subject: Fwd: Multiple host in hosts.cfg In-Reply-To: <1164167047.4563c787c7c06@mail.gnvfc.net> References: <28919ADDC3E2C44BAD07B1EB44818493F62233@cmgexcdc01.CMG.local> <813EF6F4-6B53-4F58-BE9E-505CA03910F0@kilala.nl> <1164124698.4563221a20de7@mail.gnvfc.net> <1164167047.4563c787c7c06@mail.gnvfc.net> Message-ID: <6DF9BA0E-081D-4D3D-A25D-894EDECE0436@kilala.nl> On 22 Nov, 2006, at 4:44, spdesai at gnvfc.net wrote: > GOOD EXPLANATION FROM YR SIDE. > > SO IF I WANT TO ADD MORE HOSTS THEN I NEED TO ADD IN ONLY HOSTS.CFG > FILE NOT > IN ANY OTHER FILE(LIKE SERVICE/HOSTGROUPS ETC)AS OTHER FILES ARE > LOOK HOSTS > DETAILS FROM HOSTGROUP NAME. > > RIGHT ? > > PL. CONFIRM .. Holy shit! Stop shouting! /me covers his ears Ow... Aniway, yes. If you want to add hosts then you will only need to add them in hosts.cfg. You just have to make sure you subscribe them to the host groups they need. You will not need to edit any of the services*.cfg files unless you want to add additional service checks. You will not need to edit any of the host group definitions, unless you want to create a new host group. So to expand on my example from yesterday: * Want to add an SSH check to all systems? Define a new SSH service and set its "hostgroup_name" to HG_all. * Want to start monitoring web servers? Create a host group HG-www, define a HTTPD service and set its "hostgroup_name" to HG_www. Then subscribe all hosts running as web servers to HG_www. * Want to add new systems to the HTTPD check? Just add their host definitions and subscribe them to HG_www. 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 vajc at altectelecoms.gr Wed Nov 22 10:42:07 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Wed, 22 Nov 2006 11:42:07 +0200 Subject: Customized map for customers Message-ID: <9DB9DF2949D8774796CB054FBEC15699035723F9@Tyran.int.acn.gr> Thank! Given that I precise - use_authentication=1 - in cgi.cfg. Did you mean that I should have this set-up from the beginning for basic security reasons ;) Christophe -----Original Message----- From: Donnell Lewis [mailto:donnell.lewis at icoretechnology.com] Sent: Thursday, November 16, 2006 6:59 PM To: Varaillon Jean Cristophe Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Customized map for customers On Thu, 2006-11-16 at 11:54 +0200, Varaillon Jean Cristophe wrote: > Hi, > > We are an ISP and we have a lot of customers set-up with VRF. > > Using Nagios, would I be able to provide a customized map to my > customer where the would see: > > Their_Remote_Office_Router-----------Their_Central_Office_R > ou > ter > Yes, this can be achieved using the web authentication that you setup to login to nagios. You would make your .htaccess or auth schema user the same as the user you put them into contacts.cfg as. Then you would have to create a group just for them in contactgroup.cfg. After that you would then add their contactgroup to the host/services for which they have with you. The ISP cloud will basically show as the central nagios host that's doing the checks, unless you add a host and just name it that for viewing purposes on the map. Then, after you have added them to the auth files, contacts.cfg, contactgroups.cfg and put their group name into the hosts/services they are to see you would also need to make sure that in the hosts/services definitions that you are using the 'parent ' option so that things will fall correctly on the map. Hope that helps somewhat, didn't describe as best as I probably could. -Don Lewis > Can Nagios provide a web access where my customer would see: > - A networking diagram CE1----------CE2 > - The traffic rate going between the two Customer Equipment routers. > > Thank you for your time! > > Christophe > > Disclaimer > The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. 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. > > > ---------------------------------------------------------------------- > --- Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to share > your opinions on IT & business topics through brief surveys - and earn > cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEV > DEV _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 einar.indrida at gmail.com Wed Nov 22 11:43:04 2006 From: einar.indrida at gmail.com (Einar Indridason) Date: Wed, 22 Nov 2006 10:43:04 +0000 Subject: MGE UPS snmp info poller plugin (alpha, semi-beta quality) Message-ID: <32603e510611220243t674a6843x88dcb2247814703b@mail.gmail.com> Hi folks. I'm writing a plugin for MGE UPS Galaxy 5000, based on the SNMP values found in their MIB. Now, I have a basic skeleton available, and it is more or less usable as a Nagios plugin. I want to add RRD support into it as well, and log down the SNMP values into a file, but that can wait a bit. What I'm more interested in right now is this: I doubt that I'm the only one, hooking Nagios and MGE UPS Galaxy 5000 stuff together. Would you be interested in taking a look at that stuff, see if I need to add some more SNMP variables? Or if my current treatment of the SNMP variables makes sense? Or... if my thresholds are off, or even way off? Basically, I'm asking for suggestions for improvements, before I start thinking about the RRD stuff. (And I'm releasing this as a GPL stuff, with the added clause of: 'If it breaks, you get to keep both parts') This is (as least for now) only available through email, as it is a work in progress. Cheers, -- EinarI -------------- 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 Nov 22 09:06:35 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 22 Nov 2006 03:06:35 -0500 Subject: Query about smsclient In-Reply-To: References: Message-ID: > I am trying to use smsclient for SMS alerts. I have one basic question. > If one uses an analog modem to send SMS alerts, how does the service > provider charge us for using his services? Check with your provider. The number used to send the message may be charged, and you may also be charged for receiving them. Depends who you use. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vajc at altectelecoms.gr Wed Nov 22 12:19:18 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Wed, 22 Nov 2006 13:19:18 +0200 Subject: Flat map Message-ID: <9DB9DF2949D8774796CB054FBEC156990357244D@Tyran.int.acn.gr> Ok but then I have an issue here: Each host is define with a single address, right? In this case, how woud you configure nagios if you want to have this map: Server_1--<10.10.10.0/24>---ROUTER1---<20.20.20.0/24>---Server_2 How would you define the host ROUTER1 since I also need to monitor both its interfaces? Also, is there a way to get rid of the "Nagios process" icon? Thanks! Christophe -----Original Message----- From: Sloane, Robert Raymond [mailto:sloane at ku.edu] Sent: Tuesday, November 21, 2006 5:52 PM To: Varaillon Jean Cristophe Subject: RE: [Nagios-users] Flat map Nagios doesn't discover the network topology, it is contained in the Nagios configuration by using the "parents" directive in the host object. For example: define host { host_name host1 ... parents router1 } define host { host_name router1 ... parents router0 } define host { host_name router0 ... } would look like: Nagios Host | router0 | router1 | host1 Hosts with no "parents" directive are assumed to be on the same subnet as the Nagios host. See http://nagios.sourceforge.net/docs/2_0/networkreachability.html for more information. -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Varaillon Jean Cristophe > Sent: Tuesday, November 21, 2006 9:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Flat map > > > Hi, > > I trying to get a nice map showing the actual topology of my network. > > So fare all what I am getting is a "flat" map without > hierarchy where all nodes and routers are linked to "Nagios Process". > > Also the "Status Information" of each router and node is: > "(No information!)" > > Finally the icon representing each device is a just a question mark. > > Any suggestion why all this is happening? > > In fact I am not sure how Nagios is discovering the network,, > meaning who connects to who. > > Also, is Nagios drawing L2 and/or L3 topology? > > Many thanks in advance for your time. > > Christophe > > Disclaimer > The information in this e-mail and any attachments is > confidential. It is intended solely for the attention and use > of the named addressee(s). If you are not the intended > recipient, or person responsible for delivering this > information to the intended recipient, please notify the > sender immediately. Unless you are the intended recipient or > his/her representative you are not authorized to, and must > not, read, copy, distribute, use or retain this message or > any part of it. 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. > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your opinions on IT & business topics through > brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 n.hamaker at ic-s.nl Wed Nov 22 13:43:22 2006 From: n.hamaker at ic-s.nl (Niels Hamaker) Date: Wed, 22 Nov 2006 13:43:22 +0100 Subject: NRPE / Oracle Message-ID: <456445EA.9040709@ic-s.nl> Hi there, I'm having some problems with an oracle check I want to execute over NRPE. The check works locally, even when I run it as user nagios: # /usr/local/nagios-nrpe/libexec/check_oracle --login PROD OK - dummy login connected But when I run the check through NRPE I just get: # ../libexec/check_nrpe -H 10.0.5.20 -c check_oracle_login CRITICAL - No other information... Oracle-checks on different machines run OK, other nagios checks on the same machine run OK. Suggestions as to where I should look are very welcome. I'm running nagios 2.5 on linux, Oracle 10.2 on linux64, the check_oracle verison is (nagios-plugins 1.4.2) 1.14. This version of the plugin is used on other machines as well. The only difference is the other machines run Oracle 10.1. Thanks for your help -- Met vriendelijke groet, Niels Hamaker Support desk IC&S B.V. Stadhouderslaan 57 3583 JD UTRECHT The Netherlands T: +31 30 6355730 F: +31 30 6355731 http://www.ic-s.nl/ IC&S biedt Service & Support, Development en Consultancy op uiteenlopende internet-gerelateerde platformen, met een voorliefde voor Open Source. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 22 13:44:39 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 22 Nov 2006 13:44:39 +0100 (CET) Subject: Flat map In-Reply-To: <9DB9DF2949D8774796CB054FBEC156990357244D@Tyran.int.acn.gr> References: <9DB9DF2949D8774796CB054FBEC156990357244D@Tyran.int.acn.gr> Message-ID: On Wed, 22 Nov 2006, Varaillon Jean Cristophe wrote: > Ok but then I have an issue here: > > Each host is define with a single address, right? > > In this case, how woud you configure nagios if you want to have this > map: > > Server_1--<10.10.10.0/24>---ROUTER1---<20.20.20.0/24>---Server_2 > > How would you define the host ROUTER1 since I also need to monitor both > its interfaces? There are multiple solutions. One could to add interfaces as service and ping them. Or poll it with SNMP and define interfaces that way. (Which is what I do.) Or define 2 hosts. Which interface one should use as host for a router dependents on the network layout. I sometimes poll inside interfaces through a tunnel to prevent leakage of information. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 22 13:52:19 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Wed, 22 Nov 2006 13:52:19 +0100 Subject: [Nagiosplug-help] check_http problems In-Reply-To: <20061122120431.92C674F4046@desire.netways.de> References: <20061122120431.92C674F4046@desire.netways.de> Message-ID: <52457C6D-B38E-4B76-9C5C-31D038FBA4B7@kilala.nl> On 22 Nov, 2006, at 13:04, Saraj Mohammed wrote: > check_command check_http!--onredirect=follow -I 10.100.152.89 - > p 8101 -u /cfi/application_store/ -a nagiosadmin:nagios If I were you, I'd put as much of that command into the command definition, instead of in the service definition. Besides, isn't check_http defined as a command that takes $ARG1$ as input for the "-u" parameter? In the default situation that is. 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 jlongland at grintek.com Wed Nov 22 14:39:34 2006 From: jlongland at grintek.com (John Longland) Date: Wed, 22 Nov 2006 15:39:34 +0200 Subject: statusmap background Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9C34@gtmail.grintel.com> Hi all Would like to change my 3D-display. Want to see if a white background doesn't make the display look a bit better. I generated a .png file that just is "white". Loaded it onto my nagios machine and converted it to .gd2 with /usr/bin/pngtogd2 /usr/bin/pngtogd2 blank.png blank.gd2 0 1 It created the gd2-file and I modified cgi.cfg and entered "blank.gd2" at statusmap_backrground. Restarted nagios and browsed to the 3D-dislay. Stil black !!! Does this setting ONLY refer to the "statusmap" or would it change the 3D-status background as well ?? Thanks ! JOhn -------------- 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 fvila at easymail.net.uy Wed Nov 22 15:31:41 2006 From: fvila at easymail.net.uy (Francisco Vila) Date: Wed, 22 Nov 2006 12:31:41 -0200 Subject: Help with SonicWall 1260 Message-ID: <45645F4D.3090201@easymail.net.uy> Someone has experience configuring Nagios to monitor WAN and OPT interface of a Sonicwall 1260 ??? Thanks a lot Francisco Vila ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bob.debolt at starblanket.ca Wed Nov 22 17:03:10 2006 From: bob.debolt at starblanket.ca (Bob DeBolt) Date: Wed, 22 Nov 2006 09:03:10 -0700 Subject: Help with SonicWall 1260 In-Reply-To: <45645F4D.3090201@easymail.net.uy> References: <45645F4D.3090201@easymail.net.uy> Message-ID: <200611220903.10984.bob.debolt@starblanket.ca> On Wednesday 22 November 2006 7:31 am, Francisco Vila wrote: > Someone has experience configuring Nagios to monitor WAN and OPT > interface of a Sonicwall 1260 ??? Exactly what type of information are you attempting to aquire from the Sonicwall interface? Bob? ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcoleman at cctechnol.com Wed Nov 22 18:12:03 2006 From: jcoleman at cctechnol.com (Jeremiah Coleman) Date: Wed, 22 Nov 2006 11:12:03 -0600 Subject: please help with ignored service checks problem... Message-ID: <1164215524.10110.28.camel@europa.cctechnol.com> I've been having a problem with some service checks not being run and not being rescheduled. For example, at 11:06:37, the scheduling queue will shoe these services with N/A for the last check, and the next check in the past. I get no messages in the log whatsoever regarding these checks. I can run the commands as nagios in shell with no problems. If someone could tell me what I'm doing wrong or give me an idea what to look for, I'd much appreciate it. Thank you for your time. The checks are listed in objects.cache and status.dat: objects.cache: command_name check_disk_smb objects.cache: command_line $USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1$ -W xxxx -u xxxx -p xxxx -w 2G -c 1G objects.cache: check_command check_disk_smb!Temp objects.cache: check_command check_disk_smb!users objects.cache: check_command check_disk_smb!data objects.cache: check_command check_disk_smb!data1 objects.cache: check_command check_disk_smb!data2 status.dat: check_command=check_disk_smb!Temp status.dat: check_command=check_disk_smb!users status.dat: check_command=check_disk_smb!data status.dat: check_command=check_disk_smb!data1 status.dat: check_command=check_disk_smb!data2 objects.cache: command_name check_rpc objects.cache: command_line $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -p 2049 -t objects.cache: check_command check_rpc objects.cache: check_command check_rpc objects.cache: check_command check_rpc status.dat: check_command=check_rpc status.dat: check_command=check_rpc status.dat: check_command=check_rpc The relevant configuration bits: define command{ command_name check_disk_smb command_line $USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1 $ -W cct echnol -u nagios -p nagios1 -w 2G -c 1G } define command{ command_name check_rpc command_line $USER1$/check_rpc -H $HOSTADDRESS$ -C nfs -p 2049 -t } define service{ use generic-service ; Name of servic e template to use host_name kraken,luna,zeus service_description NFS 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_rpc } define service{ use generic-service ; Name of servic e template to use host_name zeus service_description /data 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_disk_smb!data } -- Jeremiah Coleman Systems Administrator C & C Technologies 337-261-0660 x3421 jcoleman at cctechnol.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 ml at cardiff.fr Wed Nov 22 18:53:50 2006 From: ml at cardiff.fr (Cardiff - ML) Date: Wed, 22 Nov 2006 18:53:50 +0100 Subject: (Return code of 127 is out of bounds - plugin may be missing) Message-ID: I may be wrong in ML subscription and was hesitating wether to post here or in plugin ML... I have a problem trying to execute a nrpe daemon in order to monitor under nagios 2 different linux servers... I have setup nagios on Main server, which works since approx 2 years without any problems... I have followed the readme guide in nrpe setup and applied precisely what was put in it I have in order to setup nrpe added the following lines in my server.cfg on Main server (the bigger.cfg sample adapted to my server) ############################################################################ ### # HOST DEFINITIONS ############################################################################ ### # pluton host definition define host{ use generic-host host_name pluton alias Serveur Pluton address 193.XXX.XXX.XXX check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r contact_groups admins } ############################################################################ ### # Command DEFINITIONS ############################################################################ ### define command{ command_name check_nrpe command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } ############################################################################ ### # Service DEFINITIONS ############################################################################ ### # Define a service to check the load on the local machine. define service{ use generic-service host_name pluton 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_interval 120 notification_period 24x7 check_command check_nrpe!check_local_load!0.40,0.20,0.10!0.75,0.5,0.25 } On the remote server (the one having the plugin, I have installed Xinetd and resolved all openssl dependecies problems, and install filed nrpe in xinet.d containing following : # default: on # description: NRPE service nrpe { disable = no flags = REUSE socket_type = stream wait = no user = nagios server = /usr/local/nagios/ server_args = -c /usr/local/nagios/ --inetd log_on_failure += USERID only_from = 195.XX.XX.XXX #Main Server IP } I have also the following files on the remote server : [root at xxxx nagios]# ls -aRl /usr/local/nagios/ /usr/local/nagios/: total 98 drwxr-xr-x 4 root root 144 nov 22 16:55 . drwxr-xr-x 15 root root 360 nov 22 10:25 .. drwxr-xr-x 2 root root 96 nov 22 16:58 bin drwxr-xr-x 2 root root 1912 nov 22 17:48 libexec -rw-r--r-- 1 root root 86892 nov 22 10:17 nrpe -rw-r--r-- 1 root root 6710 nov 22 14:10 nrpe.cfg /usr/local/nagios/bin: total 96 drwxr-xr-x 2 root root 96 nov 22 16:58 . drwxr-xr-x 4 root root 144 nov 22 16:55 .. -rw-r--r-- 1 root root 86892 nov 22 10:17 nrpe -rw-r--r-- 1 root root 6710 nov 22 17:00 nrpe.cfg /usr/local/nagios/libexec: total 5552 drwxr-xr-x 2 root root 1912 nov 22 17:48 . drwxr-xr-x 4 root root 144 nov 22 16:55 .. -rwxr-xr-x 1 root root 224109 nov 20 19:18 check_apt -rwxr-xr-x 1 root root 2265 nov 20 19:18 check_breeze -rwxr-xr-x 1 root root 61619 nov 20 19:18 check_by_ssh -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_clamd -rwxr-xr-x 1 root root 61478 nov 20 19:18 check_dhcp -rwxr-xr-x 1 root root 58725 nov 20 19:18 check_dig -rwxr-xr-x 1 root root 79871 nov 20 19:18 check_disk -rwxr-xr-x 1 root root 8168 nov 20 19:18 check_disk_smb -rwxr-xr-x 1 root root 63852 nov 20 19:18 check_dns -rwxr-xr-x 1 root root 33487 nov 20 19:18 check_dummy -rwxr-xr-x 1 root root 3233 nov 20 19:18 check_file_age -rwxr-xr-x 1 root root 6400 nov 20 19:18 check_flexlm -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_ftp -rwxr-xr-x 1 root root 289240 nov 20 19:18 check_http -rwxr-xr-x 1 root root 70939 nov 20 19:18 check_icmp -rwxr-xr-x 1 root root 15292 nov 20 19:18 check_ifoperstatus -rwxr-xr-x 1 root root 12858 nov 20 19:18 check_ifstatus -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_imap -rwxr-xr-x 1 root root 7437 nov 20 19:18 check_ircd -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_jabber -rwxr-xr-x 1 root root 46912 nov 20 19:18 check_load -rwxr-xr-x 1 root root 6043 nov 20 19:18 check_log -rwxr-xr-x 1 root root 20369 nov 20 19:18 check_mailq -rwxr-xr-x 1 root root 43224 nov 20 19:18 check_mrtg -rwxr-xr-x 1 root root 41904 nov 20 19:18 check_mrtgtraf -rwxr-xr-x 1 root root 1063904 nov 20 19:18 check_mysql -rwxr-xr-x 1 root root 1060417 nov 20 19:18 check_mysql_query -rwxr-xr-x 1 root root 49443 nov 20 19:18 check_nagios -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_nntp -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_nntps -rwxr-xr-x 1 root root 63407 nov 20 19:18 check_nt -rwxr-xr-x 1 root root 64457 nov 20 19:18 check_ntp -rwxr-xr-x 1 root root 83989 nov 20 19:18 check_nwstat -rwxr-xr-x 1 root root 8325 nov 20 19:18 check_oracle -rwxr-xr-x 1 root root 53931 nov 20 19:18 check_overcr -rwxr-xr-x 1 root root 66861 nov 20 19:18 check_ping -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_pop -rwxr-xr-x 1 root root 64414 nov 20 19:18 check_procs -rwxr-xr-x 1 root root 51533 nov 20 19:18 check_real -rwxr-xr-x 1 root root 9712 nov 20 19:18 check_rpc -rwxr-xr-x 1 root root 1176 nov 20 19:18 check_sensors -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_simap -rwxr-xr-x 1 root root 261293 nov 20 19:18 check_smtp -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_spop -rwxr-xr-x 1 root root 48117 nov 20 19:18 check_ssh -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_ssmtp -rwxr-xr-x 1 root root 51171 nov 20 19:18 check_swap -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_tcp -rwxr-xr-x 1 root root 51640 nov 20 19:18 check_time -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_udp -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_udp2 -rwxr-xr-x 1 root root 59081 nov 20 19:18 check_ups -rwxr-xr-x 1 root root 46026 nov 20 19:18 check_users -rwxr-xr-x 1 root root 3024 nov 20 19:18 check_wave -rwxr-xr-x 1 root root 46426 nov 20 19:18 negate -rwxr-xr-x 1 root root 45739 nov 20 19:18 urlize -rwxr-xr-x 1 root root 2037 nov 20 19:18 utils.pm -rwxr-xr-x 1 root root 860 nov 20 19:18 utils.sh when i test the check_xxxx it works... exemple : [root at xxxx nagios]# /usr/local/nagios/libexec/check_load -w 0.40,0.20,0.10 -c 0.75,0.5,0.25 OK - load average: 0.00, 0.00, 0.00|load1=0.000;0.400;0.750;0; load5=0.000;0.200;0.500;0; load15=0.000;0.100;0.250;0; yet when nrpe plugin is called from main server it doesn't get information all i get is this : CRITICAL 22-11-2006 18:15:50 0d 1h 26m 3s 4/4 (Return code of 127 is out of bounds - plugin may be missing) I can't manage to get nrpe sent information to main server... What is wrong or what have i forgotten ??? PS : I have noticed somewhere, (don't remember which site or which guide), that nrpe needs to be started in init.d, though being a newbie in linux commands i don't get to find how to do this... If anyone could help me, and explain me what is needed on a Fedora Core 4 box, to make nrpe run correctly, i'd appreciate your answers and advices to get this plugin working... Yours.. Tugdual deLassat -------------- 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 Nov 22 19:02:06 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 22 Nov 2006 13:02:06 -0500 Subject: (Return code of 127 is out of bounds - plugin may bemissing) In-Reply-To: References: Message-ID: > I may be wrong in ML subscription and was hesitating wether > to post here or in plugin ML... > > I have a problem trying to execute a nrpe daemon in order to > monitor under nagios 2 different linux servers... > > I have setup nagios on Main server, which works since approx > 2 years without any problems... > > I have followed the readme guide in nrpe setup and applied > precisely what was put in it I have in order to setup nrpe > added the following lines in my server.cfg on Main server > (the bigger.cfg sample adapted to my server) [snip] check_nrpe does not exist in the location you're telling Nagios to run it from. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ml at cardiff.fr Wed Nov 22 19:19:17 2006 From: ml at cardiff.fr (Cardiff - ML) Date: Wed, 22 Nov 2006 19:19:17 +0100 Subject: (Return code of 127 is out of bounds - plugin may bemissing) In-Reply-To: References: Message-ID: >[snip] >check_nrpe does not exist in the location you're telling Nagios to run it from. Thks for your quick response... Here is on main server list of /usr/local/nagios/libexec : [root at mars lib]# ls -ali /usr/local/nagios/libexec total 4900 200952 drwxrwxrwx 2 root root 4096 nov 22 16:15 . 200656 drwxrwxrwx 8 nagios nagios 4096 jun 15 2005 .. 202878 -rwxr-xr-x 1 root root 224109 nov 20 19:18 check_apt 200990 -rwxr-xr-x 1 root root 2265 nov 20 19:18 check_breeze 200976 -rwxr-xr-x 1 root root 61619 nov 20 19:18 check_by_ssh 202915 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_clamd -> check_tcp 200946 -r-sr-x--- 1 root root 61478 nov 20 19:18 check_dhcp 200978 -rwxr-xr-x 1 root root 58725 nov 20 19:18 check_dig 200947 -rwxr-xr-x 1 root root 79871 nov 20 19:18 check_disk 200991 -rwxr-xr-x 1 root root 8168 nov 20 19:18 check_disk_smb 200975 -rwxr-xr-x 1 root root 63852 nov 20 19:18 check_dns 200953 -rwxr-xr-x 1 root root 33487 nov 20 19:18 check_dummy 201003 -rwxr-xr-x 1 root root 3233 nov 20 19:18 check_file_age 200992 -rwxr-xr-x 1 root root 6400 nov 20 19:18 check_flexlm 200980 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_ftp -> check_tcp 200954 -rwxr-xr-x 1 root root 289240 nov 20 19:18 check_http 200971 -r-sr-x--- 1 root root 70939 nov 20 19:18 check_icmp 201001 -rwxr-xr-x 1 root root 15292 nov 20 19:18 check_ifoperstatus 201000 -rwxr-xr-x 1 root root 12858 nov 20 19:18 check_ifstatus 200981 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_imap -> check_tcp 200993 -rwxr-xr-x 1 root root 7437 nov 20 19:18 check_ircd 200955 -rwxr-xr-x 1 root root 46912 nov 20 19:18 check_load 200994 -rwxr-xr-x 1 root root 6043 nov 20 19:18 check_log 201002 -rwxr-xr-x 1 root root 20369 nov 20 19:18 check_mailq 200956 -rwxr-xr-x 1 root root 43224 nov 20 19:18 check_mrtg 200957 -rwxr-xr-x 1 root root 41904 nov 20 19:18 check_mrtgtraf 200972 -rwxr-xr-x 1 root root 1063904 nov 20 19:18 check_mysql 202914 -rwxr-xr-x 1 root root 1060417 nov 20 19:18 check_mysql_query 200974 -rwxr-xr-x 1 root root 49443 nov 20 19:18 check_nagios 200982 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_nntp -> check_tcp 200988 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_nntps -> check_tcp 201022 -rwxr-xr-x 1 root root 54932 nov 22 10:17 check_nrpe 200979 -rwxr-xr-x 1 root root 63407 nov 20 19:18 check_nt 200995 -rwxr-xr-x 1 root root 64457 nov 20 19:18 check_ntp 200958 -rwxr-xr-x 1 root root 83989 nov 20 19:18 check_nwstat 200996 -rwxr-xr-x 1 root root 8325 nov 20 19:18 check_oracle 200959 -rwxr-xr-x 1 root root 53931 nov 20 19:18 check_overcr 200960 -rwxr-xr-x 1 root root 66861 nov 20 19:18 check_ping 200983 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_pop -> check_tcp 200973 -rwxr-xr-x 1 root root 64414 nov 20 19:18 check_procs 200961 -rwxr-xr-x 1 root root 51533 nov 20 19:18 check_real 200997 -rwxr-xr-x 1 root root 9712 nov 20 19:18 check_rpc 200998 -rwxr-xr-x 1 root root 1176 nov 20 19:18 check_sensors 200985 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_simap -> check_tcp 200962 -rwxr-xr-x 1 root root 261293 nov 20 19:18 check_smtp 200986 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_spop -> check_tcp 200963 -rwxr-xr-x 1 root root 48117 nov 20 19:18 check_ssh 202916 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_ssmtp -> check_tcp 200977 -rwxr-xr-x 1 root root 51171 nov 20 19:18 check_swap 200964 -rwxr-xr-x 1 root root 87063 nov 20 19:18 check_tcp 200965 -rwxr-xr-x 1 root root 51640 nov 20 19:18 check_time 200966 lrwxrwxrwx 1 root root 9 nov 20 19:18 check_udp -> check_tcp 200984 lrwxrwxrwx 1 root root 9 jun 16 2005 check_udp2 -> check_tcp 200967 -rwxr-xr-x 1 root root 59081 nov 20 19:18 check_ups 200968 -rwxr-xr-x 1 root root 46026 nov 20 19:18 check_users 200999 -rwxr-xr-x 1 root root 3024 nov 20 19:18 check_wave 200969 -rwxr-xr-x 1 root root 46426 nov 20 19:18 negate 200970 -rwxr-xr-x 1 root root 45739 nov 20 19:18 urlize 201005 -rwxr-xr-x 1 root root 2037 nov 20 19:18 utils.pm 201004 -rwxr-xr-x 1 root root 860 nov 20 19:18 utils.sh You'll notice it is available in correct location, with same rights other plugins have... Having doubts i've double checked local execution of nrpe plugin ... I get something i've not checked yet in mailing lists : [root at mars lib]# /usr/local/nagios/libexec/check -c check_local_load CHECK_NRPE: Socket timeout after 10 seconds. Can this explain error message that the web interface gives me ??? So here comes second question ... What is this socket error due to ??? (Note : I'll try find information on this error on ML) T. de Lassat ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 22 20:08:03 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 22 Nov 2006 14:08:03 -0500 Subject: (Return code of 127 is out of bounds - pluginmay bemissing) In-Reply-To: References: Message-ID: > >[snip] > >check_nrpe does not exist in the location you're telling > Nagios to run > >it > from. > > Thks for your quick response... > > Here is on main server list of /usr/local/nagios/libexec : > 201022 -rwxr-xr-x 1 root root 54932 nov 22 10:17 check_nrpe > You'll notice it is available in correct location, with same > rights other plugins have... > > Having doubts i've double checked local execution of nrpe plugin ... > > I get something i've not checked yet in mailing lists : > [root at mars lib]# /usr/local/nagios/libexec/check -c check_local_load > CHECK_NRPE: Socket timeout after 10 seconds. > > Can this explain error message that the web interface gives me ??? I also notice the plugin was just put there a few minutes before your last email. I didn't see it there on your original question, so that's a good start -- that should clear the current error. As far as nrpe timeouts go, you probably need to look at the nrpe server config (on the machine you're trying to check) and make sure that it's running and allowing connections from your Nagios server. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fvila at easymail.net.uy Wed Nov 22 20:06:52 2006 From: fvila at easymail.net.uy (Francisco Vila) Date: Wed, 22 Nov 2006 17:06:52 -0200 Subject: Help with SonicWall 1260 In-Reply-To: <200611220903.10984.bob.debolt@starblanket.ca> References: <45645F4D.3090201@easymail.net.uy> <200611220903.10984.bob.debolt@starblanket.ca> Message-ID: <45649FCC.3040309@easymail.net.uy> I want to monitoring traffic interface Bob DeBolt escribi?: > On Wednesday 22 November 2006 7:31 am, Francisco Vila wrote: > > >> Someone has experience configuring Nagios to monitor WAN and OPT >> interface of a Sonicwall 1260 ??? >> > > Exactly what type of information are you attempting to aquire from the > Sonicwall interface? > > Bob > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > __________ Informaci?n de NOD32, revisi?n 1877 (20061122) __________ > > Este mensaje ha sido analizado con NOD32 antivirus system > http://www.nod32.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 klausman at schwarzvogel.de Wed Nov 22 21:41:24 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Wed, 22 Nov 2006 21:41:24 +0100 Subject: How do distributed setups work? (longish) Message-ID: <20061122204124.GA27785@eric.schwarzvogel.de> Hi all, I'm having a conceptual/logical/mindset problem which I hope you can help me with. It's a bit long, but the question/problem I have is complex, so please bear with me. What I dream of: I have a central machine which is the interface to the users. Using the/a web interface, the users can do exactly the same stuff they can do with a single-host installation: acknowledge problems, schedule downtimes, disable checks etc. It's the CGI-side of current affairs, so to speak. However, there are also N dedicated checking machines (I call them "checkers") which work the same way as the Nagios core does (i.e. without the CGIs). There's no Apache running and none of the Users really know about them (except that they had to poke holes for them into their firewalls). These machines ideally only do automatic scheduling of checks and execute the checks themselves. As for the return values, info strings and perfdata returned by the plugins, they simply pass them on to the central machine described above. This way, I can scale the entire setup if the/a checking machine runs out of CPU/memory when scheduling checks. Also, I can build dedicated checkers inside DMZs and the like. As for notification, this could possibly be done by the checkers directly, but then, acknowledgments and disabled notifications (which are entered centrally) would have to find their way to the checkers. I think handling notification centrally would be better. Even if the central machine is overloaded with notifications, it could be delegated to a dedicated machine that is used as a smart host. As far as the marketing goes ;) I had the impression that Nagios and friends can do this kind of setup. However when I tried to set up something like this, I ran into numerous problems. 1) Documentation for NSCA is - mildly put - lacking. As far as I can tell, send-NSCA expects data tab-separated on stdin. It would've been nice to actually see an example for getting host and service data into it. Am I supposed to do something like "printf $X$\t$Y$\t$Z$|send_nsca -H ..." for the OCSP command? 2) How does the information that a check should be disabled get from the central machine to the checkers? I've found no "usual" way of doing it? Would it be necessary to setup some distribution via SSH to the checkers? 3) All machines setup to be check passively (i.e. by a checker) are displayed as "disabled" in the web front end. This is very counter-intuitive (they *are* checked, after all). 4) There would have to be some mechanism of config distribution. Both the central machine and the checker need to agree on which services there are. Otherwise, some checks would never be executed or the central machine would ignore the submitted results. The only solution I have thought of so far which *might* work is running NRPEs on the checkers which get used by the central machine. This would mean that the checkers only have an NRPE and the Nagios plugins. For host internal checks, I'd have an "NRPE cascade" or NRPE using check_snmp. This has the downside that the central machine might run into congestion problems when scheduling. Another "solution" would be to have multiple completely Nagios installations for different (sets of) projects. I'm very wary of this. I'm part of the team that is responsible for the whole enchilada, i.e. we need to have monitoring access to all of those projects. Having to log into N web front ends for a "quick" overview is not really an option. One might be able to work with reverse proxying and/or custom-tailored CGIs here, but I'd rather not. So my question to the "big boys" out there: how exactly is a distributed setup *supposed* to work? Thanks for your time! Regards, Tobias ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zsitfa at t-online.hu Wed Nov 22 21:43:55 2006 From: zsitfa at t-online.hu (Horvath Tamas) Date: Wed, 22 Nov 2006 21:43:55 +0100 Subject: Monitoring AIX Message-ID: <20061122204350.B5094E5A582@mail.t-online.hu> Hello Lists! I will have to monitor several IBM machines. Lot of them has AIX 4.3 on them, but there are some AIX 5.x boxes as well. I did not find lot of AIX plug-ins in Nagios Exchange. How can I compile official plugins (Nagios Plugins 1.4.5)? Is there a similar web pagfe than sunfreeware.com for AIX? Any help would be appreciated. Thanks in advance. Tamas ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 22 23:26:59 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 22 Nov 2006 14:26:59 -0800 Subject: How do distributed setups work? (longish) In-Reply-To: <20061122204124.GA27785@eric.schwarzvogel.de> References: <20061122204124.GA27785@eric.schwarzvogel.de> Message-ID: <20061122222659.GA17454@pmorris.usa.hp.com> Hi Tobias! On Wed, 22 Nov 2006, Tobias Klausmann wrote: > 1) Documentation for NSCA is - mildly put - lacking. As far as I > can tell, send-NSCA expects data tab-separated on stdin. It > would've been nice to actually see an example for getting host > and service data into it. Am I supposed to do something like > "printf $X$\t$Y$\t$Z$|send_nsca -H ..." for the OCSP command? There are examples in the default distribution that show how to do this. Take a look in (on my platform, at least) /usr/lib/nagios/plugins/eventhandlers/submit_nsca_result. Your location and filename may vary. > 2) How does the information that a check should be disabled get > from the central machine to the checkers? I've found no "usual" > way of doing it? Would it be necessary to setup some > distribution via SSH to the checkers? There are several different ways you could handle this, but you'd need to find *some* way to get the information out to the machines doing the checking. For my prurposes, just turning off notifications has been enough, and that's something you can do at the central box only if that's where your notifications come from. > 3) All machines setup to be check passively (i.e. by a checker) > are displayed as "disabled" in the web front end. This is very > counter-intuitive (they *are* checked, after all). Yes, that's how they look when active checks are disabled. > 4) There would have to be some mechanism of config distribution. > Both the central machine and the checker need to agree on which > services there are. Otherwise, some checks would never be > executed or the central machine would ignore the submitted > results. People do this different ways, but I push the same config to all my boxes (keeps synching easy), and have several service templates (for example "location_a_service, location_b_service,i" etc.) defined on each box. At location A, a "location_a_service" is defined as active. At location b, it's defined as disabled. At the central box, it's defined as passive. This allows me to keep per-box-configuration differences minimal, and still allows configs to be kept in sync with minimal effort (in my case, I rsync the whole damn thing over to every machine, except the one small per-server config file). ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bobi-z+SJPVymZqvR7s880joybQ at public.gmane.org Thu Nov 23 00:08:36 2006 From: bobi-z+SJPVymZqvR7s880joybQ at public.gmane.org (bobi-z+SJPVymZqvR7s880joybQ at public.gmane.org) Date: Wed, 22 Nov 2006 15:08:36 -0800 (PST) Subject: Monitoring AIX In-Reply-To: <20061122204350.B5094E5A582-YWSmfFnmmWCTOgEH8K893A@public.gmane.org> References: <20061122204350.B5094E5A582@mail.t-online.hu> Message-ID: <1411.71.32.226.239.1164236916.squirrel@webmail.netshel.net> I've successfully compiled NRPE and the nagios plugins under both AIX 4.3, 5.2 and 5.3. All you need is to have the development environment setup. IBM has a website called the AIX Toolbox which has RPM's for AIX. Here's the link to the AIX 5L set of RPM's: http://www-03.ibm.com/servers/aix/products/aixos/linux/ I don't know if they still have the AIX 4.3 RPM's available, though. After downloading the RPM's for gcc, make, flex, bison, patch and friends, you should be able to build the plugins. Make sure you download and install the rpm utility first (as a traditional IBM install file.) Then you can use rpm to install the rpm packages listed above. You'll probably need others beyond those mentioned above. Other than, we've written our own perl plugins for AIX-specific tests. Hope this helps. Bob > Hello Lists! > > I will have to monitor several IBM machines. Lot of them has AIX 4.3 on > them, but there are some AIX 5.x boxes as well. > > I did not find lot of AIX plug-ins in Nagios Exchange. > > How can I compile official plugins (Nagios Plugins 1.4.5)? Is there a > similar web pagfe than sunfreeware.com for AIX? > > Any help would be appreciated. > > Thanks in advance. > > Tamas > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > 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 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your 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 karl.kornel at mindspeed.com Thu Nov 23 00:04:10 2006 From: karl.kornel at mindspeed.com (karl.kornel at mindspeed.com) Date: Wed, 22 Nov 2006 15:04:10 -0800 Subject: Segfault: I'm still dying here In-Reply-To: <20061120194641.C13024F4046@desire.netways.de> References: <20061120194641.C13024F4046@desire.netways.de> Message-ID: I wish I could say that I had fixed the problem, but I think I've experienced the same problem, or at least a similar one. I've covered all of my experiences in the message, posted 17 August 2006, titled "BUG? Segfault & coredump with scheduled downtime, downtime scheduled horked". To cover the times when Nagios does decide to SEGFAULT, I have the following item in my Nagios user's crontab, running every 10 minutes: /etc/ha.d/resource.d/nagios live status >> /dev/null; if [ $? -eq 1 ]; then echo 'Nagios live stopped! Restarting...'; sudo /etc/ha.d/resource.d/nagios live start; fi /etc/ha.d/resource.d/nagios is a modified version of the standard Nagios init script. Unfortunately, it does not account for the times when Nagios doesn't SEGFAULT, but does end up corrupting its internal downtime information. I've found that the best way of detecting this corruption is to look at the event log: When a scheduled downtime ends, if other services suddenly enter downtime, and they're not supposed to, then you have a corruption. At this point, I've found that asking for a safe Nagios restart will result in a restart and an immediate SEGFAULT; after I start Nagios again, everything's fine. Anyway, the crashing can be detected and compensated for, but it would be nice if this problem was fixed. I can't find any place to report bugs, other than this list. Good luck! -- A. Karl Kornel, Mindspeed Technologies, Inc. karl.kornel at mindspeed.com -- (949) 579-3503 "Remember the Rules: Separation & Optimization" nagios-users-bounces at lists.sourceforge.net wrote on 11/20/2006 11:46:41 AM: > Hi list > > First, let me apologize for posting this same issue so many times, > but I really, really need to get it resolved and I'm really really > hoping someone can take a few minutes and help me out. > > Nagios frequently segfaults when processing EXTERNAL commands. The > cmd.cgi would hang, but research found that it was because Nagios > had given up the other end of the nagios.cmd named pipe. Nagios has > crashed and cmd.cgi hangs. > > This has been happening for years, now with every version of Nagios, > on any of numerous machines (32-bit, 64-bit, mainframe...) on > different flavors of Linux including SUSe8, SLES9, and RH. > > Doing a stack trace on the comatose Nagios v2.5 process, I get the > following backtrace: > ============ > Detaching after fork from child process 19947. > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread -1208391264 (LWP 5431)] > 0x0806c951 in hashfunc2 (name1=0x2
, > name2=0x80f
, hashslots=1024) at utils.c:4285 > 4285 for(i=0;i (gdb) > (gdb) bt > #0 0x0806c951 in hashfunc2 (name1=0x2
, > name2=0x80f
, hashslots=1024) at utils.c:4285 > #1 0x080768a1 in find_service (host_name=0x2
bounds>, svc_desc=dwarf2_read_address: Corrupted DWARF > expression.) at ../common/objects.c:5016 > #2 0x0808ef4b in handle_scheduled_downtime > (temp_downtime=0x9f21c00) at ../common/downtime.c:311 > #3 0x08063454 in handle_timed_event (event=0x9fa2728) at events.c:1289 > #4 0x08063a9d in event_execution_loop () at events.c:964 > #5 0x0805394d in main (argc=3, argv=0xbff3f274) at nagios.c:710 > (gdb) > > > ========== > Please help! > > > > - 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 chris at summersault.com Thu Nov 23 00:09:12 2006 From: chris at summersault.com (Chris Hardie) Date: Wed, 22 Nov 2006 18:09:12 -0500 Subject: Testing quality (rtt and packet loss) of Internet connection? Message-ID: <4564D898.1070707@summersault.com> Greetings, all. I'm in the process of transitioning from Mon to Nagios, and have a few holes to fill in when it comes to "recreating" our old configuration. I was hoping someone could comment on this one: In our old system, we monitored the health of our connection to the Internet by checking packet loss and round trip times in ping packets sent to www.google.com and www.yahoo.com. Because either site was liable to have localized, temporary problems, we only triggered an alert if all of the sites we were pinging were experiencing a warning (which usually meant there was a problem with our connection, as opposed to one with theirs). In Mon, this was done with a config option that said "only consider this group of hosts to have a problem if ALL of them have a problem." So far, I can't find a way to do this in Nagios; I tried it with host dependencies, creative check plugin setups, etc. and can't seem to do it reliably/gracefully. Any thoughts or recommendations? Thanks! Chris ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtownrobbrown at gmail.com Thu Nov 23 00:16:31 2006 From: dtownrobbrown at gmail.com (Rob Brown) Date: Wed, 22 Nov 2006 15:16:31 -0800 Subject: help with special character in check command Message-ID: I am trying to use the check_snmp command to do a check against some network gear. The problem is that the community string is "xyz123!" (not really but example) and I cannot figure out how to get this to pass thru to the check command without it stripping the "!" character. For example: define command { command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -w $ARG2$ -c $ARG3$ -C $ARG4$ } define service { host_name myrouter service_description check_connections useprod- workhours check_command check_snmp![myoid]!255000!260000!xyz123! notification_options c,w,r,f contact_groups sysadmin } I have run the args thru a debug command and no matter what, the last ! in the comm string gets stripped off. I have tried: check_snmp![myoid]!255000!260000!xyz123! check_snmp![myoid]!255000!260000!xyz123\! check_snmp![myoid]!255000!260000!xyz123!! my nagios.cfg does have the following: illegal_object_name_chars=`~!$%^&*|'"<>?,()= but I tried taking the bang out and it still doesn't work. Any help here would be appreciated, as I cannot change the community string. There's got to be some trick to get this to work! PS: the command works fine when run from the 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 karl.kornel at mindspeed.com Thu Nov 23 00:18:48 2006 From: karl.kornel at mindspeed.com (karl.kornel at mindspeed.com) Date: Wed, 22 Nov 2006 15:18:48 -0800 Subject: Testing quality (rtt and packet loss) of Internet connection? In-Reply-To: <4564D898.1070707@summersault.com> References: <4564D898.1070707@summersault.com> Message-ID: I think you're looking for the check_cluster2 program, which is in the contrib/ directory of the plugins package. You can use that to define a host/service whose state is influenced directly by the states of one or more other hosts/services. -- A. Karl Kornel, Mindspeed Technologies, Inc. karl.kornel at mindspeed.com -- (949) 579-3503 "Remember the Rules: Separation & Optimization" nagios-users-bounces at lists.sourceforge.net wrote on 11/22/2006 03:09:12 PM: > Greetings, all. I'm in the process of transitioning from Mon to Nagios, > and have a few holes to fill in when it comes to "recreating" our old > configuration. I was hoping someone could comment on this one: > > In our old system, we monitored the health of our connection to the > Internet by checking packet loss and round trip times in ping packets > sent to www.google.com and www.yahoo.com. Because either site was > liable to have localized, temporary problems, we only triggered an alert > if all of the sites we were pinging were experiencing a warning (which > usually meant there was a problem with our connection, as opposed to one > with theirs). > > In Mon, this was done with a config option that said "only consider this > group of hosts to have a problem if ALL of them have a problem." So > far, I can't find a way to do this in Nagios; I tried it with host > dependencies, creative check plugin setups, etc. and can't seem to do it > reliably/gracefully. > > Any thoughts or recommendations? > > Thanks! > Chris > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 patrick.morris at hp.com Thu Nov 23 00:21:36 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 22 Nov 2006 15:21:36 -0800 Subject: Testing quality (rtt and packet loss) of Internet connection? In-Reply-To: <4564D898.1070707@summersault.com> References: <4564D898.1070707@summersault.com> Message-ID: <20061122232136.GB17454@pmorris.usa.hp.com> On Wed, 22 Nov 2006, Chris Hardie wrote: > In our old system, we monitored the health of our connection to the > Internet by checking packet loss and round trip times in ping packets > sent to www.google.com and www.yahoo.com. Because either site was > liable to have localized, temporary problems, we only triggered an alert > if all of the sites we were pinging were experiencing a warning (which > usually meant there was a problem with our connection, as opposed to one > with theirs). > > In Mon, this was done with a config option that said "only consider this > group of hosts to have a problem if ALL of them have a problem." So > far, I can't find a way to do this in Nagios; I tried it with host > dependencies, creative check plugin setups, etc. and can't seem to do it > reliably/gracefully. You can set up individual non-alerting ping checks, then use check_cluster to group them and only alert if the whole "cluster" fails. There are plenty of other ways, too, but that one's pretty easy. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.tjang at ask.com Thu Nov 23 01:13:46 2006 From: andrew.tjang at ask.com (Andrew Tjang) Date: Wed, 22 Nov 2006 19:13:46 -0500 Subject: Child Process Spawning Message-ID: <57B8C921BBE8FF4982FA726D39BC60EF0F1A31@SITE2MAIL01.jeeves.ask.info> Hello all! I think I'm experienceing a problem with runaway child processes. I read the FAQ and found the service_reaper_frequency entry... But I don't think that's the problem (I've set it to 4 just to be sure) A little about my setup: I'm monitoring several hundred machines, and a couple thousand serices on these machines. I'm doing this using the passive method. (piping to the nagios.cmd file) I dump the results of the other monitoring processes into nagios.cmd every 5 minutes The first couple of hours after startup, things appear to operating fine, with no more than 5 or 6 nagios child instances running at any given time, and no instance running for more than a couple of minutes. Sometime after the 2 hour mark, the child instances take long and longer to complete, if they complete at all (upwards of 20 min and higher). And these processes just start building up. I can attach to these processes using strace and they all appear to be doing things once i do that, but it's almost like the mere act of observing these child processes makes them complete (whereas if i just let them go, they would never finish), but other child processes are truly "hung/slow-as-mol". I can kill these processes fine, but I can't forever monitor these processes to make sure they don't get out of hand. Any light anyone can shed on this would be greatly appreciated: 1) why is nagios spawning these child processes (i'm passively monitoring) 2) why are they not finishing (and this behavior is only visible after a few hours of running) 3) how can i prevent this from occurring? 4) could it be that something is hanging the process and by the time it becomes unhung, the child reads a new dump from the nagios.cmd file, and thus never ends (i don't even know if that's what the child processes are doing - the strace reads: write(6, "Hostname\0\0\0\0\0\0\0\0\0\0."..., 496) = 496 Thanks in advance for your help! -Andrew -------------- 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 spentboy at gmail.com Thu Nov 23 02:13:31 2006 From: spentboy at gmail.com (SpEnT) Date: Wed, 22 Nov 2006 19:13:31 -0600 Subject: Monitoring AIX In-Reply-To: <20061122204350.B5094E5A582@mail.t-online.hu> References: <20061122204350.B5094E5A582@mail.t-online.hu> Message-ID: <48ab9e0f0611221713t4e62f6b1v237a4c1546f470bd@mail.gmail.com> The majority of the default plugins should work and compile on AIX 4.3 (all ML's but check your oslevel -r to verify becasue there were a couple of df switches that were different). I and another colleage wrote quite a few AIX plugins but not many of them were being downloaded ... I'll see if I can find the gzip file I had. They were all converted to perl and the majority were specialized only because most of the stock plugins work by default ... that being said, make sure you have the Linux tookit for AIX handy as you may need some packages ;-) I've compiled the majority of the required ones on AIX natively using gss provided by the toolkit (available on IBM's site) ... you can even create the toc files needed to use smitty to install packages from the toolkit. Let me know if you have any issues and or what they are and I can help you work on them or provide you possibly with binaries. My last compile was on AIX 5.3 but I've used plugins compiled from quite a ways back (we use a Linux machine for the actual monitoring and nrpe on the AIX machines). Lonny Selinger LPIC-1 Midrange Operations EDS Canafa Ltd. On 11/22/06, Horvath Tamas wrote: > Hello Lists! > > I will have to monitor several IBM machines. Lot of them has AIX 4.3 on > them, but there are some AIX 5.x boxes as well. > > I did not find lot of AIX plug-ins in Nagios Exchange. > > How can I compile official plugins (Nagios Plugins 1.4.5)? Is there a > similar web pagfe than sunfreeware.com for AIX? > > Any help would be appreciated. > > Thanks in advance. > > Tamas > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Thu Nov 23 07:51:40 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Thu, 23 Nov 2006 00:51:40 -0600 Subject: Monitoring AIX In-Reply-To: <20061122204350.B5094E5A582@mail.t-online.hu> References: <20061122204350.B5094E5A582@mail.t-online.hu> Message-ID: <20061123065140.GB28040@keroberos.demosthenes.org> Since AIX ships with perl now (all the 5.x series) I recommend using the perl version of send_nsca, and then making checks with shell scripts. It is much easier than trying to compile on AIX. If you've got further interest, let me know, I'll try to hunt up the ones I was using with 5.2. Russell On Wed, Nov 22, 2006 at 09:43:55PM +0100, Horvath Tamas wrote: > Hello Lists! > > I will have to monitor several IBM machines. Lot of them has AIX 4.3 on > them, but there are some AIX 5.x boxes as well. > > I did not find lot of AIX plug-ins in Nagios Exchange. > > How can I compile official plugins (Nagios Plugins 1.4.5)? Is there a > similar web pagfe than sunfreeware.com for AIX? > > Any help would be appreciated. > > Thanks in advance. > > Tamas > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ml at cardiff.fr Thu Nov 23 09:24:37 2006 From: ml at cardiff.fr (Cardiff - ML) Date: Thu, 23 Nov 2006 09:24:37 +0100 Subject: (Return code of 127 - Resolved) - NRPE timeout or config problem now In-Reply-To: References: Message-ID: >I also notice the plugin was just put there a few minutes before your last email. I didn't see it there on your original question, so that's a good start >-- that should clear the current error. >As far as nrpe timeouts go, you probably need to look at the nrpe server config (on the machine you're trying to check) and make sure that it's running >and allowing connections from your Nagios server. Ok i've found in fact reason of 1rst problems : (return code 127) quite on the go... Rights on distant server were not put so that nrpe can execute itself... In fact since i corrected i get the timeout message, and after a restart of nagios on main server, in web nagios, i do not get anymore the message Return Code 127... So for any newbs like me, that get this message, check your rights on nrpe server so that it responds to main server... Now i have another problem : In web interface, nagios tells me now : NRPE: Command 'check_local_load' not defined I get this message to be the equivalent to the manuel check message : CHECK_NRPE: Socket timeout after 10 seconds. Could anyone post here a correct nrpe server config sample that works, as an example... I am capable enough to adapt and correct a sample and make it work correctly but i admit i often need an example i adapt to my needs... Yours Tugdual de Lassat ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 23 09:55:58 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Thu, 23 Nov 2006 09:55:58 +0100 Subject: How do distributed setups work? (longish) In-Reply-To: <20061122222659.GA17454@pmorris.usa.hp.com> References: <20061122204124.GA27785@eric.schwarzvogel.de> <20061122222659.GA17454@pmorris.usa.hp.com> Message-ID: <20061123085557.GA29283@eric.schwarzvogel.de> Hi! First off, thanks for your quick reply. On Wed, 22 Nov 2006, Patrick Morris wrote: > > 1) Documentation for NSCA is - mildly put - lacking. As far > > as I can tell, send-NSCA expects data tab-separated on stdin. > > It would've been nice to actually see an example for getting > > host and service data into it. Am I supposed to do something > > like "printf $X$\t$Y$\t$Z$|send_nsca -H ..." for the OCSP > > command? > > There are examples in the default distribution that show how to > do this. Take a look in (on my platform, at least) > /usr/lib/nagios/plugins/eventhandlers/submit_nsca_result. Your > location and filename may vary. Ah, with a little bit of searching (slocate be praised) I dug it up (it's named /submit_check_result_via_nsca here). Looks like it's what I would've come up with :) > > 2) How does the information that a check should be disabled > > get from the central machine to the checkers? I've found no > > "usual" way of doing it? Would it be necessary to setup some > > distribution via SSH to the checkers? > > There are several different ways you could handle this, but > you'd need to find *some* way to get the information out to the > machines doing the checking. For my prurposes, just turning > off notifications has been enough, and that's something you can > do at the central box only if that's where your notifications > come from. Of course. Disabling checks entirely surely is a seldom occurrence. I guess it only matters if the checks break something on the checked machine - or they cause congestion for some reason. As I was planning on handling notification centrally, it's enough for me. > > 3) All machines setup to be check passively (i.e. by a > > checker) are displayed as "disabled" in the web front end. > > This is very counter-intuitive (they *are* checked, after > > all). > > Yes, that's how they look when active checks are disabled. Which in turn will confuse the hell out of my users. Is there no way around this? I thought of replacing all my check_commands on the central machine with /bin/true, but that would result in a lot of flapping, so it's no solution. I guess the only way would be to hack the CGIs. Oh well. > > 4) There would have to be some mechanism of config > > distribution. Both the central machine and the checker need > > to agree on which services there are. Otherwise, some checks > > would never be executed or the central machine would ignore > > the submitted results. > > People do this different ways, but I push the same config to > all my boxes (keeps synching easy), and have several service > templates (for example "location_a_service, > location_b_service,i" etc.) defined on each box. At location > A, a "location_a_service" is defined as active. At location b, > it's defined as disabled. At the central box, it's defined as > passive. > > This allows me to keep per-box-configuration differences > minimal, and still allows configs to be kept in sync with > minimal effort (in my case, I rsync the whole damn thing over > to every machine, except the one small per-server config file). I was thinking along similar lines, but having a "template config" which gets filtered into the different configs for checkers and central machine. How I'd exactly solve that I don't know yet. But your approach sounds like an interesting alternative. Thanks again, Tobias -- Never touch a burning 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 andy.shellam-lists at mailnetwork.co.uk Thu Nov 23 09:58:26 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Thu, 23 Nov 2006 08:58:26 +0000 Subject: (Return code of 127 - Resolved) - NRPE timeout or config problem now In-Reply-To: References: Message-ID: <456562B2.1000802@mailnetwork.co.uk> The nrpe.cfg has some standard commands you can use, but are commented out - remove the # to use them. Here's an example of my check_load command (on an NRPE client server, testing the server load): command[check_load]=/usr/local/nagios/libexec/check_load -w 5,4,3 -c 10,8,6 Then on the Nagios server, command "check_nrpe -H $HOSTADDRESS$ -c $ARG1$", and for the service - "check_nrpe!check_load" Andy. Cardiff - ML wrote: >> I also notice the plugin was just put there a few minutes before your last >> > email. I didn't see it there on your original question, so that's a good > start >-- that should clear the current error. > >> As far as nrpe timeouts go, you probably need to look at the nrpe server >> > config (on the machine you're trying to check) and make sure that it's > running > >> and allowing connections from your Nagios server. >> > > Ok i've found in fact reason of 1rst problems : (return code 127) quite on > the go... > Rights on distant server were not put so that nrpe can execute itself... > In fact since i corrected i get the timeout message, and after a restart of > nagios on main server, in web nagios, i do not get anymore the message > Return Code 127... So for any newbs like me, that get this message, check > your rights on nrpe server so that it responds to main server... > > Now i have another problem : > In web interface, nagios tells me now : NRPE: Command 'check_local_load' not > defined > I get this message to be the equivalent to the manuel check message : > CHECK_NRPE: Socket timeout after 10 seconds. > > Could anyone post here a correct nrpe server config sample that works, as an > example... > I am capable enough to adapt and correct a sample and make it work correctly > but i admit i often need an example i adapt to my needs... > > Yours > > > Tugdual de Lassat > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,45655ae940411145013844! > > > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Thu Nov 23 11:20:29 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 23 Nov 2006 10:20:29 +0000 Subject: Characters in Object Definitions? Message-ID: <456575ED.8060805@googlemail.com> Hi all, I'm trying to use brackets in service description eg service_description FTP (Public) but this doesn't work. I have noticed that square brackets do works. Is there a list somewhere that tells me what I can and can't use in the object definitions? I've searched the FAQs without luck. I can make do with square brackets but I'd really love to know what I can and can't get away with in the definitions I have tried escaping the brackets with slashes and also putting single quotes thus: 'FTP (Public)' but I still get an error complaining about illegal characters. Thanks Hari -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Thu Nov 23 11:31:18 2006 From: gmueller at netways.de (Gerd Mueller) Date: Thu, 23 Nov 2006 11:31:18 +0100 Subject: Characters in Object Definitions? In-Reply-To: <456575ED.8060805@googlemail.com> References: <456575ED.8060805@googlemail.com> Message-ID: <1164277878.10366.11.camel@localhost.localdomain> Hi, you will find them inside nagios.cfg: # ILLEGAL OBJECT NAME CHARACTERS # This option allows you to specify illegal characters that cannot # be used in host names, service descriptions, or names of other # object types. illegal_object_name_chars=`~!$%^&*|'"<>?,()= Cheers, Gerd nagios-users at lists.sourceforge.net Am Donnerstag, den 23.11.2006, 10:20 +0000 schrieb Hari Sekhon: > Hi all, > > I'm trying to use brackets in service description eg > > service_description FTP (Public) > > but this doesn't work. I have noticed that square brackets do works. > > Is there a list somewhere that tells me what I can and can't use in the > object definitions? > I've searched the FAQs without luck. I can make do with square brackets > but I'd really love to know what I can and can't get away with in the > definitions > > I have tried escaping the brackets with slashes and also putting single > quotes thus: 'FTP (Public)' but I still get an error complaining about > illegal characters. > > Thanks > > > 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 hpsekhon at googlemail.com Thu Nov 23 11:52:12 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 23 Nov 2006 10:52:12 +0000 Subject: CGI Interface Dropping Services Message-ID: <45657D5C.8010408@googlemail.com> I have split this off from my recent thread regarding illegal characters. I am having problems with the Nagios cgi interface dropping services, It Shows 97 services one second then I refresh and it shows 85. I don't understand why this is. I have removed all brackets of any kind so there is no opportunity for illegal chars. I have restarted nagios and apache and deleted the status.log and status.sav files. Has anybody seen this before? (Incidentally I find I am having much more problems with Nagios 2.5 than I did with Nagios 1.4.1.... let's just hope that's in my head...) -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Thu Nov 23 11:56:06 2006 From: gmueller at netways.de (Gerd Mueller) Date: Thu, 23 Nov 2006 11:56:06 +0100 Subject: CGI Interface Dropping Services In-Reply-To: <45657D5C.8010408@googlemail.com> References: <45657D5C.8010408@googlemail.com> Message-ID: <1164279366.10366.13.camel@localhost.localdomain> I would guess there at least are 2 independent nagios processes running. Stop every nagios process and restart nagios afterwards. Cheers, Gerd Am Donnerstag, den 23.11.2006, 10:52 +0000 schrieb Hari Sekhon: > I have split this off from my recent thread regarding illegal characters. > > I am having problems with the Nagios cgi interface dropping services, It > Shows 97 services one second then I refresh and it shows 85. > I don't understand why this is. I have removed all brackets of any kind > so there is no opportunity for illegal chars. I have restarted nagios > and apache and deleted the status.log and status.sav files. > > Has anybody seen this before? > > (Incidentally I find I am having much more problems with Nagios 2.5 than > I did with Nagios 1.4.1.... let's just hope that's in my head...) > > -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 hpsekhon at googlemail.com Thu Nov 23 12:00:32 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 23 Nov 2006 11:00:32 +0000 Subject: CGI Interface Dropping Services In-Reply-To: <1164279366.10366.13.camel@localhost.localdomain> References: <45657D5C.8010408@googlemail.com> <1164279366.10366.13.camel@localhost.localdomain> Message-ID: <45657F50.9060003@googlemail.com> of course you are correct, I should have thought of this. I've noticed last night that when restarting nagios it doesn't manage to kill the process so instead I end up with extra procs, this is a real problem and if I can't figure out why it is then I will have to make a habbit of kill -9ing the damn thing or make the init script do that. Do you have any idea why the process would not go down. Is this a nagios problem not doing the right thing when receiving a kill signal? -h Hari Sekhon Gerd Mueller wrote: > I would guess there at least are 2 independent nagios processes running. > Stop every nagios process and restart nagios afterwards. > > Cheers, > > Gerd > > Am Donnerstag, den 23.11.2006, 10:52 +0000 schrieb Hari Sekhon: > >> I have split this off from my recent thread regarding illegal characters. >> >> I am having problems with the Nagios cgi interface dropping services, It >> Shows 97 services one second then I refresh and it shows 85. >> I don't understand why this is. I have removed all brackets of any kind >> so there is no opportunity for illegal chars. I have restarted nagios >> and apache and deleted the status.log and status.sav files. >> >> Has anybody seen this before? >> >> (Incidentally I find I am having much more problems with Nagios 2.5 than >> I did with Nagios 1.4.1.... let's just hope that's in my head...) >> >> -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 > > -------------- 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 santhosha at rsi.ramco.com Thu Nov 23 12:20:45 2006 From: santhosha at rsi.ramco.com (Santhosh Kumar A (RRT).) Date: Thu, 23 Nov 2006 16:50:45 +0530 Subject: CGI Interface Dropping Services Message-ID: I have noticed this usually happens when do a 'service nagios restart' Now a days I do only stop and start Santhosh ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Thursday, November 23, 2006 4:31 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CGI Interface Dropping Services of course you are correct, I should have thought of this. I've noticed last night that when restarting nagios it doesn't manage to kill the process so instead I end up with extra procs, this is a real problem and if I can't figure out why it is then I will have to make a habbit of kill -9ing the damn thing or make the init script do that. Do you have any idea why the process would not go down. Is this a nagios problem not doing the right thing when receiving a kill signal? -h Hari Sekhon Gerd Mueller wrote: I would guess there at least are 2 independent nagios processes running. Stop every nagios process and restart nagios afterwards. Cheers, Gerd Am Donnerstag, den 23.11.2006, 10:52 +0000 schrieb Hari Sekhon: I have split this off from my recent thread regarding illegal characters. I am having problems with the Nagios cgi interface dropping services, It Shows 97 services one second then I refresh and it shows 85. I don't understand why this is. I have removed all brackets of any kind so there is no opportunity for illegal chars. I have restarted nagios and apache and deleted the status.log and status.sav files. Has anybody seen this before? (Incidentally I find I am having much more problems with Nagios 2.5 than I did with Nagios 1.4.1.... let's just hope that's in my head...) -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=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 DISCLAIMER: Information transmitted by this e-mail may be proprietary to Ramco Systems Ltd., and / or the authors of the information and is intended for use only by the individual or entity to which it is addressed, and may contain confidential or legally privileged information. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are not authorised to access, read, disclose, copy, use or otherwise deal with it and any such actions are prohibited and may be unlawful. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, arrive late or contain viruses. Ramco Systems Limited therefore does not accept liability for any errors, omissions, viruses or computer problems experienced as a result of this transmission. If you have received this e-mail in error, please notify us immediately at mail to: mailadmin at rsi.ramco.com and delete this mail from your records. Notice is hereby given that no representation, contract or other binding obligation shall be created by this e-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 gmueller at netways.de Thu Nov 23 12:18:59 2006 From: gmueller at netways.de (Gerd Mueller) Date: Thu, 23 Nov 2006 12:18:59 +0100 Subject: CGI Interface Dropping Services In-Reply-To: <45657F50.9060003@googlemail.com> References: <45657D5C.8010408@googlemail.com> <1164279366.10366.13.camel@localhost.localdomain> <45657F50.9060003@googlemail.com> Message-ID: <1164280739.10366.18.camel@localhost.localdomain> Am Donnerstag, den 23.11.2006, 11:00 +0000 schrieb Hari Sekhon: > of course you are correct, I should have thought of this. *smile* > I've noticed last night that when restarting nagios it doesn't manage > to kill the process so instead I end up with extra procs, this is a > real problem and if I can't figure out why it is then I will have to > make a habbit of kill -9ing the damn thing or make the init script do > that. > > Do you have any idea why the process would not go down. Is this a > nagios problem not doing the right thing when receiving a kill signal? Are you using version 2.5? The included init script should solve this problem. But sometimes nagios needs a lot of time to stop running. I am not sure but think that it's caused by slow plugins which have to stop first. My advices are 1. use the init script which comes with nagios 2. Do not send a signal manuell nor use restart. Use stop, ps (to check for nagios processes) and start nagios again. Cheers, Gerd ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ck at nmmn.com Thu Nov 23 12:31:08 2006 From: ck at nmmn.com (Christoph =?utf-8?q?Kl=C3=BCnter?=) Date: Thu, 23 Nov 2006 12:31:08 +0100 Subject: Help with SonicWall 1260 In-Reply-To: <45649FCC.3040309@easymail.net.uy> References: <45645F4D.3090201@easymail.net.uy> <200611220903.10984.bob.debolt@starblanket.ca> <45649FCC.3040309@easymail.net.uy> Message-ID: <200611231231.09098.ck@nmmn.com> On Wednesday 22 November 2006 20:06, Francisco Vila wrote: > I want to monitoring traffic interface Try using SNMP. Regards, Christoph > > Bob DeBolt escribi?: > > On Wednesday 22 November 2006 7:31 am, Francisco Vila wrote: > >> Someone has experience configuring Nagios to monitor WAN and OPT > >> interface of a Sonicwall 1260 ??? > > > > Exactly what type of information are you attempting to aquire from the > > Sonicwall interface? > > > > Bob > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share > > your opinions on IT & business topics through brief surveys - and earn > > cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > > > __________ Informaci?n de NOD32, revisi?n 1877 (20061122) __________ > > > > Este mensaje ha sido analizado con NOD32 antivirus system > > http://www.nod32.com -- NMMN - New Media Markets & Networks GmbH http://www.nmmn.com ? ? ? ? ? ? ? Tel.: +49 40 284 118 -0 Langbehnstrasse 6 ? ? ? ? ? ? ? ? Technische Hotline ? -700 22761 Hamburg ? ? ? ? ? ? ? ? ? ? Fax: ? ? ? ? ? ? ? ? -999 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 23 13:40:17 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 23 Nov 2006 13:40:17 +0100 (CET) Subject: CGI Interface Dropping Services In-Reply-To: <1164280739.10366.18.camel@localhost.localdomain> References: <45657D5C.8010408@googlemail.com> <1164279366.10366.13.camel@localhost.localdomain> <45657F50.9060003@googlemail.com> <1164280739.10366.18.camel@localhost.localdomain> Message-ID: On Thu, 23 Nov 2006, Gerd Mueller wrote: > 1. use the init script which comes with nagios > 2. Do not send a signal manuell nor use restart. Use stop, ps (to check > for nagios processes) and start nagios again. Perhaps the restart option should sleep a while between stop and start. But for most the reload option will do nicely. At least that is what I use to activate changes. Hugo. -- hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ This message is using 100% recycled electrons. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From satish_lsurf at yahoo.com Thu Nov 23 15:08:56 2006 From: satish_lsurf at yahoo.com (satish kumar) Date: Thu, 23 Nov 2006 06:08:56 -0800 (PST) Subject: Nagios Plugin installation Message-ID: <247070.60523.qm@web53505.mail.yahoo.com> Hi All, I have a problem during the the nagios plugin (1.4.5) installation on a RHEL AS 2. After ./configure, and giving the make command it is giving me the below error and the installation stops abruptly. Can someone have a look at it and let me know what changes i have to do. if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/include -g -O2 -MT check_ntp.o -MD -MP -MF ".deps/check_ntp.Tpo" -c -o check_ntp.o check_ntp.c; \ then mv -f ".deps/check_ntp.Tpo" ".deps/check_ntp.Po"; else rm -f ".deps/check_ntp.Tpo"; exit 1; fi check_ntp.c: In function `setup_request': check_ntp.c:295: invalid operands to binary & check_ntp.c:295: invalid operands to binary & check_ntp.c:295: invalid operands to binary & check_ntp.c:295: invalid operands to binary & make[2]: *** [check_ntp.o] Error 1 make[2]: Leaving directory `/root/nagios/nagios-plugins-1.4.5/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/nagios/nagios-plugins-1.4.5' make: *** [all] Error 2 Thanks in advance Satish gogi --------------------------------- Access over 1 million songs - Yahoo! Music Unlimited. -------------- 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 sysit.chenxj at alibaba-inc.com Thu Nov 23 15:30:13 2006 From: sysit.chenxj at alibaba-inc.com (SYSIT) Date: Thu, 23 Nov 2006 22:30:13 +0800 Subject: =?gb2312?B?tPC4tDogTmFnaW9zLXVzZXJzIERpZ2VzdCwgVm9sIDYsIElzc3VlIDMy?= In-Reply-To: References: Message-ID: <50e4tk$2hi5ed@smtp2.alibaba-inc.com> Dear all: I want to got a patch for nagios, so that nagios can open a udp port to receive passive check result, and when nagios receive the message, she can deal with it immediately ,not send it to command pipe. Someone can help me ? -------------- 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 hpsekhon at googlemail.com Thu Nov 23 15:45:22 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 23 Nov 2006 14:45:22 +0000 Subject: CGI Interface Dropping Services In-Reply-To: References: <45657D5C.8010408@googlemail.com> <1164279366.10366.13.camel@localhost.localdomain> <45657F50.9060003@googlemail.com> <1164280739.10366.18.camel@localhost.localdomain> Message-ID: <4565B402.7040805@googlemail.com> ok thanks I'll try using reload in future, it may be more smooth than a restart without the interval to regain sanity.... -h Hari Sekhon Hugo van der Kooij wrote: > On Thu, 23 Nov 2006, Gerd Mueller wrote: > > >> 1. use the init script which comes with nagios >> 2. Do not send a signal manuell nor use restart. Use stop, ps (to check >> for nagios processes) and start nagios again. >> > > Perhaps the restart option should sleep a while between stop and start. > > But for most the reload option will do nicely. At least that is what I use > to activate changes. > > Hugo. > > -------------- 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 fbmondia at gmail.com Thu Nov 23 20:08:30 2006 From: fbmondia at gmail.com (Francis Lee Mondia) Date: Fri, 24 Nov 2006 03:08:30 +0800 Subject: Nagios not reporting down hosts but reporting down service Message-ID: Hi all, I have a problem. Nagios does not seem to report that the host is down even though the check ping service is down. I've looked at the check host command and it's using the check ping utility to check if a host is up or down. Unfortunately, whenever a host is down, it's not reported but the check ping is reported. I think this is already an old issue and someone has already an answer for this. Please help. Nagios version: 2.5 OS: CentOS 4.3 -------------- 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 kilala.nl Thu Nov 23 20:49:36 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 23 Nov 2006 20:49:36 +0100 Subject: [Nagiosplug-help] check_http problems In-Reply-To: References: Message-ID: On 23 Nov, 2006, at 11:24, saraj.a.mohammed at servicebirmingham.co.uk wrote: > id have to admit straight away that im not proficcient with nagios, > but im learning.... > with that said do i need to add a seperate command in the > checkcommands.cfg ? > or update the existing config line? It'd be a good idea to create a separate command definition for this specific website that contains the full command that you want to run. This, because it contains a lot of info that is specific to this one check. Just give it an appropriate name and simply call that name in the service check defintion. No need to pass it any arguments after that. So your command def would reference to the full command. And your service check would simply call that command def by its name. Nothing more. 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 Thu Nov 23 20:51:54 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 23 Nov 2006 20:51:54 +0100 Subject: Nagios Plugin installation In-Reply-To: <247070.60523.qm@web53505.mail.yahoo.com> References: <247070.60523.qm@web53505.mail.yahoo.com> Message-ID: On 23 Nov, 2006, at 15:08, satish kumar wrote: > I have a problem during the the nagios plugin (1.4.5) installation > on a RHEL AS 2. > After ./configure, and giving the make command it is giving me the > below error and the installation stops abruptly. Can someone have a > look at it and let me know what changes i have to do. Looks like the source you're using might be borked. Try downloading them freshly and restarting. 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 hpsekhon at googlemail.com Thu Nov 23 21:00:09 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 23 Nov 2006 20:00:09 +0000 Subject: Remote Checks Message-ID: <4565FDC9.9060203@googlemail.com> I know this is a tired subject but I'm now needing to expand beyond my nagios server and have have check run locally on machines in my infrastructure to make them tell me things like how much disk space is left etc... I've looked at nsca but it appears to me that this requires a nagios instance to run on every machine. Please correct me if this is not the case. I guess you could wrap the plugin in another script which is then cronned to do the check and then send the results via nsca to the nagios server? Nrpe take the more active approach but this seems weak from a security point of view to simply test the sender's ip address. Ip spoofing has been around for a while as I'm sure everybody here knows... Then there's net-snmp. I've had a brief look but this is a little strange and I find it to be a bit complicated considering I'm not used to using snmp. Also, when I tried it out against stuff I know has snmp like printers, I couldn't get any info out of them unless I dropped to v1 even though after reading the docs I would think everything modern would use the more secure v3.... Could I get some advice/opinions about what I should do since I want to do this soon. Thanks Hari -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 23 21:09:19 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 23 Nov 2006 21:09:19 +0100 Subject: Remote Checks In-Reply-To: <4565FDC9.9060203@googlemail.com> References: <4565FDC9.9060203@googlemail.com> Message-ID: <63442A9C-7159-4475-B00B-A6DEC5C269B4@kilala.nl> On 23 Nov, 2006, at 21:00, Hari Sekhon wrote: > I've looked at nsca but it appears to me that this requires a nagios > instance to run on every machine. Please correct me if this is not the > case. This is not the case :) You could indeed, as you suggest, create a simple shell script that is run from cron to schedule the service checks. It ain't nothing special. SNMP is very versatile, but it's also very cumbersome to use. It takes a lot of investigation to figure out all the proper OIDs, unless you decide to tie normal Nagios plugins to custom OIDs (which is possible and easy). To read more about the use of plugins and custom OIDs, read http://www.kilala.nl/Sysadmin/retrieve_custom_snmp.php If you do not trust NRPE for active checks, you could also run the checks through SSH. Me, I like to use as much passive checks as I can cause it puts most of the scheduling work with the clients, thus freeing up the server(s). 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 patrick.morris at hp.com Thu Nov 23 21:09:53 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 23 Nov 2006 15:09:53 -0500 Subject: Remote Checks In-Reply-To: <4565FDC9.9060203@googlemail.com> References: <4565FDC9.9060203@googlemail.com> Message-ID: > I've looked at nsca but it appears to me that this requires a > nagios instance to run on every machine. Please correct me if > this is not the case. Let me be the first to correct you -- this is not the case. All you need on the individual machines is the check plugins or scripts you want to run. > Nrpe take the more active approach but this seems weak from a > security point of view to simply test the sender's ip > address. Ip spoofing has been around for a while as I'm sure > everybody here knows... That's why you configure it to only run certain plugins. As long as those can't do any real damage, it's pretty safe. > Then there's net-snmp. I've had a brief look but this is a > little strange and I find it to be a bit complicated > considering I'm not used to using snmp. Also, when I tried it > out against stuff I know has snmp like printers, I couldn't > get any info out of them unless I dropped to > v1 even though after reading the docs I would think > everything modern would use the more secure v3.... It depends on the hardware. There's a lot out there that doesn't support v2, much less v3. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 23 21:17:56 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Thu, 23 Nov 2006 21:17:56 +0100 Subject: Remote Checks In-Reply-To: References: Message-ID: On 23 Nov, 2006, at 21:09, Morris, Patrick wrote: >> I've looked at nsca but it appears to me that this requires a >> nagios instance to run on every machine. Please correct me if >> this is not the case. > > Let me be the first to correct you Haha! First post :p o/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Fri Nov 24 10:53:27 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Fri, 24 Nov 2006 10:53:27 +0100 Subject: Nagios not reporting down hosts but reporting down service In-Reply-To: References: Message-ID: <4566C117.1070309@vum.at> Francis Lee Mondia schrieb: > I have a problem. Nagios does not seem to report that the host is down > even though the check ping service is down. I've looked at the check > host command and it's using the check ping utility to check if a host is > up or down. hmh, are you shure, that your config is ok? May be you should check your templates (if you use them)? define host { ... check_command check-host-alive What does your checkcommands.cfg say regarding "check-host-alive"? And may be you have double entries in one of the files, grep -r for them. hth Ingo. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Fri Nov 24 11:22:38 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Fri, 24 Nov 2006 11:22:38 +0100 Subject: UNREACHABLE Hosts get not checked again Message-ID: <4566C7EE.7000009@vum.at> Hello, did someone experience this: One of the parent-hosts went down. Consequently and by definition his children got into state UNREACHABLE. After 30 Min. the parent was on line again. But some of its children stay UNREACHABLE, until I schedule a check manually, on each of them. The Nagiosserver (the whole OS) got rebooted several times in between. I found a directive "checks_enabled 1" in my hosts definition. This one is NOT documented in the official Nagios Doku - but the preflight check never complained. Is this a valid directive? (active_checks enabled is also set to 1) Nagios 2.5 on Ubuntu Server 5.06 The check-host-alive command is check_ping -H $HOSTADDRESS$ -w 5000,100% -c 5000,100% -p 1 Does someone have an idea? TIA Ingo. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.altpeter at gmail.com Fri Nov 24 11:32:16 2006 From: frank.altpeter at gmail.com (Frank Altpeter) Date: Fri, 24 Nov 2006 11:32:16 +0100 Subject: Design recommendation In-Reply-To: References: Message-ID: Hi list, I'm running nagios for quite some years now, everywhere i worked the last years i implemented this software as part of the monitoring infrastructure. Usually, everything works fine and there's nothing to complain about. Actually, i'm running into a problem in finding out how to configure nagios to fit my current needs. Currently there are about 80 hosts configured, with a total of about 500 service checks. Most checks are shared across the hosts by grouping them into hostgroups (example: CHECK_ICMP with hostgroup_name all_servers which contains "*" as member). The problem now is, that i need to have _some_ of these servers to use other contact_group settings because there are customers that want to receive notifications about their hosts and services. Now, i checked the documentation where i found the following: "Each host may belong to one or more host groups. Each host group has a option that specifies what contact groups receive notifications for hosts in that particular host group. " (taken from http://nagios.sourceforge.net/docs/2_0/notifications.html) So, i thought it would the best to add a contact_groups setting to the respective host_group object that wants to get notifications. But, unfortunately, it's raising the following error: Error: Invalid hostgroup object directive 'contact_groups'. Error: Could not add object property in file '/usr/local/etc/nagios/cfg/hostgroups.cfg' on line 25. So, is there an error in the documentation or did i miss something? Does anyone know other ways to accomplish my design problem? In fact, i'm using most service checks as shared into hostgroups (e.g. CHECK_SMTP is based on a "hostgroup_name smtpserver" option, and every smtp server gets added to this group to automagically get it checked), wich makes it hard to send out notifications for one particular host in this group - and its services, without adding the same service definition one more time for this host only, with different contact_groups setting... The problem can be solved easily for the host itself, since the host definition allows the contact_groups setting, but that is AFAIK only valid for the host and does not get inherited from depending service definitions (which would be a great invention IMHO). -- Le deagh dh?raghd, Frank Altpeter Two of the most famous products of Berkeley are LSD and Unix. I don't think that this is a coincidence. -- Anonymous ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lists at vum.at Fri Nov 24 11:42:33 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Fri, 24 Nov 2006 11:42:33 +0100 Subject: Design recommendation In-Reply-To: References: Message-ID: <4566CC99.1080902@vum.at> Frank Altpeter schrieb: > The problem now is, that i need to have _some_ of these servers to use > other contact_group settings because there are customers that want to > receive notifications about their hosts and services. > Now, i checked the documentation where i found the following: > > "Each host may belong to one or more host groups. Each host group has > a option that specifies what contact groups receive > notifications for hosts in that particular host group. " (taken from > http://nagios.sourceforge.net/docs/2_0/notifications.html) Well the next sentence says: "When Nagios sends out a host notification, it will notify contacts that are members of all the contact groups that that should be notified for any and all host groups that the host is a member of." I guess the point is _host_ in "sends out a host notification". So what you can do is ... > ... adding the same service > definition one more time for this host only, with different > contact_groups setting... I am afraid, this is what you have to do. At least I did not find a better solution for this yet. (But I would be very interested in hearing about it!). > The problem can be solved easily for the host itself, since the host > definition allows the contact_groups setting, but that is AFAIK only > valid for the host and does not get inherited from depending service > definitions (which would be a great invention IMHO). I agree! hth, Ingo. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mara.laureti at gmail.com Fri Nov 24 12:11:16 2006 From: mara.laureti at gmail.com (Mara Laureti) Date: Fri, 24 Nov 2006 12:11:16 +0100 Subject: Fwd: check_find_new_host plugin In-Reply-To: References: <20061124095757.AAF064F4046@desire.netways.de> Message-ID: ---------- Forwarded message ---------- From: Mara Laureti Date: Nov 24, 2006 11:53 AM Subject: Fwd: check_find_new_host plugin To: maralaureti at users.sourceforge.net ---------- Forwarded message ---------- From: Mara Laureti Date: Nov 24, 2006 10:57 AM Subject: check_find_new_host plugin To: nagios-users at lists.sourceforge.net, mara.laureti at gmail.com Hi list I installed check_find_new_host and I tested it with command-line: # ./check_find_new_hosts -v /usr/local/nagios/etc 192.168.1.1 24 admins There is this output: Usage: Socket::inet_ntoa(ip_address_sv) at ./check_find_new_hosts line 301. Can you help me to resolve this problem? - Mara Laureti (Violetta) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html -------------- 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 mara.laureti at gmail.com Fri Nov 24 12:10:53 2006 From: mara.laureti at gmail.com (Mara Laureti) Date: Fri, 24 Nov 2006 12:10:53 +0100 Subject: Fwd: Discovery In-Reply-To: References: <20061124092606.60CB24F4046@desire.netways.de> Message-ID: ---------- Forwarded message ---------- From: Mara Laureti Date: Nov 24, 2006 11:53 AM Subject: Fwd: Discovery To: maralaureti at users.sourceforge.net ---------- Forwarded message ---------- From: Mara Laureti Date: Nov 24, 2006 10:26 AM Subject: Discovery To: nagios-users at lists.sourceforge.net, mara.laureti at gmail.com Hi list I have a big network to manage and it isn't possible an hand configuration. Is there a plig-in for auto-discovery? Nagios-version nagios2.5 Plugin-version nagios-plugin-1.4.5 - Mara Laureti (Violetta) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html -------------- 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 Vignesh.Kumar at in.flextronics.com Fri Nov 24 12:44:21 2006 From: Vignesh.Kumar at in.flextronics.com (Vignesh Kumar) Date: Fri, 24 Nov 2006 19:44:21 +0800 Subject: Asynchronous socket error 10053 Message-ID: Hi All, I have installed NSclient tool and NRPE in windows 2000 server. Today I am getting some alerts in my event viewer. Following are the events. (1) The description for Event ID (1) in Source (pNSClient.exe) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: Asynchronous socket error 10053. (2) NRPE_NT: Error: Could not complete SSL handshake. 0:5. Please guide me to solve the problem. Thanks & Regards, P.Vignesh Kumar Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message -------------- 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 fvila at easymail.net.uy Fri Nov 24 12:49:35 2006 From: fvila at easymail.net.uy (Francisco Vila) Date: Fri, 24 Nov 2006 09:49:35 -0200 Subject: Help with SonicWall 1260 In-Reply-To: <200611231231.09098.ck@nmmn.com> References: <45645F4D.3090201@easymail.net.uy> <200611220903.10984.bob.debolt@starblanket.ca> <45649FCC.3040309@easymail.net.uy> <200611231231.09098.ck@nmmn.com> Message-ID: <4566DC4F.40103@easymail.net.uy> What tests runs Nagios to determinate if a device is down or up ? Because if i ping my sonicwall from nagios server i've responses. Christoph Kl?nter escribi?: > On Wednesday 22 November 2006 20:06, Francisco Vila wrote: > >> I want to monitoring traffic interface >> > Try using SNMP. > > Regards, > Christoph > >> Bob DeBolt escribi?: >> >>> On Wednesday 22 November 2006 7:31 am, Francisco Vila wrote: >>> >>>> Someone has experience configuring Nagios to monitor WAN and OPT >>>> interface of a Sonicwall 1260 ??? >>>> >>> Exactly what type of information are you attempting to aquire from the >>> Sonicwall interface? >>> >>> Bob >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share >>> your opinions on IT & business topics through brief surveys - and earn >>> cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> ::: reporting any issue. Messages without supporting info will risk being >>> ::: sent to /dev/null >>> >>> __________ Informaci?n de NOD32, revisi?n 1877 (20061122) __________ >>> >>> Este mensaje ha sido analizado con NOD32 antivirus system >>> http://www.nod32.com >>> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: moz-screenshot-1.jpg Type: image/jpeg Size: 10343 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 ingo.lists at vum.at Fri Nov 24 12:53:20 2006 From: ingo.lists at vum.at (Ingo Lantschner) Date: Fri, 24 Nov 2006 12:53:20 +0100 Subject: UNREACHABLE Hosts get not checked again In-Reply-To: <4566C7EE.7000009@vum.at> References: <4566C7EE.7000009@vum.at> Message-ID: <4566DD30.6010906@vum.at> Ingo Lantschner schrieb: > After 30 Min. the parent was on line again. But some of its children > stay UNREACHABLE, until I schedule a check manually, on each of them. > ... > Does someone have an idea? One thought: Is it possible, if active host checks are disabled AND all of the service checks on a host were already in a hard state of CRITICAL or UNKNOWN, when the parent went down, that this host never gets checked again for being alive? The system I experienced the above described behavior is a test system, checking lots of hosts, by SNMP which do have SNMP-Agents running yet. Ingo. > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 frank.altpeter at gmail.com Fri Nov 24 13:00:05 2006 From: frank.altpeter at gmail.com (Frank Altpeter) Date: Fri, 24 Nov 2006 13:00:05 +0100 Subject: Design recommendation In-Reply-To: <4566CC99.1080902@vum.at> References: <4566CC99.1080902@vum.at> Message-ID: Hi again, 2006/11/24, Ingo Lantschner : > Frank Altpeter schrieb: > > > The problem now is, that i need to have _some_ of these servers to use > > other contact_group settings because there are customers that want to > > receive notifications about their hosts and services. > > Now, i checked the documentation where i found the following: > > > > "Each host may belong to one or more host groups. Each host group has > > a option that specifies what contact groups receive > > notifications for hosts in that particular host group. " (taken from > > http://nagios.sourceforge.net/docs/2_0/notifications.html) > Well the next sentence says: "When Nagios sends out a host notification, > it will notify contacts that are members of all the contact groups that > that should be notified for any and all host groups that the host is a > member of." > > I guess the point is _host_ in "sends out a host notification". So what > you can do is ... Well, but my point in writing this one was the part "Each host group has a contact_groups option" which doesn't seem to match the current nagios functionality, because the synax check complains if i add a contact_groups option to a hostgroup definition. So these both sentences don't make sense for me. > > ... adding the same service > > definition one more time for this host only, with different > > contact_groups setting... > I am afraid, this is what you have to do. At least I did not find a > better solution for this yet. (But I would be very interested in hearing > about it!). Me too... because if i really have to split up each service, it would take me quite some days to restructure the whole nagios configuration for that. And it would make it nearly impossible to manage them in the future, even though i could use the template feature (services with "register 0") for easier management (which still would require one check for each hostgroup that needs different contact_groups settings, which would currently blow up the total of service definitions up to 5 times of the current amount). > > The problem can be solved easily for the host itself, since the host > > definition allows the contact_groups setting, but that is AFAIK only > > valid for the host and does not get inherited from depending service > > definitions (which would be a great invention IMHO). > I agree! Thanks anyway for you input, and i hope there will be some more opinions on that topic... -- Le deagh dh?raghd, Frank Altpeter Two of the most famous products of Berkeley are LSD and Unix. I don't think that this is a coincidence. -- Anonymous ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vajc at altectelecoms.gr Fri Nov 24 12:30:51 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Fri, 24 Nov 2006 13:30:51 +0200 Subject: Service Detail - PING. Message-ID: <9DB9DF2949D8774796CB054FBEC1569903986896@Tyran.int.acn.gr> Hi, When I check the Service Detail from the web browser, it shows that: -------------------------- Hosts: LocalHost Service: PING Status: Warning Last Check: 11/24/2006 13:13:47 Duration 2d 23h 0m 2s Attempt 4/1 Status Information (No output!) -------------------------- Now, given that the service is the following one: -------------------------- define service{ use generic-service host_name localhost service_description PING notifications_enabled 1 is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 notification_options w,u,c,r notification_interval 1 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% -------------------------- And given the fact that I can run that command from my localhost: -------------------------- bash-2.05# ../libexec/check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60% -4 PING OK - Packet loss = 0%, RTA = 0.00 ms -------------------------- Why do I have those output *permanentely* from the web broswer: -------------------------- Status: Warning Status Information: (No output!) -------------------------- Any comments/suggestions would be welcome! Thank you, Christophe Disclaimer The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. 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. -------------- 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 andy.shellam-lists at mailnetwork.co.uk Fri Nov 24 13:38:59 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 24 Nov 2006 12:38:59 +0000 Subject: Fwd: check_find_new_host plugin In-Reply-To: References: <20061124095757.AAF064F4046@desire.netways.de> Message-ID: <4566E7E3.3000101@mailnetwork.co.uk> > # ./check_find_new_hosts -v /usr/local/nagios/etc 192.168.1.1 24 admins > Usage: Socket::inet_ntoa(ip_address_sv) at ./check_find_new_hosts line 301. Are you checking the 192.168.1.0/24 subnet for new hosts (i.e. 192.168.1.1 - 192.168.1.254)? What does "./check_find_new_hosts --help" show for it's required parameters? Should the IP range be specified as 192.168.1.0/24 (as 192.168.1.1 is actually 192.168.1.1/32, which is a single host?) I.e. try: ./check_find_new_hosts -v /usr/local/nagios/etc 192.168.1.0/24 admins What does the 'admins'stand for? Andy. Mara Laureti wrote: > > > ---------- Forwarded message ---------- > From: *Mara Laureti* > > Date: Nov 24, 2006 11:53 AM > Subject: Fwd: check_find_new_host plugin > To: maralaureti at users.sourceforge.net > > > > > ---------- Forwarded message ---------- > From: *Mara Laureti* < mara.laureti at gmail.com > > > Date: Nov 24, 2006 10:57 AM > Subject: check_find_new_host plugin > To: nagios-users at lists.sourceforge.net > , mara.laureti at gmail.com > > > Hi list > > I installed check_find_new_host and I tested it with command-line: > > # ./check_find_new_hosts -v /usr/local/nagios/etc 192.168.1.1 > 24 admins > > There is this output: > > Usage: Socket::inet_ntoa(ip_address_sv) at ./check_find_new_hosts line > 301. > > Can you help me to resolve this problem? > > - Mara Laureti (Violetta) > > ----------------------- > The mailing list archive is found here: > http://www.nagiosexchange.org/nagios-users.34.0.html > > !DSPAM:37,4566d3ca40419327341174! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,4566d3ca40419327341174! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,4566d3ca40419327341174! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Nov 24 17:31:22 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Fri, 24 Nov 2006 16:31:22 +0000 Subject: Fwd: check_find_new_host plugin In-Reply-To: References: <20061124095757.AAF064F4046@desire.netways.de> <4566E7E3.3000101@mailnetwork.co.uk> Message-ID: <45671E5A.7070208@mailnetwork.co.uk> http://www.meulie.net/portal_plugins/forum/forum_viewtopic.php?6499 Looks like other people are experiencing the same problem. I'm guessing it's some form of Perl module missing (I tried it on one of my FC5 machines and I get "Can't locate utils.pm in @INC"!) Back to the drawing board for the developer methinks.... ;) Andy. Mara Laureti wrote: > I did not resolve my problem. > (Sorry, I'm Italian and I don't know english very well! :P ) > > # ./check_find_new_hosts -vsx /usr/local/nagios/etc 192.168.1.0 > 24 admins > Usage: Socket::inet_ntoa(ip_address_sv) at ./check_find_new_hosts line > 301. > > > On 11/24/06, *Mara Laureti* > wrote: > > Thank you very much! > > 'admins' is the contact group you want new hosts found to answer to. > > The README file says: > " > usage: > check_find_new_hosts [-v+] [-x] [-s] /dir ip netmask contact > > where: > dir is the directory containing the .cfg files (and .skip files if > you want to skip certain hosts) > ip is an ip in the range you want to scan > netmask is an integer standing for the netmask eg:24 = > 255.255.255.0 > contact is the contact group you want new hosts found to answer to. > > " > > Can I you disturb with another question? > > I have a big network to manage and it isn't possible an hand > configuration. Is there a plig-in for auto-discovery? > > Mara > > > On 11/24/06, *Andy Shellam (Mailing Lists)* < > andy.shellam-lists at mailnetwork.co.uk > > wrote: > > > # ./check_find_new_hosts -v /usr/local/nagios/etc > 192.168.1.1 > < http://192.168.1.1/> 24 admins > > Usage: Socket::inet_ntoa(ip_address_sv) at > ./check_find_new_hosts line > 301. > > Are you checking the 192.168.1.0/24 > subnet for new hosts (i.e. > 192.168.1.1 - 192.168.1.254 > )? > > What does "./check_find_new_hosts --help" show for it's required > parameters? Should the IP range be specified as > 192.168.1.0/24 (as > 192.168.1.1 is actually 192.168.1.1/32 > , which is a single host?) > > I.e. try: ./check_find_new_hosts -v /usr/local/nagios/etc > 192.168.1.0/24 > < http://192.168.1.1/> admins > > What does the 'admins'stand for? > > Andy. > > Mara Laureti wrote: > > > > > > ---------- Forwarded message ---------- > > From: *Mara Laureti* < mara.laureti at gmail.com > > > >> > > Date: Nov 24, 2006 11:53 AM > > Subject: Fwd: check_find_new_host plugin > > To: maralaureti at users.sourceforge.net > > > > > > > > > > > > ---------- Forwarded message ---------- > > From: *Mara Laureti* < mara.laureti at gmail.com > > > >> > > Date: Nov 24, 2006 10:57 AM > > Subject: check_find_new_host plugin > > To: nagios-users at lists.sourceforge.net > > > >, > mara.laureti at gmail.com > > > > > > > Hi list > > > > I installed check_find_new_host and I tested it with > command-line: > > > > # ./check_find_new_hosts -v /usr/local/nagios/etc 192.168.1.1 > > > 24 admins > > > > There is this output: > > > > Usage: Socket::inet_ntoa(ip_address_sv) at > ./check_find_new_hosts line > > 301. > > > > Can you help me to resolve this problem? > > > > - Mara Laureti (Violetta) > > > > ----------------------- > > 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 > > > > > !DSPAM:37,4566d3ca40419327341174! > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > !DSPAM:37,4566d3ca40419327341174! > > > > > -- > Andy Shellam > NetServe Support Team > > the Mail Network > "an alternative in a standardised world" > > p: +44 (0) 121 288 0832/0839 > m: +44 (0) 7818 000834 > > > > !DSPAM:37,4567014740411390510216! -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rroasio at plexia.com Fri Nov 24 18:09:44 2006 From: rroasio at plexia.com (Riccardo Roasio) Date: Fri, 24 Nov 2006 18:09:44 +0100 Subject: nagios api Message-ID: <45672758.4020204@plexia.com> Hi everibody, Can anyone explain to me differences between nagios and opennms? And also...nagios has some api to connet it to external tools?What they permit to do? Thanks,Riccardo ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Nov 25 03:47:57 2006 From: marc at ena.com (Marc Powell) Date: Fri, 24 Nov 2006 20:47:57 -0600 Subject: Service Detail - PING. Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Varaillon Jean Cristophe > Sent: Friday, November 24, 2006 5:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service Detail - PING. > > Hi, > > > When I check the Service Detail from the web browser, it shows that: > -------------------------- > Hosts: LocalHost > Service: PING > Status: Warning > Last Check: 11/24/2006 13:13:47 > Duration 2d 23h 0m 2s > Attempt 4/1 > Status Information (No output!) > -------------------------- > > > Now, given that the service is the following one: > -------------------------- > define service{ > use generic-service > host_name localhost > service_description PING > notifications_enabled 1 > is_volatile 0 > check_period 24x7 > max_check_attempts 1 > normal_check_interval 1 > retry_check_interval 1 > notification_options w,u,c,r > notification_interval 1 > notification_period 24x7 > check_command check_ping!100.0,20%!500.0,60% > -------------------------- > > > And given the fact that I can run that command from my localhost: > -------------------------- > bash-2.05# ../libexec/check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60% -4 > PING OK - Packet loss = 0%, RTA = 0.00 ms > -------------------------- Presuming this accurately reflects your command{} definition. Nagios doesn't run this command as the root user so it's not a good test. Try running it as the nagios user. Most often, /bin/ping, which check_ping calls, is not executable by any user other than root. If that is the case, make it run suid with chmod u+s /bin/ping. -- 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 moshesharon at gmail.com Sun Nov 26 14:03:52 2006 From: moshesharon at gmail.com (moshe sharon) Date: Sun, 26 Nov 2006 15:03:52 +0200 Subject: Fwd: Discovery In-Reply-To: References: <20061124092606.60CB24F4046@desire.netways.de> Message-ID: <88ad29240611260503k20a17278se084e7b609f9c3c7@mail.gmail.com> Hello You can use nmap2nagios. link: http://www.nagiosexchange.org/Configuration.40.0.html?&tx_netnagext_pi1[p_view]=147 im not sure if its fully compatible with version 2.x but it should save you a lot of time. -- Moshe Sharon http://www.centerity.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 moshesharon at gmail.com Sun Nov 26 14:06:53 2006 From: moshesharon at gmail.com (moshe sharon) Date: Sun, 26 Nov 2006 15:06:53 +0200 Subject: Customized map for customers In-Reply-To: <9DB9DF2949D8774796CB054FBEC15699035723F9@Tyran.int.acn.gr> References: <9DB9DF2949D8774796CB054FBEC15699035723F9@Tyran.int.acn.gr> Message-ID: <88ad29240611260506y529f5d66i1c2e867e81f4b370@mail.gmail.com> Hello i can recommend Nagvis(www.nagvis.org) this is excellent tool for having multiple maps. but you will have to set the authentication permissions in the web server. -- Moshe Sharon http://www.centerity.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 RLAdams at AdamsInfoServ.Com Sun Nov 26 19:57:27 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Sun, 26 Nov 2006 12:57:27 -0600 Subject: Fwd: Discovery In-Reply-To: References: <20061124092606.60CB24F4046@desire.netways.de> Message-ID: <20061126185727.GA5108@keroberos.demosthenes.org> NACE. http://www.nagiosexchange.org/Configuration.20.0.html?&tx_netnagext_pi1[p_view]=277 Its a toolkit to allow you to write scripts to manage your entire network via discovery. Russell On Fri, Nov 24, 2006 at 12:10:53PM +0100, Mara Laureti wrote: > ---------- Forwarded message ---------- > From: Mara Laureti > Date: Nov 24, 2006 11:53 AM > Subject: Fwd: Discovery > To: maralaureti at users.sourceforge.net > > > > ---------- Forwarded message ---------- > From: Mara Laureti > Date: Nov 24, 2006 10:26 AM > Subject: Discovery > To: nagios-users at lists.sourceforge.net, mara.laureti at gmail.com > > Hi list > > I have a big network to manage and it isn't possible an hand > configuration. Is there a plig-in for auto-discovery? > > Nagios-version nagios2.5 > Plugin-version nagios-plugin-1.4.5 > > > - Mara Laureti (Violetta) > > ----------------------- > 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 ------------------------------------------------------------------ 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 ampranti at gmail.com Sun Nov 26 21:02:18 2006 From: ampranti at gmail.com (Brandino Andreas) Date: Sun, 26 Nov 2006 22:02:18 +0200 Subject: per host custom macros In-Reply-To: <1143655853.9440.316.camel@chi101100.int.tt.local> References: <442AABC6.9090905@dm.cobite.com> <8ee061010603290756t23b1a1dcx5613c9dca99148a6@mail.gmail.com> <442AB44E.8070400@dm.cobite.com> <8ee061010603290854k425146a4t2a53b2bbb0e27843@mail.gmail.com> <442ACA04.9090906@dm.cobite.com> <1143655576.9440.310.camel@chi101100.int.tt.local> <1143655853.9440.316.camel@chi101100.int.tt.local> Message-ID: <1302464804.20061126220218@gmail.com> Maybe something like that will help http://www.nagiosexchange.org/Patches_2_0.67.0.html?&tx_netnagext_pi1[p_view]=427 Wednesday, March 29, 2006, 8:10:53 PM, you wrote: > On Wed, 2006-03-29 at 12:06 -0600, jeff vier wrote: >> >> > define host { >> > use generic-host >> > host_name myhost.mydomain.com >> > alias myhost >> > address 1.2.3.4 >> > >> > custom_macro FOOPROPERTY=AA:BB:CC:DD >> > custom_macro BARVALUE=BigImportantValue >> > >> > hostgroups all_foo,all_bar >> > } >> >> > define command { >> > command_name check_foo >> > command_line $USER1$/check_foo -f $FOOPROPERTY$ >> > } >> >> You've pretty much exactly described $ARG1$, $ARG2$, ... $ARGn$ > I'm sorry - I misspoke. > You've *almost* described $ARGn$. > My apologies. > Just hack in another property. > shouldn't be a big deal. > then it'd just be, like, > .. > host_macro1 BLAH > host_macro2 FOO > .. <> --- - - - --- <> Brandino Andreas ampranti at gmail.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 wolvverine at tarchomin.pl Mon Nov 27 01:31:11 2006 From: wolvverine at tarchomin.pl (=?UTF-8?Q?Micha=C5=82?= Panasiewicz) Date: Mon, 27 Nov 2006 01:31:11 +0100 Subject: nagios-nsca- how ignore some mesage from hosts Message-ID: <1164587471.4444.20.camel@localhost> J have Nagios EventLog agent for Windows on windows stations in LAN. http://www.steveshipway.org/software/f_nagios.html this send eventlog messages to nagios. how in nsca ignore or set SOFT state for this messages from hosts: ***** Nagios ***** Notification Type: PROBLEM Service: System EventLog Host: K5 Address: 192.168.0.55 State: WARNING Date/Time: Fri Nov 24 13:18:29 CET 2006 Additional Info: System [warning] [Tcpip #4226]: Protok?? TCP/IP osi?gn?? limit zabezpiecze? ustalony dla liczby rwnoczesnych pr?b po??cze? TCP. -- Micha? Panasiewicz - PLD Linux Distribution Developer http://www.pld-linux.org e-mail: wolvverine[at]tlen[dot]pl wolvverine[at]pld-linux[dot]org jabber: wolvverine[at]chrome[dot]pl Linux user nr. #425323 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 27 10:11:38 2006 From: yhasabnis at gmail.com (Yogesh Hasabnis) Date: Mon, 27 Nov 2006 14:41:38 +0530 Subject: Monitoring redundant SMPS Message-ID: Hi All, How does one monitor redundant SMPSs installed in the IBM or HP Server machines using nagios? i.e how can one configure nagios to send alerts when one of the redundant SMPSs in a server fails. As always, I searched the archives before forwarding this question. Unfortunately couldn't find a relevant thread. Thanks In Advance. 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 he_anton at yahoo.com Mon Nov 27 10:41:22 2006 From: he_anton at yahoo.com (hendro budianto) Date: Mon, 27 Nov 2006 01:41:22 -0800 (PST) Subject: snmp plugins for bay advanced remote node at nagios Message-ID: <115987.26562.qm@web52007.mail.yahoo.com> Dear all, I have a bay network router arn, and need the plugins script snmp router at nagios. I'm already find from http://www.manubulon.com. And the result there no router bay network arn. My distro is FC4.0, nagios 2.5, and nagios-plugins-1.4.3. Could u help me please. Best regards, Hendro B ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.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 vajc at altectelecoms.gr Mon Nov 27 10:43:00 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Mon, 27 Nov 2006 11:43:00 +0200 Subject: Service Detail - PING. Message-ID: <9DB9DF2949D8774796CB054FBEC15699039869F7@Tyran.int.acn.gr> Hi, u Is there any way for me to actually troubleshoot my pluggins? Please see under the output of a proper test: I am on a Solaris platform: $ uname -a SunOS sphynx 5.9 Generic_117171-07 sun4u sparc SUNW,UltraSPARC-IIi-cEngine I am logged in as nagios: $ who am i nagios pts/1 Nov 27 11:25 (192.168.167.57) Nagios is the username under which the nagios process is actually running: $ ps -ef | grep nagios nagios 11183 11069 0 11:26:20 pts/1 0:00 grep nagios nagios 11069 11067 0 11:25:01 pts/1 0:00 -sh nagios 14609 1 0 Nov 24 ? 1:44 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 11184 11183 0 11:26:20 pts/1 0:00 ps -ef The check_ping does work through command line $ /usr/local/nagios/libexec/check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60% PING OK - Packet loss = 0%, RTA = 0.00 ms The above check_ping argument are as defined in the service.cfg: define service{ use generic-service ; Name of service template to use host_name localhost service_description PING event_handler server-send-trap is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 notification_options w,u,c,r notification_interval 1 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } However I still have this output (c.f. attached): -------------------------- Hosts: LocalHost Service: PING Status: Warning Status Information (No output!) -------------------------- Thanks! Christophe Disclaimer The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-output.PNG Type: image/png Size: 125038 bytes Desc: nagios-output.PNG 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 mangoo at wpkg.org Mon Nov 27 12:23:57 2006 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Mon, 27 Nov 2006 12:23:57 +0100 Subject: excluding a host - possible or not? Message-ID: <456ACACD.20104@wpkg.org> I have several hosts with the same services (connectivity, SSH, Samba, HTTP...). I have it configured like below - this way I edit hosts (used in all services) only in "generic-service": define service { name generic-service host_name server*, web*, router1, no-web (...) define service { use generic-service service_description Connectivity (...) define service { use generic-service service_description HTTP # host_name !no_web, \!no-web # <- don't work (...) Now, one server doesn't have a web server running, so a HTTP check makes an error. I'd like to exclude host "no-web" from HTTP service. Looking through the mailing list archive, I see that excluding a host was a feature that was frequently asked for, and that putting a "!" in front of the host name should work in nagios 2.x. For me, unfortunately - it doesn't work - nagios takes an exclamation mark as a part of the host's name: Error: Could not find any host matching '!no-web' or: Error: Could not find any host matching '\!no-web' How can I exclude a host? I have nagios 2.5. -- Tomasz Chmielewski http://wpkg.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 jonaliz55 at yahoo.com Mon Nov 27 13:33:58 2006 From: jonaliz55 at yahoo.com (J K) Date: Mon, 27 Nov 2006 04:33:58 -0800 (PST) Subject: Can only monitor localhost Message-ID: <164734.25707.qm@web35910.mail.mud.yahoo.com> I have installed Nagios 2.5 and everything seems OK except that the only host I can monitor is the localhost. I have added 2 other hosts to the configuration files, and although I see all 3 hosts in the "dashboard" it is only my localhost that is beeing monitored under all 3 hosts. (I can tell as the results for disk-space use, number of users and processors is identical for all 3 hosts, although I know that my disksize on each of the 3 hosts is different) --------------------------------- 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 xinetd3 at hotmail.com Mon Nov 27 13:03:45 2006 From: xinetd3 at hotmail.com (Zorron Konto) Date: Mon, 27 Nov 2006 14:03:45 +0200 Subject: status pending Message-ID: Hi all, I have recently intalled Nagios 1.3. I've added for testing purposes 2 hosts. Then I've created a hostgroup for these 2 hosts. When I view the Status Map, I'm always seeing the status pending of these hosts. I made sure that these 2 hosts are quitely reachable, but still i'm getting a pending status on the map. Shall I configure something else other than the hosts.cfg & hostgroups.cfg files? BRgds, Zorron. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlongland at grintek.com Mon Nov 27 13:35:56 2006 From: jlongland at grintek.com (John Longland) Date: Mon, 27 Nov 2006 14:35:56 +0200 Subject: Can only monitor localhost Message-ID: <510595ECCFAEFC44941F5EDA4324F275011F9C46@gtmail.grintel.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net]On Behalf Of J K Sent: 27 November 2006 14:34 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Can only monitor localhost I have installed Nagios 2.5 and everything seems OK except that the only host I can monitor is the localhost. I have added 2 other hosts to the configuration files, and although I see all 3 hosts in the "dashboard" it is only my localhost that is beeing monitored under all 3 hosts. (I can tell as the results for disk-space use, number of users and processors is identical for all 3 hosts, although I know that my disksize on each of the 3 hosts is different) _____ Everyone is raving about the all-new Yahoo! Mail beta. [John Longland] Which plugin did you use ? As far as I know, some of the plugins only checks the local system ! John -------------- 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 mangoo at wpkg.org Mon Nov 27 13:44:45 2006 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Mon, 27 Nov 2006 13:44:45 +0100 Subject: excluding a host - possible or not? In-Reply-To: References: <456ACACD.20104@wpkg.org> Message-ID: <456ADDBD.4000509@wpkg.org> Frank Altpeter wrote: (...) > I'm not sure why it doesn't seem to work for you, but i would try to > define it like my example, by adding all hosts into a hostgroup and > explicitly exclude the mentioned non-http host with an additional > host_name option. I found out why it failed, thanks for confirming it works though :) This one will fail: host_name blah, SERVER-*, !SERVER-NO-WWW This one will work: host_name blah, !SERVER-NO-WWW, SERVER-* -- Tomasz Chmielewski http://wpkg.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 vajc at altectelecoms.gr Mon Nov 27 13:40:40 2006 From: vajc at altectelecoms.gr (Varaillon Jean Cristophe) Date: Mon, 27 Nov 2006 14:40:40 +0200 Subject: Service Detail - PING. Message-ID: <9DB9DF2949D8774796CB054FBEC1569903986A8A@Tyran.int.acn.gr> ...and ping is executable by nagios: bash-2.05# ls -l /usr/sbin/ping -r-sr-xr-x 1 root bin 47788 Apr 7 2002 /usr/sbin/ping bash-2.05# Christophe -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Varaillon Jean Cristophe Sent: Monday, November 27, 2006 11:43 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service Detail - PING. Hi, u Is there any way for me to actually troubleshoot my pluggins? Please see under the output of a proper test: I am on a Solaris platform: $ uname -a SunOS sphynx 5.9 Generic_117171-07 sun4u sparc SUNW,UltraSPARC-IIi-cEngine I am logged in as nagios: $ who am i nagios pts/1 Nov 27 11:25 (192.168.167.57) Nagios is the username under which the nagios process is actually running: $ ps -ef | grep nagios nagios 11183 11069 0 11:26:20 pts/1 0:00 grep nagios nagios 11069 11067 0 11:25:01 pts/1 0:00 -sh nagios 14609 1 0 Nov 24 ? 1:44 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 11184 11183 0 11:26:20 pts/1 0:00 ps -ef The check_ping does work through command line $ /usr/local/nagios/libexec/check_ping -H 127.0.0.1 -w 100.0,20% -c 500.0,60% PING OK - Packet loss = 0%, RTA = 0.00 ms The above check_ping argument are as defined in the service.cfg: define service{ use generic-service ; Name of service template to use host_name localhost service_description PING event_handler server-send-trap is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 notification_options w,u,c,r notification_interval 1 notification_period 24x7 check_command check_ping!100.0,20%!500.0,60% } However I still have this output (c.f. attached): -------------------------- Hosts: LocalHost Service: PING Status: Warning Status Information (No output!) -------------------------- Thanks! Christophe Disclaimer The information in this e-mail and any attachments is confidential. It is intended solely for the attention and use of the named addressee(s). If you are not the intended recipient, or person responsible for delivering this information to the intended recipient, please notify the sender immediately. Unless you are the intended recipient or his/her representative you are not authorized to, and must not, read, copy, distribute, use or retain this message or any part of it. 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. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Nov 27 14:33:01 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Mon, 27 Nov 2006 13:33:01 +0000 Subject: Can only monitor localhost In-Reply-To: <510595ECCFAEFC44941F5EDA4324F275011F9C46@gtmail.grintel.com> References: <510595ECCFAEFC44941F5EDA4324F275011F9C46@gtmail.grintel.com> Message-ID: <456AE90D.5040608@mailnetwork.co.uk> You need to use check_nrpe (download NRPE 2.5.2. from the Nagios website) in conjunction with the Nagios standard plugins on each remote host you want to monitor. Nagios sends the command to execute the plugin to NRPE running on the remote host, NRPE runs it and sends the output back to Nagios. Andy. John Longland wrote: > > > -----Original Message----- > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net]*On Behalf Of *J K > *Sent:* 27 November 2006 14:34 > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Can only monitor localhost > > I have installed Nagios 2.5 and everything seems OK except that > the only host I can monitor is the localhost. I have added 2 other > hosts to the configuration files, and although I see all 3 hosts > in the "dashboard" it is only my localhost that is beeing > monitored under all 3 hosts. (I can tell as the results for > disk-space use, number of users and processors is identical for > all 3 hosts, although I know that my disksize on each of the 3 > hosts is different) > > ------------------------------------------------------------------------ > Everyone is raving about the all-new Yahoo! Mail beta. > > [John Longland] > > > Which plugin did you use ? > As far as I know, some of the plugins only checks the local system ! > > John > > !DSPAM:37,456adc3340412011064032! > ------------------------------------------------------------------------ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akardec.linux at gmail.com Mon Nov 27 15:19:12 2006 From: akardec.linux at gmail.com (Allan Kardec) Date: Mon, 27 Nov 2006 12:19:12 -0200 Subject: Integrar Message-ID: como q eu fa?o para integrar o meu nagios que ja esta funcionando com o mysql???? os logs estao em textos, eu quero passar para o sql q ele ja esta se perdendo com a quantidade de hosts e logs. ele vive me informando errado. -------------- 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 lacoste at univ-paris12.fr Mon Nov 27 15:22:05 2006 From: lacoste at univ-paris12.fr (Thierry Lacoste) Date: Mon, 27 Nov 2006 15:22:05 +0100 Subject: issue with check_dhcp Message-ID: <200611271522.05855.lacoste@univ-paris12.fr> Hello, I'm using nagios-2.4 with nagios-plugins-1.4.3,1 on FreeBSD 6.1-RELEASE-p10. I have a problem to make check_dhcp work. dhclient works as expected: [root at rigel ~]# dhclient em0 DHCPREQUEST on em0 to 255.255.255.255 port 67 DHCPREQUEST on em0 to 255.255.255.255 port 67 DHCPDISCOVER on em0 to 255.255.255.255 port 67 interval 5 DHCPDISCOVER on em0 to 255.255.255.255 port 67 interval 8 DHCPOFFER from 194.214.13.3 DHCPOFFER from 194.214.13.2 DHCPOFFER already seen. DHCPREQUEST on em0 to 255.255.255.255 port 67 DHCPACK from 194.214.13.3 bound to 194.214.13.6 -- renewal in 21600 seconds. But check_dhcp doesn't work (with dhclient killed): [root at rigel ~]# /usr/local/libexec/nagios/check_dhcp -i em0 -v DHCP socket: 3 Hardware address: 000d56bd84c5 DHCPDISCOVER to 255.255.255.255 port 67 DHCPDISCOVER XID: 1804289383 (0x6B8B4567) DHCDISCOVER ciaddr: 0.0.0.0 DHCDISCOVER yiaddr: 0.0.0.0 DHCDISCOVER siaddr: 0.0.0.0 DHCDISCOVER giaddr: 0.0.0.0 send_dhcp_packet result: 548 No (more) data received Result=ERROR Total responses seen on the wire: 0 Valid responses for this machine: 0 DHCP problem: No DHCPOFFERs were received. The -s switch to specify the IP of a DHCP server doesn't help. Using ethereal I can see one "DHCP Discover" packet sent and nothing else. I don't know if it is relevant but I noticed that the source adress of this packet is the IP of the machine while the source address of "DHCP Discover" packets issued by dhclient is 0.0.0.0. Any tip would be appreciated. Regards, Thierry. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 27 15:40:33 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Mon, 27 Nov 2006 15:40:33 +0100 Subject: Integrar In-Reply-To: References: Message-ID: <456AF8E1.3010503@aliadis.fr> Allan Kardec wrote: > como q eu fa?o para integrar > o meu nagios que ja esta funcionando com > o mysql???? > > os logs estao em textos, eu quero passar para o sql q ele ja esta se > perdendo com a quantidade de hosts e logs. > ele vive me informando errado. > Hi Please speak English on this list. Makes it easier to communicate :) If what you want is migrating from 1.x to 2.x, I suggest you query google with "migrate 1.x to 2.x". A very recent thread (and many older) discusses this issue. If you already have 2.x running and want to add Mysql support then you should download and install NDOUtils. It's basically an event broker that feeds a DB with the log information. There is also a migration script included (from the README file) : 4. The LOG2NDO utility. This utility is used for importing historical log archives from NetSaint and Nagios and sending them to the NDO2DB daemon. It takes a single log file as its input and can output data to either a TCP socket, a Unix domain socket or standard output. 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 nagios at kilala.nl Mon Nov 27 16:30:07 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 27 Nov 2006 16:30:07 +0100 Subject: Can only monitor localhost In-Reply-To: <164734.25707.qm@web35910.mail.mud.yahoo.com> References: <164734.25707.qm@web35910.mail.mud.yahoo.com> Message-ID: On 27 Nov, 2006, at 13:33, J K wrote: > I have installed Nagios 2.5 and everything seems OK except that the > only host I can monitor is the localhost. I have added 2 other > hosts to the configuration files, and although I see all 3 hosts in > the "dashboard" it is only my localhost that is beeing monitored > under all 3 hosts. (I can tell as the results for disk-space use, > number of users and processors is identical for all 3 hosts, > although I know that my disksize on each of the 3 hosts is different) Ah :) Welcome to where I was 1.5 years ago when I just started with Nagios :) It's nice to see that I'm not the only one who made that mistake. As Andy has pointed out you will need to make use of additional plugins and/or software to perform checks on remote systems. There's a rather large selection of tools you can choose from, for both Windows and UNIX. I've made a comparison of both OSes and their client software on my website. http://www.kilala.nl/Sysadmin/clients-NAGIOS.php http://www.kilala.nl/Sysadmin/winclients-NAGIOS.php Cheers and 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 mangoo at wpkg.org Mon Nov 27 18:15:10 2006 From: mangoo at wpkg.org (Tomasz Chmielewski) Date: Mon, 27 Nov 2006 18:15:10 +0100 Subject: scaling factor in the web interface - can I change it permanently (i.e., default to 0.5)? Message-ID: <456B1D1E.3070001@wpkg.org> I have about 100 hosts monitored by nagios. The Status Map only shows about a half of them, so I have to either: 1. Scroll the screen 2. Scale the map to about 0.5 (set "scaling factor" to 0.5) Unfortunately, if I change scaling factor, it keeps changing back to 0.0 after nagios refreshes its web interface. Is there a way to make this change (scaling factor to 0.5) somehow "more permanent"? -- Tomasz Chmielewski http://wpkg.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 Ralph.Grothe at itdz-berlin.de Mon Nov 27 18:16:31 2006 From: Ralph.Grothe at itdz-berlin.de (Ralph.Grothe at itdz-berlin.de) Date: Mon, 27 Nov 2006 18:16:31 +0100 Subject: Nagios 2.5 make grievance on AIX 4.3 Message-ID: Dear Nagios Users, I am forced to build Nagios for a legacy AIX box. Unfortunately my AIX knowledge is pretty restricted. I even don't know the package manager commands thereon to check for installed revisions of needed stuff like compiler, devel utilities and libs such as OpenSSL. I also lack root access there. So I have to stick with some basic Unix Esperanto. I downloaded the Nagios 2.5 source tarball, unpacked it into a staging dir and ran configure and make like below. Unfortunately does the "make all" abort with some strange errors (like from some helloworld object file). However, the make all produced some PPC RISC binaries, as well as the nagios daemon itself. When I only execute the -h invocation everything looks ok. But when I run the -v on my previous nagios.cfg I get a horrible dump that looks like a call stack. Could this be caused by my --enable-DEBUGALL configure flag? If it is merely there for Nagios developers then I didn't mean to have it. I simply wished that I occassionally could toggle switch extended logging of nagios.log to better track errors of plug-ins and the like, should the need arrive. Would you suggest that I reconfigured without the --enable-DEBUGALL? Even if, would my nagios build at the stage where make bailed out yet be fit for a make install? Below some build history... $ uname -srv AIX 3 4 $ alias make=/usr/local/bin/make && make -v GNU Make version 3.79.1, by Richard Stallman and Roland McGrath. Built for powerpc-ibm-aix4.3.2.0 Copyright (C) 1988, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 2000 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. Report bugs to . $ gcc -v Reading specs from /usr/local/lib/gcc-lib/powerpc-ibm-aix4.3.2.0/2.95.3/specs gcc version 2.95.3 20010315 (release) $ CC=gcc MAKE=/usr/local/bin/make ./configure --prefix=/opt/sw/nagios \ --enable-DEBUGALL --enable-nanosleep \ --with-nagios-user=nagios --with-nagios-group=nagios \ --with-nagios-command-user=nagios --with-nagios-command-group=nagcmd \ --with-htmlurl=/ --with-cgiurl=/nagios/cgi \ --with-gd-lib=/usr/local/lib --with-gd-inc=/usr/local/include 2>&1 \ |tee ../nagios_configure.log $ tail -25 ../nagios_configure.log *** Configuration summary for nagios 2.5 07-13-2006 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Event Broker: yes Install ${prefix}: /opt/sw/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d Host OS: aix4.3.3.0 Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi/ Traceroute (used by WAP): /usr/bin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. $ make all 2>&1|tee ../nagios_make_all.log $ tail -20 ../nagios_make_all.log make[1]: Entering directory `/opt/sw/nagios/build/nagios-2.5/html' make[1]: Nothing to be done for `all'. make[1]: Leaving directory `/opt/sw/nagios/build/nagios-2.5/html' cd ./module && /usr/local/bin/make make[1]: Entering directory `/opt/sw/nagios/build/nagios-2.5/module' gcc -g -O2 -I/usr/local/include -DHAVE_CONFIG_H -o helloworld.o helloworld.c -L/usr/local/l ib -G -bM:SRE -bnoentry -bexpall gcc: unrecognized option `-G' In file included from ../include/config.h:290, from ../include/nebcallbacks.h:28, from helloworld.c:27: /usr/include/dlfcn.h:66: warning: `RTLD_NOW' redefined ../include/config.h:95: warning: this is the location of the previous definition /usr/include/dlfcn.h:72: warning: `RTLD_GLOBAL' redefined ../include/config.h:91: warning: this is the location of the previous definition ld: 0711-317 ERROR: Undefined symbol: .main ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. gcc: file path prefix `/usr/local/lib/gcc-lib/expall/2.95.3/' never used make[1]: *** [helloworld.o] Error 1 make[1]: Leaving directory `/opt/sw/nagios/build/nagios-2.5/module' make: *** [all] Error 2 $ find . -type f -perm -0001|xargs file|grep -c RISC 18 $ find . -type f -name nagios -ls 594050 1704 -rwxr-xr-x 1 nagios nagios 1743614 Nov 27 17:33 ./base/nagios $ ./base/nagios -h Nagios 2.5 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 07-13-2006 License: GPL Usage: ./base/nagios [option] Options: -v Reads all data in the configuration files and performs a basic verification/sanity check. Always make sure you verify your config data before (re)starting Nagios. -s Shows projected/recommended check scheduling information based on the current data in the configuration files. -d Starts Nagios in daemon mode (instead of as a foreground process). This is the recommended way of starting Nagios for normal operation. Visit the Nagios website at http://www.nagios.org for bug fixes, new releases, online documentation, FAQs, information on subscribing to the mailing lists, and commercial and contract support for Nagios. $ ./base/nagios -v ../../etc/nagios.cfg 2>&1|tail -20 command_list freed serviceescalation_list freed servicedependency_list freed hostdependency_list freed free_extended_data() start hostextinfo_list freed serviceextinfo_list freed free_extended_data() end hostescalation_list freed free_object_data() end event lists freed my_strtok() buffers freed global event handlers freed free_notification_list() start free_notification_list() end notification_list freed free_macrox_names() start free_macrox_names() end free_memory() end cleanup() end ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Mon Nov 27 18:30:07 2006 From: gardealuis at gmail.com (Luis Gardea) Date: Tue, 28 Nov 2006 10:30:07 +1700 Subject: requirement for cjeck_snmp works Message-ID: <44f056cc0611270930r59f4eff4r98e82a652e7abcfa@mail.gmail.com> Hello I want to know what kind of requirements are necesary to check_snmp works fine both nagios server and devices than want to check Nagios v2.5 Fedora C5 nagios-plugins-1.4.5 I'll always be grateful to her ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Richard.A.Childers at wellsfargo.com Mon Nov 27 19:19:54 2006 From: Richard.A.Childers at wellsfargo.com (Richard.A.Childers at wellsfargo.com) Date: Mon, 27 Nov 2006 12:19:54 -0600 Subject: Hooks for MySQL? (configure, configure.in, "MYSQL=no") Message-ID: <8A880C79FFE28546933CE022FE244C7C0112B623@msgswbiadsm48.wellsfargo.com> I know that Nagios no longer supports MySQL integration. However, I see the strings "MYSQL=no" in the source code files configure and configure.in. If I set these to "yes", what would the consequences be? Any insights? I'm ready to do a 'make', then use 'find' to see where it thinks MySQL lives, change those settings, and then try to recompile and reinstall. Is attempting to resurrect MySQL capabilities, a waste of time? Regards, -- richard ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linux at lookit.org Mon Nov 27 20:14:58 2006 From: linux at lookit.org (Manu Linux Lookit) Date: Mon, 27 Nov 2006 20:14:58 +0100 Subject: Multi IP range declaration AND NOT hostname declaration ... Message-ID: <456B3932.2020605@lookit.org> Hello, Having more than 400 Servers to supervise ... i'd like to know if nagios is adapted ... I've read some docs part ... and never i've seen another way to declare a server in nagios conf ... only by writing the hostname ... But in fact i'd like to declare "lot of servers" separated by their range ... In fact : i'd like to declare for example : : Unix : 192.168.0.XXX Win : 192.168.1.XXX Linux : 192.168.2.XXX The question is : without writing all the hostname in the config file ( too much servers to declare ), it is possible to declare servers by their range ? Or giving the same config to a IP range ? and adding particlar config to a server more ? Tks a lot for your answer ... And have fun in your life ! Regards Manu ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 27 22:49:01 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Mon, 27 Nov 2006 22:49:01 +0100 Subject: Multi IP range declaration AND NOT hostname declaration ... In-Reply-To: <456B3932.2020605@lookit.org> References: <456B3932.2020605@lookit.org> Message-ID: <546AACAD-4FD2-4653-B5F1-EDCBDD8BF4EB@kilala.nl> On 27 Nov, 2006, at 20:14, Manu Linux Lookit wrote: > The question is : without writing all the hostname in the config > file ( > too much servers to declare ), it is possible to declare servers by > their range ? No. This question was covered last week, in an e-mail discussion titled "Multiple hosts in hosts.cfg", which was started by spdesai at gnvfc.net . Please check out that thread. 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 wolvverine at tarchomin.pl Mon Nov 27 23:00:01 2006 From: wolvverine at tarchomin.pl (=?UTF-8?Q?Micha=C5=82?= Panasiewicz) Date: Mon, 27 Nov 2006 23:00:01 +0100 Subject: problem/bug - nagios-nsca - Network server accept failure (9: Bad file descriptor) Message-ID: <1164664801.4380.4.camel@localhost> in log file 100MB/h : Nov 27 15:48:56 kuf-serwer nsca[7729]: Network server accept failure (9: Bad file descriptor) Nov 27 15:48:56 kuf-serwer nsca[7729]: Network server accept failure (9: Bad file descriptor) after restart nagios-nsca all is ok, but this is two time in this week -- Micha? Panasiewicz Linux user nr. #425323 - jabber: wolvverine [ at ] chrome [ dot ] pl || e-mail: wolvverine [ at ] tlen [ dot ] pl , wolvverine [ at ] pld-linux [ dot ] org http://www.linkomp.pl - Linkomp - Us?ugi informatyczne dla firm - biuro [ at ] linkomp [ dot ] pl ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 28 04:03:47 2006 From: marc at ena.com (Marc Powell) Date: Mon, 27 Nov 2006 21:03:47 -0600 Subject: Hooks for MySQL? (configure, configure.in, "MYSQL=no") Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of > Richard.A.Childers at wellsfargo.com > Sent: Monday, November 27, 2006 12:20 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Hooks for MySQL? (configure, > configure.in,"MYSQL=no") > > I know that Nagios no longer supports MySQL integration. > > However, I see the strings "MYSQL=no" in the source code files configure > and configure.in. [chop] > > I'm ready to do a 'make', then use 'find' to see where it thinks MySQL > lives, change those settings, and then try to recompile and reinstall. > > Is attempting to resurrect MySQL capabilities, a waste of time? In that manner, most likely. Take a look at ndoutils or nagios-db which use the event broker interface. -- 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 Vignesh.Kumar at in.flextronics.com Tue Nov 28 10:41:16 2006 From: Vignesh.Kumar at in.flextronics.com (Vignesh Kumar) Date: Tue, 28 Nov 2006 17:41:16 +0800 Subject: FW: Asynchronous socket error 10053 Message-ID: Hi All, I didn't find any response. Can anyone reply for this issues Thanks & Regards, P.Vignesh Kumar ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Vignesh Kumar Sent: Friday, November 24, 2006 5:14 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Asynchronous socket error 10053 Hi All, I have installed NSclient tool and NRPE in windows 2000 server. Today I am getting some alerts in my event viewer. Following are the events. (1) The description for Event ID (1) in Source (pNSClient.exe) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. The following information is part of the event: Asynchronous socket error 10053. (2) NRPE_NT: Error: Could not complete SSL handshake. 0:5. Please guide me to solve the problem. Thanks & Regards, P.Vignesh Kumar Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message Legal Disclaimer: The information contained in this message may be privileged and confidential. It is intended to be read only by the individual or entity to whom it is addressed or by their designee. If the reader of this message is not the intended recipient, you are on notice that any distribution of this message, in any form, is strictly prohibited. If you have received this message in error, please immediately notify the sender and delete or destroy any copy of this message -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT184326.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT184327.txt 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 hpsekhon at googlemail.com Tue Nov 28 10:46:04 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 28 Nov 2006 09:46:04 +0000 Subject: Snmp - How do you use yours? Message-ID: <456C055C.5000602@googlemail.com> Hi all, I've decided to add snmp monitoring to my nagios setup. I'd like to know what you guys and gals are monitoring using snmp out there. It seemed like a lot of work to get in to, but I think this was just the effort of trying to piece together the "documentation" for net-snmp to figure out how to use it. So, now I have an idea and have snmpwalked my agent, I'm left with a big long list of OIDs that I'm not sure are very useful. Ok, all the tutorials show uptime, which is the agent uptime rather than the system uptime but in a few months when the servers are rebooted hopefully this will be the same. So what else can I do with it? Can I extend it to export an OID for some test that runs locally on the system? I need help and ideas please? Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Tue Nov 28 10:52:53 2006 From: misch at multinet.de (Michael Schwartzkopff) Date: Tue, 28 Nov 2006 10:52:53 +0100 Subject: Snmp - How do you use yours? In-Reply-To: <456C055C.5000602@googlemail.com> References: <456C055C.5000602@googlemail.com> Message-ID: <200611281052.53386.misch@multinet.de> Am Dienstag, 28. November 2006 10:46 schrieb Hari Sekhon: > So, now I have an idea and have snmpwalked my agent, I'm left with a big > long list of OIDs that I'm not sure are very useful. Ok, all the > tutorials show uptime, which is the agent uptime rather than the system > uptime but in a few months when the servers are rebooted hopefully this > will be the same. So what else can I do with it? > > Can I extend it to export an OID for some test that runs locally on the > system? find out what info you really need from your system. I.e. from a database your would like to know the number of accesses, from a firewall the number of ACCEPTed/DROPed/REJECTed packets or from a web server the number of accesses. From any system you would like to know processor load and free disk %. Get these OIDs and monitor it with nagois. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -------------- 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 pitchfork at ederdrom.de Tue Nov 28 10:58:38 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 28 Nov 2006 10:58:38 +0100 Subject: Snmp - How do you use yours? In-Reply-To: <456C055C.5000602@googlemail.com> References: <456C055C.5000602@googlemail.com> Message-ID: <200611281058.39043.pitchfork@ederdrom.de> Am Dienstag, 28. November 2006 10:46 schrieb Hari Sekhon: > Hi all, Hi Hari, > I've decided to add snmp monitoring to my nagios setup. I'd like to > know what you guys and gals are monitoring using snmp out there. > > It seemed like a lot of work to get in to, but I think this was just the > effort of trying to piece together the "documentation" for net-snmp to > figure out how to use it. > > So, now I have an idea and have snmpwalked my agent, I'm left with a big > long list of OIDs that I'm not sure are very useful. Ok, all the > tutorials show uptime, which is the agent uptime rather than the system > uptime but in a few months when the servers are rebooted hopefully this > will be the same. So what else can I do with it? > > Can I extend it to export an OID for some test that runs locally on the > system? I use Patrik Proys SNMP Plugins. Have a on http://www.manubulon.com/nagios/ 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 nagios at kilala.nl Tue Nov 28 11:03:58 2006 From: nagios at kilala.nl (Thomas Slutyer) Date: Tue, 28 Nov 2006 11:03:58 +0100 Subject: Snmp - How do you use yours? In-Reply-To: <456C055C.5000602@googlemail.com> References: <456C055C.5000602@googlemail.com> Message-ID: On 28 Nov, 2006, at 10:46, Hari Sekhon wrote: > I've decided to add snmp monitoring to my nagios setup. I'd like to > know what you guys and gals are monitoring using snmp out there. We use SNMP mostly for monitoring our hardware: temperatures, hardware failures (harddisk, mobo, fans), stuff like that. It's been a bitch trying to find the proper OIDs for these items as they usually differ per model (not only per manufacturer, but per model as well!). That's the most useful thing we're doing with it right now. > Can I extend it to export an OID for some test that runs locally on > the system? Yes, you can attach Nagios plugins and other scripts to custom OIDs. In order to do it perfectly you'll need to register your own SNMP subtree though. I've written a plugin for Nagios that can process the output stored in the custom OIDs. See here -> http://www.kilala.nl/Sysadmin/retrieve_custom_snmp.php That page also describes how to go about getting your own SNMP subtree. 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 tjl at topdanmark.dk Tue Nov 28 11:31:48 2006 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Tue, 28 Nov 2006 11:31:48 +0100 Subject: Vedr.: Snmp - How do you use yours? In-Reply-To: <456C055C.5000602@googlemail.com> References: <456C055C.5000602@googlemail.com> Message-ID: Hi Hari Sekhon, I use snmp combined with selfmade bash plugins to get the following values. Antivirus_check - how old are our DATfiles - are they regulary updated if not - we get a warning Booted - we get a warning if is was booted - sometimes the OS reboots automatically if set to - you could call it an inspection alert, to check logs for errors. Backuptasks - are they running in the expected period - if not we get a warning Mailcheck in MailSystem - like mailwaiting, maildead - to many - we get a warning Database - clusterqueues - to long - we get a warning MailSystemUptime - if it restarted it self - we get a warning DatabaseSystemUptime - if it restarted it self - we get a warning Diskspace - to little - we get a warning Tasks/processes - if some are missing - we get a warning CPU - if it stays between 90-100% during longer period we get an alarm. We also check http, ftp and other port numbers but that is not via SNMP Best regards Thomas Lauritsen Hari Sekhon Sendt af: nagios-users-bounces at lists.sourceforge.net 28-11-2006 10:46 Til Nagios Users mailinglist cc Emne [Nagios-users] Snmp - How do you use yours? Hi all, I've decided to add snmp monitoring to my nagios setup. I'd like to know what you guys and gals are monitoring using snmp out there. It seemed like a lot of work to get in to, but I think this was just the effort of trying to piece together the "documentation" for net-snmp to figure out how to use it. So, now I have an idea and have snmpwalked my agent, I'm left with a big long list of OIDs that I'm not sure are very useful. Ok, all the tutorials show uptime, which is the agent uptime rather than the system uptime but in a few months when the servers are rebooted hopefully this will be the same. So what else can I do with it? Can I extend it to export an OID for some test that runs locally on the system? I need help and ideas please? Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jlongland at grintek.com Tue Nov 28 13:23:58 2006 From: jlongland at grintek.com (John Longland) Date: Tue, 28 Nov 2006 14:23:58 +0200 Subject: Check process Message-ID: <510595ECCFAEFC44941F5EDA4324F2750222E1A7@gtmail.grintel.com> Hi all !!! Just been looking at the plugins in my ../libexec-DIR. ( I have Nagios 2.4 runing ) I found something to work with , but it looks like "the-long-way" Would like to put my problem together with a possible solution. Would like to know if there is a better way. Problem: I have a distributed Nagios system : One master; one slave. The master nagios is also my master time-server The slave-nagios is also my slave-time-server. I need to check the tnp-procs on both the servers. Possible solution: I see that there is a check_procs plugin. This however, only checks processes on the local machine. I can check for the ntp proc: ( On the master ) : check_procs -a ntpd With this command I cannot check if ntp is running on my slave-nagios. To do this, I'd have to define a new service-check on the main nagios, accepting info from the slave-nagios about the ntpd-service running there. This seems very cumbersome. I also see that there is a check_ntp, but this checks clock accuracies etc which I don't want at this stage. I just need to know if the ntpd is running. Is there a way I can check a proc on another machine ?? Thanks ! JOhn -------------- 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 andy.shellam-lists at mailnetwork.co.uk Tue Nov 28 14:31:23 2006 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam (Mailing Lists)) Date: Tue, 28 Nov 2006 13:31:23 +0000 Subject: Check process In-Reply-To: <510595ECCFAEFC44941F5EDA4324F2750222E1A7@gtmail.grintel.com> References: <510595ECCFAEFC44941F5EDA4324F2750222E1A7@gtmail.grintel.com> Message-ID: <456C3A2B.4030808@mailnetwork.co.uk> Hi John, Yep, you can run checks on another machine using the Nagios NRPE agent in conjunction with the Nagios plugins. Compile NRPE on both machines (master and slave) - then use the check_nrpe compiled on the master as the check_command parameter in the Nagios server, and tell it which plugin you want to execute on the remote machine. The NRPE daemon on the remote machine will run the plugin locally, and send the result back to the master Nagios. Andy. John Longland wrote: > > Hi all !!! > > Just been looking at the plugins in my ../libexec-DIR. ( I have Nagios > 2.4 runing ) > > I found something to work with , but it looks like "the-long-way" > Would like to put my problem together with a possible solution. > Would like to know if there is a better way. > > > Problem: > > I have a distributed Nagios system : One master; one slave. > The master nagios is also my master time-server > The slave-nagios is also my slave-time-server. > I need to check the tnp-procs on both the servers. > > > Possible solution: > I see that there is a check_procs plugin. This however, only checks > processes on the local machine. I can check for the ntp proc: > ( On the master ) : check_procs -a ntpd > With this command I cannot check if ntp is running on my slave-nagios. > To do this, I'd have to define a new service-check on the main nagios, > accepting > info from the slave-nagios about the ntpd-service running there. > > This seems very cumbersome. > > I also see that there is a check_ntp, but this checks clock accuracies > etc which > I don't want at this stage. I just need to know if the ntpd is running. > > Is there a way I can check a proc on another machine ?? > > Thanks ! > JOhn > > > > > !DSPAM:37,456c2b2540413266639852! > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > !DSPAM:37,456c2b2540413266639852! > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > !DSPAM:37,456c2b2540413266639852! > -- Andy Shellam NetServe Support Team the Mail Network "an alternative in a standardised world" p: +44 (0) 121 288 0832/0839 m: +44 (0) 7818 000834 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 28 14:45:00 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Nov 2006 07:45:00 -0600 Subject: Check process Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of John Longland > Sent: Tuesday, November 28, 2006 6:24 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Check process > > Hi all !!! [chop] > Is there a way I can check a proc on another machine ?? NRPE, check_by_ssh and check_snmp are all ways to actively check external machines. NRPE requires a daemon running on the destination machine along with the plugins you want to use. Check_by_ssh requires you to configure authorized_keys access (passwordless access) from your source machine to the destination as well as the plugins you want to use and check_snmp requires a properly configured snmpd running on the target machine and knowledge of the OID's to check. I generally use NRPE if I'm checking a lot of things on a host and check_by_ssh if only a few. You can also use NSCA/send_nsca in a script that runs check_procs and sends the results to nagios via a cron job on your target machine back to your other nagios machine. In this particular case, I would just use check_ntp as you mentioned. If you don't want to check offset at this point, just set high values. Any response would then indicate that ntp is running on the target host. -- 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 wolvverine at tarchomin.pl Tue Nov 28 16:24:50 2006 From: wolvverine at tarchomin.pl (=?UTF-8?Q?Micha=C5=82?= Panasiewicz) Date: Tue, 28 Nov 2006 16:24:50 +0100 Subject: problem/bug - nagios-nsca - Network server accept failure (9: Bad file descriptor) In-Reply-To: <1164664801.4380.4.camel@localhost> References: <1164664801.4380.4.camel@localhost> Message-ID: <1164727490.4368.30.camel@localhost> # cat /etc/nagios/nsca.cfg | grep -v ^# | grep -v ^$ pid_file=/var/run/nsca.pid server_port=5667 server_address=192.168.0.1 nsca_user=nagios nsca_group=nagios debug=0 command_file=/var/lib/nagios/rw/nagios.cmd alternate_dump_file=/var/lib/nagios/rw/nsca.dump aggregate_writes=0 append_to_file=0 max_packet_age=30 password=topsecret;) decryption_method=2 -- Micha? Panasiewicz Linux user nr. #425323 - jabber: wolvverine [ at ] chrome [ dot ] pl || e-mail: wolvverine [ at ] tlen [ dot ] pl , wolvverine [ at ] pld-linux [ dot ] org http://www.linkomp.pl - Linkomp - Us?ugi informatyczne dla firm - biuro [ at ] linkomp [ dot ] pl ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wolvverine at tarchomin.pl Tue Nov 28 16:25:25 2006 From: wolvverine at tarchomin.pl (=?UTF-8?Q?Micha=C5=82?= Panasiewicz) Date: Tue, 28 Nov 2006 16:25:25 +0100 Subject: problem/bug - nagios-nsca - Network server accept failure (9: Bad file descriptor) In-Reply-To: <1164664801.4380.4.camel@localhost> References: <1164664801.4380.4.camel@localhost> Message-ID: <1164727525.4368.32.camel@localhost> Dnia 27-11-2006, pon o godzinie 23:00 +0100, Micha? Panasiewicz napisa?(a): > in log file 100MB/h : ... > > after restart nagios-nsca all is ok, but this is two time in this week > Nov 23 00:03:40 kuf-serwer nsca[7729]: Starting up daemon Nov 27 15:48:55 kuf-serwer nsca[7729]: Network server accept failure (10: No child processes) Nov 27 15:48:55 kuf-serwer nsca[7729]: Network server accept failure (9: Bad file descriptor) Nov 27 15:48:55 kuf-serwer nsca[7729]: Network server accept failure (9: Bad file descriptor) .... -- Micha? Panasiewicz Linux user nr. #425323 - jabber: wolvverine [ at ] chrome [ dot ] pl || e-mail: wolvverine [ at ] tlen [ dot ] pl , wolvverine [ at ] pld-linux [ dot ] org http://www.linkomp.pl - Linkomp - Us?ugi informatyczne dla firm - biuro [ at ] linkomp [ dot ] pl ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-user at proy.org Tue Nov 28 17:23:32 2006 From: nagios-user at proy.org (Patrick Proy) Date: Tue, 28 Nov 2006 17:23:32 +0100 Subject: Snmp - How do you use yours? In-Reply-To: <456C055C.5000602@googlemail.com> References: <456C055C.5000602@googlemail.com> Message-ID: <20061128162332.040151953BE@mail.proy.org> Hi, You can give these scripts a try, they will save you some time if you are looking for OIDs : http://www.manubulon.com/nagios/ To run local test using snmp, you can use the "exec" command in snmpd.conf (man snmpd.conf for details): the results will be in the OID table at 1.3.6.1.4.1.2021.8. Patrick -----Message d'origine----- De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Hari Sekhon Envoy? : mardi 28 novembre 2006 10:46 ? : Nagios Users mailinglist Objet : [Nagios-users] Snmp - How do you use yours? Hi all, I've decided to add snmp monitoring to my nagios setup. I'd like to know what you guys and gals are monitoring using snmp out there. It seemed like a lot of work to get in to, but I think this was just the effort of trying to piece together the "documentation" for net-snmp to figure out how to use it. So, now I have an idea and have snmpwalked my agent, I'm left with a big long list of OIDs that I'm not sure are very useful. Ok, all the tutorials show uptime, which is the agent uptime rather than the system uptime but in a few months when the servers are rebooted hopefully this will be the same. So what else can I do with it? Can I extend it to export an OID for some test that runs locally on the system? I need help and ideas please? Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 kilala.nl Tue Nov 28 17:51:44 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 28 Nov 2006 17:51:44 +0100 Subject: Snmp - How do you use yours? In-Reply-To: <20061128162332.040151953BE@mail.proy.org> References: <20061128162332.040151953BE@mail.proy.org> Message-ID: On 28 Nov, 2006, at 17:23, Patrick Proy wrote: > To run local test using snmp, you can use the "exec" command in > snmpd.conf (man snmpd.conf for details): the results will be in the > OID table at 1.3.6.1.4.1.2021.8. While I'm sure that the U.C. Davis (that's who "2021" belongs to) would be more than happy to share their private SNMP subtree with us, it's a better idea to register your _own_ subtree. That way you can be absolutely sure that you're not messing things up by using OIDs that may already get used for something else in your environment. Actually, why don't you check through the following list to see if you company already _has_ a subtree of its own? -> http:// www.iana.org/assignments/enterprise-numbers Also, your statement about the "exec" command is false. The results from the script will not fall under 1.3.6.1.4.1.2021.8 per default. They only will do so if you tell the daemon to do that, through snmpd.conf. It's just that the net-SNMP people have used the 2021 range for their _examples_. Admittedly, the chance of something going wrong by you using someone else's SNMP subtree are slim to none. But I'm always in favor of the most elegant option, if there's a choice. 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 ratty at they.org Tue Nov 28 18:01:32 2006 From: ratty at they.org (frank) Date: Tue, 28 Nov 2006 09:01:32 -0800 (PST) Subject: Snmp - How do you use yours? In-Reply-To: References: <20061128162332.040151953BE@mail.proy.org> Message-ID: On Tue, 28 Nov 2006, Thomas Sluyter wrote: > On 28 Nov, 2006, at 17:23, Patrick Proy wrote: > >> To run local test using snmp, you can use the "exec" command in >> snmpd.conf (man snmpd.conf for details): the results will be in the >> OID table at 1.3.6.1.4.1.2021.8. > > While I'm sure that the U.C. Davis (that's who "2021" belongs to) > would be more than happy to share their private SNMP subtree with us, > it's a better idea to register your _own_ subtree. That way you can > be absolutely sure that you're not messing things up by using OIDs > that may already get used for something else in your environment. > > Actually, why don't you check through the following list to see if > you company already _has_ a subtree of its own? -> http:// > www.iana.org/assignments/enterprise-numbers Dude, chill. > Also, your statement about the "exec" command is false. The results > from the script will not fall under 1.3.6.1.4.1.2021.8 per default. > They only will do so if you tell the daemon to do that, through > snmpd.conf. It's just that the net-SNMP people have used the 2021 > range for their _examples_. > > Admittedly, the chance of something going wrong by you using someone > else's SNMP subtree are slim to none. But I'm always in favor of the > most elegant option, if there's a choice. extTable OBJECT-TYPE SYNTAX SEQUENCE OF ExtEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "A table of extensible commands returning output and result codes. These commands are configured via the agent's snmpd.conf file." ::= { ucdavis 8 } It's _everyone's_ subtree. As the MIB says, it's defined in the agent's own snmpd.conf file so it belongs to whoever is writing that file! Perhaps UCD is writing _your_ config files, I write my own. > Cheers! > > > Thomas -f ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 28 19:16:42 2006 From: nagios at kilala.nl (Thomas Sluyter) Date: Tue, 28 Nov 2006 19:16:42 +0100 Subject: Snmp - How do you use yours? In-Reply-To: References: <20061128162332.040151953BE@mail.proy.org> Message-ID: <1404669E-94D8-4944-ADE0-27BCDC2ABA87@kilala.nl> On 28 Nov, 2006, at 18:01, frank wrote: > On Tue, 28 Nov 2006, Thomas Sluyter wrote: > >> Actually, why don't you check through the following list to see if >> you company already _has_ a subtree of its own? -> http:// >> www.iana.org/assignments/enterprise-numbers > > Dude, chill. Yea, sorry... Reading it back now it came over rather "cold", instead of the "helpful" that I meant it to be. The "why don't you go..." was meant as a suggestion and not as the stereotype sneer. My apologies... >> Also, your statement about the "exec" command is false. The results >> from the script will not fall under 1.3.6.1.4.1.2021.8 per default. > > extTable OBJECT-TYPE > SYNTAX SEQUENCE OF ExtEntry > MAX-ACCESS not-accessible > STATUS current > DESCRIPTION > "A table of extensible commands returning output and > result codes. These commands are configured via the > agent's snmpd.conf file." > ::= { ucdavis 8 } > > It's _everyone's_ subtree. As the MIB says, it's defined in the > agent's own snmpd.conf file so it belongs to whoever is writing > that file! Perhaps UCD is writing _your_ config files, I write my own. Pwned! You've got me there! Ouch... Seriously, I was actually confused by that part of the documentation when I read it first because it never explicitly seem to say: go ahead and use this OID range. So thanks for bringing it to my attention. 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 owen.berry at gmail.com Tue Nov 28 20:02:10 2006 From: owen.berry at gmail.com (Owen Berry) Date: Tue, 28 Nov 2006 14:02:10 -0500 Subject: Change obsess_over_service in status retention file Message-ID: <763ca2a0611281102y30d392aape97ea588e76694cc@mail.gmail.com> I'm administering multiple servers in a distributed/failover environment - running Nagios v1.2. Recently I noticed that one of the servers was performing active checks of some services where it should have been receiving passive checks from the Nagios server local to the service. With some debugging and hair pulling I discovered that some of the services have obsess_over_service=0 in the status.sav file on the "local" Nagios server. These services are configured for obsession, which is confirmed by config.cgi, but they aren't being obsessed over because of the state retention values. Firstly, what is the best way to correct this? As far as I can tell there is no way to fix this through the web interface. My next guess would be to shutdown Nagios, modify the relevant values in status.sav, and restart. Any other ideas? I have a LOT of services I will need to check, so I would probably need to figure out some way to script it if I need to go this way. Otherwise, is there some way to just reset the value to whatever was configured? I don't want to lose all the status information, so deleting everything would not be a good option. Secondly, how does it get into this state? There are services for the same host that were added at the same time, yet have differing values in the state retention. I would prefer to avoid this in the future - our servers are busy enough without each server having to perform it's own checks. Thanks for any input, Owen ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarcus at mvalent.com Tue Nov 28 20:05:50 2006 From: jmarcus at mvalent.com (James Marcus) Date: Tue, 28 Nov 2006 14:05:50 -0500 Subject: Multiple email alerts Message-ID: Hi, I?m using a $8.00/month Xen account to run Nagios to monitor 3 machines and 37 services. My issue is that either the Xen machines network or the network I host on gets slow and then I get 37 emails regarding downed services. I read the FAQ and thought that setting notification_interval to 0 would do the trick based on this link: http://www.nagios.org/faqs/viewfaq.php?faq_id=71&expand=false&showdesc=false Unfortunately I just got 28 emails for one machine. I want to setup Nagios so that if the machine is unreachable, then it should assume that none of the services are reachable and it should only send out one alert. Thanks, James ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Tue Nov 28 20:11:51 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 28 Nov 2006 19:11:51 +0000 Subject: NCSA not working, garbage when telnettting Message-ID: <456C89F7.3070703@googlemail.com> I'm trying to implement ncsa which seems simple enough... except it's not working. I have made the passwords for both the client and server the same. The ports are default. I am using the client as follows check_test | send_nsca -H server -c /etc/nagios/send_nsca.cfg 0 data packet(s) sent to host successfully. At first I thought it might be passwords so I've tried 3 different ones on both sides, matched them exactly and eventually reduced then to 8 chars to be safe. Then I put encryption=0 on both sides to try to see if even this would work, but it didn't, same result. So I netcatted the port on the server and got the following junk back: # nc server 5667 ?DEwu b ??0?????? ?SE???C??[a???WZb#:FS??????- at S? ff?x ??('2Lay?t{?f=qa???3e??q??? O(RPzQ???O?f?El?k^[[?1;2c # telnet server 5667 Trying 192.168.1.89... Connected to server.mydomain.com Escape character is '^]'. 3??p???K!???g???I?5tf%U??#ZAW 4X?T,DKN??f?._id???)w6M?x???????EI?XH?l??6?K Ap?H???y;?%8.&6?l????1u?gRx_Q_`??#?El?? ]^] telnet> quit Connection closed. What on earth is going on with NSCA? I thought encryption=0 would send cleartext? Any ideas? Thanks -h -- Hari Sekhon ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 28 20:16:24 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Nov 2006 13:16:24 -0600 Subject: Multiple email alerts Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of James Marcus > Sent: Tuesday, November 28, 2006 1:06 PM > To: Nagios Users mailinglist > Subject: [Nagios-users] Multiple email alerts > > Hi, > I?m using a $8.00/month Xen account to run Nagios to monitor 3 machines > and > 37 services. My issue is that either the Xen machines network or the > network I host on gets slow and then I get 37 emails regarding downed > services. I read the FAQ and thought that setting notification_interval > to > 0 would do the trick based on this link: > http://www.nagios.org/faqs/viewfaq.php?faq_id=71&expand=false&showdesc=fal > se > Unfortunately I just got 28 emails for one machine. I want to setup > Nagios > so that if the machine is unreachable, then it should assume that none of > the services are reachable and it should only send out one alert. Specify a host check_command that will return CRITICAL when this problem occurs. Nagios will automatically suppress service notifications for hosts that are in a non-OK state. http://nagios.sourceforge.net/docs/2_0/networkreachability.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 owen.berry at gmail.com Tue Nov 28 20:28:05 2006 From: owen.berry at gmail.com (Owen Berry) Date: Tue, 28 Nov 2006 14:28:05 -0500 Subject: NCSA not working, garbage when telnettting In-Reply-To: <456C89F7.3070703@googlemail.com> References: <456C89F7.3070703@googlemail.com> Message-ID: <763ca2a0611281128h31db3aeblcc817be1af1c7a61@mail.gmail.com> Can we assume that check_test does actually output the check result in the correct format. I can echo "" to send_nsca and it also says: 0 data packet(s) sent to host successfully. Owen On 11/28/06, Hari Sekhon wrote: > I'm trying to implement ncsa which seems simple enough... except it's > not working. > > I have made the passwords for both the client and server the same. The > ports are default. I am using the client as follows > > check_test | send_nsca -H server -c /etc/nagios/send_nsca.cfg > 0 data packet(s) sent to host successfully. > > At first I thought it might be passwords so I've tried 3 different ones > on both sides, matched them exactly and eventually reduced then to 8 > chars to be safe. > > Then I put encryption=0 on both sides to try to see if even this would > work, but it didn't, same result. > > So I netcatted the port on the server and got the following junk back: > > > # nc server 5667 > ?DEwu > b ??0?????? ?SE???C??[a???WZb#:FS??????- at S? > ff?x > ??('2Lay?t{?f=qa???3e??q??? O(RPzQ???O?f?El?k^[[?1;2c > > # telnet server 5667 > Trying 192.168.1.89... > Connected to server.mydomain.com > Escape character is '^]'. > 3??p???K!???g???I?5tf%U??#ZAW > 4X?T,DKN??f?._id???)w6M?x???????EI?XH?l(r)?6?K > Ap?H???y;?%8.&6?l????1u?gRx_Q_`??#?El?? > ]^] > telnet> quit > Connection closed. > > > What on earth is going on with NSCA? > > I thought encryption=0 would send cleartext? > > Any ideas? > > > Thanks > > -h > > -- > Hari Sekhon > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 hpsekhon at googlemail.com Tue Nov 28 20:31:16 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 28 Nov 2006 19:31:16 +0000 Subject: NCSA not working, garbage when telnettting In-Reply-To: <763ca2a0611281128h31db3aeblcc817be1af1c7a61@mail.gmail.com> References: <456C89F7.3070703@googlemail.com> <763ca2a0611281128h31db3aeblcc817be1af1c7a61@mail.gmail.com> Message-ID: <456C8E84.3000709@googlemail.com> hmm, the plugin is the check_mailq plugin, which outputs the following: /usr/nagios/libexec/check_mailq -M postfix -w 500 -c 1000 OK: mailq (33) is below threshold (500/1000)|unsent=33;500;1000;0 Thanks, after pulling my hair out trying to understand this I feel like I have a lead again... (I also tried echo and got the same thinking it's a general fault in not sending) -h Hari Sekhon Owen Berry wrote: > Can we assume that check_test does actually output the check result in > the correct format. I can echo "" to send_nsca and it also says: > > 0 data packet(s) sent to host successfully. > > Owen > > On 11/28/06, Hari Sekhon wrote: > >> I'm trying to implement ncsa which seems simple enough... except it's >> not working. >> >> I have made the passwords for both the client and server the same. The >> ports are default. I am using the client as follows >> >> check_test | send_nsca -H server -c /etc/nagios/send_nsca.cfg >> 0 data packet(s) sent to host successfully. >> >> At first I thought it might be passwords so I've tried 3 different ones >> on both sides, matched them exactly and eventually reduced then to 8 >> chars to be safe. >> >> Then I put encryption=0 on both sides to try to see if even this would >> work, but it didn't, same result. >> >> So I netcatted the port on the server and got the following junk back: >> >> >> # nc server 5667 >> ?DEwu >> b ??0?????? ?SE???C??[a???WZb#:FS??????- at S? >> ff?x >> ??('2Lay?t{?f=qa???3e??q????O(RPzQ???O?f?El?k^[[?1;2c >> >> # telnet server 5667 >> Trying 192.168.1.89... >> Connected to server.mydomain.com >> Escape character is '^]'. >> 3??p???K!???g???I?5tf%U??#ZAW >> 4X?T,DKN??f?._id???)w6M?x???????EI?XH?l(r)?6?K >> Ap?H???y;?%8.&6?l????1u?gRx_Q_`??#?El?? >> ]^] >> telnet> quit >> Connection closed. >> >> >> What on earth is going on with NSCA? >> >> I thought encryption=0 would send cleartext? >> >> Any ideas? >> >> >> Thanks >> >> -h >> >> -- >> Hari Sekhon >> >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 hpsekhon at googlemail.com Tue Nov 28 20:37:38 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 28 Nov 2006 19:37:38 +0000 Subject: NCSA not working, garbage when telnettting In-Reply-To: <456C8E84.3000709@googlemail.com> References: <456C89F7.3070703@googlemail.com> <763ca2a0611281128h31db3aeblcc817be1af1c7a61@mail.gmail.com> <456C8E84.3000709@googlemail.com> Message-ID: <456C9002.3050209@googlemail.com> that was exactly it, I echoed a line with the exact format and it worked sending 1 packet. Thanks! now the question is how to do this check_mailq and get the thing to send. I guess a simple bash script will take case of this... -h Hari Sekhon Hari Sekhon wrote: > hmm, the plugin is the check_mailq plugin, which outputs the following: > > > /usr/nagios/libexec/check_mailq -M postfix -w 500 -c 1000 > OK: mailq (33) is below threshold (500/1000)|unsent=33;500;1000;0 > > Thanks, after pulling my hair out trying to understand this I feel > like I have a lead again... (I also tried echo and got the same > thinking it's a general fault in not sending) > > -h > Hari Sekhon > > > > Owen Berry wrote: >> Can we assume that check_test does actually output the check result in >> the correct format. I can echo "" to send_nsca and it also says: >> >> 0 data packet(s) sent to host successfully. >> >> Owen >> >> On 11/28/06, Hari Sekhon wrote: >> >>> I'm trying to implement ncsa which seems simple enough... except it's >>> not working. >>> >>> I have made the passwords for both the client and server the same. The >>> ports are default. I am using the client as follows >>> >>> check_test | send_nsca -H server -c /etc/nagios/send_nsca.cfg >>> 0 data packet(s) sent to host successfully. >>> >>> At first I thought it might be passwords so I've tried 3 different ones >>> on both sides, matched them exactly and eventually reduced then to 8 >>> chars to be safe. >>> >>> Then I put encryption=0 on both sides to try to see if even this would >>> work, but it didn't, same result. >>> >>> So I netcatted the port on the server and got the following junk back: >>> >>> >>> # nc server 5667 >>> ?DEwu >>> b ??0?????? ?SE???C??[a???WZb#:FS??????- at S? >>> ff?x >>> ??('2Lay?t{?f=qa???3e??q????O(RPzQ???O?f?El?k^[[?1;2c >>> >>> # telnet server 5667 >>> Trying 192.168.1.89... >>> Connected to server.mydomain.com >>> Escape character is '^]'. >>> 3??p???K!???g???I?5tf%U??#ZAW >>> 4X?T,DKN??f?._id???)w6M?x???????EI?XH?l(r)?6?K >>> Ap?H???y;?%8.&6?l????1u?gRx_Q_`??#?El?? >>> ]^] >>> telnet> quit >>> Connection closed. >>> >>> >>> What on earth is going on with NSCA? >>> >>> I thought encryption=0 would send cleartext? >>> >>> Any ideas? >>> >>> >>> Thanks >>> >>> -h >>> >>> -- >>> Hari Sekhon >>> >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share your >>> opinions on IT & business topics through brief surveys - and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 marc at ena.com Tue Nov 28 20:38:40 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Nov 2006 13:38:40 -0600 Subject: NCSA not working, garbage when telnettting {Spam?} Message-ID: The example submit_check_result script in Distributed Monitoring documentation (and the documentation itself) will help you a lot. You do need to munge the plugin output before sending. -- Marc > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon > Sent: Tuesday, November 28, 2006 1:31 PM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] NCSA not working, garbage when telnettting > {Spam?} > > hmm, the plugin is the check_mailq plugin, which outputs the following: > > > /usr/nagios/libexec/check_mailq -M postfix -w 500 -c 1000 > OK: mailq (33) is below threshold (500/1000)|unsent=33;500;1000;0 > > Thanks, after pulling my hair out trying to understand this I feel like > I have a lead again... (I also tried echo and got the same thinking it's > a general fault in not sending) > > -h > > Hari Sekhon > > > > Owen Berry wrote: > > Can we assume that check_test does actually output the check result in > > the correct format. I can echo "" to send_nsca and it also says: > > > > 0 data packet(s) sent to host successfully. > > > > Owen > > > > On 11/28/06, Hari Sekhon wrote: > > > >> I'm trying to implement ncsa which seems simple enough... except it's > >> not working. > >> > >> I have made the passwords for both the client and server the same. The > >> ports are default. I am using the client as follows > >> > >> check_test | send_nsca -H server -c /etc/nagios/send_nsca.cfg > >> 0 data packet(s) sent to host successfully. > >> > >> At first I thought it might be passwords so I've tried 3 different ones > >> on both sides, matched them exactly and eventually reduced then to 8 > >> chars to be safe. > >> > >> Then I put encryption=0 on both sides to try to see if even this would > >> work, but it didn't, same result. > >> > >> So I netcatted the port on the server and got the following junk back: > >> > >> > >> # nc server 5667 > >> ?DEwu > >> b ??0?????? ?SE???C??[a???WZb#:FS??????- at S? > >> ff?x > >> ??('2Lay?t{?f=qa???3e??q????O(RPzQ??? ?!?'>O?f?El?k^[[?1;2c > >> > >> # telnet server 5667 > >> Trying 192.168.1.89... > >> Connected to server.mydomain.com > >> Escape character is '^]'. > >> 3??p???K!???g???I?5tf%U??#ZAW > >> 4X?T,DKN??f?._id???)w6M?x???????EI?XH?l(r)?6?K > >> Ap?H???y;?%8.&6?l????1u?gRx_Q_`??#?El?? > >> ]^] > >> telnet> quit > >> Connection closed. > >> > >> > >> What on earth is going on with NSCA? > >> > >> I thought encryption=0 would send cleartext? > >> > >> Any ideas? > >> > >> > >> Thanks > >> > >> -h > >> > >> -- > >> Hari Sekhon > >> > >> > >> ----------------------------------------------------------------------- > -- > >> Take Surveys. Earn Cash. Influence the Future of IT > >> Join SourceForge.net's Techsay panel and you'll get the chance to share > your > >> opinions on IT & business topics through brief surveys - and earn cash > >> > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: 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 > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From owen.berry at gmail.com Tue Nov 28 20:43:36 2006 From: owen.berry at gmail.com (Owen Berry) Date: Tue, 28 Nov 2006 14:43:36 -0500 Subject: NCSA not working, garbage when telnettting In-Reply-To: <456C8E84.3000709@googlemail.com> References: <456C89F7.3070703@googlemail.com> <763ca2a0611281128h31db3aeblcc817be1af1c7a61@mail.gmail.com> <456C8E84.3000709@googlemail.com> Message-ID: <763ca2a0611281143y4e6a5e91q75c8eee36306bbeb@mail.gmail.com> The send_nsca I'm running is expecting tab separated fields on stdin by default. Try running it without arguments to see what your version expects. This works for me: echo "testhost TestService 0 OK" | bin/send_nsca nagiossvr -c etc/send_nsca.cfg The spaces in the echo are actually tabs. Owen On 11/28/06, Hari Sekhon wrote: > > hmm, the plugin is the check_mailq plugin, which outputs the following: > > > /usr/nagios/libexec/check_mailq -M postfix -w 500 -c 1000 > OK: mailq (33) is below threshold (500/1000)|unsent=33;500;1000;0 > > Thanks, after pulling my hair out trying to understand this I feel like I > have a lead again... (I also tried echo and got the same thinking it's a > general fault in not sending) > > -h > Hari Sekhon > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nweaver at keylabs.com Tue Nov 28 20:48:48 2006 From: nweaver at keylabs.com (Nick Weaver) Date: Tue, 28 Nov 2006 12:48:48 -0700 Subject: Plugin alerts Message-ID: <45E066E11389974EA9BB029C17DA1F6A05D239AD@ms.ut.keylabs.com> I am using the chkNmapScan.pl plugin. The plugin is working fine, but it never emails me alerts. My check_TCP plugin also does not alert me. The normal ping/check_host_alive one is fine. Any ideas? My contacts.cfg is define contact{ contact_name Nick_Weaver alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands host-notify-by-email host_notification_commands host-notify-by-email email nweaver at keylabs.comXXXXX } Note: XXX's added to this message Nick Weaver Manager, Lab Infrastructure -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 3471 bytes Desc: image001.gif 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 npietrangelo at jewels.com Tue Nov 28 21:00:44 2006 From: npietrangelo at jewels.com (Nicholas Pietrangelo) Date: Tue, 28 Nov 2006 15:00:44 -0500 Subject: NRPE and check_apacheconcreqs Message-ID: <1164744044.3877.102.camel@dustymonkey> I am trying to perform a check for the number of "workers" on an IBMHttpServer (Apache). When I try to run check_nrpe against check_apacheconcreq (which I downloaded for nagiosexchange) I receive the following error: HTTP requests WARNING - query returned no output! When I run the check_apacheconcreq plugin locally I get the expected results: HTTP requests WARNING - 1 concurrent requests When I run the "check_nrpe -H webserver -c check_apache_reqs -w X -c Y" locally or from the Nagios Server I get the "no output" error. (check_apache_reqs is the alias in the nrpe.cfg for `check_apacheconcreq -w 0 -c 1`). I have the value set to 0 & 1 to present WARNING or CRITICAL for this test. I can run all other aliases in the nrpe.cfg successfully (check_disk1, check_load, check_users, etc). TIA, Nick P. 440-829-7777 mobile The information contained in this e-mail message is privileged and/or confidential and is intended only for the use of the individual or entity named above. If the reader of this message is not the intended recipient, or the employee or agent responsible to deliver it to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify us by telephone (330-668-5000), and destroy the original message. 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 owen.berry at gmail.com Tue Nov 28 21:03:39 2006 From: owen.berry at gmail.com (Owen Berry) Date: Tue, 28 Nov 2006 15:03:39 -0500 Subject: Change obsess_over_service in status retention file In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB7905788213@MAILBOXSEVEN.home.ku.edu> References: <763ca2a0611281102y30d392aape97ea588e76694cc@mail.gmail.com> <9632C3DAB675864EB0A9B7724D85DB7905788213@MAILBOXSEVEN.home.ku.edu> Message-ID: <763ca2a0611281203y7afaf0a5v31d79ddf8dc4fe57@mail.gmail.com> What version of Nagios are you running? My version doesn't have the option to change the "obsess over service" value in the Service Commands area. I'm running 1.2, but there is a possibility that this CGI is from an earlier version (somebody before me really messed things up). Thanks, Owen On 11/28/06, Sloane, Robert Raymond wrote: > You can change the "obsess over this service" value from the Service > State Information page. Go to "Service Detail" in the left panel, and > click on the name of the service you want to change. In the "Service > Commands" box on the right there will be a link to start or stop > obsessing over the service. > > To reset the values on a "one time only" basis, I would stop Nagios, > edit the status.sav file and then start Nagios again. > -- > Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 > Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Tue Nov 28 21:11:30 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 28 Nov 2006 20:11:30 +0000 Subject: NCSA not working, garbage when telnettting In-Reply-To: <763ca2a0611281143y4e6a5e91q75c8eee36306bbeb@mail.gmail.com> References: <456C89F7.3070703@googlemail.com> <763ca2a0611281128h31db3aeblcc817be1af1c7a61@mail.gmail.com> <456C8E84.3000709@googlemail.com> <763ca2a0611281143y4e6a5e91q75c8eee36306bbeb@mail.gmail.com> Message-ID: <456C97F2.90705@googlemail.com> Yeah, mine works now, I've wrapped it up in a shell script. I actually used echo -e "$hostname\t$service\t...." since I think it's more clear. Significant whitespace is rubbish, just don't say that in front of any python programmer.... like all the guys at my company! :-) -h Hari Sekhon Owen Berry wrote: > The send_nsca I'm running is expecting tab separated fields on stdin > by default. Try running it without arguments to see what your version > expects. This works for me: > > echo "testhost TestService 0 OK" | bin/send_nsca nagiossvr > -c etc/send_nsca.cfg > > The spaces in the echo are actually tabs. > > Owen > > On 11/28/06, Hari Sekhon wrote: > >> hmm, the plugin is the check_mailq plugin, which outputs the following: >> >> >> /usr/nagios/libexec/check_mailq -M postfix -w 500 -c 1000 >> OK: mailq (33) is below threshold (500/1000)|unsent=33;500;1000;0 >> >> Thanks, after pulling my hair out trying to understand this I feel like I >> have a lead again... (I also tried echo and got the same thinking it's a >> general fault in not sending) >> >> -h >> Hari Sekhon >> >> > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 marc at ena.com Tue Nov 28 21:42:35 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Nov 2006 14:42:35 -0600 Subject: Plugin alerts Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nick Weaver > Sent: Tuesday, November 28, 2006 1:49 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin alerts > > > > I am using the chkNmapScan.pl plugin. The plugin is working fine, but it > never emails me alerts. My check_TCP plugin also does not alert me. The > normal ping/check_host_alive one is fine. Does your service{} definition have the notification_options you want? -- 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 esavage at digitalrage.org Tue Nov 28 22:18:58 2006 From: esavage at digitalrage.org (Elijah Savage) Date: Tue, 28 Nov 2006 16:18:58 -0500 (EST) Subject: Notification Interval Configured wrong or not working right Message-ID: <13700068.1601164748738895.JavaMail.root@mail> All I have read the documentation a number of times and either I am not getting it or it is not working. I have this host set below define host{ host_name beastie alias NFS Unix Server address 172.26.X.X check_command check-host-alive max_check_attempts 10 check_period 24x7 notification_interval 20 notification_period 24x7 parents Pix notification_options d,r,u contact_groups Admins } If I shutdown the network interface on the switch leading to this box nagios alerts on the host being down but it alerts on it every 10 minutes. If I think I understand the notification interval correctly hopefully this info will be enough for someone to point out what I have wrong here. # INTERVAL LENGTH # This is the seconds per unit interval as used in the # host/contact/service configuration files. Setting this to 60 means # that each interval is one minute long (60 seconds). Other settings # have not been tested much, so your mileage is likely to vary... interval_length=60 The service check interval for this host is normal_check_interval 5 Oh yeah I am running version 2.5 -------------- 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 Tue Nov 28 22:39:11 2006 From: btmanmeh at verizon.net (Max H.) Date: Tue, 28 Nov 2006 16:39:11 -0500 Subject: Notification Interval Configured wrong or not working right In-Reply-To: <13700068.1601164748738895.JavaMail.root@mail> References: <13700068.1601164748738895.JavaMail.root@mail> Message-ID: <456CAC7F.3030706@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Elijah Savage wrote: > All I have read the documentation a number of times and either I am not > getting it or it is not working. I have this host set below > > define host{ > host_name beastie > alias NFS Unix Server > address 172.26.X.X > check_command check-host-alive > max_check_attempts 10 > check_period 24x7 > notification_interval 20 > notification_period 24x7 > parents Pix > notification_options d,r,u > contact_groups Admins > } > Did it used to be 10 minutes and you just changed it to 20 minutes? I don't see anything wrong with your configuration, it's exactly as mine is except mine is 30 minute intervals. Did you run nagios -v nagios.cfg to check on the config and then restart Nagios? That's the only thing I can think of. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org iD8DBQFFbKx/HoeeepPau2ERAi5aAJ98dQbYUehxrRCYfE4fJ6+tb7CtSwCgqyl5 MdcEPJ2qJBRvp5fXKcr+qYc= =65AZ -----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 John.Withers at irs.gov Tue Nov 28 22:54:09 2006 From: John.Withers at irs.gov (Withers John Z) Date: Tue, 28 Nov 2006 15:54:09 -0600 Subject: Automating downtime Message-ID: <359F68B4FF15BA428E3DDE820178862DB7E648@KAN0010CP3MB01.ds.irsnet.gov> I'm interested in automating host downtime. The SCHEDULE_HOST_DOWNTIME external command works very well, but the complementary command to cancel a scheduled downtime (DEL_HOST_DOWNTIME) is difficult to use. In particular, it requires that the caller know the internal ID of the downtime entry to delete. Has anyone worked around this? -------------- 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 Tue Nov 28 22:58:05 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Tue, 28 Nov 2006 14:58:05 -0700 Subject: Automating downtime Message-ID: <2D0245E43DEC724F81592D697F05689904C432A5@SIDHQEXCHMB1.Cabelas.Corp> If you're local to the nagios process, the file .../var/nagiosdowntime.log (or .dat) contains the current list of downtimes complete with IDs. You could pretty easily parse that and do a match against hostname/servicename to derive the ID you're looking for. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Withers John Z Sent: Tuesday, November 28, 2006 2:54 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Automating downtime I'm interested in automating host downtime. The SCHEDULE_HOST_DOWNTIME external command works very well, but the complementary command to cancel a scheduled downtime (DEL_HOST_DOWNTIME) is difficult to use. In particular, it requires that the caller know the internal ID of the downtime entry to delete. Has anyone worked around this? -------------- 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 marc at ena.com Tue Nov 28 23:26:32 2006 From: marc at ena.com (Marc Powell) Date: Tue, 28 Nov 2006 16:26:32 -0600 Subject: Notification Interval Configured wrong or not working right Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Max H. > Sent: Tuesday, November 28, 2006 3:39 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Notification Interval Configured wrong or not > working right > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Elijah Savage wrote: > > All I have read the documentation a number of times and either I am not > > getting it or it is not working. I have this host set below > > > > define host{ > > host_name beastie > > alias NFS Unix Server > > address 172.26.X.X > > check_command check-host-alive > > max_check_attempts 10 > > check_period 24x7 > > notification_interval 20 > > notification_period 24x7 > > parents Pix > > notification_options d,r,u > > contact_groups Admins > > } > > > > > > Did it used to be 10 minutes and you just changed it to 20 minutes? I You're almost certainly on the right track with this question. notification_interval is a variable impacted if retention is enabled. The OP should probably read the Retention Notes at http://nagios.sourceforge.net/docs/2_0/xodtemplate.html if he's using host and service retention. -- 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 amontibello at gmail.com Wed Nov 29 01:39:02 2006 From: amontibello at gmail.com (Anthony Montibello) Date: Tue, 28 Nov 2006 19:39:02 -0500 Subject: Asynchronous socket error 10053 In-Reply-To: References: Message-ID: Did you try reinstalling pNSClient NS_clients home page is here:http://nsclient.ready2run.nl/index.htm *Installation* [From pNSClient ReadMe] *On the Windows machine * 1. Copy pNSClient.exe, pdh.dll, psapi.dll and counters.defs in any directory on the machine you want to monitor. ie. (c:\nsclient). 2. Open a dos prompt in the installation directory 3. Run the following command : >pNSClient.exe /install 4. Type 'net start nsclient' on the command line or start the service 'Nagios Agent' in the services applet of the control panel. Naturally you can always try NC_Net it was built to be a drop in replacement for pNSCLient and has the capabilities of running Scripts (Similar to NRPE but without the Encryption) It can also be loaded with Service Checks and then submit them as Passive checks via NSCA. http://sourceforge.net/projects/nc-net There are other windows plugins as well. NSClient++ (also on sourceforge and Nagios Exchange) one of these two applications or reinstalling pNS_Client should fix the WIndows Host side of NSClient. Naturally make sure the Windows Host Firewall has the port open for incoming connections. As for the problem with NRPE, I personally do not use that, and do not have the experience to help, However search the nagios Users list because I know there has been plenty of posts on usage of NRPE over the past 2 years. Naturally look online and search the Nagios Documentation for additional help on this. on a side not- many people may not have read your post because of the Subject, It is best to mention the plugin that is giving you problems in the subject. Good Luck. Tony - Author of NC_NEt. On 11/24/06, Vignesh Kumar wrote: > > Hi All, > > > > I have installed NSclient tool and NRPE in windows 2000 server. Today I am > getting some alerts in my event viewer. Following are the events. > > > > (1) The description for Event ID (1) in Source (pNSClient.exe) cannot be > found. The local computer may not have the necessary registry information or > message DLL files to display messages from a remote computer. The following > information is part of the event: Asynchronous socket error 10053. > > > > (2) NRPE_NT: Error: Could not complete SSL handshake. 0:5. > > > > Please guide me to solve the problem. > > Thanks & Regards, > > P.Vignesh Kumar > > > Legal Disclaimer: The information contained in this message may be > privileged and confidential. It is intended to be read only by the > individual or entity to whom it is addressed or by their designee. If the > reader of this message is not the intended recipient, you are on notice that > any distribution of this message, in any form, is strictly prohibited. If > you have received this message in error, please immediately notify the > sender and delete or destroy any copy of this message > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 xinetd3 at hotmail.com Wed Nov 29 12:00:15 2006 From: xinetd3 at hotmail.com (Zorron Konto) Date: Wed, 29 Nov 2006 13:00:15 +0200 Subject: compilation error openvrml Message-ID: Hi all, I am running nagios 1.3 over apache 2.0. When choosing 3D-map status option, it couldn't be viewed since openvrml is not installed. So I downloaded the package openvrml-0.16.1. When trying to compile it is getting this output: >> checking build system type... i686-pc-linux-gnulibc1 checking host system type... i686-pc-linux-gnulibc1 checking target system type... i686-pc-linux-gnulibc1 checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... no checking for mawk... mawk checking whether make sets $(MAKE)... yes checking how to create a pax tar archive... gnutar checking for style of include used by make... GNU checking for gcc... gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables << the gcc version is 4.0. Do you think that the problem comes from the gcc version or the openvrml package? and how to resolve this problem? thanks for any help! Rgds, Zorron. _________________________________________________________________ Don't just search. Find. Check out the new MSN Search! http://search.msn.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 xinetd3 at hotmail.com Wed Nov 29 12:21:34 2006 From: xinetd3 at hotmail.com (Zorron Konto) Date: Wed, 29 Nov 2006 13:21:34 +0200 Subject: status pending In-Reply-To: References: Message-ID: I will answer myself!! I found the solution. I didn't define the services that are running on these machines in the services.cfg file!! that was causing the status pending >From: "Zorron Konto" >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] status pending >Date: Mon, 27 Nov 2006 14:03:45 +0200 > >Hi all, > >I have recently intalled Nagios 1.3. I've added for testing purposes 2 >hosts. Then I've created a hostgroup for these 2 hosts. When I view the >Status Map, I'm always seeing the status pending of these hosts. I made >sure >that these 2 hosts are quitely reachable, but still i'm getting a pending >status on the map. > >Shall I configure something else other than the hosts.cfg & hostgroups.cfg >files? > >BRgds, >Zorron. > >_________________________________________________________________ >Express yourself instantly with MSN Messenger! Download today it's FREE! >http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > >------------------------------------------------------------------------- >Take Surveys. Earn Cash. Influence the Future of IT >Join SourceForge.net's Techsay panel and you'll get the chance to share >your >opinions on IT & business topics through brief surveys - and earn cash >http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 neuwald.biz Wed Nov 29 12:42:34 2006 From: felipe at neuwald.biz (Felipe Neuwald) Date: Wed, 29 Nov 2006 09:42:34 -0200 Subject: Services and Contact Groups Message-ID: <456D722A.8090309@neuwald.biz> 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 hpsekhon at googlemail.com Wed Nov 29 13:00:27 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 29 Nov 2006 12:00:27 +0000 Subject: Services and Contact Groups In-Reply-To: <456D722A.8090309@neuwald.biz> References: <456D722A.8090309@neuwald.biz> Message-ID: <456D765B.1030605@googlemail.com> just split it into 2 service definitions, one with the 3 hosts you want with contacts for both groups and the second group with only the admins contact. -h Hari Sekhon Felipe Neuwald wrote: > Hi Folks, > > I have nagios 2.5 and nagios-plugins 1.4.5,1 running on a FreeBSD > 6.2-PRERELEASE. > > define service{ > use generic-service ; Name > of service template to use > host_name > sun,earth,moon,gordo,turbofone,ledj,spirit,oberon,sputinik,mars,cs,mercury,encontreitudo03,encontreitudo02,encontreitudo01 > service_description ssh > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > retry_check_interval 1 > contact_groups admins > notification_options w,u,c,r > notification_interval 960 > notification_period 24x7 > check_command check_ssh > } > > The problem is, when the service ssh on hosts encontreitudo01, > encontreitudo02, and encontreitudo03 goes down, I need that other > contact_group then admin receive notification too. The only way that I > found to do this, is specify contact_groups admins, othercontactgroup. > But when other hosts goes down, the othercontactgroup will too receive > notifications. > > There is a way to solve this problem? > > Thank you, > > Felipe Neuwald. > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 neuwald.biz Wed Nov 29 13:08:11 2006 From: felipe at neuwald.biz (Felipe Neuwald) Date: Wed, 29 Nov 2006 10:08:11 -0200 Subject: Services and Contact Groups In-Reply-To: <456D765B.1030605@googlemail.com> References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> Message-ID: <456D782B.8010008@neuwald.biz> 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 hpsekhon at googlemail.com Wed Nov 29 13:14:24 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 29 Nov 2006 12:14:24 +0000 Subject: Services and Contact Groups In-Reply-To: <456D782B.8010008@neuwald.biz> References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> Message-ID: <456D79A0.20905@googlemail.com> yes, the service_description can be called SSH in both cases. I do this. -h Hari Sekhon Felipe Neuwald wrote: > Hari, > > But may I call the 2 service definitions as ssh ? > > Felipe. > > Hari Sekhon escreveu: >> just split it into 2 service definitions, one with the 3 hosts you >> want with contacts for both groups and the second group with only the >> admins contact. >> >> -h >> Hari Sekhon >> >> >> >> Felipe Neuwald wrote: >>> Hi Folks, >>> >>> I have nagios 2.5 and nagios-plugins 1.4.5,1 running on a FreeBSD >>> 6.2-PRERELEASE. >>> >>> define service{ >>> use generic-service ; >>> Name of service template to use >>> host_name >>> sun,earth,moon,gordo,turbofone,ledj,spirit,oberon,sputinik,mars,cs,mercury,encontreitudo03,encontreitudo02,encontreitudo01 >>> service_description ssh >>> is_volatile 0 >>> check_period 24x7 >>> max_check_attempts 4 >>> retry_check_interval 1 >>> contact_groups admins >>> notification_options w,u,c,r >>> notification_interval 960 >>> notification_period 24x7 >>> check_command check_ssh >>> } >>> >>> The problem is, when the service ssh on hosts encontreitudo01, >>> encontreitudo02, and encontreitudo03 goes down, I need that other >>> contact_group then admin receive notification too. The only way that >>> I found to do this, is specify contact_groups admins, >>> othercontactgroup. But when other hosts goes down, the >>> othercontactgroup will too receive notifications. >>> >>> There is a way to solve this problem? >>> >>> Thank you, >>> >>> Felipe Neuwald. >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share your >>> opinions on IT & business topics through brief surveys - and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 felipe at neuwald.biz Wed Nov 29 13:28:06 2006 From: felipe at neuwald.biz (Felipe Neuwald) Date: Wed, 29 Nov 2006 10:28:06 -0200 Subject: Services and Contact Groups In-Reply-To: <456D79A0.20905@googlemail.com> References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> <456D79A0.20905@googlemail.com> Message-ID: <456D7CD6.1050608@neuwald.biz> 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 skumarsmails at gmail.com Wed Nov 29 15:00:44 2006 From: skumarsmails at gmail.com (Saravana Kumar) Date: Wed, 29 Nov 2006 19:30:44 +0530 Subject: Need Plug-ins to Monitor Sun-Solaris servers Message-ID: <620e4cdb0611290600g18f60fa1udb7bf3350a9bac69@mail.gmail.com> Hi all, I am using Nagios-1.2 On linux Fedora Core-2 to monitor Linux servers as well as Sunsolaris servers. I don't have much knowledge on Sun OS. When i say uname -a in sun machine this is the out put i got SunOS localhost 5.9 Generic_117171-07 sun4u sparc SUNW,Serverblade1 My requirement is. Can we have plug-ins to monitor SUN OS services like disk space, total process, load etc.. if it is there kindly let me know. So that I can enable those services and it will be very helpful to me. Kindly help me... Thanks -- Saravana Kumar -------------- 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 misch at multinet.de Wed Nov 29 15:13:19 2006 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 29 Nov 2006 15:13:19 +0100 Subject: Need Plug-ins to Monitor Sun-Solaris servers In-Reply-To: <620e4cdb0611290600g18f60fa1udb7bf3350a9bac69@mail.gmail.com> References: <620e4cdb0611290600g18f60fa1udb7bf3350a9bac69@mail.gmail.com> Message-ID: <200611291513.24579.misch@multinet.de> Am Mittwoch, 29. November 2006 15:00 schrieb Saravana Kumar: > Hi all, > > I am using Nagios-1.2 On linux Fedora Core-2 to monitor Linux > servers as well as Sunsolaris servers. I don't have much knowledge on Sun > OS. > > When i say uname -a in sun machine this is the out put i got > > SunOS localhost 5.9 Generic_117171-07 sun4u sparc SUNW,Serverblade1 > > My requirement is. Can we have plug-ins to monitor SUN OS services > like disk space, total process, load etc.. if it is there kindly let me > know. So that I can enable those services and it will be very helpful to > me. > > Kindly help me... > > Thanks SNMP is the answer. Simple (!) Network Management Protocol. -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 -------------- 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 Peter at berghold.net Wed Nov 29 15:14:08 2006 From: Peter at berghold.net (Peter L. Berghold) Date: Wed, 29 Nov 2006 09:14:08 -0500 Subject: Need Plug-ins to Monitor Sun-Solaris servers In-Reply-To: <620e4cdb0611290600g18f60fa1udb7bf3350a9bac69@mail.gmail.com> References: <620e4cdb0611290600g18f60fa1udb7bf3350a9bac69@mail.gmail.com> Message-ID: <456D95B0.4060506@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Saravana Kumar wrote: > > My requirement is. Can we have plug-ins to monitor SUN OS services > like disk space, total process, load etc.. Hi there, Have you looked at the normal set of plugins available? IIRC there are enough "out of the box" plugins to get you started. There are numerous ways you can approach this. In my environment we set up an account called "nagios" in which we installed the public keys for the nagios user on our monitoring machine so the nagios user is trusted as "nagios" on all of our machines. You then can run check-by-ssh with the plugin name you are after and life is good. Another approach is to install nrpe on the machines and let it run the various plugins and handle the responses. The first method I outlined is my environment's "old way" of doing it and is being phased out in favor of the latter. I self-designated myself the task of taking our "legacy" Netsaint infrastructure and converting it to Nagios. In our environment all the bells and whistles to allow Netsaint (now Nagios) monitoring are part of our standard build and all machines being deployed are set up for it and putting the checks into Netsaint (in future Nagios) are part of our checklist for deployment. - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFFbZWvUM9/01RIhaARAoyXAJ4/oFHxFA007N9Zk3Nq/rag/hXOpQCfZrjo k5xDUBiyJbodxvK/7E15V64= =m7yp -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 239 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 owen.berry at gmail.com Wed Nov 29 15:25:37 2006 From: owen.berry at gmail.com (Owen Berry) Date: Wed, 29 Nov 2006 09:25:37 -0500 Subject: Services and Contact Groups In-Reply-To: <456D79A0.20905@googlemail.com> References: <456D722A.8090309@neuwald.biz> <456D765B.1030605@googlemail.com> <456D782B.8010008@neuwald.biz> <456D79A0.20905@googlemail.com> Message-ID: <763ca2a0611290625o7ed9034at4265a78ca633c711@mail.gmail.com> To clarify on this, it's the combination of host name and service name that must be unique - the same service name can be repeated for multiple hosts. Owen On 11/29/06, Hari Sekhon wrote: > > yes, the service_description can be called SSH in both cases. > > I do this. > > > -h > Hari Sekhon > > > > Felipe Neuwald wrote: > Hari, > > But may I call the 2 service definitions as ssh ? > > Felipe. > > Hari Sekhon escreveu: > just split it into 2 service definitions, one with the 3 hosts you want > with contacts for both groups and the second group with only the admins > contact. > > -h > Hari Sekhon > > > > Felipe Neuwald wrote: > Hi Folks, > > I have nagios 2.5 and nagios-plugins 1.4.5,1 running on a FreeBSD > 6.2-PRERELEASE. > > define service{ > use generic-service ; Name of > service template to use > host_name > sun,earth,moon,gordo,turbofone,ledj,spirit,oberon,sputinik,mars,cs,mercury,encontreitudo03,encontreitudo02,encontreitudo01 > service_description ssh > is_volatile 0 > check_period 24x7 > max_check_attempts 4 > retry_check_interval 1 > contact_groups admins > notification_options w,u,c,r > notification_interval 960 > notification_period 24x7 > check_command check_ssh > } > > The problem is, when the service ssh on hosts encontreitudo01, > encontreitudo02, and encontreitudo03 goes down, I need that other > contact_group then admin receive notification too. The only way that I found > to do this, is specify contact_groups admins, othercontactgroup. But when > other hosts goes down, the othercontactgroup will too receive notifications. > > There is a way to solve this problem? > > Thank you, > > Felipe Neuwald. > ________________________________ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ________________________________ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 apereira at duocom.ca Wed Nov 29 15:47:26 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Wed, 29 Nov 2006 09:47:26 -0500 Subject: DHCP Message-ID: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local> Hello, Is there a way to monitor DHCP in remote locations? I have 4 sites in different cities. I presently have Nagios setup to work on one site. But I would like to be able to monitor the other 3 sites. 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 bohara at gmail.com Wed Nov 29 15:57:50 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 29 Nov 2006 14:57:50 +0000 Subject: check_nt and MSSQL$SQLEXPRESS Message-ID: <2b36e660611290657i61d24f52g7fe76683dc67fbaf@mail.gmail.com> Anyone else managed to get nagios to check the state of the "MSSQL$SQLEXPRESS" service? Obviously the $ in the middle of it doesnt help, but ive tried escaping it, and in quotes etc and nagios always appears to tag another $ onto the end when it gets run hence im getting back MSSQL$SQLEXPRESS$: Unknown Ive got the following defined define command{ command_name check_nt_services command_line $USER1$/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -l $ARG1$ } define service{ use active-service host_name lds_buildxp service_description SQL Server 2005 Process contact_groups winadmins check_command check_nt_services!MSSQL\$SQLEXPRESS } Ive even tried define command{ command_name check_nt_sqlexpress command_line $USER1$/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -l MSSQL\$EXPRESS } with various methods of quoting, escaping etc and still get the same error! Any ideas? 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" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Wed Nov 29 16:14:18 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 29 Nov 2006 15:14:18 +0000 Subject: DHCP In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local> Message-ID: <456DA3CA.3070909@googlemail.com> either do distributed monitoring servers or do the checks on a host on each of those subnets. You can do the checks remotely using nrpe or nsca both of which allow the check to run on the remote host and the result to be used back on your nagios server. -h Hari Sekhon Antonio Pereira wrote: > > Hello, > > > > Is there a way to monitor DHCP in remote locations? > > > > I have 4 sites in different cities. I presently have Nagios setup to > work on one site. But I would like to be able to monitor the other 3 > sites. > > > > 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 apereira at duocom.ca Wed Nov 29 16:19:58 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Wed, 29 Nov 2006 10:19:58 -0500 Subject: DHCP In-Reply-To: <456DA3CA.3070909@googlemail.com> References: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local> <456DA3CA.3070909@googlemail.com> Message-ID: <0CA4ED2DD473424883BF20CCD45C18A316558F@mtlexchange.Duocom.local> Thanks it works From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Wednesday, November 29, 2006 10:14 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] DHCP either do distributed monitoring servers or do the checks on a host on each of those subnets. You can do the checks remotely using nrpe or nsca both of which allow the check to run on the remote host and the result to be used back on your nagios server. -h Hari Sekhon Antonio Pereira wrote: Hello, Is there a way to monitor DHCP in remote locations? I have 4 sites in different cities. I presently have Nagios setup to work on one site. But I would like to be able to monitor the other 3 sites. 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=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 -------------- 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.gerbec at agenda.si Wed Nov 29 16:01:54 2006 From: david.gerbec at agenda.si (David Gerbec) Date: Wed, 29 Nov 2006 16:01:54 +0100 Subject: DHCP In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local> Message-ID: <456DA0E2.7080908@agenda.si> Hi! Antonio Pereira pravi: > Hello, > > I assume u're useing nagios 2.5... > > Is there a way to monitor DHCP in remote locations? > > Check out the NRPE deamon (http://nagios.sourceforge.net/docs/2_0/addons.html#nrpe). U should be able to check remote sites with NRPE with no problem. Regards, d. > > I have 4 sites in different cities. I presently have Nagios setup to > work on one site. But I would like to be able to monitor the other 3 sites. > > > > 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 ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 29 16:27:03 2006 From: Aaron.Segura at cabelas.com (Aaron Segura) Date: Wed, 29 Nov 2006 08:27:03 -0700 Subject: check_nt and MSSQL$SQLEXPRESS Message-ID: <2D0245E43DEC724F81592D697F05689904C432AB@SIDHQEXCHMB1.Cabelas.Corp> I think you're supposed to use "$$" in that case... -----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, November 29, 2006 7:58 AM To: Nagios Userlist Subject: [Nagios-users] check_nt and MSSQL$SQLEXPRESS Anyone else managed to get nagios to check the state of the "MSSQL$SQLEXPRESS" service? Obviously the $ in the middle of it doesnt help, but ive tried escaping it, and in quotes etc and nagios always appears to tag another $ onto the end when it gets run hence im getting back MSSQL$SQLEXPRESS$: Unknown Ive got the following defined define command{ command_name check_nt_services command_line $USER1$/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -l $ARG1$ } define service{ use active-service host_name lds_buildxp service_description SQL Server 2005 Process contact_groups winadmins check_command check_nt_services!MSSQL\$SQLEXPRESS } Ive even tried define command{ command_name check_nt_sqlexpress command_line $USER1$/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -l MSSQL\$EXPRESS } with various methods of quoting, escaping etc and still get the same error! Any ideas? 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" ------------------------------------------------------------------------ - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share 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 apereira at duocom.ca Wed Nov 29 16:28:29 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Wed, 29 Nov 2006 10:28:29 -0500 Subject: DHCP In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A316558F@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local><456DA3CA.3070909@googlemail.com> <0CA4ED2DD473424883BF20CCD45C18A316558F@mtlexchange.Duocom.local> Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3165590@mtlexchange.Duocom.local> Problem, When I run the check_dhcp from the command line on the nagios server I get a response. When I add it to nagios itself to monitor I get an error message on the web console. It cannot get a dhcp offer. Any ideas? From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira Sent: Wednesday, November 29, 2006 10:20 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] DHCP Thanks it works From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Wednesday, November 29, 2006 10:14 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] DHCP either do distributed monitoring servers or do the checks on a host on each of those subnets. You can do the checks remotely using nrpe or nsca both of which allow the check to run on the remote host and the result to be used back on your nagios server. -h Hari Sekhon Antonio Pereira wrote: Hello, Is there a way to monitor DHCP in remote locations? I have 4 sites in different cities. I presently have Nagios setup to work on one site. But I would like to be able to monitor the other 3 sites. 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=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 -------------- 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 hpsekhon at googlemail.com Wed Nov 29 16:35:40 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 29 Nov 2006 15:35:40 +0000 Subject: DHCP In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3165590@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local><456DA3CA.3070909@googlemail.com> <0CA4ED2DD473424883BF20CCD45C18A316558F@mtlexchange.Duocom.local> <0CA4ED2DD473424883BF20CCD45C18A3165590@mtlexchange.Duocom.local> Message-ID: <456DA8CC.7020503@googlemail.com> You need to run it as root. Add a sudo entry to allow the nagios user to run this plugin as root without password. like so nagios mymachine=NOPASSWD: /usr/nagios/libexec/check_dhcp then run the plugin with "sudo " in front of it. -h Hari Sekhon Antonio Pereira wrote: > > Problem, > > > > When I run the check_dhcp from the command line on the nagios server I > get a response. When I add it to nagios itself to monitor I get an > error message on the web console. It cannot get a dhcp offer. > > > > Any ideas? > > > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Antonio Pereira > *Sent:* Wednesday, November 29, 2006 10:20 AM > *To:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] DHCP > > > > Thanks it works > > > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Hari Sekhon > *Sent:* Wednesday, November 29, 2006 10:14 AM > *To:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] DHCP > > > > either do distributed monitoring servers or do the checks on a host on > each of those subnets. You can do the checks remotely using nrpe or > nsca both of which allow the check to run on the remote host and the > result to be used back on your nagios server. > > -h > > Hari Sekhon > > > > Antonio Pereira wrote: > > Hello, > > > > Is there a way to monitor DHCP in remote locations? > > > > I have 4 sites in different cities. I presently have Nagios setup to > work on one site. But I would like to be able to monitor the other 3 > sites. > > > > 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 > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 apereira at duocom.ca Wed Nov 29 16:44:45 2006 From: apereira at duocom.ca (Antonio Pereira) Date: Wed, 29 Nov 2006 10:44:45 -0500 Subject: DHCP In-Reply-To: <456DA8CC.7020503@googlemail.com> References: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local><456DA3CA.3070909@googlemail.com> <0CA4ED2DD473424883BF20CCD45C18A316558F@mtlexchange.Duocom.local><0CA4ED2DD473424883BF20CCD45C18A3165590@mtlexchange.Duocom.local> <456DA8CC.7020503@googlemail.com> Message-ID: <0CA4ED2DD473424883BF20CCD45C18A3165591@mtlexchange.Duocom.local> What command do you use for nrpe? Can you direct me to any docs about how I can monitor dhcp using nrpe. Can nrpe monitor wins as well? thanks From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Wednesday, November 29, 2006 10:36 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] DHCP You need to run it as root. Add a sudo entry to allow the nagios user to run this plugin as root without password. like so nagios mymachine=NOPASSWD: /usr/nagios/libexec/check_dhcp then run the plugin with "sudo " in front of it. -h Hari Sekhon Antonio Pereira wrote: Problem, When I run the check_dhcp from the command line on the nagios server I get a response. When I add it to nagios itself to monitor I get an error message on the web console. It cannot get a dhcp offer. Any ideas? From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Antonio Pereira Sent: Wednesday, November 29, 2006 10:20 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] DHCP Thanks it works From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Wednesday, November 29, 2006 10:14 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] DHCP either do distributed monitoring servers or do the checks on a host on each of those subnets. You can do the checks remotely using nrpe or nsca both of which allow the check to run on the remote host and the result to be used back on your nagios server. -h Hari Sekhon Antonio Pereira wrote: Hello, Is there a way to monitor DHCP in remote locations? I have 4 sites in different cities. I presently have Nagios setup to work on one site. But I would like to be able to monitor the other 3 sites. 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=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=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 -------------- 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 bohara at gmail.com Wed Nov 29 16:50:12 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 29 Nov 2006 15:50:12 +0000 Subject: check_nt and MSSQL$SQLEXPRESS In-Reply-To: <456DA61A.1070403@op5.se> References: <2b36e660611290657i61d24f52g7fe76683dc67fbaf@mail.gmail.com> <456DA61A.1070403@op5.se> Message-ID: <2b36e660611290750y35bdf788j3e474f9f9d5ea84f@mail.gmail.com> On 11/29/06, Andreas Ericsson wrote: > > Read the docs, which quite clearly state that $ needs to be escaped by > $. The resulting $ will also have to be escaped for the sake of the > shell, so use > > -l MSSQL\$$EXPRESS > > and you should be good to go. > Grrr, knew id missed something simple, thanks for the advice! Cheers Ben > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > -- "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" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 googlemail.com Wed Nov 29 17:01:16 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 29 Nov 2006 16:01:16 +0000 Subject: DHCP In-Reply-To: <0CA4ED2DD473424883BF20CCD45C18A3165591@mtlexchange.Duocom.local> References: <0CA4ED2DD473424883BF20CCD45C18A316558E@mtlexchange.Duocom.local><456DA3CA.3070909@googlemail.com> <0CA4ED2DD473424883BF20CCD45C18A316558F@mtlexchange.Duocom.local><0CA4ED2DD473424883BF20CCD45C18A3165590@mtlexchange.Duocom.local> <456DA8CC.7020503@googlemail.com> <0CA4ED2DD473424883BF20CCD45C18A3165591@mtlexchange.Duocom.local> Message-ID: <456DAECC.5010208@googlemail.com> I don't personally use it (yet). I have just yesterday started using nsca which does the check and then sends the result to nagios. Either way what you need is around here http://www.nagios.org/download/ (what used to be a brief intro to these two things now just links here it seems). Perhaps docs are included... -h Hari Sekhon Antonio Pereira wrote: > > What command do you use for nrpe? Can you direct me to any docs about > how I can monitor dhcp using nrpe. > > > > Can nrpe monitor wins as well? > > > > thanks > > > > *From:* nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Hari Sekhon > *Sent:* Wednesday, November 29, 2006 10:36 AM > *To:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] DHCP > > > > You need to run it as root. Add a sudo entry to allow the nagios user > to run this plugin as root without password. > > like so > > nagios mymachine=NOPASSWD: /usr/nagios/libexec/check_dhcp > > then run the plugin with "sudo " in front of it. > > -h > > > > Hari Sekhon > > > > Antonio Pereira wrote: > > Problem, > > > > When I run the check_dhcp from the command line on the nagios server I > get a response. When I add it to nagios itself to monitor I get an > error message on the web console. It cannot get a dhcp offer. > > > > Any ideas? > > > > *From:* nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Antonio Pereira > *Sent:* Wednesday, November 29, 2006 10:20 AM > *To:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] DHCP > > > > Thanks it works > > > > *From:* nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] *On Behalf Of > *Hari Sekhon > *Sent:* Wednesday, November 29, 2006 10:14 AM > *To:* Nagios Users mailinglist > *Subject:* Re: [Nagios-users] DHCP > > > > either do distributed monitoring servers or do the checks on a host on > each of those subnets. You can do the checks remotely using nrpe or > nsca both of which allow the check to run on the remote host and the > result to be used back on your nagios server. > > -h > > Hari Sekhon > > > > Antonio Pereira wrote: > > Hello, > > > > Is there a way to monitor DHCP in remote locations? > > > > I have 4 sites in different cities. I presently have Nagios setup to > work on one site. But I would like to be able to monitor the other 3 > sites. > > > > 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 > > ------------------------------------------------------------------------ > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > ------------------------------------------------------------------------ > > > > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 td3201 at gmail.com Wed Nov 29 17:07:35 2006 From: td3201 at gmail.com (Terry) Date: Wed, 29 Nov 2006 10:07:35 -0600 Subject: check_nagios -- not detecting status log update correctly Message-ID: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> [root at omautil01 ~]# date Wed Nov 29 10:03:49 CST 2006 [root at foobar ~]# ls -l /var/log/nagios/status.dat -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat [root at foobar ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F /var/log/nagios/status.dat -C /usr/bin/nagios Nagios problem: located 1 process, status log updated 1164816202 seconds ago 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 hpsekhon at googlemail.com Wed Nov 29 17:11:39 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 29 Nov 2006 16:11:39 +0000 Subject: check_nagios -- not detecting status log update correctly In-Reply-To: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> References: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> Message-ID: <456DB13B.8070404@googlemail.com> check that your filesystem isn't full, this happened to me recently, an incentive to add a filesystem space check which I did! oh yeah, and silly but obvious, check your nagios is running... -h Hari Sekhon Terry wrote: > [root at omautil01 ~]# date > Wed Nov 29 10:03:49 CST 2006 > > [root at foobar ~]# ls -l /var/log/nagios/status.dat > -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat > > [root at foobar ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F > /var/log/nagios/status.dat -C /usr/bin/nagios > Nagios problem: located 1 process, status log updated 1164816202 seconds ago > > 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 > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Wed Nov 29 17:16:10 2006 From: td3201 at gmail.com (Terry) Date: Wed, 29 Nov 2006 10:16:10 -0600 Subject: check_nagios -- not detecting status log update correctly In-Reply-To: <456DB13B.8070404@googlemail.com> References: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> <456DB13B.8070404@googlemail.com> Message-ID: <8ee061010611290816qc38adeaq9e5ce58cde6423fc@mail.gmail.com> Thanks for the reply. Filesystem has 256G available and nagios is definitely running and is performing service checks. On 11/29/06, Hari Sekhon wrote: > check that your filesystem isn't full, this happened to me recently, an > incentive to add a filesystem space check which I did! > > oh yeah, and silly but obvious, check your nagios is running... > > -h > > Hari Sekhon > > > > Terry wrote: > > [root at omautil01 ~]# date > > Wed Nov 29 10:03:49 CST 2006 > > > > [root at foobar ~]# ls -l /var/log/nagios/status.dat > > -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat > > > > [root at foobar ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F > > /var/log/nagios/status.dat -C /usr/bin/nagios > > Nagios problem: located 1 process, status log updated 1164816202 seconds ago > > > > 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 > > > > > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 bohara at gmail.com Wed Nov 29 17:24:32 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 29 Nov 2006 16:24:32 +0000 Subject: check_nagios -- not detecting status log update correctly In-Reply-To: <8ee061010611290816qc38adeaq9e5ce58cde6423fc@mail.gmail.com> References: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> <456DB13B.8070404@googlemail.com> <8ee061010611290816qc38adeaq9e5ce58cde6423fc@mail.gmail.com> Message-ID: <2b36e660611290824m7c3f8f64pfe23c99967e2d271@mail.gmail.com> On 11/29/06, Terry wrote: > Thanks for the reply. Filesystem has 256G available and nagios is > definitely running and is performing service checks. > > Try a newer version of the plugins, looks like a problem i had a few days ago where check_nagios is expecting to use /var/status.log but it needs to use the status.dat file recompile the plugins and it should be fine. Ben > On 11/29/06, Hari Sekhon wrote: > > check that your filesystem isn't full, this happened to me recently, an > > incentive to add a filesystem space check which I did! > > > > oh yeah, and silly but obvious, check your nagios is running... > > > > -h > > > > Hari Sekhon > > > > > > > > Terry wrote: > > > [root at omautil01 ~]# date > > > Wed Nov 29 10:03:49 CST 2006 > > > > > > [root at foobar ~]# ls -l /var/log/nagios/status.dat > > > -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat > > > > > > [root at foobar ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F > > > /var/log/nagios/status.dat -C /usr/bin/nagios > > > Nagios problem: located 1 process, status log updated 1164816202 seconds ago > > > > > > 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 > > > > > > > > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > -- "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" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From owen.berry at gmail.com Wed Nov 29 17:29:45 2006 From: owen.berry at gmail.com (Owen Berry) Date: Wed, 29 Nov 2006 11:29:45 -0500 Subject: check_nagios -- not detecting status log update correctly In-Reply-To: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> References: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> Message-ID: <763ca2a0611290829u2083bbd3ped594ab4e50e8c47@mail.gmail.com> Do the times in your status log indicate that it was updated at that time? Maybe the file time was updated, but the actual log wasn't. Just a thought. Owen On 11/29/06, Terry wrote: > [root at omautil01 ~]# date > Wed Nov 29 10:03:49 CST 2006 > > [root at foobar ~]# ls -l /var/log/nagios/status.dat > -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat > > [root at foobar ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F > /var/log/nagios/status.dat -C /usr/bin/nagios > Nagios problem: located 1 process, status log updated 1164816202 seconds ago > > 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 esavage at digitalrage.org Wed Nov 29 17:30:56 2006 From: esavage at digitalrage.org (Elijah Savage) Date: Wed, 29 Nov 2006 11:30:56 -0500 (EST) Subject: Notification Interval Configured wrong or not working right In-Reply-To: References: Message-ID: <14035512.2011164817856605.JavaMail.root@mail> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Max H. > Sent: Tuesday, November 28, 2006 3:39 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Notification Interval Configured wrong or not > working right > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Elijah Savage wrote: > > All I have read the documentation a number of times and either I am not > > getting it or it is not working. I have this host set below > > > > define host{ > > host_name beastie > > alias NFS Unix Server > > address 172.26.X.X > > check_command check-host-alive > > max_check_attempts 10 > > check_period 24x7 > > notification_interval 20 > > notification_period 24x7 > > parents Pix > > notification_options d,r,u > > contact_groups Admins > > } > > > > > > Did it used to be 10 minutes and you just changed it to 20 minutes? I >You're almost certainly on the right track with this question. >notification_interval is a variable impacted if retention is enabled. >The OP should probably read the Retention Notes at >http://nagios.sourceforge.net/docs/2_0/xodtemplate.html if he's using >host and service retention. > >-- >Marc It was actually changed from 1 hour to 30 minutes by me a week ago. But that box had it's first outage just the other day and thats when I noticed the alerts were coming every 10 minutes. I will read the link above 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 ratty at they.org Wed Nov 29 17:38:43 2006 From: ratty at they.org (frank) Date: Wed, 29 Nov 2006 08:38:43 -0800 (PST) Subject: check_nagios -- not detecting status log update correctly In-Reply-To: <2b36e660611290824m7c3f8f64pfe23c99967e2d271@mail.gmail.com> References: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> <456DB13B.8070404@googlemail.com> <8ee061010611290816qc38adeaq9e5ce58cde6423fc@mail.gmail.com> <2b36e660611290824m7c3f8f64pfe23c99967e2d271@mail.gmail.com> Message-ID: On Wed, 29 Nov 2006, Ben O'Hara wrote: > On 11/29/06, Terry wrote: >> Thanks for the reply. Filesystem has 256G available and nagios is >> definitely running and is performing service checks. >> >> > > Try a newer version of the plugins, looks like a problem i had a few > days ago where check_nagios is expecting to use /var/status.log but it > needs to use the status.dat file > > recompile the plugins and it should be fine. > > Ben Actually I'd lean more towards it being a case of "old and busted". When I hit this problem it wasn't a matter of the status.dat location (since "-F /path/to/status.file" is one of the _required_ CLI args). Upgrade to Plugins 1.4.3 and you'll be ok. If you don't want to upgrade all your plugins at once just compile the package and copy the check_nagios binary out instead of running "make install". -f >> On 11/29/06, Hari Sekhon wrote: >>> check that your filesystem isn't full, this happened to me recently, an >>> incentive to add a filesystem space check which I did! >>> >>> oh yeah, and silly but obvious, check your nagios is running... >>> >>> -h >>> >>> Hari Sekhon >>> >>> >>> >>> Terry wrote: >>>> [root at omautil01 ~]# date >>>> Wed Nov 29 10:03:49 CST 2006 >>>> >>>> [root at foobar ~]# ls -l /var/log/nagios/status.dat >>>> -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat >>>> >>>> [root at foobar ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F >>>> /var/log/nagios/status.dat -C /usr/bin/nagios >>>> Nagios problem: located 1 process, status log updated 1164816202 seconds ago >>>> >>>> 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 >>>> >>>> >>> >>> ------------------------------------------------------------------------- >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to share your >>> opinions on IT & business topics through brief surveys - and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: 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 >> > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mara.laureti at gmail.com Wed Nov 29 17:40:06 2006 From: mara.laureti at gmail.com (Mara Laureti) Date: Wed, 29 Nov 2006 17:40:06 +0100 Subject: NACE Message-ID: Hi list I used NACE for network discovery. I used I"QueryNetwork.sh" script and I find hosts.I have some problems with services. NACE finds this service: define service { contact_groups HomeAdmins host_name 192.168.1.136 check_command CheckSNMPDisk!^/var$!80!90 service_description Disk /var use DiskServiceTemplate } I start a check for configuration files and I have this error: Error: Service check command 'CheckSNMPDisk' specified in service 'Disk /var' for host '192.168.1.136' not defined anywhere! Can you help me? Thanks, Mara Nagios-version nagios2.5 Plugin-version nagios-plugin-1.4.5 -------------- 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 bohara at gmail.com Wed Nov 29 17:49:00 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 29 Nov 2006 16:49:00 +0000 Subject: check_nagios -- not detecting status log update correctly In-Reply-To: References: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> <456DB13B.8070404@googlemail.com> <8ee061010611290816qc38adeaq9e5ce58cde6423fc@mail.gmail.com> <2b36e660611290824m7c3f8f64pfe23c99967e2d271@mail.gmail.com> Message-ID: <2b36e660611290849x534ee67dq98d4a86481e17b69@mail.gmail.com> On 11/29/06, frank wrote: > On Wed, 29 Nov 2006, Ben O'Hara wrote: > > > On 11/29/06, Terry wrote: > >> Thanks for the reply. Filesystem has 256G available and nagios is > >> definitely running and is performing service checks. > >> > >> > > > > Try a newer version of the plugins, looks like a problem i had a few > > days ago where check_nagios is expecting to use /var/status.log but it > > needs to use the status.dat file > > > > recompile the plugins and it should be fine. > > > > Ben > > Actually I'd lean more towards it being a case of "old and busted". When I > hit this problem it wasn't a matter of the status.dat location (since "-F > /path/to/status.file" is one of the _required_ CLI args). Upgrade to > Plugins 1.4.3 and you'll be ok. If you don't want to upgrade all your > plugins at once just compile the package and copy the check_nagios binary > out instead of running "make install". > Yes, its a required arg but im sure the format of status.dat has changed, it used to be status.log and im fairly sure it changed format along with its name. Ben > -f > > > >> On 11/29/06, Hari Sekhon wrote: > >>> check that your filesystem isn't full, this happened to me recently, an > >>> incentive to add a filesystem space check which I did! > >>> > >>> oh yeah, and silly but obvious, check your nagios is running... > >>> > >>> -h > >>> > >>> Hari Sekhon > >>> > >>> > >>> > >>> Terry wrote: > >>>> [root at omautil01 ~]# date > >>>> Wed Nov 29 10:03:49 CST 2006 > >>>> > >>>> [root at foobar ~]# ls -l /var/log/nagios/status.dat > >>>> -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat > >>>> > >>>> [root at foobar ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F > >>>> /var/log/nagios/status.dat -C /usr/bin/nagios > >>>> Nagios problem: located 1 process, status log updated 1164816202 seconds ago > >>>> > >>>> 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 > >>>> > >>>> > >>> > >>> ------------------------------------------------------------------------- > >>> Take Surveys. Earn Cash. Influence the Future of IT > >>> Join SourceForge.net's Techsay panel and you'll get the chance to share your > >>> opinions on IT & business topics through brief surveys - and earn cash > >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > >>> _______________________________________________ > >>> Nagios-users mailing list > >>> Nagios-users at lists.sourceforge.net > >>> https://lists.sourceforge.net/lists/listinfo/nagios-users > >>> ::: 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 > >> > > > > > > > -- "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" ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ratty at they.org Wed Nov 29 17:58:35 2006 From: ratty at they.org (frank) Date: Wed, 29 Nov 2006 08:58:35 -0800 (PST) Subject: check_nagios -- not detecting status log update correctly In-Reply-To: <2b36e660611290849x534ee67dq98d4a86481e17b69@mail.gmail.com> References: <8ee061010611290807l659f5b7bw93df24a9e3c1df6d@mail.gmail.com> <456DB13B.8070404@googlemail.com> <8ee061010611290816qc38adeaq9e5ce58cde6423fc@mail.gmail.com> <2b36e660611290824m7c3f8f64pfe23c99967e2d271@mail.gmail.com> <2b36e660611290849x534ee67dq98d4a86481e17b69@mail.gmail.com> Message-ID: On Wed, 29 Nov 2006, Ben O'Hara wrote: > On 11/29/06, frank wrote: >> On Wed, 29 Nov 2006, Ben O'Hara wrote: >> >>> On 11/29/06, Terry wrote: >>>> Thanks for the reply. Filesystem has 256G available and nagios is >>>> definitely running and is performing service checks. >>>> >>>> >>> >>> Try a newer version of the plugins, looks like a problem i had a few >>> days ago where check_nagios is expecting to use /var/status.log but it >>> needs to use the status.dat file >>> >>> recompile the plugins and it should be fine. >>> >>> Ben >> >> Actually I'd lean more towards it being a case of "old and busted". When I >> hit this problem it wasn't a matter of the status.dat location (since "-F >> /path/to/status.file" is one of the _required_ CLI args). Upgrade to >> Plugins 1.4.3 and you'll be ok. If you don't want to upgrade all your >> plugins at once just compile the package and copy the check_nagios binary >> out instead of running "make install". >> > > Yes, its a required arg but im sure the format of status.dat has > changed, it used to be status.log and im fairly sure it changed format > along with its name. > > Ben >> -f I'm sorry, I misread part of your post. To me, "recompile the plugins" meant "re-run make and make install", not install the new version. We were both saying the same thing. I wonder if this fact needs a FAQ because the fix was non-obvious to me. I spent far too much time running straces and the like. But I didn't bother to read the C code. -f >>>> On 11/29/06, Hari Sekhon wrote: >>>>> check that your filesystem isn't full, this happened to me recently, an >>>>> incentive to add a filesystem space check which I did! >>>>> >>>>> oh yeah, and silly but obvious, check your nagios is running... >>>>> >>>>> -h >>>>> >>>>> Hari Sekhon >>>>> >>>>> >>>>> >>>>> Terry wrote: >>>>>> [root at omautil01 ~]# date >>>>>> Wed Nov 29 10:03:49 CST 2006 >>>>>> >>>>>> [root at foobar ~]# ls -l /var/log/nagios/status.dat >>>>>> -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat >>>>>> >>>>>> [root at foobar ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F >>>>>> /var/log/nagios/status.dat -C /usr/bin/nagios >>>>>> Nagios problem: located 1 process, status log updated 1164816202 seconds ago >>>>>> >>>>>> 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 >>>>>> >>>>>> >>>>> >>>>> ------------------------------------------------------------------------- >>>>> Take Surveys. Earn Cash. Influence the Future of IT >>>>> Join SourceForge.net's Techsay panel and you'll get the chance to share your >>>>> opinions on IT & business topics through brief surveys - and earn cash >>>>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> ::: 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 >>>> >>> >>> >>> >> > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 29 18:02:48 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 29 Nov 2006 11:02:48 -0600 Subject: NACE In-Reply-To: References: Message-ID: <20061129170248.GB5994@keroberos.demosthenes.org> That sounds like a service definition from one of the included examples. Make sure you haven't copied the examples into your production configuration. Russell On Wed, Nov 29, 2006 at 05:40:06PM +0100, Mara Laureti wrote: > Hi list > > I used NACE for network discovery. I used I"QueryNetwork.sh" script and I > find hosts.I have some problems with services. > > NACE finds this service: > > define service { > contact_groups HomeAdmins > host_name 192.168.1.136 > check_command CheckSNMPDisk!^/var$!80!90 > service_description Disk /var > use DiskServiceTemplate > } > > I start a check for configuration files and I have this error: > > Error: Service check command 'CheckSNMPDisk' specified in service 'Disk > /var' for host '192.168.1.136' not defined anywhere! > > Can you help me? > > Thanks, > Mara > > > Nagios-version nagios2.5 > Plugin-version nagios-plugin-1.4.5 > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 hpsekhon at googlemail.com Wed Nov 29 18:30:13 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 29 Nov 2006 17:30:13 +0000 Subject: Notification Interval Configured wrong or not working right In-Reply-To: <14035512.2011164817856605.JavaMail.root@mail> References: <14035512.2011164817856605.JavaMail.root@mail> Message-ID: <456DC3A5.9080406@googlemail.com> notification_interval isn't affected by state retention. -h Hari Sekhon Elijah Savage wrote: >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Max H. >> Sent: Tuesday, November 28, 2006 3:39 PM >> To: Nagios Users Mailinglist >> Subject: Re: [Nagios-users] Notification Interval Configured wrong or >> > not > >> working right >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Elijah Savage wrote: >> >>> All I have read the documentation a number of times and either I am >>> > not > >>> getting it or it is not working. I have this host set below >>> >>> define host{ >>> host_name beastie >>> alias NFS Unix Server >>> address 172.26.X.X >>> check_command check-host-alive >>> max_check_attempts 10 >>> check_period 24x7 >>> notification_interval 20 >>> notification_period 24x7 >>> parents Pix >>> notification_options d,r,u >>> contact_groups Admins >>> } >>> >>> >> >> Did it used to be 10 minutes and you just changed it to 20 minutes? I >> > > >> You're almost certainly on the right track with this question. >> notification_interval is a variable impacted if retention is enabled. >> The OP should probably read the Retention Notes at >> http://nagios.sourceforge.net/docs/2_0/xodtemplate.html if he's using >> host and service retention. >> >> -- >> Marc >> > > It was actually changed from 1 hour to 30 minutes by me a week ago. But that box had it's first outage just the other day and thats when I noticed the alerts were coming every 10 minutes. I will read the link above 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 > > -------------- 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 nweaver at keylabs.com Wed Nov 29 18:46:07 2006 From: nweaver at keylabs.com (Nick Weaver) Date: Wed, 29 Nov 2006 10:46:07 -0700 Subject: check_nagios -- not detecting status log update correctly In-Reply-To: References: Message-ID: <45E066E11389974EA9BB029C17DA1F6A05D23A3C@ms.ut.keylabs.com> It's a folder called "nagios" in my inbox, but I have some others. I was just wondering if I could axe the backup by adding _spam to the end of any folders, as I have a few others (mailing lists, etc) that don't need backed up either. Nick Weaver Manager, Lab Infrastructure nick.weaver at applabs.com P: 801-852-9500 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of frank Sent: Wednesday, November 29, 2006 9:59 AM To: Ben O'Hara Cc: Nagios Users mailinglist Subject: Re: [Nagios-users] check_nagios -- not detecting status log update correctly On Wed, 29 Nov 2006, Ben O'Hara wrote: > On 11/29/06, frank wrote: >> On Wed, 29 Nov 2006, Ben O'Hara wrote: >> >>> On 11/29/06, Terry wrote: >>>> Thanks for the reply. Filesystem has 256G available and nagios is >>>> definitely running and is performing service checks. >>>> >>>> >>> >>> Try a newer version of the plugins, looks like a problem i had a few >>> days ago where check_nagios is expecting to use /var/status.log but it >>> needs to use the status.dat file >>> >>> recompile the plugins and it should be fine. >>> >>> Ben >> >> Actually I'd lean more towards it being a case of "old and busted". When I >> hit this problem it wasn't a matter of the status.dat location (since "-F >> /path/to/status.file" is one of the _required_ CLI args). Upgrade to >> Plugins 1.4.3 and you'll be ok. If you don't want to upgrade all your >> plugins at once just compile the package and copy the check_nagios binary >> out instead of running "make install". >> > > Yes, its a required arg but im sure the format of status.dat has > changed, it used to be status.log and im fairly sure it changed format > along with its name. > > Ben >> -f I'm sorry, I misread part of your post. To me, "recompile the plugins" meant "re-run make and make install", not install the new version. We were both saying the same thing. I wonder if this fact needs a FAQ because the fix was non-obvious to me. I spent far too much time running straces and the like. But I didn't bother to read the C code. -f >>>> On 11/29/06, Hari Sekhon wrote: >>>>> check that your filesystem isn't full, this happened to me recently, an >>>>> incentive to add a filesystem space check which I did! >>>>> >>>>> oh yeah, and silly but obvious, check your nagios is running... >>>>> >>>>> -h >>>>> >>>>> Hari Sekhon >>>>> >>>>> >>>>> >>>>> Terry wrote: >>>>>> [root at omautil01 ~]# date >>>>>> Wed Nov 29 10:03:49 CST 2006 >>>>>> >>>>>> [root at foobar ~]# ls -l /var/log/nagios/status.dat >>>>>> -rw-rw-r-- 1 nagios nagios 155812 Nov 29 10:03 /var/log/nagios/status.dat >>>>>> >>>>>> [root at foobar ~]# /usr/lib/nagios/plugins/check_nagios -e 5 -F >>>>>> /var/log/nagios/status.dat -C /usr/bin/nagios >>>>>> Nagios problem: located 1 process, status log updated 1164816202 seconds ago >>>>>> >>>>>> 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=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=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=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 dtownrobbrown at gmail.com Wed Nov 29 19:43:58 2006 From: dtownrobbrown at gmail.com (Rob Brown) Date: Wed, 29 Nov 2006 10:43:58 -0800 Subject: help with special character in check command In-Reply-To: References: Message-ID: Since I did not receive any feedback on this, I ended up using this rather simple workaround, in case anyone runs into this in the future: I created a simple "wrapper" shell script with the community string hard coded in it, then call the wrapper script instead of the check_snmp command: here is the one-line wrapper script: (I called it check_snmp_wrapper) /usr/local/nagios/libexec/check_snmp -H $1 -o $2 -w $3 -c $4 -C xyz123! then defined a new check command: define command { command_name check_snmp_wrapper command_line $USER1$/check_snmp_wrapper $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ } and defined my service: define service { host_name myrouter service_description check_connections use workhours check_command check_snmp_wrapper![oid]!255000!260000 notification_options c,w,r,f contact_groups sysadmin } sometimes the answer is so simple, its staring you right in the face! On 11/22/06, Rob Brown wrote: > I am trying to use the check_snmp command to do a check against some > network gear. The problem is that the community string is "xyz123!" > (not really but example) and I cannot figure out how to get this to > pass thru to the check command without it stripping the "!" character. > For example: > define command { > command_name check_snmp > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ > -w $ARG2$ -c $ARG3$ -C $ARG4$ > } > define service { > host_name myrouter > service_description check_connections > useprod- workhours > check_command check_snmp![myoid]!255000!260000!xyz123! > notification_options c,w,r,f > contact_groups sysadmin > } > I have run the args thru a debug command and no matter what, the last > ! in the comm string gets stripped off. > I have tried: > check_snmp![myoid]!255000!260000!xyz123! > check_snmp![myoid]!255000!260000!xyz123\! > check_snmp![myoid]!255000!260000!xyz123!! > > my nagios.cfg does have the following: > illegal_object_name_chars=`~!$%^&*|'"<>?,()= > but I tried taking the bang out and it still doesn't work. > > Any help here would be appreciated, as I cannot change the community string. > There's got to be some trick to get this to work! > > PS: the command works fine when run from the 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 msugano at uolinc.com Wed Nov 29 20:21:33 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 29 Nov 2006 17:21:33 -0200 Subject: NACE In-Reply-To: <20061129170248.GB5994@keroberos.demosthenes.org> References: <20061129170248.GB5994@keroberos.demosthenes.org> Message-ID: <1164828093.17191.35.camel@localhost> On Wed, 2006-11-29 at 11:02 -0600, Russell Adams wrote: > That sounds like a service definition from one of the included > examples. Make sure you haven't copied the examples into your > production configuration. I don't think that is the case at all. She is running a discovery script that generates services entries, but not command entries. From what the configuration check says: "... check command 'CheckSNMPDisk' specified in service 'Disk /var' for host '192.168.1.136' not defined anywhere." It cannot be any of the included sample config files, because there are no checkcommand with that name at all. Mara, you should declare your command definition to fit your services definition. Marcel. > > Russell > > On Wed, Nov 29, 2006 at 05:40:06PM +0100, Mara Laureti wrote: > > Hi list > > > > I used NACE for network discovery. I used I"QueryNetwork.sh" script and I > > find hosts.I have some problems with services. > > > > NACE finds this service: > > > > define service { > > contact_groups HomeAdmins > > host_name 192.168.1.136 > > check_command CheckSNMPDisk!^/var$!80!90 > > service_description Disk /var > > use DiskServiceTemplate > > } > > > > I start a check for configuration files and I have this error: > > > > Error: Service check command 'CheckSNMPDisk' specified in service 'Disk > > /var' for host '192.168.1.136' not defined anywhere! > > > > Can you help me? > > > > Thanks, > > Mara > > > > > > Nagios-version nagios2.5 > > Plugin-version nagios-plugin-1.4.5 > > > ------------------------------------------------------------------------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 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 Andrew.Laden at tudor.com Wed Nov 29 21:05:51 2006 From: Andrew.Laden at tudor.com (Andrew Laden) Date: Wed, 29 Nov 2006 15:05:51 -0500 Subject: Text based status reporting. Message-ID: <496A4C483DD4504C84C0094D9C48CFD30E6E8F0A@tudor.com> Heya All Running Nagios 2.0b6. (yes I know I should upgrade, but I tweaked the CGI's and am too lazy to have to re-do all my tweaks when I upgrade) Management is concerned about people acking problems, and then forgetting about them. They also prefer emails to looking at the GUI. So what I have been tasked with is to generate a report of all "acked" alerts and email it out on a weekly basis. I see a few ways of doing this. 1: Write a little perl code to parse the status file, and generate the report. (what I will probably end up doing if I don't get a better answer) 2: Use wget to pull down the status.cgi page (with the appropriate paramters) and a: Send it out as is - Kind of defeats the purpose, as it would not be a text report b: parse/transform it in some way to make it a text report. (could be very annoying) 3: Add a feature to status.cgi (and maybe even the other ones) to include a format code, so that the wget itself would pull down the text report. Ie, (caps mine) http:///nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail &hoststatustypes=4&hostprops=4&FORMAT=TEXT or maybe just make it another style/type. http:///nagios/cgi-bin/status.cgi?host=all&type=detailTEXT&servi cestatustypes=16&serviceprops=4 I'd really like to see #3, as it would be quite useful in a lot of ways. But my C skills are a little rusty to attempt that sort of thing. Has anyone else tried something like this. I have looked at the console/text based front ends, but I believe they are still all interactive, which doesn't do what I want. On a side note, is there a doc as to what all the options are for type, style, hoststatustypes, hostprops, servicestatustypes and serviceprops are? Thanks -Andrew -------------- 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 RLAdams at AdamsInfoServ.Com Wed Nov 29 22:39:04 2006 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Wed, 29 Nov 2006 15:39:04 -0600 Subject: NACE In-Reply-To: <1164828093.17191.35.camel@localhost> References: <20061129170248.GB5994@keroberos.demosthenes.org> <1164828093.17191.35.camel@localhost> Message-ID: <20061129213904.GD5994@keroberos.demosthenes.org> I agree, she is lacking a service definition. However, CG HomeAdmins and that check command are right from the examples that I used from my testing network when I wrote it. ;] Russell On Wed, Nov 29, 2006 at 05:21:33PM -0200, Marcel Mitsuto Fucatu Sugano wrote: > On Wed, 2006-11-29 at 11:02 -0600, Russell Adams wrote: > > That sounds like a service definition from one of the included > > examples. Make sure you haven't copied the examples into your > > production configuration. > > I don't think that is the case at all. She is running a discovery script > that generates services entries, but not command entries. From what the > configuration check says: > > "... check command 'CheckSNMPDisk' specified in service 'Disk /var' for > host '192.168.1.136' not defined anywhere." > > It cannot be any of the included sample config files, because there are > no checkcommand with that name at all. > > Mara, you should declare your command definition to fit your services > definition. > > Marcel. > > > > > > > Russell > > > > On Wed, Nov 29, 2006 at 05:40:06PM +0100, Mara Laureti wrote: > > > Hi list > > > > > > I used NACE for network discovery. I used I"QueryNetwork.sh" script and I > > > find hosts.I have some problems with services. > > > > > > NACE finds this service: > > > > > > define service { > > > contact_groups HomeAdmins > > > host_name 192.168.1.136 > > > check_command CheckSNMPDisk!^/var$!80!90 > > > service_description Disk /var > > > use DiskServiceTemplate > > > } > > > > > > I start a check for configuration files and I have this error: > > > > > > Error: Service check command 'CheckSNMPDisk' specified in service 'Disk > > > /var' for host '192.168.1.136' not defined anywhere! > > > > > > Can you help me? > > > > > > Thanks, > > > Mara > > > > > > > > > Nagios-version nagios2.5 > > > Plugin-version nagios-plugin-1.4.5 > > > > > ------------------------------------------------------------------------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the chance to share your > > > opinions on IT & business topics through brief surveys - and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 > > > 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/. ------------------------------------------------------------------ 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 nweaver at keylabs.com Wed Nov 29 23:07:35 2006 From: nweaver at keylabs.com (Nick Weaver) Date: Wed, 29 Nov 2006 15:07:35 -0700 Subject: Plugin alerts In-Reply-To: References: Message-ID: <45E066E11389974EA9BB029C17DA1F6A05D23A72@ms.ut.keylabs.com> # 'check_nmap' command definition define command{ command_name check_nmap command_line /nagios/libexec/chkNmapScan.pl --nmap /usr/bin/nmap --ip $HOSTADDRESS$ --ports $ARG1$ } define service{ use generic-service ; Name of service template to use host_name AL-NW-Solar-4, service_description NMAP 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_nmap!3389,5800,5900,9000 } -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, November 28, 2006 1:43 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Plugin alerts > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nick Weaver > Sent: Tuesday, November 28, 2006 1:49 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Plugin alerts > > > > I am using the chkNmapScan.pl plugin. The plugin is working fine, but it > never emails me alerts. My check_TCP plugin also does not alert me. The > normal ping/check_host_alive one is fine. Does your service{} definition have the notification_options you want? -- 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 msugano at uolinc.com Wed Nov 29 23:16:46 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 29 Nov 2006 20:16:46 -0200 Subject: Plugin alerts In-Reply-To: <45E066E11389974EA9BB029C17DA1F6A05D239AD@ms.ut.keylabs.com> References: <45E066E11389974EA9BB029C17DA1F6A05D239AD@ms.ut.keylabs.com> Message-ID: <1164838607.17191.41.camel@localhost> On Tue, 2006-11-28 at 12:48 -0700, Nick Weaver wrote: > service_notification_commands host-notify-by-email > host_notification_commands host-notify-by-email Is this correct? I think that there is nothing to do between plugins and notifications, just between object definitions. So we need to see your command definitions to notifications, service and contacts. Maybe relevant parts of nagios.cfg as well. Hope that helps. 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 he_anton at yahoo.com Thu Nov 30 03:53:48 2006 From: he_anton at yahoo.com (hendro budianto) Date: Wed, 29 Nov 2006 18:53:48 -0800 (PST) Subject: snmp plugins for bay advanced remote node at nagios In-Reply-To: <115987.26562.qm@web52007.mail.yahoo.com> References: <115987.26562.qm@web52007.mail.yahoo.com> Message-ID: <50555.10407.qm@web52009.mail.yahoo.com> Sorry guy's I'already found the script for my router. Is not complete like cisco snmp script but is quite ok. Best regards, Hendro B --- hendro budianto wrote: > Dear all, > > I have a bay network router arn, and need the > plugins > script snmp router at nagios. I'm already find from > http://www.manubulon.com. And the result there no > router bay network arn. > My distro is FC4.0, nagios 2.5, and > nagios-plugins-1.4.3. > Could u help me please. > > Best regards, > > > Hendro B > > > > > ____________________________________________________________________________________ > Cheap talk? > Check out Yahoo! Messenger's low PC-to-Phone call > rates. > http://voice.yahoo.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 > ____________________________________________________________________________________ Cheap talk? Check out Yahoo! Messenger's low PC-to-Phone call rates. http://voice.yahoo.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 neuwald.biz Thu Nov 30 12:55:25 2006 From: felipe at neuwald.biz (Felipe Neuwald) Date: Thu, 30 Nov 2006 09:55:25 -0200 Subject: radauth problem Message-ID: <456EC6AD.5010009@neuwald.biz> 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 hpsekhon at googlemail.com Thu Nov 30 13:01:45 2006 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 30 Nov 2006 12:01:45 +0000 Subject: Snmp - How do you use yours? In-Reply-To: References: Message-ID: <456EC829.6000406@googlemail.com> OID=object identifier see http://www.net-snmp.com/ best not to hijack other people's threads, you should start your own if you have a different question. -h Hari Sekhon shawn.beasley at dlh.de wrote: > Hey Hari (List), > > >> -----Urspr?ngliche Nachricht----- >> Von: nagios-users-bounces at lists.sourceforge.net >> [mailto:nagios-users-bounces at lists.sourceforge.net] Im >> Auftrag von Hari Sekhon >> Gesendet: Dienstag, 28. November 2006 10:46 >> An: Nagios Users mailinglist >> Betreff: [Nagios-users] Snmp - How do you use yours? >> >> Hi all, >> >> I've decided to add snmp monitoring to my nagios setup. >> I'd like to know what you guys and gals are monitoring using >> snmp out there. >> >> It seemed like a lot of work to get in to, but I think this >> was just the effort of trying to piece together the >> "documentation" for net-snmp to figure out how to use it. >> > > I am at the begining of working with SNMP and have very little idea how I can help my self. > > >> So, now I have an idea and have snmpwalked my agent, I'm left >> with a big long list of OIDs that I'm not sure are very >> > > What is an OID? > > >> useful. Ok, all the tutorials show uptime, which is the agent >> uptime rather than the system uptime but in a few months when >> the servers are rebooted hopefully this will be the same. So >> what else can I do with it? >> >> Can I extend it to export an OID for some test that runs >> locally on the system? >> >> I need help and ideas please? >> >> >> Thanks >> >> -h >> >> -- >> Hari Sekhon >> >> >> -------------------------------------------------------------- >> ----------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the >> chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge >> > &CID=DEVDEV > >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS >> when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > Where can I find the mentioned tutorials for SNMP? > > Best Wishes, > > Shawn Beasley > Support - IT > LPID LPI000077664 > VERIFICATION NUMBER 3vk4xshbx6 > > LPIC - 1 > > Cargo Future Communications GmbH > Building 1335 > D-55483 Hahn-Airport > > Tel. +49 6543 983 113 > Fax +49 6543 983 119 > Mobil: +49 151 12 12 8934 > Email: shawn.beasley at dlh.de > Web: http://www.cfc-callcenter.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 aharrison at gmail.com Thu Nov 30 19:34:20 2006 From: aharrison at gmail.com (Andy Harrison) Date: Thu, 30 Nov 2006 13:34:20 -0500 Subject: repost: nagios-plugins on Solaris 9 --with-ps-command Message-ID: Could anyone please help me with the proper syntax for the configure line? No matter what I use, during the configure process I get: checking for ps... /usr/bin/ps checking for ps syntax... using nagios-plugins internal ps for solaris The pst3 command does not work for me. check_procs is broken anyway, so it just hangs until timeout when pst3 fails. When I run pst3 manually as root, I get... # /usr/local/nagios/libexec/pst3 /usr/local/nagios/libexec/pst3: /dev/ksyms is not a 32-bit kernel namelist pst3: Failed to open kernel memory: Error 0 I figured that --with-ps-command=/usr/ucb/ps in my configure line would do the trick, but it always picks up /usr/bin/ps instead. This box is a sunfire v440 sparc running Solaris 9 with gcc-3.4.5 installed and I'm compiling from the most recent nagios-plugins-1.4.5 source tarball. Any suggestions appreciated. Thanks! -- Andy Harrison ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Thu Nov 30 19:40:25 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Thu, 30 Nov 2006 13:40:25 -0500 Subject: Nagios 2.5 and weird problem Message-ID: I'm using FreeBSD 6.1 and Nagios 2.5 I've just noticed my Nagios 2.5 installation doing something weird. I have just under services being monitored by this instance of Nagios and I see this in top: 53577 nagios 1 119 0 2840K 2064K RUN 0 54:12 87.35% nagios It's been doing that for the past few hours now and the only thing that seems to stop it for a while is to kill all nagios processes and restart nagios. What other information would be required to further determine the cause of Nagios eating up so much CPU? Any ideas? -- Mark Hennessy ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Shein at iovate.com Thu Nov 30 19:48:51 2006 From: Jason.Shein at iovate.com (Jason.Shein at iovate.com) Date: Thu, 30 Nov 2006 13:48:51 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: References: Message-ID: Try the following to see what part of the nagios process is consuming all of the resources #lsof | grep nagios | less _______________________________________________________________________________ Jason Shein Network Administrator ? Linux Systems Iovate Health Sciences Inc. 5100 Spectrum Way Mississauga, ON L4W 5S2 ( 905 ) - 678 - 3119 x 3136 1 - 888 - 334 - 4448, x 3136 (toll-free) jason.shein at iovate.com Customer Service. Collaboration. Innovation. Efficiency. Iovate's Information Technology Team _______________________________________________________________________________ CONFIDENTIALITY NOTICE: THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND IS INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS DISCLOSED TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT TO THE SENDER. _______________________________________________________________________________ "Mark Hennessy" Sent by: nagios-users-bounces at lists.sourceforge.net 11/30/2006 01:40 PM To cc Subject [Nagios-users] Nagios 2.5 and weird problem I'm using FreeBSD 6.1 and Nagios 2.5 I've just noticed my Nagios 2.5 installation doing something weird. I have just under services being monitored by this instance of Nagios and I see this in top: 53577 nagios 1 119 0 2840K 2064K RUN 0 54:12 87.35% nagios It's been doing that for the past few hours now and the only thing that seems to stop it for a while is to kill all nagios processes and restart nagios. What other information would be required to further determine the cause of Nagios eating up so much CPU? Any ideas? -- Mark Hennessy ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 ddunham at taos.com Thu Nov 30 19:48:37 2006 From: ddunham at taos.com (Darren Dunham) Date: Thu, 30 Nov 2006 10:48:37 -0800 (PST) Subject: repost: nagios-plugins on Solaris 9 --with-ps-command In-Reply-To: from "Andy Harrison" at Nov 30, 2006 01:34:20 PM References: Message-ID: <200611301848.KAA19851@redwood.taos.com> > No matter what I use, during the configure process I get: > > checking for ps... /usr/bin/ps > checking for ps syntax... using nagios-plugins internal ps for solaris > > The pst3 command does not work for me. check_procs is broken anyway, > so it just hangs until timeout when pst3 fails. > > When I run pst3 manually as root, I get... > > # /usr/local/nagios/libexec/pst3 > /usr/local/nagios/libexec/pst3: /dev/ksyms is not a 32-bit kernel namelist > pst3: Failed to open kernel memory: Error 0 Whatever else is happening, it appears that 'pst3' has been built as a 32 bit executable (can check with 'file' command), but you are running a 64 bit kernel. The 32 bit program can't read the 64 bit kernel structure. I'm afraid I don't know enough about the rest of it to comment. -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse 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 mhennessy at cloud9.net Thu Nov 30 20:21:09 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Thu, 30 Nov 2006 14:21:09 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: References: Message-ID: OK, I did that, but perhaps I'm missing something. The default fields provided for the output of lsof are: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME When I grep for "local/nagios" to filter out other things that may be running as the nagios user, I get: nagios 53577 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 53577 nagios 4u VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock Thanks again for your kind attention to this matter! -- Mark Hennessy > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Jason.Shein at iovate.com > Sent: Thursday, November 30, 2006 1:49 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > Try the following to see what part of the nagios process is > consuming all > of the resources > > #lsof | grep nagios | less > > ______________________________________________________________ > _________________ > > Jason Shein > Network Administrator - Linux Systems > Iovate Health Sciences Inc. > 5100 Spectrum Way > Mississauga, ON L4W 5S2 > ( 905 ) - 678 - 3119 x 3136 > 1 - 888 - 334 - 4448, x 3136 (toll-free) > jason.shein at iovate.com > > Customer Service. Collaboration. Innovation. Efficiency. > Iovate's Information Technology Team > > ______________________________________________________________ > _________________ > > CONFIDENTIALITY NOTICE: > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > CONFIDENTIAL AND IS > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > IS DISCLOSED > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > INC. IF YOU > HAVE > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > TO THE SENDER. > ______________________________________________________________ > _________________ > > > > "Mark Hennessy" > Sent by: nagios-users-bounces at lists.sourceforge.net > 11/30/2006 01:40 PM > > To > > cc > > Subject > [Nagios-users] Nagios 2.5 and weird problem > > > > > > > I'm using FreeBSD 6.1 and Nagios 2.5 > > I've just noticed my Nagios 2.5 installation doing something weird. > > I have just under services being monitored by this instance > of Nagios and > I > see this in top: > 53577 nagios 1 119 0 2840K 2064K RUN 0 54:12 87.35% > nagios > > It's been doing that for the past few hours now and the only > thing that > seems > to stop it for a while is to kill all nagios processes and > restart nagios. > > What other information would be required to further determine > the cause of > Nagios eating up so much CPU? > Any ideas? > > -- > Mark Hennessy > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Shein at iovate.com Thu Nov 30 20:38:19 2006 From: Jason.Shein at iovate.com (Jason.Shein at iovate.com) Date: Thu, 30 Nov 2006 14:38:19 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: References: Message-ID: Also try the following. It is possible a particular command that you have entered into nagios is hanging. Are you running any non-standard plugins? # ps -aux | grep nagios _______________________________________________________________________________ Jason Shein Network Administrator ? Linux Systems Iovate Health Sciences Inc. 5100 Spectrum Way Mississauga, ON L4W 5S2 ( 905 ) - 678 - 3119 x 3136 1 - 888 - 334 - 4448, x 3136 (toll-free) jason.shein at iovate.com Customer Service. Collaboration. Innovation. Efficiency. Iovate's Information Technology Team _______________________________________________________________________________ CONFIDENTIALITY NOTICE: THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND CONFIDENTIAL AND IS INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND IS DISCLOSED TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES INC. IF YOU HAVE RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT TO THE SENDER. _______________________________________________________________________________ "Mark Hennessy" Sent by: nagios-users-bounces at lists.sourceforge.net 11/30/2006 02:21 PM To , cc Subject Re: [Nagios-users] Nagios 2.5 and weird problem OK, I did that, but perhaps I'm missing something. The default fields provided for the output of lsof are: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME When I grep for "local/nagios" to filter out other things that may be running as the nagios user, I get: nagios 53577 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 53577 nagios 4u VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock nagios 76606 nagios txt VREG 0,83 376432 5016784 /usr/local/nagios/bin/nagios nagios 76606 nagios 4uW VREG 0,83 6 5017162 /usr/local/nagios/var/nagios.lock Thanks again for your kind attention to this matter! -- Mark Hennessy > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Jason.Shein at iovate.com > Sent: Thursday, November 30, 2006 1:49 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > Try the following to see what part of the nagios process is > consuming all > of the resources > > #lsof | grep nagios | less > > ______________________________________________________________ > _________________ > > Jason Shein > Network Administrator - Linux Systems > Iovate Health Sciences Inc. > 5100 Spectrum Way > Mississauga, ON L4W 5S2 > ( 905 ) - 678 - 3119 x 3136 > 1 - 888 - 334 - 4448, x 3136 (toll-free) > jason.shein at iovate.com > > Customer Service. Collaboration. Innovation. Efficiency. > Iovate's Information Technology Team > > ______________________________________________________________ > _________________ > > CONFIDENTIALITY NOTICE: > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > CONFIDENTIAL AND IS > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > IS DISCLOSED > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > INC. IF YOU > HAVE > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > TO THE SENDER. > ______________________________________________________________ > _________________ > > > > "Mark Hennessy" > Sent by: nagios-users-bounces at lists.sourceforge.net > 11/30/2006 01:40 PM > > To > > cc > > Subject > [Nagios-users] Nagios 2.5 and weird problem > > > > > > > I'm using FreeBSD 6.1 and Nagios 2.5 > > I've just noticed my Nagios 2.5 installation doing something weird. > > I have just under services being monitored by this instance > of Nagios and > I > see this in top: > 53577 nagios 1 119 0 2840K 2064K RUN 0 54:12 87.35% > nagios > > It's been doing that for the past few hours now and the only > thing that > seems > to stop it for a while is to kill all nagios processes and > restart nagios. > > What other information would be required to further determine > the cause of > Nagios eating up so much CPU? > Any ideas? > > -- > Mark Hennessy > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mhennessy at cloud9.net Thu Nov 30 20:40:07 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Thu, 30 Nov 2006 14:40:07 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: References: Message-ID: I'm running lots of custom plugins, mostly perl scripts. ps auxww| grep nagios just shows me two instances of the nagios executable, nrpe, and apache. This one is the one that's currently eating over 90% of my clock cycles: nagios 53577 95.1 0.1 2840 2064 ?? R 12:37PM 107:55.00 /usr/local/nagios/bin/nagios -d usr/local/nagios/etc/nagios.cfg Thanks again for your kind attention to this matter! -- Mark Hennessy > -----Original Message----- > From: Jason.Shein at iovate.com [mailto:Jason.Shein at iovate.com] > Sent: Thursday, November 30, 2006 2:38 PM > To: Mark Hennessy; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > Also try the following. It is possible a particular command > that you have > entered into nagios is hanging. Are you running any > non-standard plugins? > > # ps -aux | grep nagios > > ______________________________________________________________ > _________________ > > Jason Shein > Network Administrator - Linux Systems > Iovate Health Sciences Inc. > 5100 Spectrum Way > Mississauga, ON L4W 5S2 > ( 905 ) - 678 - 3119 x 3136 > 1 - 888 - 334 - 4448, x 3136 (toll-free) > jason.shein at iovate.com > > Customer Service. Collaboration. Innovation. Efficiency. > Iovate's Information Technology Team > > ______________________________________________________________ > _________________ > > CONFIDENTIALITY NOTICE: > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > CONFIDENTIAL AND IS > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > IS DISCLOSED > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > INC. IF YOU > HAVE > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > TO THE SENDER. > ______________________________________________________________ > _________________ > > > > "Mark Hennessy" > Sent by: nagios-users-bounces at lists.sourceforge.net > 11/30/2006 02:21 PM > > To > , > cc > > Subject > Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > OK, I did that, but perhaps I'm missing something. > > The default fields provided for the output of lsof are: > COMMAND PID USER FD TYPE DEVICE SIZE/OFF > NODE > NAME > > When I grep for "local/nagios" to filter out other things that may be > running > as the nagios user, I get: > nagios 53577 nagios txt VREG 0,83 376432 5016784 > /usr/local/nagios/bin/nagios > nagios 53577 nagios 4u VREG 0,83 6 5017162 > /usr/local/nagios/var/nagios.lock > nagios 76606 nagios txt VREG 0,83 376432 5016784 > /usr/local/nagios/bin/nagios > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > /usr/local/nagios/var/nagios.lock > nagios 76606 nagios txt VREG 0,83 376432 5016784 > /usr/local/nagios/bin/nagios > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > /usr/local/nagios/var/nagios.lock > nagios 76606 nagios txt VREG 0,83 376432 5016784 > /usr/local/nagios/bin/nagios > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > /usr/local/nagios/var/nagios.lock > nagios 76606 nagios txt VREG 0,83 376432 5016784 > /usr/local/nagios/bin/nagios > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > /usr/local/nagios/var/nagios.lock > nagios 76606 nagios txt VREG 0,83 376432 5016784 > /usr/local/nagios/bin/nagios > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > /usr/local/nagios/var/nagios.lock > nagios 76606 nagios txt VREG 0,83 376432 5016784 > /usr/local/nagios/bin/nagios > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > /usr/local/nagios/var/nagios.lock > > Thanks again for your kind attention to this matter! > > -- > Mark Hennessy > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Jason.Shein at iovate.com > > Sent: Thursday, November 30, 2006 1:49 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > Try the following to see what part of the nagios process is > > consuming all > > of the resources > > > > #lsof | grep nagios | less > > > > ______________________________________________________________ > > _________________ > > > > Jason Shein > > Network Administrator - Linux Systems > > Iovate Health Sciences Inc. > > 5100 Spectrum Way > > Mississauga, ON L4W 5S2 > > ( 905 ) - 678 - 3119 x 3136 > > 1 - 888 - 334 - 4448, x 3136 (toll-free) > > jason.shein at iovate.com > > > > Customer Service. Collaboration. Innovation. Efficiency. > > Iovate's Information Technology Team > > > > ______________________________________________________________ > > _________________ > > > > CONFIDENTIALITY NOTICE: > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > > CONFIDENTIAL AND IS > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > > IS DISCLOSED > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > WRITTEN CONSENT > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > > INC. IF YOU > > HAVE > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > > TO THE SENDER. > > ______________________________________________________________ > > _________________ > > > > > > > > "Mark Hennessy" > > Sent by: nagios-users-bounces at lists.sourceforge.net > > 11/30/2006 01:40 PM > > > > To > > > > cc > > > > Subject > > [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > > > I'm using FreeBSD 6.1 and Nagios 2.5 > > > > I've just noticed my Nagios 2.5 installation doing something weird. > > > > I have just under services being monitored by this instance > > of Nagios and > > I > > see this in top: > > 53577 nagios 1 119 0 2840K 2064K RUN 0 > 54:12 87.35% > > nagios > > > > It's been doing that for the past few hours now and the only > > thing that > > seems > > to stop it for a while is to kill all nagios processes and > > restart nagios. > > > > What other information would be required to further determine > > the cause of > > Nagios eating up so much CPU? > > Any ideas? > > > > -- > > Mark Hennessy > > > > -------------------------------------------------------------- > > ----------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the > > chance to share > > your > > opinions on IT & business topics through brief surveys - > and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > &CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 owen.berry at gmail.com Thu Nov 30 21:17:17 2006 From: owen.berry at gmail.com (Owen Berry) Date: Thu, 30 Nov 2006 15:17:17 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: References: Message-ID: <763ca2a0611301217u56a3ace7hc39c40d9a5bfd37c@mail.gmail.com> And if you check the Nagios log file - anything catch your eye? Like lots of a particualr type of event being processed. Just an idea. Owen On 11/30/06, Mark Hennessy wrote: > I'm running lots of custom plugins, mostly perl scripts. > > ps auxww| grep nagios just shows me two instances of the nagios executable, > nrpe, and apache. > > This one is the one that's currently eating over 90% of my clock cycles: > > nagios 53577 95.1 0.1 2840 2064 ?? R 12:37PM 107:55.00 > /usr/local/nagios/bin/nagios -d usr/local/nagios/etc/nagios.cfg > > Thanks again for your kind attention to this matter! > > -- > Mark Hennessy > > > -----Original Message----- > > From: Jason.Shein at iovate.com [mailto:Jason.Shein at iovate.com] > > Sent: Thursday, November 30, 2006 2:38 PM > > To: Mark Hennessy; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > Also try the following. It is possible a particular command > > that you have > > entered into nagios is hanging. Are you running any > > non-standard plugins? > > > > # ps -aux | grep nagios > > > > ______________________________________________________________ > > _________________ > > > > Jason Shein > > Network Administrator - Linux Systems > > Iovate Health Sciences Inc. > > 5100 Spectrum Way > > Mississauga, ON L4W 5S2 > > ( 905 ) - 678 - 3119 x 3136 > > 1 - 888 - 334 - 4448, x 3136 (toll-free) > > jason.shein at iovate.com > > > > Customer Service. Collaboration. Innovation. Efficiency. > > Iovate's Information Technology Team > > > > ______________________________________________________________ > > _________________ > > > > CONFIDENTIALITY NOTICE: > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > > CONFIDENTIAL AND IS > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > > IS DISCLOSED > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS WRITTEN CONSENT > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > > INC. IF YOU > > HAVE > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > > TO THE SENDER. > > ______________________________________________________________ > > _________________ > > > > > > > > "Mark Hennessy" > > Sent by: nagios-users-bounces at lists.sourceforge.net > > 11/30/2006 02:21 PM > > > > To > > , > > cc > > > > Subject > > Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > > > OK, I did that, but perhaps I'm missing something. > > > > The default fields provided for the output of lsof are: > > COMMAND PID USER FD TYPE DEVICE SIZE/OFF > > NODE > > NAME > > > > When I grep for "local/nagios" to filter out other things that may be > > running > > as the nagios user, I get: > > nagios 53577 nagios txt VREG 0,83 376432 5016784 > > /usr/local/nagios/bin/nagios > > nagios 53577 nagios 4u VREG 0,83 6 5017162 > > /usr/local/nagios/var/nagios.lock > > nagios 76606 nagios txt VREG 0,83 376432 5016784 > > /usr/local/nagios/bin/nagios > > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > > /usr/local/nagios/var/nagios.lock > > nagios 76606 nagios txt VREG 0,83 376432 5016784 > > /usr/local/nagios/bin/nagios > > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > > /usr/local/nagios/var/nagios.lock > > nagios 76606 nagios txt VREG 0,83 376432 5016784 > > /usr/local/nagios/bin/nagios > > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > > /usr/local/nagios/var/nagios.lock > > nagios 76606 nagios txt VREG 0,83 376432 5016784 > > /usr/local/nagios/bin/nagios > > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > > /usr/local/nagios/var/nagios.lock > > nagios 76606 nagios txt VREG 0,83 376432 5016784 > > /usr/local/nagios/bin/nagios > > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > > /usr/local/nagios/var/nagios.lock > > nagios 76606 nagios txt VREG 0,83 376432 5016784 > > /usr/local/nagios/bin/nagios > > nagios 76606 nagios 4uW VREG 0,83 6 5017162 > > /usr/local/nagios/var/nagios.lock > > > > Thanks again for your kind attention to this matter! > > > > -- > > Mark Hennessy > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > > Of Jason.Shein at iovate.com > > > Sent: Thursday, November 30, 2006 1:49 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > Try the following to see what part of the nagios process is > > > consuming all > > > of the resources > > > > > > #lsof | grep nagios | less > > > > > > ______________________________________________________________ > > > _________________ > > > > > > Jason Shein > > > Network Administrator - Linux Systems > > > Iovate Health Sciences Inc. > > > 5100 Spectrum Way > > > Mississauga, ON L4W 5S2 > > > ( 905 ) - 678 - 3119 x 3136 > > > 1 - 888 - 334 - 4448, x 3136 (toll-free) > > > jason.shein at iovate.com > > > > > > Customer Service. Collaboration. Innovation. Efficiency. > > > Iovate's Information Technology Team > > > > > > ______________________________________________________________ > > > _________________ > > > > > > CONFIDENTIALITY NOTICE: > > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > > > CONFIDENTIAL AND IS > > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > > > IS DISCLOSED > > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT DISCLOSE IT > > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > > WRITTEN CONSENT > > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > > > INC. IF YOU > > > HAVE > > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > > > TO THE SENDER. > > > ______________________________________________________________ > > > _________________ > > > > > > > > > > > > "Mark Hennessy" > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > 11/30/2006 01:40 PM > > > > > > To > > > > > > cc > > > > > > Subject > > > [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > > > > > > > > > > I'm using FreeBSD 6.1 and Nagios 2.5 > > > > > > I've just noticed my Nagios 2.5 installation doing something weird. > > > > > > I have just under services being monitored by this instance > > > of Nagios and > > > I > > > see this in top: > > > 53577 nagios 1 119 0 2840K 2064K RUN 0 > > 54:12 87.35% > > > nagios > > > > > > It's been doing that for the past few hours now and the only > > > thing that > > > seems > > > to stop it for a while is to kill all nagios processes and > > > restart nagios. > > > > > > What other information would be required to further determine > > > the cause of > > > Nagios eating up so much CPU? > > > Any ideas? > > > > > > -- > > > Mark Hennessy > > > > > > -------------------------------------------------------------- > > > ----------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the > > > chance to share > > > your > > > opinions on IT & business topics through brief surveys - > > and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > > &CID=DEVDEV > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 > > > > > > > -------------------------------------------------------------- > > ----------- > > Take Surveys. Earn Cash. Influence the Future of IT > > Join SourceForge.net's Techsay panel and you'll get the > > chance to share > > your > > opinions on IT & business topics through brief surveys - and earn cash > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > &CID=DEVDEV > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Thu Nov 30 21:21:18 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Thu, 30 Nov 2006 15:21:18 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: <763ca2a0611301216y1a661bafma6c9d12c9214ed55@mail.gmail.com> References: <763ca2a0611301216y1a661bafma6c9d12c9214ed55@mail.gmail.com> Message-ID: Nothing of note appears. :( Is it usually the case that when no checks are running that there would be two instances of the Nagios process running? nagios 53577 90.2 0.1 2840 2064 ?? R 12:37PM 146:50.41 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg nagios 76606 0.0 0.1 3100 2360 ?? Ss 9:40AM 0:54.89 /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg -- Mark Hennessy > -----Original Message----- > From: Owen Berry [mailto:owen.berry at gmail.com] > Sent: Thursday, November 30, 2006 3:16 PM > To: Mark Hennessy > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > And if you check the Nagios log file - anything catch your eye? Like > lots of a particualr type of event being processed. Just an idea. > > Owen > > On 11/30/06, Mark Hennessy wrote: > > I'm running lots of custom plugins, mostly perl scripts. > > > > ps auxww| grep nagios just shows me two instances of the > nagios executable, > > nrpe, and apache. > > > > This one is the one that's currently eating over 90% of my > clock cycles: > > > > nagios 53577 95.1 0.1 2840 2064 ?? R 12:37PM 107:55.00 > > /usr/local/nagios/bin/nagios -d usr/local/nagios/etc/nagios.cfg > > > > Thanks again for your kind attention to this matter! > > > > -- > > Mark Hennessy > > > > > -----Original Message----- > > > From: Jason.Shein at iovate.com [mailto:Jason.Shein at iovate.com] > > > Sent: Thursday, November 30, 2006 2:38 PM > > > To: Mark Hennessy; nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > Also try the following. It is possible a particular command > > > that you have > > > entered into nagios is hanging. Are you running any > > > non-standard plugins? > > > > > > # ps -aux | grep nagios > > > > > > ______________________________________________________________ > > > _________________ > > > > > > Jason Shein > > > Network Administrator - Linux Systems > > > Iovate Health Sciences Inc. > > > 5100 Spectrum Way > > > Mississauga, ON L4W 5S2 > > > ( 905 ) - 678 - 3119 x 3136 > > > 1 - 888 - 334 - 4448, x 3136 (toll-free) > > > jason.shein at iovate.com > > > > > > Customer Service. Collaboration. Innovation. Efficiency. > > > Iovate's Information Technology Team > > > > > > ______________________________________________________________ > > > _________________ > > > > > > CONFIDENTIALITY NOTICE: > > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > > > CONFIDENTIAL AND IS > > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > > > IS DISCLOSED > > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT > DISCLOSE IT > > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > WRITTEN CONSENT > > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > > > INC. IF YOU > > > HAVE > > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > > > TO THE SENDER. > > > ______________________________________________________________ > > > _________________ > > > > > > > > > > > > "Mark Hennessy" > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > 11/30/2006 02:21 PM > > > > > > To > > > , > > > cc > > > > > > Subject > > > Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > > > > > > > > > > OK, I did that, but perhaps I'm missing something. > > > > > > The default fields provided for the output of lsof are: > > > COMMAND PID USER FD TYPE DEVICE SIZE/OFF > > > NODE > > > NAME > > > > > > When I grep for "local/nagios" to filter out other things > that may be > > > running > > > as the nagios user, I get: > > > nagios 53577 nagios txt VREG 0,83 > 376432 5016784 > > > /usr/local/nagios/bin/nagios > > > nagios 53577 nagios 4u VREG 0,83 > 6 5017162 > > > /usr/local/nagios/var/nagios.lock > > > nagios 76606 nagios txt VREG 0,83 > 376432 5016784 > > > /usr/local/nagios/bin/nagios > > > nagios 76606 nagios 4uW VREG 0,83 > 6 5017162 > > > /usr/local/nagios/var/nagios.lock > > > nagios 76606 nagios txt VREG 0,83 > 376432 5016784 > > > /usr/local/nagios/bin/nagios > > > nagios 76606 nagios 4uW VREG 0,83 > 6 5017162 > > > /usr/local/nagios/var/nagios.lock > > > nagios 76606 nagios txt VREG 0,83 > 376432 5016784 > > > /usr/local/nagios/bin/nagios > > > nagios 76606 nagios 4uW VREG 0,83 > 6 5017162 > > > /usr/local/nagios/var/nagios.lock > > > nagios 76606 nagios txt VREG 0,83 > 376432 5016784 > > > /usr/local/nagios/bin/nagios > > > nagios 76606 nagios 4uW VREG 0,83 > 6 5017162 > > > /usr/local/nagios/var/nagios.lock > > > nagios 76606 nagios txt VREG 0,83 > 376432 5016784 > > > /usr/local/nagios/bin/nagios > > > nagios 76606 nagios 4uW VREG 0,83 > 6 5017162 > > > /usr/local/nagios/var/nagios.lock > > > nagios 76606 nagios txt VREG 0,83 > 376432 5016784 > > > /usr/local/nagios/bin/nagios > > > nagios 76606 nagios 4uW VREG 0,83 > 6 5017162 > > > /usr/local/nagios/var/nagios.lock > > > > > > Thanks again for your kind attention to this matter! > > > > > > -- > > > Mark Hennessy > > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net > > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > > > Of Jason.Shein at iovate.com > > > > Sent: Thursday, November 30, 2006 1:49 PM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > Try the following to see what part of the nagios process is > > > > consuming all > > > > of the resources > > > > > > > > #lsof | grep nagios | less > > > > > > > > ______________________________________________________________ > > > > _________________ > > > > > > > > Jason Shein > > > > Network Administrator - Linux Systems > > > > Iovate Health Sciences Inc. > > > > 5100 Spectrum Way > > > > Mississauga, ON L4W 5S2 > > > > ( 905 ) - 678 - 3119 x 3136 > > > > 1 - 888 - 334 - 4448, x 3136 (toll-free) > > > > jason.shein at iovate.com > > > > > > > > Customer Service. Collaboration. Innovation. Efficiency. > > > > Iovate's Information Technology Team > > > > > > > > ______________________________________________________________ > > > > _________________ > > > > > > > > CONFIDENTIALITY NOTICE: > > > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > > > > CONFIDENTIAL AND IS > > > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS > ADDRESSED. > > > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > > > > IS DISCLOSED > > > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL > NOT DISCLOSE IT > > > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > > > WRITTEN CONSENT > > > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > > > > INC. IF YOU > > > > HAVE > > > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY > RETURN IT > > > > TO THE SENDER. > > > > ______________________________________________________________ > > > > _________________ > > > > > > > > > > > > > > > > "Mark Hennessy" > > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > 11/30/2006 01:40 PM > > > > > > > > To > > > > > > > > cc > > > > > > > > Subject > > > > [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm using FreeBSD 6.1 and Nagios 2.5 > > > > > > > > I've just noticed my Nagios 2.5 installation doing > something weird. > > > > > > > > I have just under services being monitored by this instance > > > > of Nagios and > > > > I > > > > see this in top: > > > > 53577 nagios 1 119 0 2840K 2064K RUN 0 > > > 54:12 87.35% > > > > nagios > > > > > > > > It's been doing that for the past few hours now and the only > > > > thing that > > > > seems > > > > to stop it for a while is to kill all nagios processes and > > > > restart nagios. > > > > > > > > What other information would be required to further determine > > > > the cause of > > > > Nagios eating up so much CPU? > > > > Any ideas? > > > > > > > > -- > > > > Mark Hennessy > > > > > > > > -------------------------------------------------------------- > > > > ----------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the > > > > chance to share > > > > your > > > > opinions on IT & business topics through brief surveys - > > > and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > > > &CID=DEVDEV > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 > > > > > > > > > > -------------------------------------------------------------- > > > ----------- > > > Take Surveys. Earn Cash. Influence the Future of IT > > > Join SourceForge.net's Techsay panel and you'll get the > > > chance to share > > > your > > > opinions on IT & business topics through brief surveys - > and earn cash > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > > &CID=DEVDEV > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From owen.berry at gmail.com Thu Nov 30 21:25:33 2006 From: owen.berry at gmail.com (Owen Berry) Date: Thu, 30 Nov 2006 15:25:33 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: References: <763ca2a0611301216y1a661bafma6c9d12c9214ed55@mail.gmail.com> Message-ID: <763ca2a0611301225h5548d6d8v4310076398232ece@mail.gmail.com> Check the start times of those processes. There should be 1 with the time that you originally started Nagios. Any others should be pretty close to the current time, which would indicate they're forked processes. If you suspect multiple Nagios's running, I would stop it the usual way, wait a bit and make sure everything Nagios related stops, and then start again. If you have 2 instances running, you might need to some manual process killing before starting up again. Owen On 11/30/06, Mark Hennessy wrote: > Nothing of note appears. :( > > Is it usually the case that when no checks are running that there would be > two instances of the Nagios process running? > > nagios 53577 90.2 0.1 2840 2064 ?? R 12:37PM 146:50.41 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > nagios 76606 0.0 0.1 3100 2360 ?? Ss 9:40AM 0:54.89 > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > -- > Mark Hennessy > > > -----Original Message----- > > From: Owen Berry [mailto:owen.berry at gmail.com] > > Sent: Thursday, November 30, 2006 3:16 PM > > To: Mark Hennessy > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > And if you check the Nagios log file - anything catch your eye? Like > > lots of a particualr type of event being processed. Just an idea. > > > > Owen > > > > On 11/30/06, Mark Hennessy wrote: > > > I'm running lots of custom plugins, mostly perl scripts. > > > > > > ps auxww| grep nagios just shows me two instances of the > > nagios executable, > > > nrpe, and apache. > > > > > > This one is the one that's currently eating over 90% of my > > clock cycles: > > > > > > nagios 53577 95.1 0.1 2840 2064 ?? R 12:37PM 107:55.00 > > > /usr/local/nagios/bin/nagios -d usr/local/nagios/etc/nagios.cfg > > > > > > Thanks again for your kind attention to this matter! > > > > > > -- > > > Mark Hennessy > > > > > > > -----Original Message----- > > > > From: Jason.Shein at iovate.com [mailto:Jason.Shein at iovate.com] > > > > Sent: Thursday, November 30, 2006 2:38 PM > > > > To: Mark Hennessy; nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > Also try the following. It is possible a particular command > > > > that you have > > > > entered into nagios is hanging. Are you running any > > > > non-standard plugins? > > > > > > > > # ps -aux | grep nagios > > > > > > > > ______________________________________________________________ > > > > _________________ > > > > > > > > Jason Shein > > > > Network Administrator - Linux Systems > > > > Iovate Health Sciences Inc. > > > > 5100 Spectrum Way > > > > Mississauga, ON L4W 5S2 > > > > ( 905 ) - 678 - 3119 x 3136 > > > > 1 - 888 - 334 - 4448, x 3136 (toll-free) > > > > jason.shein at iovate.com > > > > > > > > Customer Service. Collaboration. Innovation. Efficiency. > > > > Iovate's Information Technology Team > > > > > > > > ______________________________________________________________ > > > > _________________ > > > > > > > > CONFIDENTIALITY NOTICE: > > > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > > > > CONFIDENTIAL AND IS > > > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS ADDRESSED. > > > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > > > > IS DISCLOSED > > > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT > > DISCLOSE IT > > > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > > WRITTEN CONSENT > > > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > > > > INC. IF YOU > > > > HAVE > > > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY RETURN IT > > > > TO THE SENDER. > > > > ______________________________________________________________ > > > > _________________ > > > > > > > > > > > > > > > > "Mark Hennessy" > > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > 11/30/2006 02:21 PM > > > > > > > > To > > > > , > > > > cc > > > > > > > > Subject > > > > Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > > > > > > > > > > > > > > > > > OK, I did that, but perhaps I'm missing something. > > > > > > > > The default fields provided for the output of lsof are: > > > > COMMAND PID USER FD TYPE DEVICE SIZE/OFF > > > > NODE > > > > NAME > > > > > > > > When I grep for "local/nagios" to filter out other things > > that may be > > > > running > > > > as the nagios user, I get: > > > > nagios 53577 nagios txt VREG 0,83 > > 376432 5016784 > > > > /usr/local/nagios/bin/nagios > > > > nagios 53577 nagios 4u VREG 0,83 > > 6 5017162 > > > > /usr/local/nagios/var/nagios.lock > > > > nagios 76606 nagios txt VREG 0,83 > > 376432 5016784 > > > > /usr/local/nagios/bin/nagios > > > > nagios 76606 nagios 4uW VREG 0,83 > > 6 5017162 > > > > /usr/local/nagios/var/nagios.lock > > > > nagios 76606 nagios txt VREG 0,83 > > 376432 5016784 > > > > /usr/local/nagios/bin/nagios > > > > nagios 76606 nagios 4uW VREG 0,83 > > 6 5017162 > > > > /usr/local/nagios/var/nagios.lock > > > > nagios 76606 nagios txt VREG 0,83 > > 376432 5016784 > > > > /usr/local/nagios/bin/nagios > > > > nagios 76606 nagios 4uW VREG 0,83 > > 6 5017162 > > > > /usr/local/nagios/var/nagios.lock > > > > nagios 76606 nagios txt VREG 0,83 > > 376432 5016784 > > > > /usr/local/nagios/bin/nagios > > > > nagios 76606 nagios 4uW VREG 0,83 > > 6 5017162 > > > > /usr/local/nagios/var/nagios.lock > > > > nagios 76606 nagios txt VREG 0,83 > > 376432 5016784 > > > > /usr/local/nagios/bin/nagios > > > > nagios 76606 nagios 4uW VREG 0,83 > > 6 5017162 > > > > /usr/local/nagios/var/nagios.lock > > > > nagios 76606 nagios txt VREG 0,83 > > 376432 5016784 > > > > /usr/local/nagios/bin/nagios > > > > nagios 76606 nagios 4uW VREG 0,83 > > 6 5017162 > > > > /usr/local/nagios/var/nagios.lock > > > > > > > > Thanks again for your kind attention to this matter! > > > > > > > > -- > > > > Mark Hennessy > > > > > > > > > -----Original Message----- > > > > > From: nagios-users-bounces at lists.sourceforge.net > > > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > > > > Of Jason.Shein at iovate.com > > > > > Sent: Thursday, November 30, 2006 1:49 PM > > > > > To: nagios-users at lists.sourceforge.net > > > > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > Try the following to see what part of the nagios process is > > > > > consuming all > > > > > of the resources > > > > > > > > > > #lsof | grep nagios | less > > > > > > > > > > ______________________________________________________________ > > > > > _________________ > > > > > > > > > > Jason Shein > > > > > Network Administrator - Linux Systems > > > > > Iovate Health Sciences Inc. > > > > > 5100 Spectrum Way > > > > > Mississauga, ON L4W 5S2 > > > > > ( 905 ) - 678 - 3119 x 3136 > > > > > 1 - 888 - 334 - 4448, x 3136 (toll-free) > > > > > jason.shein at iovate.com > > > > > > > > > > Customer Service. Collaboration. Innovation. Efficiency. > > > > > Iovate's Information Technology Team > > > > > > > > > > ______________________________________________________________ > > > > > _________________ > > > > > > > > > > CONFIDENTIALITY NOTICE: > > > > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > > > > > CONFIDENTIAL AND IS > > > > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS > > ADDRESSED. > > > > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > > > > > IS DISCLOSED > > > > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL > > NOT DISCLOSE IT > > > > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > > > > WRITTEN CONSENT > > > > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > > > > > INC. IF YOU > > > > > HAVE > > > > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY > > RETURN IT > > > > > TO THE SENDER. > > > > > ______________________________________________________________ > > > > > _________________ > > > > > > > > > > > > > > > > > > > > "Mark Hennessy" > > > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > > 11/30/2006 01:40 PM > > > > > > > > > > To > > > > > > > > > > cc > > > > > > > > > > Subject > > > > > [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm using FreeBSD 6.1 and Nagios 2.5 > > > > > > > > > > I've just noticed my Nagios 2.5 installation doing > > something weird. > > > > > > > > > > I have just under services being monitored by this instance > > > > > of Nagios and > > > > > I > > > > > see this in top: > > > > > 53577 nagios 1 119 0 2840K 2064K RUN 0 > > > > 54:12 87.35% > > > > > nagios > > > > > > > > > > It's been doing that for the past few hours now and the only > > > > > thing that > > > > > seems > > > > > to stop it for a while is to kill all nagios processes and > > > > > restart nagios. > > > > > > > > > > What other information would be required to further determine > > > > > the cause of > > > > > Nagios eating up so much CPU? > > > > > Any ideas? > > > > > > > > > > -- > > > > > Mark Hennessy > > > > > > > > > > -------------------------------------------------------------- > > > > > ----------- > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > Join SourceForge.net's Techsay panel and you'll get the > > > > > chance to share > > > > > your > > > > > opinions on IT & business topics through brief surveys - > > > > and earn cash > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > > > > &CID=DEVDEV > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: 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 > > > > > > > > > > > > > -------------------------------------------------------------- > > > > ----------- > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > Join SourceForge.net's Techsay panel and you'll get the > > > > chance to share > > > > your > > > > opinions on IT & business topics through brief surveys - > > and earn cash > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > > > &CID=DEVDEV > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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 > > > > > > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Thu Nov 30 21:44:50 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Thu, 30 Nov 2006 15:44:50 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: <763ca2a0611301225h5548d6d8v4310076398232ece@mail.gmail.com> References: <763ca2a0611301225h5548d6d8v4310076398232ece@mail.gmail.com> Message-ID: But how could two Nagios processes start like that? -- Mark Hennessy > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Owen Berry > Sent: Thursday, November 30, 2006 3:26 PM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > Check the start times of those processes. There should be 1 with the > time that you originally started Nagios. Any others should be pretty > close to the current time, which would indicate they're forked > processes. > > If you suspect multiple Nagios's running, I would stop it the usual > way, wait a bit and make sure everything Nagios related stops, and > then start again. If you have 2 instances running, you might need to > some manual process killing before starting up again. > > Owen > > On 11/30/06, Mark Hennessy wrote: > > Nothing of note appears. :( > > > > Is it usually the case that when no checks are running that > there would be > > two instances of the Nagios process running? > > > > nagios 53577 90.2 0.1 2840 2064 ?? R 12:37PM 146:50.41 > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > nagios 76606 0.0 0.1 3100 2360 ?? Ss 9:40AM 0:54.89 > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > > > -- > > Mark Hennessy > > > > > -----Original Message----- > > > From: Owen Berry [mailto:owen.berry at gmail.com] > > > Sent: Thursday, November 30, 2006 3:16 PM > > > To: Mark Hennessy > > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > And if you check the Nagios log file - anything catch > your eye? Like > > > lots of a particualr type of event being processed. Just an idea. > > > > > > Owen > > > > > > On 11/30/06, Mark Hennessy wrote: > > > > I'm running lots of custom plugins, mostly perl scripts. > > > > > > > > ps auxww| grep nagios just shows me two instances of the > > > nagios executable, > > > > nrpe, and apache. > > > > > > > > This one is the one that's currently eating over 90% of my > > > clock cycles: > > > > > > > > nagios 53577 95.1 0.1 2840 2064 ?? R 12:37PM 107:55.00 > > > > /usr/local/nagios/bin/nagios -d usr/local/nagios/etc/nagios.cfg > > > > > > > > Thanks again for your kind attention to this matter! > > > > > > > > -- > > > > Mark Hennessy > > > > > > > > > -----Original Message----- > > > > > From: Jason.Shein at iovate.com [mailto:Jason.Shein at iovate.com] > > > > > Sent: Thursday, November 30, 2006 2:38 PM > > > > > To: Mark Hennessy; nagios-users at lists.sourceforge.net > > > > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > Also try the following. It is possible a particular command > > > > > that you have > > > > > entered into nagios is hanging. Are you running any > > > > > non-standard plugins? > > > > > > > > > > # ps -aux | grep nagios > > > > > > > > > > ______________________________________________________________ > > > > > _________________ > > > > > > > > > > Jason Shein > > > > > Network Administrator - Linux Systems > > > > > Iovate Health Sciences Inc. > > > > > 5100 Spectrum Way > > > > > Mississauga, ON L4W 5S2 > > > > > ( 905 ) - 678 - 3119 x 3136 > > > > > 1 - 888 - 334 - 4448, x 3136 (toll-free) > > > > > jason.shein at iovate.com > > > > > > > > > > Customer Service. Collaboration. Innovation. Efficiency. > > > > > Iovate's Information Technology Team > > > > > > > > > > ______________________________________________________________ > > > > > _________________ > > > > > > > > > > CONFIDENTIALITY NOTICE: > > > > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > > > > > CONFIDENTIAL AND IS > > > > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT > IS ADDRESSED. > > > > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > > > > > IS DISCLOSED > > > > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL NOT > > > DISCLOSE IT > > > > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > > > WRITTEN CONSENT > > > > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > > > > > INC. IF YOU > > > > > HAVE > > > > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE > IMMEDIATELY RETURN IT > > > > > TO THE SENDER. > > > > > ______________________________________________________________ > > > > > _________________ > > > > > > > > > > > > > > > > > > > > "Mark Hennessy" > > > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > > 11/30/2006 02:21 PM > > > > > > > > > > To > > > > > , > > > > > cc > > > > > > > > > > Subject > > > > > Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > OK, I did that, but perhaps I'm missing something. > > > > > > > > > > The default fields provided for the output of lsof are: > > > > > COMMAND PID USER FD TYPE DEVICE SIZE/OFF > > > > > NODE > > > > > NAME > > > > > > > > > > When I grep for "local/nagios" to filter out other things > > > that may be > > > > > running > > > > > as the nagios user, I get: > > > > > nagios 53577 nagios txt VREG 0,83 > > > 376432 5016784 > > > > > /usr/local/nagios/bin/nagios > > > > > nagios 53577 nagios 4u VREG 0,83 > > > 6 5017162 > > > > > /usr/local/nagios/var/nagios.lock > > > > > nagios 76606 nagios txt VREG 0,83 > > > 376432 5016784 > > > > > /usr/local/nagios/bin/nagios > > > > > nagios 76606 nagios 4uW VREG 0,83 > > > 6 5017162 > > > > > /usr/local/nagios/var/nagios.lock > > > > > nagios 76606 nagios txt VREG 0,83 > > > 376432 5016784 > > > > > /usr/local/nagios/bin/nagios > > > > > nagios 76606 nagios 4uW VREG 0,83 > > > 6 5017162 > > > > > /usr/local/nagios/var/nagios.lock > > > > > nagios 76606 nagios txt VREG 0,83 > > > 376432 5016784 > > > > > /usr/local/nagios/bin/nagios > > > > > nagios 76606 nagios 4uW VREG 0,83 > > > 6 5017162 > > > > > /usr/local/nagios/var/nagios.lock > > > > > nagios 76606 nagios txt VREG 0,83 > > > 376432 5016784 > > > > > /usr/local/nagios/bin/nagios > > > > > nagios 76606 nagios 4uW VREG 0,83 > > > 6 5017162 > > > > > /usr/local/nagios/var/nagios.lock > > > > > nagios 76606 nagios txt VREG 0,83 > > > 376432 5016784 > > > > > /usr/local/nagios/bin/nagios > > > > > nagios 76606 nagios 4uW VREG 0,83 > > > 6 5017162 > > > > > /usr/local/nagios/var/nagios.lock > > > > > nagios 76606 nagios txt VREG 0,83 > > > 376432 5016784 > > > > > /usr/local/nagios/bin/nagios > > > > > nagios 76606 nagios 4uW VREG 0,83 > > > 6 5017162 > > > > > /usr/local/nagios/var/nagios.lock > > > > > > > > > > Thanks again for your kind attention to this matter! > > > > > > > > > > -- > > > > > Mark Hennessy > > > > > > > > > > > -----Original Message----- > > > > > > From: nagios-users-bounces at lists.sourceforge.net > > > > > > [mailto:nagios-users-bounces at lists.sourceforge.net] > On Behalf > > > > > > Of Jason.Shein at iovate.com > > > > > > Sent: Thursday, November 30, 2006 1:49 PM > > > > > > To: nagios-users at lists.sourceforge.net > > > > > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > Try the following to see what part of the nagios process is > > > > > > consuming all > > > > > > of the resources > > > > > > > > > > > > #lsof | grep nagios | less > > > > > > > > > > > > > ______________________________________________________________ > > > > > > _________________ > > > > > > > > > > > > Jason Shein > > > > > > Network Administrator - Linux Systems > > > > > > Iovate Health Sciences Inc. > > > > > > 5100 Spectrum Way > > > > > > Mississauga, ON L4W 5S2 > > > > > > ( 905 ) - 678 - 3119 x 3136 > > > > > > 1 - 888 - 334 - 4448, x 3136 (toll-free) > > > > > > jason.shein at iovate.com > > > > > > > > > > > > Customer Service. Collaboration. Innovation. Efficiency. > > > > > > Iovate's Information Technology Team > > > > > > > > > > > > > ______________________________________________________________ > > > > > > _________________ > > > > > > > > > > > > CONFIDENTIALITY NOTICE: > > > > > > THIS ELECTRONIC MAIL TRANSMISSION IS PRIVILEGED AND > > > > > > CONFIDENTIAL AND IS > > > > > > INTENDED ONLY FOR THE REVIEW OF THE PARTY TO WHOM IT IS > > > ADDRESSED. > > > > > > THE INFORMATION CONTAINED IN THIS E-MAIL IS CONFIDENTIAL AND > > > > > > IS DISCLOSED > > > > > > TO YOU UNDER THE EXPRESS UNDERSTANDING THAT YOU WILL > > > NOT DISCLOSE IT > > > > > > OR ITS CONTENTS TO ANY THIRD PARTY WITHOUT THE EXPRESS > > > > > WRITTEN CONSENT > > > > > > OF AN AUTHORIZED OFFICER OF IOVATE HEALTH SCIENCES SERVICES > > > > > > INC. IF YOU > > > > > > HAVE > > > > > > RECEIVED THIS TRANSMISSION IN ERROR, PLEASE IMMEDIATELY > > > RETURN IT > > > > > > TO THE SENDER. > > > > > > > ______________________________________________________________ > > > > > > _________________ > > > > > > > > > > > > > > > > > > > > > > > > "Mark Hennessy" > > > > > > Sent by: nagios-users-bounces at lists.sourceforge.net > > > > > > 11/30/2006 01:40 PM > > > > > > > > > > > > To > > > > > > > > > > > > cc > > > > > > > > > > > > Subject > > > > > > [Nagios-users] Nagios 2.5 and weird problem > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I'm using FreeBSD 6.1 and Nagios 2.5 > > > > > > > > > > > > I've just noticed my Nagios 2.5 installation doing > > > something weird. > > > > > > > > > > > > I have just under services being monitored by this instance > > > > > > of Nagios and > > > > > > I > > > > > > see this in top: > > > > > > 53577 nagios 1 119 0 2840K 2064K RUN 0 > > > > > 54:12 87.35% > > > > > > nagios > > > > > > > > > > > > It's been doing that for the past few hours now and the only > > > > > > thing that > > > > > > seems > > > > > > to stop it for a while is to kill all nagios processes and > > > > > > restart nagios. > > > > > > > > > > > > What other information would be required to further > determine > > > > > > the cause of > > > > > > Nagios eating up so much CPU? > > > > > > Any ideas? > > > > > > > > > > > > -- > > > > > > Mark Hennessy > > > > > > > > > > > > > -------------------------------------------------------------- > > > > > > ----------- > > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > > Join SourceForge.net's Techsay panel and you'll get the > > > > > > chance to share > > > > > > your > > > > > > opinions on IT & business topics through brief surveys - > > > > > and earn cash > > > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > > > > > &CID=DEVDEV > > > > > > _______________________________________________ > > > > > > Nagios-users mailing list > > > > > > Nagios-users at lists.sourceforge.net > > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: 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 > > > > > > > > > > > > > > > > -------------------------------------------------------------- > > > > > ----------- > > > > > Take Surveys. Earn Cash. Influence the Future of IT > > > > > Join SourceForge.net's Techsay panel and you'll get the > > > > > chance to share > > > > > your > > > > > opinions on IT & business topics through brief surveys - > > > and earn cash > > > > > http://www.techsay.com/default.php?page=join.php&p=sourceforge > > > > > &CID=DEVDEV > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: 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 > > > > > > > > > > > > > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the > chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge > &CID=DEVDEV > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 owen.berry at gmail.com Thu Nov 30 21:48:29 2006 From: owen.berry at gmail.com (Owen Berry) Date: Thu, 30 Nov 2006 15:48:29 -0500 Subject: Nagios 2.5 and weird problem In-Reply-To: References: <763ca2a0611301225h5548d6d8v4310076398232ece@mail.gmail.com> Message-ID: <763ca2a0611301248x6cd5e857vf410e304841f4819@mail.gmail.com> I'm not too sure, but I have seen other people report this happening when issuing a restart to the init script. The recommended way seems to be to do a stop, wait for everything to settle and then a start. Although that was supposed to have been fixed in more recent versions. Owen On 11/30/06, Mark Hennessy wrote: > But how could two Nagios processes start like that? > > -- > Mark Hennessy > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of Owen Berry > > Sent: Thursday, November 30, 2006 3:26 PM > > To: Nagios Users mailinglist > > Subject: Re: [Nagios-users] Nagios 2.5 and weird problem > > > > Check the start times of those processes. There should be 1 with the > > time that you originally started Nagios. Any others should be pretty > > close to the current time, which would indicate they're forked > > processes. > > > > If you suspect multiple Nagios's running, I would stop it the usual > > way, wait a bit and make sure everything Nagios related stops, and > > then start again. If you have 2 instances running, you might need to > > some manual process killing before starting up again. > > > > Owen > > > > On 11/30/06, Mark Hennessy wrote: > > > Nothing of note appears. :( > > > > > > Is it usually the case that when no checks are running that > > there would be > > > two instances of the Nagios process running? > > > > > > nagios 53577 90.2 0.1 2840 2064 ?? R 12:37PM 146:50.41 > > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > > nagios 76606 0.0 0.1 3100 2360 ?? Ss 9:40AM 0:54.89 > > > /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > > > > > > -- > > > Mark Hennessy > > > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 30 23:32:46 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 1 Dec 2006 11:32:46 +1300 Subject: check_nt and MSSQL$SQLEXPRESS In-Reply-To: <2b36e660611290657i61d24f52g7fe76683dc67fbaf@mail.gmail.com> References: <2b36e660611290657i61d24f52g7fe76683dc67fbaf@mail.gmail.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A268910F@UXCHANGE3.UoA.auckland.ac.nz> > define command{ > command_name check_nt_services > command_line $USER1$/check_nt -H $HOSTADDRESS$ -v > SERVICESTATE -l $ARG1$ > } Put single quotes around the argument, thus: command_line $USER1$/check_nt -H $HOSTADDRESS$ -v SERVICESTATE -l '$ARG1$' Nagios will still expand $ARG1$, but the shell will not subsequently try to expand the $ in the argument. Steve -- Steve Shipway ITSS, University of Auckland (09) 3737 599 x 86487 s.shipway at auckland.ac.nz ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 27 21:47:39 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 27 Nov 2006 12:47:39 -0800 Subject: Multi IP range declaration AND NOT hostname declaration ... In-Reply-To: <456B3932.2020605@lookit.org> References: <456B3932.2020605@lookit.org> Message-ID: <20061127204739.GE17454@pmorris.usa.hp.com> On Mon, 27 Nov 2006, Manu Linux Lookit wrote: > Having more than 400 Servers to supervise ... i'd like to know if nagios > is adapted ... > > I've read some docs part ... and never i've seen another way to declare > a server in nagios conf ... only by writing the hostname ... > > But in fact i'd like to declare "lot of servers" separated by their > range ... > > In fact : i'd like to declare for example : : > > Unix : 192.168.0.XXX > Win : 192.168.1.XXX > Linux : 192.168.2.XXX > > The question is : without writing all the hostname in the config file ( > too much servers to declare ), it is possible to declare servers by > their range ? Or giving the same config to a IP range ? and adding > particlar config to a server more ? This is not currently possible. Each host needs a separate entry. What I do here is create a host template, then bang out a quick shell script to loop through the IP addresses and create a host entry for each of them with a "use [host template name]" line in them. Pretty easy stuff. ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null