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=sourcefor