From thiago at ntime.com.br Fri Aug 1 01:36:16 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Thu, 31 Jul 2003 20:36:16 -0300 Subject: Nagios + RRDTools Message-ID: <20030731203616.4b20e770.thiago@ntime.com.br> Hello, all. I looked for a good tool to graph Nagios collected performance data but couldn't find anything that I liked. So, maybe I'm just building YANRA (Yet Another Nagios Rrdtool Application) but I thought it would be nice to share anyway. I'm almost finished with the core and this is the way it works so far: 1. reads services.cfg and builds configuration file based on that 2. reads service-perfdata.out and create and/or update RRD file 3. creates graphics in a pretty much mrtg-like style (hour, day, month, year) Next I plan to build a cgi to generate those graphics on the fly from the nagios page, based on user request (time period etc). All suggestions are welcome, but for now, what I'd like to see the most, are RRD databases and graph commands you have created. So far I only built and tested for the check_http plugin and I wanted to see some ideas before coding the others. By the way, the program is written in Lua (www.lua.org), so it's pretty portable and easy to extend/modify. If any of you want to take a peek, just tell me and I'll mail the code. Please send your replies directly to me (thiago at ntime.com.br) so we won't pollute the list. Regards, -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordan at advapro.com Fri Aug 1 02:00:28 2003 From: jordan at advapro.com (Jordan Erickson) Date: Thu, 31 Jul 2003 17:00:28 -0700 Subject: check_traffic plugin Message-ID: <3F29AD9C.2020005@advapro.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, - -------------------- Vitals: Debian Linux Nagios-text v1.1-1 - -------------------- I'm having trouble installing the check_traffic plugin by Adrian Wieczorek (v0.90b). When I run "make-config", it errors out with the following types of messages: ~ ERROR: creating '/usr/lib/nagios/plugins/check_traffic-0.90b/db/xxx.xxx.xxx.xxx_ATM4/0/0.rrd': No such file or directory I'm almost positive this is because the actual router interfaces have forward slashes in them (it successfully created the 'loopback' and 'null' interface) and the make-config script isn't considering this... However this is a customer router and we can't change the name. Also, this is a pretty common naming scheme for router interfaces, and so I'm hoping someone can impliment a fix for this. I'd love to get the RRD graphing functions working in Nagios, it would be invaluable. Thanks for any help!! - -- Sincerely, Jordan Erickson PGP KeyID: 0x95CBA3DA (http://www.keyserver.net) -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE/Ka2cFW3rT5XLo9oRAsF9AJ9pY13tdf9s8nOPfbgnmVDEONgwKgCglOuW 3G/jzEGfODm6mZSyYULYjwU= =1B4u -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garrick at usc.edu Fri Aug 1 02:19:52 2003 From: garrick at usc.edu (garrick) Date: Thu, 31 Jul 2003 17:19:52 -0700 Subject: ln -s -f problems on solaris 8 Message-ID: <20030801001952.GY4612@polop.usc.edu> I just installed the plugins package on Solaris 8 and make all and make install both error with ln usage. 'rm -f link; ln -s file link' is the only portable way to deal with this. $ /usr/ucb/ln Usage: ln [-f] [-s] f1 ln [-f] [-s] f1 f2 ln [-f] [-s] f1 ... fn d1 $ /usr/bin/ln ln: Insufficient arguments (0) Usage: ln [-f] [-n] [-s] f1 [f2] ln [-f] [-n] [-s] f1 ... fn d1 ln [-f] [-n] -s d1 d2 $ grep 'ln -s -f' * ChangeLog: * plugins/Makefile.am: solaris 8 needs 'ln -s -f' instead of 'ln -sf' $ uname -r 5.8 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joel at zonepro.fr Fri Aug 1 02:07:21 2003 From: joel at zonepro.fr (Jo=?ISO-8859-1?B?6w==?=l Guened) Date: Fri, 01 Aug 2003 02:07:21 +0200 Subject: Escalation notifications problems Message-ID: Hello, I have a problem with escalation of notification. I read and read the docs and I didn't understand the problem. - When I have an host down, the hostgroup contact receive an email, all is ok. - At the next escalation, the system send an SMS with an perdiod time 8/23. All is ok - But at the next escalation, they pass the middle escalation and go to the last escalation. Here is the config : define hostgroupescalation{ hostgroup_name linux first_notification 2 last_notification 3 notification_interval 10 contact_groups sms } >>>--------> WORKS define hostgroupescalation{ hostgroup_name linux first_notification 4 last_notification 5 notification_interval 30 contact_groups urgent } >>>--------> DOESN'T WORK define hostgroupescalation{ hostgroup_name linux first_notification 6 last_notification 0 notification_interval 60 contact_groups extreme,sms } >>>--------> WORKS The difference between 'urgent' and 'extreme' is the name contacts (but with same mail) and timeperiods change : - for 'urgent' : one contact is time period 'morning' ; the other is 'night' Name contact is : the_name-urgent - for 'extreme' : the time period is 24x7 and Name contact is : all-urgent (a new contact with same mails that 'urgent' but NOT same contacts. Thanks for your help, Joe Joel Guened mail : joel at zonepro.fr B?timent 104 50, avenue du Pr?sident Wilson F - 93210 La Plaine Saint-Denis T?l?phone : 01 49 17 40 92 T?l?copie : 01 49 17 40 91 zonepro france copyright 1998-2003 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Fri Aug 1 03:54:29 2003 From: sourceforge at powered.net (Rainer) Date: Thu, 31 Jul 2003 22:54:29 -0300 Subject: Nagios + RRDTools In-Reply-To: <20030731203616.4b20e770.thiago@ntime.com.br> References: <20030731203616.4b20e770.thiago@ntime.com.br> Message-ID: <6.0.0.14.2.20030731224957.01aee190@localhost> Diz ae Thiago.. Excellent idea. This sounds like a good (and missing feature) for Nagios, which is a better integration between perdata output and RRDTool graphs generation. Falow, Rainer Alves Unisys Brasil At 20:36 31/7/2003, you wrote: > Hello, all. > > I looked for a good tool to graph Nagios collected performance > data but >couldn't find anything that I liked. > > So, maybe I'm just building YANRA (Yet Another Nagios Rrdtool >Application) but I thought it would be nice to share anyway. > > I'm almost finished with the core and this is the way it works so >far: > >1. reads services.cfg and builds configuration file based on that >2. reads service-perfdata.out and create and/or update RRD file >3. creates graphics in a pretty much mrtg-like style (hour, day, month, >year) > > Next I plan to build a cgi to generate those graphics on the fly from >the nagios page, based on user request (time period etc). > > All suggestions are welcome, but for now, what I'd like to see the >most, are RRD databases and graph commands you have created. So far I >only built and tested for the check_http plugin and I wanted to see some >ideas before coding the others. > > By the way, the program is written in Lua (www.lua.org), so it's > pretty >portable and easy to extend/modify. If any of you want to take a peek, >just tell me and I'll mail the code. > > Please send your replies directly to me (thiago at ntime.com.br) so we >won't pollute the list. > >Regards, >-- > Thiago Figueir? Ger?ncia de Opera??es >thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dblowe at comcast.net Fri Aug 1 04:01:20 2003 From: dblowe at comcast.net (David Lowe) Date: Thu, 31 Jul 2003 21:01:20 -0500 Subject: Notify-by-email/epager Message-ID: <3F29C9F0.5030301@comcast.net> I have the epager notifications being sent to a server which sends the epage to a paging system. I can see that the server is recieving the epage alert from Nagios. The problem is that the server has to have a pager description in the " Subject " field of the epage in order to know which support group to page. I have read that you can put 'Subject' information in the misccommands.cfg file within the quotation marks located just after the ' mail -s ' part of the command line. When I do that I stop getting email notifications completely. Can someone offer me some help on this? I am sending this from home so I don't have the .cfg files with me to post at this time. I am also wondering what is the difference between the notify-by-email and the notify-by-epager. Thanks, ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Aug 1 04:07:17 2003 From: karl at debisschop.net (Karl DeBisschop) Date: 31 Jul 2003 22:07:17 -0400 Subject: ln -s -f problems on solaris 8 In-Reply-To: <20030801001952.GY4612@polop.usc.edu> References: <20030801001952.GY4612@polop.usc.edu> Message-ID: <1059703637.16157.42.camel@miles.debisschop.net> On Thu, 2003-07-31 at 20:19, garrick wrote: > I just installed the plugins package on Solaris 8 and make all and make > install both error with ln usage. > > 'rm -f link; ln -s file link' is the only portable way to deal with > this. > > $ /usr/ucb/ln > Usage: ln [-f] [-s] f1 > ln [-f] [-s] f1 f2 > ln [-f] [-s] f1 ... fn d1 > $ /usr/bin/ln > ln: Insufficient arguments (0) > Usage: ln [-f] [-n] [-s] f1 [f2] > ln [-f] [-n] [-s] f1 ... fn d1 > ln [-f] [-n] -s d1 d2 > $ grep 'ln -s -f' * > ChangeLog: * plugins/Makefile.am: solaris 8 needs 'ln -s -f' instead of 'ln -sf' > $ uname -r > 5.8 Thanks. I'm on it. Should be postsed to both stable brach and CVS HEAD shortly. -- Karl ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 blackbird.net.au Fri Aug 1 05:07:26 2003 From: lists at blackbird.net.au (Dale Clapperton (lists)) Date: 01 Aug 2003 13:07:26 +1000 Subject: Bug in check_dns Message-ID: <1059707246.5822.15.camel@inferno> Hi all I believe I've found a bug in the check_dns tool, in that if you make a query which is refused by the DNS server, check_dns returns OK. Example dig, showing the query is refused: su-2.05b$ dig www.intel.com @[server] ; <<>> DiG 8.3 <<>> www.intel.com @[server] ; (1 server found) ;; res options: init recurs defnam dnsrch ;; got answer: ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 4 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUERY SECTION: ;; www.intel.com, type = A, class = IN ;; Total query time: 19 msec ;; FROM: [nagios host] to SERVER: [server] ;; WHEN: Fri Aug 1 13:00:22 2003 ;; MSG SIZE sent: 31 rcvd: 31 But when you run the same query on the same server with check_dns: su-2.05b$ ./check_dns -H www.intel.com -s [server] DNS ok - 0 seconds response time, Address(es) is/are (null) Dale -- Dale Clapperton (lists) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From caseyr at caseyrussell.com Fri Aug 1 05:46:39 2003 From: caseyr at caseyrussell.com (Casey Russell) Date: Thu, 31 Jul 2003 22:46:39 -0500 Subject: Cannot read status info Not the easy answers Message-ID: <02a201c357e0$16542550$2b00a8c0@netadmin> Good evening all, I've got (what I think is) an interesting problem and frustrating as well. I've compiled Nagios 1.1 on a Redhat 9 system Configs and Makes all went fine and after adjusting configs I get a really annoying problem. I've got authentication working fine... I got no problems when I start it with the -v option and the Daemon runs fine. I get notifications and cat /usr/local/nagios/var/status.log shows a bunch of obviously correct status info. However when I go to the web interface, I get "Whoops! Error: Could not read host and service status information!" blah blah blah. So I checked the obvious. Nagios.log shows no problems starting the daemon and no error messages relating to reading or writing the status info. Thinking maybe the cgi's were configured to look to a database, I logged into the server and became 'apache', the webserver's user. changed to the .cgi directory. I then did 'REQUEST_METHOD=GET REMOTE_USER=caseyr ./status.cgi >> /var/www/html/caseypage.htm' BTW, that is the same user I'm authenticating as to the web server. when I look at the resultant web page, I see a very normal looking nagios status page showing very correct looking status information for all of my devices. Any Idea why I can run the cgi from the command line as the webserver's user, but not from the web interface?? for information: [root at pup nagios]# ls -la /usr/local/nagios/var total 156 drwxrw---- 4 nagios nagios 4096 Jul 31 22:42 . drwxr-xr-x 8 root root 4096 Jul 29 15:23 .. drwxrwxr-x 2 nagios nagios 4096 Jul 31 00:00 archives -rw-rw-r-- 1 nagios nagios 0 Jul 31 20:28 comment.log -rw-rw-r-- 1 nagios nagios 0 Jul 31 20:28 downtime.log -rw-r--r-- 1 root root 6 Jul 31 20:28 nagios.lock -rw-rw-r-- 1 nagios nagios 112569 Jul 31 22:41 nagios.log drwxrwsr-x 2 nagios nagios 4096 Jul 31 20:28 rw -rw-rw-r-- 1 nagios nagios 10892 Jul 31 22:42 status.log -rw-r--r-- 1 nagios nagios 6693 Jul 31 22:28 status.sav you can see, status.log is readable by all users. [root at pup nagios]# ls -la /var/www/cgi-bin/nagios/ total 2028 drwxr-xr-x 2 root root 4096 Jul 30 11:24 . drwxr-xr-x 5 root root 4096 Jul 31 22:02 .. -rwxrwxr-x 1 nagios nagios 143792 Jul 29 14:29 avail.cgi -rwxrwxr-x 1 nagios nagios 144924 Jul 29 14:29 cmd.cgi -rwxrwxr-x 1 nagios nagios 113840 Jul 29 14:29 config.cgi -rwxrwxr-x 1 nagios nagios 160292 Jul 29 14:29 extinfo.cgi -rwxrwxr-x 1 nagios nagios 124208 Jul 29 14:29 histogram.cgi -rwxrwxr-x 1 nagios nagios 105764 Jul 29 14:29 history.cgi -rw-r--r-- 1 root root 109 Jul 30 11:24 .htaccess -rwxrwxr-x 1 nagios nagios 101604 Jul 29 14:29 notifications.cgi -rwxrwxr-x 1 nagios nagios 98392 Jul 29 14:29 outages.cgi -rwxrwxr-x 1 nagios nagios 100260 Jul 29 14:29 showlog.cgi -rwxrwxr-x 1 nagios nagios 145180 Jul 29 14:29 status.cgi -rwxrwxr-x 1 nagios nagios 127320 Jul 29 14:29 statusmap.cgi -rwxrwxr-x 1 nagios nagios 114864 Jul 29 14:29 statuswml.cgi -rwxrwxr-x 1 nagios nagios 108760 Jul 29 14:29 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 119152 Jul 29 14:29 summary.cgi -rwxrwxr-x 1 nagios nagios 123100 Jul 29 14:29 tac.cgi -rwxrwxr-x 1 nagios nagios 126448 Jul 29 14:29 trends.cgi and the .cgi's are executable by all users.. I'm all out of ideas, any help is appreciated. Casey Russell kingofthehill(at)caseyrussell.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Fri Aug 1 06:01:53 2003 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 31 Jul 2003 23:01:53 -0500 Subject: Default value for use_agressive_host_checking (bug-like propertie s) In-Reply-To: References: Message-ID: <3F299FE1.24135.177278A@localhost> This is a good example of how Nagios works. In order to optimize host checks, a host that is not up is not (usually) checked to see if it has recovered unless one of it's services changes state after it has gone down. A simple solution for this case would be to add a PING check service to the host. The use_agressive_host_checking makes Nagios re-check the status of a DOWN or UNREACHABLE host every time a check is made of one of its services. This is a grossly inefficient way of doing things for 99.9% of all setups out there, but it can be useful. On 30 Jul 2003 at 12:44, Voon, Ton wrote: > Hi! > > Wanted to see what other people thought about this because it looked like a > bug to me until I found the use_agressive_host_checking parameter. > > I found a situation where a host uses only NRPE to do its service checks. > NRPE is stopped as part of a reboot, so all services are marked as CRITICAL > and the host is DOWN. When the host boots up, NRPE fails to restart. > However, the host is always considered as DOWN, even though pings do work, > because the host check is not run unless use_agressive_host_checking is set > to 1. > > I understand there are performance improvements by settign this to 0, but > Nagios appears to be reporting wrong information and that is bad publicity. > Do people think it is a good idea for the default of > use_agressive_host_checking to be 1? > > Ton > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Fri Aug 1 06:07:00 2003 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 31 Jul 2003 23:07:00 -0500 Subject: distributed monitoring question In-Reply-To: <00ad01c356b3$eb424770$1bd010ac@theplanet.com> References: <20030730150216.23394.qmail@linuxmail.org> Message-ID: <3F29A114.19873.17BD73C@localhost> Not sure exactly when 2.0 will go beta. I'm almost done with coding (except for the event daemon), but I still have to document everything that's changed. The existing docs need a major overhaul, so fixing them and updating them with new info is going to take a while. If you can hold out on implementing a distributed environment, it might be worth it to wait until 2.0 arrives. There are several things which will improve support for passive checks, higher volumes of service checks and external commands, etc. On 30 Jul 2003 at 11:02, Ric Moseley wrote: > I am thinking of implementing a distributed monitoring environment soon > but I am wondering if I should wait till the next version of Nagios > (2.0) comes out. It looks like this version has many new features (such > as passive host checks) that will make distributed much easier). I have > a server that is doing 1738 services for 1277 hosts and it is getting a > little slow :). > > Any idea when 2.0 might be coming out... looks like the to-do list in > the upcoming section has shrunk down to only 1 item! > > Thanks. > > Ric. > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Fri Aug 1 07:02:03 2003 From: nagios at nagios.org (Ethan Galstad) Date: Fri, 01 Aug 2003 00:02:03 -0500 Subject: Nagios 2.0 Event Broker and DB Support Message-ID: <3F29ADFB.3157.1AE3E5D@localhost> Sorry for the crosspost, but the nagios-devel list is usually pretty quiet when I request comments about new features I'm implementing. This one is bigger than most, so I wanted to reach more people. This is a bit long, so bear with me... I am almost complete with coding for 2.0. Two big things remain: the event broker and DB support (which is currently broken). My original intent was to develop the event broker as a separate application, tying it to Nagios with a unix domain socket. Nagios would send the event broker information about the everything that was going on (service checks, downtime, flapping, log entries, etc.). The event broker would be able to load user-developed modules (object files) at runtime and pass various types of Nagios data to them for processing. This is all fine and good. I have a working prototype of the event broker that does just this and seems to work okay. I got to thinking that it was rather stupid to develop a separate application for this when I could simply have Nagios load user- developed modules itself. Doing this would give the modules the benefit of having access to internal Nagios structures and functions (which is good and bad - see below). Here's an overview of how it would work: - Nagios would load user-specified modules (object files) at startup using the dlopen() function. - Nagios would call the module's initialization function (the name of which would be standardized). - The module's init function would register for various types of Nagios event data (service checks, host checks, log entries, event handlers, etc.) using callback functions. - When Nagios encounters an event for which a module has registered a callback function, Nagios would call that module's function and pass it data relevant to the event. The module is then free to do whatever it wants to that event data. An example might be to log service checks, performance data and log entries to MySQL, etc. - Before shutting down, Nagios calls the module's de-init function. This allows the module to clean up any resources it may be using. Seems good in theory. Heck, might even work okay. However, there's a big problem I have with it. If I implement things this way, the user-developed modules would have access to internal Nagios data structures and functions. This is not necessarily bad, as ill- behaved modules would not be adopted by too many people. :-) However, modules that might be compiled and working fine for Nagios 2.0 might segfault under future versions if the internal data structures change. Here's an example of what I mean: User module registers for Nagios service check data using its mymod_handle_servicecheck() function, which has a prototype of: int mymod_handle_servicecheck(service *); The service struct is an internal Nagios structure definition which changes between Nagios versions. If the user module is compiled for use with Nagios 2.0 and it's definition of the service struct, it will have problems if it is not recompiled for future versions of Nagios. Off the top of my head, I could overcome this by requiring that the user modules indicate (by calling a function) what version of Nagios they are compiled for. If they report anything but the current version (or do not report at all), unload them so they can do no harm. I'm afraid I'm a bit over my head on how to handle this one. Some of you developers out there must have experience with this type of thing. If so, how did you handle it? What would you recommend? Comments, suggestions, flames? Is there a better way to accomplish this? Speak up now. What does this have to do with DB support, you ask? Well, if I implement the event broker as I have proposed I will be yanking native DB support out of Nagios completely. You can then write a module to log to a DB if you want. :-) PS: I had originally planned on exposing almost all of Nagios' data and events to the broker, but I may have to scale that down if I plan on getting 2.0 out this century. Perhaps just support for: - Service and host checks - Event handlers - Log data This would allow the development of modules to log check information, performance data, and log file data to a DB (or whatever). Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From javier.castillo at euroview-spain.com Fri Aug 1 09:22:48 2003 From: javier.castillo at euroview-spain.com (Javier Castillo Alcibar) Date: Fri, 1 Aug 2003 09:22:48 +0200 Subject: [Nagios-users] Nagios 2.0 Event Broker and DB Support Message-ID: <9287F37B80413743823EC736B51CC071B53E82@ALHM1SRV.alhpridom.as> Hi, Ethan, I like it!!. I see no problems with modules having access to internal nagios structures. If you develop a good API, I'm sure it will have no changes until you release new major versions of nagios. Like linux kernel.... A suggestion: allow more than one module to handle the same event data. Use some kind of priority to call those modules. In this way, with an event data generated, nagios can call to mysql module, then log_file module, then snmp_module ..... Regards, Javier. -----Mensaje original----- De: Ethan Galstad [mailto:nagios at nagios.org] Enviado el: viernes, 01 de agosto de 2003 7:02 Para: nagios-users at lists.sourceforge.net; nagios-devel at lists.sourceforge.net Asunto: [Nagios-users] Nagios 2.0 Event Broker and DB Support Sorry for the crosspost, but the nagios-devel list is usually pretty quiet when I request comments about new features I'm implementing. This one is bigger than most, so I wanted to reach more people. This is a bit long, so bear with me... I am almost complete with coding for 2.0. Two big things remain: the event broker and DB support (which is currently broken). My original intent was to develop the event broker as a separate application, tying it to Nagios with a unix domain socket. Nagios would send the event broker information about the everything that was going on (service checks, downtime, flapping, log entries, etc.). The event broker would be able to load user-developed modules (object files) at runtime and pass various types of Nagios data to them for processing. This is all fine and good. I have a working prototype of the event broker that does just this and seems to work okay. I got to thinking that it was rather stupid to develop a separate application for this when I could simply have Nagios load user- developed modules itself. Doing this would give the modules the benefit of having access to internal Nagios structures and functions (which is good and bad - see below). Here's an overview of how it would work: - Nagios would load user-specified modules (object files) at startup using the dlopen() function. - Nagios would call the module's initialization function (the name of which would be standardized). - The module's init function would register for various types of Nagios event data (service checks, host checks, log entries, event handlers, etc.) using callback functions. - When Nagios encounters an event for which a module has registered a callback function, Nagios would call that module's function and pass it data relevant to the event. The module is then free to do whatever it wants to that event data. An example might be to log service checks, performance data and log entries to MySQL, etc. - Before shutting down, Nagios calls the module's de-init function. This allows the module to clean up any resources it may be using. Seems good in theory. Heck, might even work okay. However, there's a big problem I have with it. If I implement things this way, the user-developed modules would have access to internal Nagios data structures and functions. This is not necessarily bad, as ill- behaved modules would not be adopted by too many people. :-) However, modules that might be compiled and working fine for Nagios 2.0 might segfault under future versions if the internal data structures change. Here's an example of what I mean: User module registers for Nagios service check data using its mymod_handle_servicecheck() function, which has a prototype of: int mymod_handle_servicecheck(service *); The service struct is an internal Nagios structure definition which changes between Nagios versions. If the user module is compiled for use with Nagios 2.0 and it's definition of the service struct, it will have problems if it is not recompiled for future versions of Nagios. Off the top of my head, I could overcome this by requiring that the user modules indicate (by calling a function) what version of Nagios they are compiled for. If they report anything but the current version (or do not report at all), unload them so they can do no harm. I'm afraid I'm a bit over my head on how to handle this one. Some of you developers out there must have experience with this type of thing. If so, how did you handle it? What would you recommend? Comments, suggestions, flames? Is there a better way to accomplish this? Speak up now. What does this have to do with DB support, you ask? Well, if I implement the event broker as I have proposed I will be yanking native DB support out of Nagios completely. You can then write a module to log to a DB if you want. :-) PS: I had originally planned on exposing almost all of Nagios' data and events to the broker, but I may have to scale that down if I plan on getting 2.0 out this century. Perhaps just support for: - Service and host checks - Event handlers - Log data This would allow the development of modules to log check information, performance data, and log file data to a DB (or whatever). Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From fmahe at jemspartners.com Fri Aug 1 09:49:07 2003 From: fmahe at jemspartners.com (Franck MAHE) Date: Fri, 1 Aug 2003 09:49:07 +0200 Subject: Nagios 1.1 and statusmap.cgi problem In-Reply-To: <02a201c357e0$16542550$2b00a8c0@netadmin> References: <02a201c357e0$16542550$2b00a8c0@netadmin> Message-ID: <000801c35801$634e18e0$2c00000a@SHADOW> I've a new installation of nagios 1.1 with mysql support on a linux box with kernel 2.2.19. I've a problem with the building of images when I tried to access to Status Map. It's the same with Trends. The image appears like a broken object. Strange Here is the information of static libraries link to statusmap.cgi libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 (0x40015000) libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) libm.so.6 => /lib/libm.so.6 (0x40065000) libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) libc.so.6 => /lib/libc.so.6 (0x400e0000) libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) For trends.cgi libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 (0x40015000) libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) libm.so.6 => /lib/libm.so.6 (0x40065000) libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) libc.so.6 => /lib/libc.so.6 (0x400e0000) libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Have a clue for me? Thanks Franck ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Fri Aug 1 09:56:06 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Fri, 1 Aug 2003 08:56:06 +0100 Subject: Default value for use_agressive_host_checking (bug-like propertie s) Message-ID: Ethan, I think it is more wasteful to be forced to add a check_ping service - which is continually checking - to every host. I was concerned that the perception is that Nagios is reporting "incorrect" information. According to the host details screen, it says it was last status checked at time x, when there wasn't really a check because of use_agressive_host=0. In fact, if I add a ping service check to a host and every other service on that host was failing, current (1.0) code says if a service fails, do a check-host-alive (as the ping service works, so the host is now considered up). This seems to me as the same amount of pings as a use_agressive_host=1 without a ping-service-check, so it doesn't seem more efficient in this scenario. What about this as a possible long-term solution: Queue the host-check-alives so that if one is requested within a minimum period, it is disregarded (this would also help if half the services were failing on a host which is up). However, the cost is more development time. Ton > -----Original Message----- > From: Ethan Galstad [mailto:nagios at nagios.org] > Sent: Friday, August 01, 2003 5:02 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Default value for > use_agressive_host_checking (bug-like propertie s) > > > This is a good example of how Nagios works. In order to optimize > host checks, a host that is not up is not (usually) checked to see if > it has recovered unless one of it's services changes state after it > has gone down. A simple solution for this case would be to add a > PING check service to the host. > > The use_agressive_host_checking makes Nagios re-check the status of a > DOWN or UNREACHABLE host every time a check is made of one of its > services. This is a grossly inefficient way of doing things for > 99.9% of all setups out there, but it can be useful. > > > On 30 Jul 2003 at 12:44, Voon, Ton wrote: > > > Hi! > > > > Wanted to see what other people thought about this because > it looked like a > > bug to me until I found the use_agressive_host_checking parameter. > > > > I found a situation where a host uses only NRPE to do its > service checks. > > NRPE is stopped as part of a reboot, so all services are > marked as CRITICAL > > and the host is DOWN. When the host boots up, NRPE fails to restart. > > However, the host is always considered as DOWN, even though > pings do work, > > because the host check is not run unless > use_agressive_host_checking is set > > to 1. > > > > I understand there are performance improvements by settign > this to 0, but > > Nagios appears to be reporting wrong information and that > is bad publicity. > > Do people think it is a good idea for the default of > > use_agressive_host_checking to be 1? > > > > Ton > > > > > > This private and confidential e-mail has been sent to you by Egg. > > The Egg group of companies includes Egg Banking plc > > (registered no. 2999842), Egg Financial Products Ltd (registered > > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > > carries out investment business on behalf of Egg and is regulated > > by the Financial Services Authority. > > Registered in England and Wales. Registered offices: 1 > Waterhouse Square, > > 138-142 Holborn, London EC1N 2NA. > > If you are not the intended recipient of this e-mail and have > > received it in error, please notify the sender by replying with > > 'received in error' as the subject and then delete it from your > > mailbox. > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at Lastminute.com Fri Aug 1 10:36:55 2003 From: tvilliers at Lastminute.com (Tielman De Villiers) Date: Fri, 1 Aug 2003 09:36:55 +0100 Subject: Nagios 1.1 and statusmap.cgi problem Message-ID: Check the apache log -- what's the error there?? Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com > -----Original Message----- > From: Franck MAHE [mailto:fmahe at jemspartners.com] > Sent: 01 August 2003 08:49 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 1.1 and statusmap.cgi problem > > > I've a new installation of nagios 1.1 with mysql support on a > linux box with > kernel 2.2.19. > > I've a problem with the building of images when I tried to > access to Status > Map. It's the same with Trends. The image appears like a > broken object. > Strange > > > Here is the information of static libraries link to statusmap.cgi > > libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 > (0x40015000) > libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) > libm.so.6 => /lib/libm.so.6 (0x40065000) > libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) > libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) > libc.so.6 => /lib/libc.so.6 (0x400e0000) > libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) > libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) > libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > For trends.cgi > > libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 > (0x40015000) > libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) > libm.so.6 => /lib/libm.so.6 (0x40065000) > libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) > libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) > libc.so.6 => /lib/libc.so.6 (0x400e0000) > libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) > libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) > libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > > Have a clue for me? > > Thanks > > Franck > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at dsvr.net Fri Aug 1 10:48:16 2003 From: rob at dsvr.net (Rob Fielding) Date: Fri, 01 Aug 2003 09:48:16 +0100 Subject: Feature Req: Sticky and fine grained service definitions Message-ID: <3F2A2950.9010800@dsvr.net> Hi, I was wondering if nagios had or could have :) a solution to something I'd like to do. Whereas you can set-up checks which are essentially on or off (or good or bad) I'd like to be able to check on if A happens, then B must happen an some time period later - and if B doesn't happen we get a WARNING going up to ALERT. What I have is a suite of scripts which run throughout the day and I want to check they run ok, and don't bomb out or cause trapable error conditions. There could be an infinite number of these scripts and they all run multiple times a day - some for seconds, some for hours. All scripts have some common features as they are written within the same framework but all can be uniquely identifiable. What I'm thinking is submit a passive command via NSCA at script start and a passive command at script end. If the second event doesn't arrive within X period, we trigger an active check which could attempt to determin if the script is still running or not via NRPE and start raising warnings. This sounds to me like how the sticky events mentioned in the Nagios 2.0 TODO however I haven't read anything other than that one liner in the TODO. My first question is - could my requirement be served by this Nagios2.0 feature ? The alternative from my point of view is have a log file preprocessor analysing the output of my scripts and maintaining it's own database. Then I can write a Nagios Plugin to periodically test this database and make the necessary decisions. We had however have liked this to be a job for nagios. My second thought is along the same lines. A user definable field which could split services into finer grained versioned-services. This would still require some userdefinable logic within nagios to match service.userfield with another service.userfield without getting mixed up between different checks. This would help many similar but essentially different services be set-up with much fewer rules, and if the userfield could be fed back in as a Macro then it could effect all things, such as the contact groups or alert messages. Best regards, Rob -- Rob Fielding rob at dsvr.net Development www.dsvr.co.uk ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wim.degeeter at bt.com Fri Aug 1 10:52:48 2003 From: wim.degeeter at bt.com (wim.degeeter at bt.com) Date: Fri, 1 Aug 2003 09:52:48 +0100 Subject: Monitor multiple IP addresses?? Message-ID: Hi, How can I monitor hosts with multiple IP addresses without define for every IP address a host?? Thanks for your help, Wim -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Fri Aug 1 11:06:45 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Fri, 01 Aug 2003 11:06:45 +0200 Subject: Monitor multiple IP addresses?? In-Reply-To: References: Message-ID: <3F2A2DA5.30103@dhl.com> Define every IP address as a service. wim.degeeter at bt.com wrote: > Hi, > > How can I monitor hosts with multiple IP addresses without define for > every IP address a host?? > > Thanks for your help, > > Wim > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmahe at jemspartners.com Fri Aug 1 11:03:40 2003 From: fmahe at jemspartners.com (Franck MAHE) Date: Fri, 1 Aug 2003 11:03:40 +0200 Subject: Nagios 1.1 and statusmap.cgi problem In-Reply-To: References: Message-ID: <000a01c3580b$cd5e4de0$2c00000a@SHADOW> Well, Here are the results libpng warning: Application was compiled with png.h from libpng-1.0.3 libpng warning: Application is running with png.c from libpng-1.2.2 gd-png: fatal libpng error: Incompatible libpng version in application and library [Fri Aug 1 11:01:55 2003] [error] [client 10.0.0.44] Premature end of script headers: /usr/local/nagios/sbin/statusmap.cgi So I need to recompile statusmap.cgi and trends.cgi with the correct version of libpng Thanks Franck -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tielman De Villiers Sent: Friday, August 01, 2003 10:37 AM To: 'Franck MAHE' Cc: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] Nagios 1.1 and statusmap.cgi problem Check the apache log -- what's the error there?? Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com > -----Original Message----- > From: Franck MAHE [mailto:fmahe at jemspartners.com] > Sent: 01 August 2003 08:49 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 1.1 and statusmap.cgi problem > > > I've a new installation of nagios 1.1 with mysql support on a > linux box with > kernel 2.2.19. > > I've a problem with the building of images when I tried to > access to Status > Map. It's the same with Trends. The image appears like a > broken object. > Strange > > > Here is the information of static libraries link to statusmap.cgi > > libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 > (0x40015000) > libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) > libm.so.6 => /lib/libm.so.6 (0x40065000) > libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) > libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) > libc.so.6 => /lib/libc.so.6 (0x400e0000) > libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) > libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) > libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > For trends.cgi > > libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 > (0x40015000) > libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) > libm.so.6 => /lib/libm.so.6 (0x40065000) > libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) > libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) > libc.so.6 => /lib/libc.so.6 (0x400e0000) > libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) > libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) > libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > > Have a clue for me? > > Thanks > > Franck > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at Lastminute.com Fri Aug 1 11:13:55 2003 From: tvilliers at Lastminute.com (Tielman De Villiers) Date: Fri, 1 Aug 2003 10:13:55 +0100 Subject: Nagios 1.1 and statusmap.cgi problem Message-ID: That's what I suspected. One hint though :: I struggled quite a bit compiling with libraries in 'non-standard' places, and /usr/local/lib could be one of these places (I installed from /home/user) ... the problem was that the cgi's run fine from the command line, but not when called by apache (as is the case with you ), so this solved the problem: first export LD_RUN_PATH=/usr/local/lib ### or wherever your custom libraries are installed and then run configure make all ++ make install Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com > -----Original Message----- > From: Franck MAHE [mailto:fmahe at jemspartners.com] > Sent: 01 August 2003 10:04 > To: 'Tielman De Villiers' > Cc: nagios-users at lists.sourceforge.net > Subject: RE : [Nagios-users] Nagios 1.1 and statusmap.cgi problem > > > Well, > > Here are the results > > libpng warning: Application was compiled with png.h from libpng-1.0.3 > libpng warning: Application is running with png.c from libpng-1.2.2 > gd-png: fatal libpng error: Incompatible libpng version in > application and > library > [Fri Aug 1 11:01:55 2003] [error] [client 10.0.0.44] Premature end of > script headers: /usr/local/nagios/sbin/statusmap.cgi > > So I need to recompile statusmap.cgi and trends.cgi with the > correct version > of libpng > > Thanks > > Franck > > > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Tielman De > Villiers > Sent: Friday, August 01, 2003 10:37 AM > To: 'Franck MAHE' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Nagios 1.1 and statusmap.cgi problem > > > Check the apache log -- what's the error there?? > > Tielman de Villiers > Back Office Developer > Address: 4 Buckingham Gate, London SW1E 6JP > Tel: +44(0)20.7802.4393 > Fax: +44(0)20.7802.9302 > email: tvilliers at lastminute.com > > do something lastminute.com > > > > -----Original Message----- > > From: Franck MAHE [mailto:fmahe at jemspartners.com] > > Sent: 01 August 2003 08:49 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios 1.1 and statusmap.cgi problem > > > > > > I've a new installation of nagios 1.1 with mysql support on a > > linux box with > > kernel 2.2.19. > > > > I've a problem with the building of images when I tried to > > access to Status > > Map. It's the same with Trends. The image appears like a > > broken object. > > Strange > > > > > > Here is the information of static libraries link to statusmap.cgi > > > > libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 > > (0x40015000) > > libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) > > libm.so.6 => /lib/libm.so.6 (0x40065000) > > libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) > > libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) > > libc.so.6 => /lib/libc.so.6 (0x400e0000) > > libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) > > libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) > > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) > > libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > > > For trends.cgi > > > > libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 > > (0x40015000) > > libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) > > libm.so.6 => /lib/libm.so.6 (0x40065000) > > libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) > > libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) > > libc.so.6 => /lib/libc.so.6 (0x400e0000) > > libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) > > libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) > > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) > > libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > > > > > Have a clue for me? > > > > Thanks > > > > Franck > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > > _072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > ______________________________________________________________ > > __________ > > This e-mail has been scanned for all viruses by Star Internet. The > > service is powered by MessageLabs. For more information on > a proactive > > anti-virus service working around the clock, around the > globe, visit: > > http://www.star.net.uk > > ______________________________________________________________ > > __________ > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data > Reports, E-commerce, Portals, and Forums are available now. > Download today > and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Fri Aug 1 11:25:17 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Fri, 1 Aug 2003 10:25:17 +0100 Subject: Bug in check_dns Message-ID: Dale, Which version of check_dns are you running? Which OS? Can you run it with -v flag for extra debug info. There were some bug fixes made to release 1.3.0 which are in the 1.3.1 release and in CVS HEAD. Ton > -----Original Message----- > From: Dale Clapperton (lists) [mailto:lists at blackbird.net.au] > Sent: Friday, August 01, 2003 4:07 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Bug in check_dns > > > Hi all > > I believe I've found a bug in the check_dns tool, in that if > you make a > query which is refused by the DNS server, check_dns returns OK. > > Example dig, showing the query is refused: > > su-2.05b$ dig www.intel.com @[server] > > ; <<>> DiG 8.3 <<>> www.intel.com @[server] > ; (1 server found) > ;; res options: init recurs defnam dnsrch > ;; got answer: > ;; ->>HEADER<<- opcode: QUERY, status: REFUSED, id: 4 > ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 > ;; QUERY SECTION: > ;; www.intel.com, type = A, class = IN > > ;; Total query time: 19 msec > ;; FROM: [nagios host] to SERVER: [server] > ;; WHEN: Fri Aug 1 13:00:22 2003 > ;; MSG SIZE sent: 31 rcvd: 31 > > But when you run the same query on the same server with check_dns: > > su-2.05b$ ./check_dns -H www.intel.com -s [server] > DNS ok - 0 seconds response time, Address(es) is/are (null) > > > Dale > -- > Dale Clapperton (lists) > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wim.degeeter at bt.com Fri Aug 1 12:08:29 2003 From: wim.degeeter at bt.com (wim.degeeter at bt.com) Date: Fri, 1 Aug 2003 11:08:29 +0100 Subject: Monitor multiple IP addresses?? Message-ID: Thanks but how can you define every IP address as a service?? I tought only hosts could have IP addresses?? Regards Wim -----Original Message----- From: Tom DE BLENDE (GCC) [mailto:Tom.DeBlende at dhl.com] Sent: 01 August 2003 11:07 To: De Geeter,W,Wim,IKV5 DEGEETW F Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor multiple IP addresses?? Define every IP address as a service. wim.degeeter at bt.com wrote: > Hi, > > How can I monitor hosts with multiple IP addresses without define for > every IP address a host?? > > Thanks for your help, > > Wim > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Fri Aug 1 12:28:06 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Fri, 01 Aug 2003 12:28:06 +0200 Subject: Monitor multiple IP addresses?? In-Reply-To: References: Message-ID: <3F2A40B6.8010901@dhl.com> Define one service per IP address, and have each service do a check_ping of the IP address you want. wim.degeeter at bt.com wrote: >Thanks but how can you define every IP address as a service?? >I tought only hosts could have IP addresses?? > >Regards >Wim > >-----Original Message----- >From: Tom DE BLENDE (GCC) [mailto:Tom.DeBlende at dhl.com] >Sent: 01 August 2003 11:07 >To: De Geeter,W,Wim,IKV5 DEGEETW F >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Monitor multiple IP addresses?? > > >Define every IP address as a service. > >wim.degeeter at bt.com wrote: > > > >>Hi, >> >>How can I monitor hosts with multiple IP addresses without define for >>every IP address a host?? >> >>Thanks for your help, >> >>Wim >> >> >> > > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.fischer at quadriga.com Fri Aug 1 14:47:25 2003 From: thomas.fischer at quadriga.com (Thomas Fischer) Date: Fri, 1 Aug 2003 13:47:25 +0100 Subject: distributed monitoring question Message-ID: <5D339AE687B0C8438185AE62ED06697D035B55@ukchmail01.mail.quadriga.com> Woooopppsss looks like my estimate of 12 months waiting time for 2.0 was a bit high ;op. If you need a Beta Test site in the large scale let me know. We currently run a bit over 400 remote sites with about 100k hosts to be monitored. Since i am in a Beta stage with my setup i can test 2.0 straight away with a couple of sites so about 10 remote sites with 2500 hosts. If that sounds interesting for you let me know and i gladly use 2.0 in a beta environment as distributed setup. Tom -----Original Message----- From: Ethan Galstad [mailto:nagios at nagios.org] Sent: 01 August 2003 05:07 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] distributed monitoring question Not sure exactly when 2.0 will go beta. I'm almost done with coding (except for the event daemon), but I still have to document everything that's changed. The existing docs need a major overhaul, so fixing them and updating them with new info is going to take a while. If you can hold out on implementing a distributed environment, it might be worth it to wait until 2.0 arrives. There are several things which will improve support for passive checks, higher volumes of service checks and external commands, etc. On 30 Jul 2003 at 11:02, Ric Moseley wrote: > I am thinking of implementing a distributed monitoring environment soon > but I am wondering if I should wait till the next version of Nagios > (2.0) comes out. It looks like this version has many new features (such > as passive host checks) that will make distributed much easier). I have > a server that is doing 1738 services for 1277 hosts and it is getting a > little slow :). > > Any idea when 2.0 might be coming out... looks like the to-do list in > the upcoming section has shrunk down to only 1 item! > > Thanks. > > Ric. > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.fischer at quadriga.com Fri Aug 1 14:33:19 2003 From: thomas.fischer at quadriga.com (Thomas Fischer) Date: Fri, 1 Aug 2003 13:33:19 +0100 Subject: Distributed Monitoring with passive Host checks Message-ID: <5D339AE687B0C8438185AE62ED06697D035B54@ukchmail01.mail.quadriga.com> Guys and Gals, following situation. We have multiple remote sites (currently over 400 but expanding to over 2000 in the next 3 years) which use internally exactly the same adressing scheme. Don't ask why the same Addresses, but be assured that i pointed already a 45 Magnum at the idiot who designed this. Anyway back to the prob. I want to remotely monitor all hosts in every site (well not all because that would already now mean about 100k hosts), but i don't have direct access at the moment into each site. Also i would need to include a second Firewall to open a VPN tunnel to our HQ where the central server sits. An additional Firewall would cost. I hear you all crying out already why 2 Firewalls, but unfortunately the sites use PIX Firewalls which is a piece of shi* and can't do split tunnels and NAT at the same time, thankfully i will sooner or later be able to use a Nokia with CP FW-1 for each site. How can i do passive host checks from the central server without spending loads of development time, loads of money and have loads of headaches? Anybody did that already? Ohhh and no i can't wait a minimum of 12 months until Nagios 2.0 comes out. Any ideas, pointers etc. highly welcome. If anybody has an idea just contact me and i can pass more details on about the Network setup. Cheers in advance, Tom ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Fri Aug 1 15:15:57 2003 From: c.eduardo at estacio.br (Eddy) Date: Fri, 1 Aug 2003 10:15:57 -0300 Subject: Nagios Versions References: Message-ID: <59e001c3582f$1a4ae910$31150a0a@estacio.domain> Hello, Have a nagios 2.0 ??? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at splash.co.za Fri Aug 1 15:26:50 2003 From: richard at splash.co.za (Richard Mayhew) Date: Fri, 1 Aug 2003 15:26:50 +0200 Subject: check_dns Message-ID: <005901c35830$90d0bfa0$211302c4@mweb.com> Hi There seems to be a problem with check_dns. I run RedHat 7.3 with all required updates, Nagios 1.1, Plugins 1.3.1. Here are the scenarios. 1. Dns Server is up and contactable. check_dns returns the correct information, reporting that the service is etc. 2. Dns Server is up but not contactable (firewall blocking requests) check_dns returns that the service is ok. (10 secs responce, addresses is/all (null)) True answer with -v flag is connection timed out. 3. Dns Server does not exist check_dns returns Segmentation Fault. Any Ideas how to correct this? Thanks Richard. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Tom.DeBlende at dhl.com Fri Aug 1 15:24:21 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Fri, 01 Aug 2003 15:24:21 +0200 Subject: Nagios Versions In-Reply-To: <59e001c3582f$1a4ae910$31150a0a@estacio.domain> References: <59e001c3582f$1a4ae910$31150a0a@estacio.domain> Message-ID: <3F2A6A05.40806@dhl.com> http://www.nagios.org/upcoming.php#2_todo Eddy wrote: >Hello, > > >Have a nagios 2.0 ??? > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Fri Aug 1 16:11:36 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Fri, 1 Aug 2003 10:11:36 -0400 Subject: Distributed Monitoring with passive Host checks Message-ID: <5F29693503507B4FB4032686ADF862671AD02C@mtviny25.mtvi.com> I got around this by using the check_by_ssh plugin and executing the host check from a trusted server in each environment. It does create additional and unneeded dependencies but it has sufficed until 2.0 comes out. If you figure anything else out please let me know! -Keith -----Original Message----- From: Thomas Fischer [mailto:thomas.fischer at quadriga.com] Sent: Friday, August 01, 2003 8:33 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Distributed Monitoring with passive Host checks Guys and Gals, following situation. We have multiple remote sites (currently over 400 but expanding to over 2000 in the next 3 years) which use internally exactly the same adressing scheme. Don't ask why the same Addresses, but be assured that i pointed already a 45 Magnum at the idiot who designed this. Anyway back to the prob. I want to remotely monitor all hosts in every site (well not all because that would already now mean about 100k hosts), but i don't have direct access at the moment into each site. Also i would need to include a second Firewall to open a VPN tunnel to our HQ where the central server sits. An additional Firewall would cost. I hear you all crying out already why 2 Firewalls, but unfortunately the sites use PIX Firewalls which is a piece of shi* and can't do split tunnels and NAT at the same time, thankfully i will sooner or later be able to use a Nokia with CP FW-1 for each site. How can i do passive host checks from the central server without spending loads of development time, loads of money and have loads of headaches? Anybody did that already? Ohhh and no i can't wait a minimum of 12 months until Nagios 2.0 comes out. Any ideas, pointers etc. highly welcome. If anybody has an idea just contact me and i can pass more details on about the Network setup. Cheers in advance, Tom ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Aug 1 15:32:52 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Fri, 01 Aug 2003 09:32:52 -0400 Subject: check_dns In-Reply-To: <005901c35830$90d0bfa0$211302c4@mweb.com> References: <005901c35830$90d0bfa0$211302c4@mweb.com> Message-ID: Richard Mayhew writes: > Hi > > There seems to be a problem with check_dns. I run RedHat 7.3 with all required updates, Nagios 1.1, Plugins 1.3.1. > > Here are the scenarios. > > 1. Dns Server is up and contactable. > check_dns returns the correct information, reporting that the service is etc. > 2. Dns Server is up but not contactable (firewall blocking requests) > check_dns returns that the service is ok. (10 secs responce, addresses is/all (null)) > True answer with -v flag is connection timed out. I am working on this one already. Cannot reproduce with RH 9. But I had been waiting on the plugin version number, which you have just provided. > 3. Dns Server does not exist > check_dns returns Segmentation Fault. News to me. I'll look into it tonight. > Any Ideas how to correct this? -- Karl ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at splash.co.za Fri Aug 1 16:42:59 2003 From: richard at splash.co.za (Richard Mayhew) Date: Fri, 1 Aug 2003 16:42:59 +0200 Subject: check_dns References: <005901c35830$90d0bfa0$211302c4@mweb.com> Message-ID: <006501c3583b$351f3be0$211302c4@mweb.com> Hi Sorry I re-did a check_dns --version just to check and I have check_dns (nagios-plugins 1.3.0) 1.8 So, I guess there is a new version I should install? thanks ----- Original Message ----- From: "Karl DeBisschop" To: "Richard Mayhew" Cc: "Nagios Users" Sent: Friday, August 01, 2003 3:32 PM Subject: Re: check_dns > Richard Mayhew writes: > > > Hi > > > > There seems to be a problem with check_dns. I run RedHat 7.3 with all required updates, Nagios 1.1, Plugins 1.3.1. > > > > Here are the scenarios. > > > > 1. Dns Server is up and contactable. > > check_dns returns the correct information, reporting that the service is etc. > > 2. Dns Server is up but not contactable (firewall blocking requests) > > check_dns returns that the service is ok. (10 secs responce, addresses is/all (null)) > > True answer with -v flag is connection timed out. > > I am working on this one already. > > Cannot reproduce with RH 9. But I had been waiting on the plugin version > number, which you have just provided. > > > 3. Dns Server does not exist > > check_dns returns Segmentation Fault. > > News to me. I'll look into it tonight. > > > Any Ideas how to correct this? > > -- > Karl > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ohoyer at gaff.hhhr.ision.net Fri Aug 1 16:43:40 2003 From: ohoyer at gaff.hhhr.ision.net (Olaf Hoyer) Date: Fri, 1 Aug 2003 16:43:40 +0200 (CEST) Subject: Distributed Monitoring with passive Host checks In-Reply-To: <5D339AE687B0C8438185AE62ED06697D035B54@ukchmail01.mail.quadriga.com> References: <5D339AE687B0C8438185AE62ED06697D035B54@ukchmail01.mail.quadriga.com> Message-ID: <20030801163601.L81325-100000@gaff.hhhr.ision.net> On Fri, 1 Aug 2003, Thomas Fischer wrote: > Guys and Gals, > > following situation. We have multiple remote sites (currently over 400 but expanding to over 2000 in the next 3 years) which use internally exactly the same adressing scheme. Don't ask why the same Addresses, but be assured that i pointed already a 45 Magnum at the idiot who designed this. Anyway back to the prob. > > I want to remotely monitor all hosts in every site (well not all because that would already now mean about 100k hosts), but i don't have direct access at the moment into each site. Also i would need to include a second Firewall to open a VPN tunnel to our HQ where the central server sits. An additional Firewall would cost. I hear you all crying out already why 2 Firewalls, but unfortunately the sites use PIX Firewalls which is a piece of shi* and can't do split tunnels and NAT at the same time, thankfully i will sooner or later be able to use a Nokia with CP FW-1 for each site. > > How can i do passive host checks from the central server without spending loads of development time, loads of money and have loads of headaches? Anybody did that already? Ohhh and no i can't wait a minimum of 12 months until Nagios 2.0 comes out. > > Any ideas, pointers etc. highly welcome. If anybody has an idea just contact me and i can pass more details on about the Network setup. > I also had the scenario in another setup. We had some management LANs in the company, where we needed to monitor some services, too. I set up distributed monitoring via NSCA. works as follows: In the remote LAN you set a dedicated box, which actively checks all services that are needed. The check-results are transmitted via a small script (available on nagios.org) via the nsca-demon to a central master nagios-server. The nagios-Master identifies the checks that come in according to their name, not due to ip. So this will be: Master----Firewall------Slave----Lots of targets | +---FW2----Slave2----Lots of other targets So Slave1 uses designations as hostnames in hostgroups.cfg: site1_smtp01.foo.bar and Slave2 uses site2_smtpxxx.foo.bar, this will be transmitted to the master, and there is an unique parts as identifier. Also has the advantage, that you do not need to buy extra firewall, because all data is coming from the internal side of the network. The extra box also is needed badly to offload some work from the master. HTH Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.fischer at quadriga.com Fri Aug 1 16:50:39 2003 From: thomas.fischer at quadriga.com (Thomas Fischer) Date: Fri, 1 Aug 2003 15:50:39 +0100 Subject: Distributed Monitoring with passive Host checks Message-ID: <5D339AE687B0C8438185AE62ED06697D034D3A@ukchmail01.mail.quadriga.com> Olaf, cheers for your answer. Service checks are not the problem and run already. I need a passive host check ability. At the moment the central server does active host checks, but due to the fact that the remote site is not reachable from external sources the host checks fail. So i get a display where the hosts are marked as critical while the services are marked as OK. I need a method to transmit (maybe via NSCA) the host checks passively to the central server. Otherwise i have to write a new plugin that allows above. However if that works with Nagios is a diff story. I could for example write an event handler that takes the NSCA results, writes them into a status file (or Database) and the host check on the central server then extracts the info and flags the result accordingly. Tom -----Original Message----- From: Olaf Hoyer [mailto:ohoyer at gaff.hhhr.ision.net] Sent: 01 August 2003 15:44 To: Thomas Fischer Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Distributed Monitoring with passive Host checks On Fri, 1 Aug 2003, Thomas Fischer wrote: > Guys and Gals, > > following situation. We have multiple remote sites (currently over 400 but expanding to over 2000 in the next 3 years) which use internally exactly the same adressing scheme. Don't ask why the same Addresses, but be assured that i pointed already a 45 Magnum at the idiot who designed this. Anyway back to the prob. > > I want to remotely monitor all hosts in every site (well not all because that would already now mean about 100k hosts), but i don't have direct access at the moment into each site. Also i would need to include a second Firewall to open a VPN tunnel to our HQ where the central server sits. An additional Firewall would cost. I hear you all crying out already why 2 Firewalls, but unfortunately the sites use PIX Firewalls which is a piece of shi* and can't do split tunnels and NAT at the same time, thankfully i will sooner or later be able to use a Nokia with CP FW-1 for each site. > > How can i do passive host checks from the central server without spending loads of development time, loads of money and have loads of headaches? Anybody did that already? Ohhh and no i can't wait a minimum of 12 months until Nagios 2.0 comes out. > > Any ideas, pointers etc. highly welcome. If anybody has an idea just contact me and i can pass more details on about the Network setup. > I also had the scenario in another setup. We had some management LANs in the company, where we needed to monitor some services, too. I set up distributed monitoring via NSCA. works as follows: In the remote LAN you set a dedicated box, which actively checks all services that are needed. The check-results are transmitted via a small script (available on nagios.org) via the nsca-demon to a central master nagios-server. The nagios-Master identifies the checks that come in according to their name, not due to ip. So this will be: Master----Firewall------Slave----Lots of targets | +---FW2----Slave2----Lots of other targets So Slave1 uses designations as hostnames in hostgroups.cfg: site1_smtp01.foo.bar and Slave2 uses site2_smtpxxx.foo.bar, this will be transmitted to the master, and there is an unique parts as identifier. Also has the advantage, that you do not need to buy extra firewall, because all data is coming from the internal side of the network. The extra box also is needed badly to offload some work from the master. HTH Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Fri Aug 1 16:53:51 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 1 Aug 2003 11:53:51 -0300 Subject: comments and Failover Message-ID: Hi all., I have a Failover setup, and every comment and acknoledge in problems (case numbers) or hosts is made only on the primary server by the operators. How could i send this info to the backup server ? Is there a file i could copy on a regular base to the backup server ? or there is another way ? In case of failure on the main server, i would like to have this info on the backup server as well. Thank?s in advanced Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Aug 1 15:58:49 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Fri, 01 Aug 2003 09:58:49 -0400 Subject: check_dns In-Reply-To: <006501c3583b$351f3be0$211302c4@mweb.com> References: <005901c35830$90d0bfa0$211302c4@mweb.com> <006501c3583b$351f3be0$211302c4@mweb.com> Message-ID: Richard Mayhew writes: > Hi > Sorry I re-did a check_dns --version just to check and I have > > check_dns (nagios-plugins 1.3.0) 1.8 > > So, I guess there is a new version I should install? If you could try 1.3.1, that would help. > thanks > > ----- Original Message ----- > From: "Karl DeBisschop" > To: "Richard Mayhew" > Cc: "Nagios Users" > Sent: Friday, August 01, 2003 3:32 PM > Subject: Re: check_dns > > >> Richard Mayhew writes: >> >> > Hi >> > >> > There seems to be a problem with check_dns. I run RedHat 7.3 with all > required updates, Nagios 1.1, Plugins 1.3.1. >> > >> > Here are the scenarios. >> > >> > 1. Dns Server is up and contactable. >> > check_dns returns the correct information, reporting that the > service is etc. >> > 2. Dns Server is up but not contactable (firewall blocking requests) >> > check_dns returns that the service is ok. (10 secs responce, > addresses is/all (null)) >> > True answer with -v flag is connection timed out. >> >> I am working on this one already. >> >> Cannot reproduce with RH 9. But I had been waiting on the plugin version >> number, which you have just provided. >> >> > 3. Dns Server does not exist >> > check_dns returns Segmentation Fault. >> >> News to me. I'll look into it tonight. >> >> > Any Ideas how to correct this? >> >> -- >> Karl >> >> >> > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Aug 1 17:19:47 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 1 Aug 2003 10:19:47 -0500 Subject: Distributed Monitoring with passive Host checks Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7D98@mismail.ena.com> > -----Original Message----- > From: Thomas Fischer [mailto:thomas.fischer at quadriga.com] > Sent: Friday, August 01, 2003 7:33 AM > To: nagios-users at lists.sourceforge.net > > Guys and Gals, > > following situation. We have multiple remote sites (currently over 400 but > expanding to over 2000 in the next 3 years) which use internally exactly > the same adressing scheme. Don't ask why the same Addresses, but be > assured that i pointed already a 45 Magnum at the idiot who designed this. > Anyway back to the prob. > > I want to remotely monitor all hosts in every site (well not all because > that would already now mean about 100k hosts), but i don't have direct > access at the moment into each site. Also i would need to include a second > Firewall to open a VPN tunnel to our HQ where the central server sits. An > additional Firewall would cost. I hear you all crying out already why 2 > Firewalls, but unfortunately the sites use PIX Firewalls which is a piece > of shi* and can't do split tunnels and NAT at the same time, thankfully i > will sooner or later be able to use a Nokia with CP FW-1 for each site. > > How can i do passive host checks from the central server without spending > loads of development time, loads of money and have loads of headaches? > Anybody did that already? Ohhh and no i can't wait a minimum of 12 months > until Nagios 2.0 comes out. > > Any ideas, pointers etc. highly welcome. If anybody has an idea just > contact me and i can pass more details on about the Network setup. > I do not envy your endeavor. You are talking about a truly incredible number of hosts you want to monitor and I'm not aware of anything that could efficiently handle what you are going to be asking it to do. However -- here are some thoughts on distributed monitoring with Nagios from a users perspective. You're going to need more than one central server accepting the passive checks. I think 1 server for every 3000-4000 checks might be optimistic. Your biggest problems are going to be the speed at which the central server is able to process the checks and also the web-interfaces. The command pipe is only about 4K in size on linux machines. That's not a whole lot of room for check data so the other check results have to queue until nagios has a chance to clear the pipe. As far as the web interfaces, currently the Summary views get really slow with large number of hosts/services (about 4 minutes for 1800 hosts and 2200 services for me). This is due to be corrected in 2.0, but I highly doubt that there is enough optimizations that can be done to efficiently display 100K hosts and services without a very significant overhaul. Use fast disks and lots of ram where you expect the most processing to be done. The faster/more the merrier. Config file management - create a database to store the host/service information then use perl scripts to generate the specific host and service configs for each device. That'll save you time in the long run. Template inheritance, template inheritance, template inheritance. Say it once more. Disable host checking or limit it to a single ping, at least with 1.x. Nagios gets very aggressive when it thinks a host is down and will effectively stop everything else it is doing until it has verified the status of the host. I think that in your case you'll need to disable it altogether since 1.x doesn't yet support passive host checks and your central servers will try to verify in addition to the remote collectors. Bandwidth -- Just to report 100K check results back to the central servers is going to require about 0.2 mbit/sec (assumes 100bytes/check @ 5 minute intervals if I've done my math right.) I'm sure there's lots lots more but those come to mind immediately. Also, the above comments apply for reasonable check intervals. 100K checks over 5 or 10 minutes is significantly more intense than 100K checks over a week. -- marc ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Fri Aug 1 17:21:54 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 1 Aug 2003 12:21:54 -0300 Subject: ENC: comments and Failover Message-ID: > I mean i have a main server that is making all the check?s. Also this > server send?s the results of the check?s for a backup server using the > Global_event_handler, so the backup server has up to date status of the > services and host?s. The backup server has active check?s disable and > check?s the main server for the nagios process. In case of a failure in > the main server, the backup server start to makes active checks and to > send notification?s . The problem is that comment?s and acknolegeds are > not send to the backup, so in case of failure i loose this info. I want to > some how send this info for the backup server as well. > > Sorry for the confusion, > > > > Marcio Q. Dall Agnol > phone : 55-21-3873-5826 > Fax : 55-21-3873-5845 > marcioqueiroz at vicom.com.br > VICOM > Net Servi?os de Comunica??o S/A > Visite nossas p?ginas: > Redes Corporativas: > Internet Banda Larga: > TV por Assinatura : > Institucional: http://www.netservicos.com > > > > ----- Mensagem original ----- > De: Dingo [SMTP:dingo at microbsd.net] > Enviada em: sexta-feira, 1 de agosto de 2003 12:11 > Para: Marcio Queiroz > Assunto: Re: [Nagios-users] comments and Failover > > I have a Failover setup, > > How do you mean failover setup ?? > > On Fri, 2003-08-01 at 09:53, Marcio Queiroz wrote: > > Hi all., > > > > > > I have a Failover setup, and every comment and acknoledge in problems > (case > > numbers) or hosts is made only on the primary server by the operators. > How > > could i send this info to the backup server ? Is there a file i could > copy > > on a regular base to the backup server ? or there is another way ? > > In case of failure on the main server, i would like to have this info on > the > > backup server as well. > > > > Thank?s in advanced > > > > Marcio Q. Dall Agnol > > phone : 55-21-3873-5826 > > Fax : 55-21-3873-5845 > > marcioqueiroz at vicom.com.br > > VICOM > > Net Servi?os de Comunica??o S/A > > Visite nossas p?ginas: > > Redes Corporativas: > > Internet Banda Larga: > > TV por Assinatura : > > Institucional: http://www.netservicos.com > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/0 > 1 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Aug 1 17:20:34 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 1 Aug 2003 10:20:34 -0500 Subject: logs dissapering Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7D99@mismail.ena.com> 1.0b3 but I haven't seen anything that appears to relate to this changed in CVS... marc > -----Original Message----- > From: Jeff McKeon [mailto:jsm at inpro.net] > Sent: Thursday, July 31, 2003 10:39 AM > To: Marc Powell > Cc: Jasmine; Nagios List > > Interesting, what version of Nagios are you running... > > On Wed, 2003-07-30 at 10:41, Marc Powell wrote: > > This is the same problem I have been experiencing. If you'll notice, > > some logs end in -23.log. If you rename those to -00.log, the reporting > > works fine again. The FAQ indicates that it's likely a result of the > > time on the machine changing but that's not happening in my case. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: Jeff McKeon [mailto:jsm at inpro.net] > > > Sent: Wednesday, July 30, 2003 9:33 AM > > > To: Jasmine > > > Cc: Nagios List > > > > > > All reports/histories are blank on the same days.. > > > > > > > > > On Fri, 2003-07-25 at 09:47, Jasmine wrote: > > > > -----BEGIN PGP SIGNED MESSAGE----- > > > > Hash: SHA1 > > > > > > > > > On Thursday 24 July 2003 21:09, Jeff McKeon wrote: > > > > > /usr/local/nagios/var/ > > > > > > > > > > [root at MIS01TC07927 var]# ls -l > > > > > total 60 > > > > > drwxrwxr-x 2 nagios nagios 4096 Jul 24 00:00 archives > > > > > -rw-rw-r-- 1 nagios nagios 708 Jul 24 12:21 > > comment.log > > > > > -rw-rw-r-- 1 nagios nagios 0 Jul 24 12:21 > > downtime.log > > > > > -rw-r--r-- 1 root root 4 Jul 24 12:21 > > nagios.lock > > > > > -rw-rw-r-- 1 nagios nagios 12494 Jul 24 12:26 nagios.log > > > > > drwxrws--- 2 nagios nagiocmd 4096 Jul 24 12:21 rw > > > > > -rw-rw-r-- 1 nagios nagios 15782 Jul 24 13:07 status.log > > > > > -rw-rw-r-- 1 nagios nagios 12034 Jul 24 12:21 status.sav > > > > > > > > > > /usr/local/nagios/var/archives/ > > > > > > > > > > --snip-- > > > > > > > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 19 23:59 > > > > > nagios-07-20-2003-00.log > > > > > -rw-rw-r-- 1 nagios nagios 5291 Jul 20 23:44 > > > > > nagios-07-20-2003-23.log > > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 20 23:59 > > > > > nagios-07-21-2003-00.log > > > > > -rw-rw-r-- 1 nagios nagios 49941 Jul 21 23:44 > > > > > nagios-07-22-2003-00.log > > > > > -rw-rw-r-- 1 nagios nagios 25519 Jul 22 23:39 > > > > > nagios-07-22-2003-23.log > > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 22 23:59 > > > > > nagios-07-23-2003-00.log > > > > > -rw-rw-r-- 1 nagios nagios 5143 Jul 23 23:39 > > > > > nagios-07-23-2003-23.log > > > > > -rw-rw-r-- 1 nagios nagios 33 Jul 23 23:59 > > > > > nagios-07-24-2003-00.log > > > > > > > > > > --snip-- > > > > > > > > > > From nagios.cfg > > > > > > > > > > --snip-- > > > > > > > > > > retain_state_information=1 > > > > > state_retention_file=/usr/local/nagios/var/status.sav > > > > > retention_update_interval=60 > > > > > use_retained_program_state=0 > > > > > interval_length=60 > > > > > > > > > > --snip-- > > > > > > > > Hmm.. I couldnt see anything wrong with your logging. Since you > > > mentioned that > > > > you have sufficient disk space and stuffs.. The log events for the > > past > > > few > > > > days are all in the /var/nagios/archives/ directory! Can you try > > > generating > > > > reports for the past few days from Alert History on your web > > interface? > > > > > > > > > > > > Jasmine > > > > -----BEGIN PGP SIGNATURE----- > > > > Version: GnuPG v1.2.2 (GNU/Linux) > > > > > > > > iD8DBQE/ITTjNgvTa7Hj2AURArP0AJ45gZjR4uB091W4Xa5iHoe59Lr6ZQCgqZ0m > > > > UvAUYrDcmdwPbOqQ7nMeZEg= > > > > =/D3y > > > > -----END PGP SIGNATURE----- > > > -- > > > Jeff McKeon > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click- > > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > -- > Jeff McKeon ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Steve.Rennie at Hess.com Fri Aug 1 17:28:48 2003 From: Steve.Rennie at Hess.com (Rennie, Steve) Date: Fri, 1 Aug 2003 16:28:48 +0100 Subject: nsca problems Message-ID: Trying to set-up distributed monitoring and having problems compiling nsca daemon - configure is ok.. but errors in make Any advice greatly appreciated. Thanks # make all cd ./src/; make all ; cd .. gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nsca.c netutils.c utils.c -o nsca In file included from nsca.c:18: ../common/common.h:105: syntax error before "u_int32_t" ../common/common.h:105: warning: no semicolon at end of struct or union ../common/common.h:106: warning: data definition has no type or storage class ../common/common.h:111: syntax error before '}' token ../common/common.h:111: warning: data definition has no type or storage class ../common/common.h:116: syntax error before "u_int32_t" ../common/common.h:116: warning: no semicolon at end of struct or union ../common/common.h:117: warning: data definition has no type or storage class nsca.c: In function `handle_connection': nsca.c:789: syntax error before "send_packet" nsca.c:814: `send_packet' undeclared (first use in this function) nsca.c:814: (Each undeclared identifier is reported only once nsca.c:814: for each function it appears in.) nsca.c:816: `u_int32_t' undeclared (first use in this function) nsca.c: In function `handle_connection_read': nsca.c:866: syntax error before "receive_packet" nsca.c:867: `u_int32_t' undeclared (first use in this function) nsca.c:885: `receive_packet' undeclared (first use in this function) nsca.c:931: `packet_crc32' undeclared (first use in this function) nsca.c:933: `calculated_crc32' undeclared (first use in this function) In file included from netutils.c:32: ../common/common.h:105: syntax error before "u_int32_t" ../common/common.h:105: warning: no semicolon at end of struct or union ../common/common.h:106: warning: data definition has no type or storage class ../common/common.h:111: syntax error before '}' token ../common/common.h:111: warning: data definition has no type or storage class ../common/common.h:116: syntax error before "u_int32_t" ../common/common.h:116: warning: no semicolon at end of struct or union ../common/common.h:117: warning: data definition has no type or storage class In file included from utils.c:32: ../common/common.h:105: syntax error before "u_int32_t" ../common/common.h:105: warning: no semicolon at end of struct or union ../common/common.h:106: warning: data definition has no type or storage class ../common/common.h:111: syntax error before '}' token ../common/common.h:111: warning: data definition has no type or storage class ../common/common.h:116: syntax error before "u_int32_t" ../common/common.h:116: warning: no semicolon at end of struct or union ../common/common.h:117: warning: data definition has no type or storage class *** Error code 1 make: Fatal error: Command failed for target `nsca' Current working directory /tmp/nsca-2.3/src *** Error code 1 make: Fatal error: Command failed for target `all' Steve Rennie Global IT Infrastructure Technical Computing Amerada Hess Ltd, Scott House, Hareness Road, Altens, Aberdeen AB1 4LE Tel: +44 (0)1224 243385 Mobile: 07880 786944 Email: steve.rennie at hess.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Fri Aug 1 17:30:00 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 1 Aug 2003 10:30:00 -0500 Subject: comments and Failover Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7D9B@mismail.ena.com> /usr/local/nagios/var/comment.log and /usr/local/nagios/var/downtime.log might be of interest to you. I suspect that you could regularly rsync those over to your backup machine with no problems. -- Marc > -----Original Message----- > From: Marcio Queiroz [mailto:marcioqueiroz at vicom.com.br] > Sent: Friday, August 01, 2003 10:22 AM > To: 'Nagios-users at lists.sourceforge.net' > > > > I mean i have a main server that is making all the check?s. Also this > > server send?s the results of the check?s for a backup server using the > > Global_event_handler, so the backup server has up to date status of the > > services and host?s. The backup server has active check?s disable and > > check?s the main server for the nagios process. In case of a failure in > > the main server, the backup server start to makes active checks and to > > send notification?s . The problem is that comment?s and acknolegeds are > > not send to the backup, so in case of failure i loose this info. I want > to > > some how send this info for the backup server as well. > > > > Sorry for the confusion, > > > > > > > > Marcio Q. Dall Agnol > > phone : 55-21-3873-5826 > > Fax : 55-21-3873-5845 > > marcioqueiroz at vicom.com.br > > VICOM > > Net Servi?os de Comunica??o S/A > > Visite nossas p?ginas: > > Redes Corporativas: > > Internet Banda Larga: > > TV por Assinatura : > > Institucional: http://www.netservicos.com > > > > > > > > ----- Mensagem original ----- > > De: Dingo [SMTP:dingo at microbsd.net] > > Enviada em: sexta-feira, 1 de agosto de 2003 12:11 > > Para: Marcio Queiroz > > Assunto: Re: [Nagios-users] comments and Failover > > > > I have a Failover setup, > > > > How do you mean failover setup ?? > > > > On Fri, 2003-08-01 at 09:53, Marcio Queiroz wrote: > > > Hi all., > > > > > > > > > I have a Failover setup, and every comment and acknoledge in problems > > (case > > > numbers) or hosts is made only on the primary server by the operators. > > How > > > could i send this info to the backup server ? Is there a file i could > > copy > > > on a regular base to the backup server ? or there is another way ? > > > In case of failure on the main server, i would like to have this info > on > > the > > > backup server as well. > > > > > > Thank?s in advanced > > > > > > Marcio Q. Dall Agnol > > > phone : 55-21-3873-5826 > > > Fax : 55-21-3873-5845 > > > marcioqueiroz at vicom.com.br > > > VICOM > > > Net Servi?os de Comunica??o S/A > > > Visite nossas p?ginas: > > > Redes Corporativas: > > > Internet Banda Larga: > > > TV por Assinatura : > > > Institucional: http://www.netservicos.com > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/0 > > 1 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at splash.co.za Fri Aug 1 17:31:48 2003 From: richard at splash.co.za (Richard Mayhew) Date: Fri, 1 Aug 2003 17:31:48 +0200 Subject: check_dns References: <005901c35830$90d0bfa0$211302c4@mweb.com> <006501c3583b$351f3be0$211302c4@mweb.com> Message-ID: <007901c35842$06b22590$211302c4@mweb.com> okie it seems sorted thanks... 1 question... with check_ping.. when pinging a unpingable ip, can it return packet loss rather than a timeout? One needs to add a -w (timeout) for the ping cmd, else it just sits there and never stops, untill the plugin times out itself. So one could add eg. ping -n -U -c 1 -w ($timeout - 5secs) 1.1.1.1 ping -n -U -c 1 -w 55 1.1.1.1 so that the timeout of the plugin is always 5 secs more than the ping cmd itself. It seems there is a bug in the ping cmd for sometime now... I wonder if I should try and report it. ----- Original Message ----- From: "Karl DeBisschop" To: "Richard Mayhew" Cc: "Karl DeBisschop" ; "Nagios Users" Sent: Friday, August 01, 2003 3:58 PM Subject: [Nagios-users] Re: check_dns > Richard Mayhew writes: > > > Hi > > Sorry I re-did a check_dns --version just to check and I have > > > > check_dns (nagios-plugins 1.3.0) 1.8 > > > > So, I guess there is a new version I should install? > > If you could try 1.3.1, that would help. > > > thanks > > > > ----- Original Message ----- > > From: "Karl DeBisschop" > > To: "Richard Mayhew" > > Cc: "Nagios Users" > > Sent: Friday, August 01, 2003 3:32 PM > > Subject: Re: check_dns > > > > > >> Richard Mayhew writes: > >> > >> > Hi > >> > > >> > There seems to be a problem with check_dns. I run RedHat 7.3 with all > > required updates, Nagios 1.1, Plugins 1.3.1. > >> > > >> > Here are the scenarios. > >> > > >> > 1. Dns Server is up and contactable. > >> > check_dns returns the correct information, reporting that the > > service is etc. > >> > 2. Dns Server is up but not contactable (firewall blocking requests) > >> > check_dns returns that the service is ok. (10 secs responce, > > addresses is/all (null)) > >> > True answer with -v flag is connection timed out. > >> > >> I am working on this one already. > >> > >> Cannot reproduce with RH 9. But I had been waiting on the plugin version > >> number, which you have just provided. > >> > >> > 3. Dns Server does not exist > >> > check_dns returns Segmentation Fault. > >> > >> News to me. I'll look into it tonight. > >> > >> > Any Ideas how to correct this? > >> > >> -- > >> Karl > >> > >> > >> > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Aug 1 17:07:59 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Fri, 01 Aug 2003 11:07:59 -0400 Subject: check_dns In-Reply-To: <007901c35842$06b22590$211302c4@mweb.com> References: <005901c35830$90d0bfa0$211302c4@mweb.com> <006501c3583b$351f3be0$211302c4@mweb.com> <007901c35842$06b22590$211302c4@mweb.com> Message-ID: Richard Mayhew writes: > okie it seems sorted thanks... > > 1 question... with check_ping.. > > when pinging a unpingable ip, can it return packet loss rather than a > timeout? > > One needs to add a -w (timeout) for the ping cmd, else it just sits there > and never stops, untill the plugin times out itself. > > So one could add > eg. ping -n -U -c 1 -w ($timeout - 5secs) 1.1.1.1 > ping -n -U -c 1 -w 55 1.1.1.1 > > so that the timeout of the plugin is always 5 secs more than the ping cmd > itself. This is a general issue I think. I hope for the 1.4.0 beta to go through all the plugins and reset the default timeout to be a few seconds greater than the critical time interval. We still should be able to set the timeout explicitly, if you want to let a subsystem use it's own clean closing, but the default should not have ping timeout after 10 secs if -c is 2 secs. -- Karl > It seems there is a bug in the ping cmd for sometime now... I wonder if I > should try and report it. > > ----- Original Message ----- > From: "Karl DeBisschop" > To: "Richard Mayhew" > Cc: "Karl DeBisschop" ; "Nagios Users" > > Sent: Friday, August 01, 2003 3:58 PM > Subject: [Nagios-users] Re: check_dns > > >> Richard Mayhew writes: >> >> > Hi >> > Sorry I re-did a check_dns --version just to check and I have >> > >> > check_dns (nagios-plugins 1.3.0) 1.8 >> > >> > So, I guess there is a new version I should install? >> >> If you could try 1.3.1, that would help. >> >> > thanks >> > >> > ----- Original Message ----- >> > From: "Karl DeBisschop" >> > To: "Richard Mayhew" >> > Cc: "Nagios Users" >> > Sent: Friday, August 01, 2003 3:32 PM >> > Subject: Re: check_dns >> > >> > >> >> Richard Mayhew writes: >> >> >> >> > Hi >> >> > >> >> > There seems to be a problem with check_dns. I run RedHat 7.3 with all >> > required updates, Nagios 1.1, Plugins 1.3.1. >> >> > >> >> > Here are the scenarios. >> >> > >> >> > 1. Dns Server is up and contactable. >> >> > check_dns returns the correct information, reporting that the >> > service is etc. >> >> > 2. Dns Server is up but not contactable (firewall blocking requests) >> >> > check_dns returns that the service is ok. (10 secs responce, >> > addresses is/all (null)) >> >> > True answer with -v flag is connection timed out. >> >> >> >> I am working on this one already. >> >> >> >> Cannot reproduce with RH 9. But I had been waiting on the plugin > version >> >> number, which you have just provided. >> >> >> >> > 3. Dns Server does not exist >> >> > check_dns returns Segmentation Fault. >> >> >> >> News to me. I'll look into it tonight. >> >> >> >> > Any Ideas how to correct this? >> >> >> >> -- >> >> Karl >> >> >> >> >> >> >> > >> >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by: Free pre-built ASP.NET sites including >> Data Reports, E-commerce, Portals, and Forums are available now. >> Download today and enter to win an XBOX or Visual Studio .NET. >> > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Aug 1 18:38:18 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 1 Aug 2003 11:38:18 -0500 Subject: Cached Configuration Settings Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7DA2@mismail.ena.com> You have multiple copies of nagios running, one or more of which is using your old configuration (it's cached in RAM). marc > -----Original Message----- > From: Jordan Reiter [mailto:jordan at cvilleweekly.com] > Sent: Thursday, July 31, 2003 1:59 PM > To: nagios-users at lists.sourceforge.net > > Hello, > > I was hoping you could help me with a problem I've been having. > > When I was setting up the hosts.cfg file, I accidentally entered the wrong > IP address for a host. > > I've since then corrected the IP, but every so often it seems that Nagios > is still trying to do a PING to the old address. If I go through the web > administration and click on "Service Detail", from time to time it will > show hosts as being down, and show the PING action as > > /bin/ping -n -U -c 5 x.x.x.x > > (x.x.x.x being the old ip address I entered first). > > When I do a grep of the /usr/local/nagios folder to find the old IP > address, I don't find any instances of it *anywhere* in the nagios folder > (with the exception of the log files). Where is it getting the old IP > address from and how can I permanently remove it? > > Thanks for any help you can offer, > Jordan > > -- > > Jordan Reiter mailto:jordan at breezing.com > Breezing.com http://breezing.com > 1106 West Main St phone:434.295.2050 > Charlottesville, VA 22903 fax:603.843.6931 > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.mooney at pnl.gov Fri Aug 1 19:22:27 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Fri, 01 Aug 2003 10:22:27 -0700 Subject: [Nagios-users] Nagios 2.0 Event Broker and DB Support Message-ID: You could make the service * to be versioned like: typdef struct { uint8_t version=MYVERSION; blah blah blah } service; Then check what the module returns like: if((uint8_t)service != MYVERSION) { moan_and_complain(); kick_module(); } (Yeah yeah a union would probably be clearer, and there are 50 ways to do this, and yes they are all dandy :) Its a little hacky, but not too bad. The biggest concern I have with this model is that a poorly behaved module is much more likely to corrupt the core process by doing something evil (unintentionally I'm sure) than in your other model. I'm sort of working on a simular problem and decided to create an API that the "clients" linked to handle the nasty parts for them (so each "client" would be an independent entity/process unless someone wanted to create a "super server client" that loaded modules). This would have each "client" create a shared mem queue (or a sysv queue - haven't fully decided which is less evil for this app) and then hand a pointer (literally or not) for that off to the "server" and register the events they want dumped into it. This would in theory allow me to have multiple pre-forked backend processes handling a single queue if I'm doing something with the data that blocks a lot without stacking up a lot of processes or having to fork for each event (which can be really bad if you have a lot of events). This is (in essense) very simular to your socket model with the main difference being that I don't care what the clients do (queue's full? Tough, message dropped! although to be polite we might increment a counter they can query). They are completely decoupled from any of the server code (except thier interaction via the well defined API). This puts a little more burden on the module writers, but cleans up the servers interactions (I don't have to worry about timing them out, or other bad things they might do). > -----Original Message----- > From: Ethan Galstad [mailto:nagios at nagios.org] > Sent: Thursday, July 31, 2003 10:02 PM > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Subject: [Nagios-users] Nagios 2.0 Event Broker and DB Support > > > Sorry for the crosspost, but the nagios-devel list is usually pretty > quiet when I request comments about new features I'm implementing. > This one is bigger than most, so I wanted to reach more people. This > is a bit long, so bear with me... > > I am almost complete with coding for 2.0. Two big things remain: the > event broker and DB support (which is currently broken). > > My original intent was to develop the event broker as a separate > application, tying it to Nagios with a unix domain socket. Nagios > would send the event broker information about the everything that was > going on (service checks, downtime, flapping, log entries, etc.). > The event broker would be able to load user-developed modules (object > files) at runtime and pass various types of Nagios data to them for > processing. This is all fine and good. I have a working prototype > of the event broker that does just this and seems to work okay. I > got to thinking that it was rather stupid to develop a separate > application for this when I could simply have Nagios load user- > developed modules itself. Doing this would give the modules the > benefit of having access to internal Nagios structures and functions > (which is good and bad - see below). > > Here's an overview of how it would work: > > - Nagios would load user-specified modules (object files) at startup > using the dlopen() function. > > - Nagios would call the module's initialization function (the name of > which would be standardized). > > - The module's init function would register for various types of > Nagios event data (service checks, host checks, log entries, event > handlers, etc.) using callback functions. > > - When Nagios encounters an event for which a module has registered a > callback function, Nagios would call that module's function and pass > it data relevant to the event. The module is then free to do > whatever it wants to that event data. An example might be to log > service checks, performance data and log entries to MySQL, etc. > > - Before shutting down, Nagios calls the module's de-init function. > This allows the module to clean up any resources it may be using. > > > Seems good in theory. Heck, might even work okay. However, there's > a big problem I have with it. If I implement things this way, the > user-developed modules would have access to internal Nagios data > structures and functions. This is not necessarily bad, as ill- > behaved modules would not be adopted by too many people. :-) > However, modules that might be compiled and working fine > for Nagios 2.0 might segfault under future versions if the internal > data structures change. Here's an example of what I mean: > > User module registers for Nagios service check data using its > mymod_handle_servicecheck() function, which has a prototype of: > > int mymod_handle_servicecheck(service *); > > The service struct is an internal Nagios structure definition which > changes between Nagios versions. If the user module is compiled for > use with Nagios 2.0 and it's definition of the service struct, it > will have problems if it is not recompiled for future versions of > Nagios. > > Off the top of my head, I could overcome this by requiring that the > user modules indicate (by calling a function) what version of Nagios > they are compiled for. If they report anything but the current > version (or do not report at all), unload them so they can do no > harm. > > I'm afraid I'm a bit over my head on how to handle this one. Some of > you developers out there must have experience with this type of > thing. If so, how did you handle it? What would you recommend? > Comments, suggestions, flames? Is there a better way to accomplish > this? Speak up now. > > What does this have to do with DB support, you ask? Well, if I > implement the event broker as I have proposed I will be yanking > native DB support out of Nagios completely. You can then write a > module to log to a DB if you want. :-) > > PS: I had originally planned on exposing almost all of Nagios' data > and events to the broker, but I may have to scale that down if I plan > on getting 2.0 out this century. Perhaps just support for: > > - Service and host checks > - Event handlers > - Log data > > This would allow the development of modules to log check information, > performance data, and log file data to a DB (or whatever). > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From joel at zonepro.fr Fri Aug 1 18:45:47 2003 From: joel at zonepro.fr (Jo=?ISO-8859-1?B?6w==?=l Guened) Date: Fri, 01 Aug 2003 18:45:47 +0200 Subject: Escalation notifications problems Message-ID: Hello, I have a problem with escalation of notification. I read and read the docs and I didn't understand the problem. - When I have an host down, the hostgroup contact receive an email, all is ok. - At the next escalation, the system send an SMS with an perdiod time 8/23. All is ok - But at the next escalation, they pass the middle escalation and go to the last escalation. Here is the config : define hostgroupescalation{ hostgroup_name linux first_notification 2 last_notification 3 notification_interval 10 contact_groups sms } >>>--------> WORKS define hostgroupescalation{ hostgroup_name linux first_notification 4 last_notification 5 notification_interval 30 contact_groups urgent } >>>--------> DOESN'T WORK define hostgroupescalation{ hostgroup_name linux first_notification 6 last_notification 0 notification_interval 60 contact_groups extreme,sms } >>>--------> WORKS The difference between 'urgent' and 'extreme' is the name contacts (but with same mail) and timeperiods change : - for 'urgent' : one contact is time period 'morning' ; the other is 'night' Name contact is : the_name-urgent - for 'extreme' : the time period is 24x7 and Name contact is : all-urgent (a new contact with same mails that 'urgent' but NOT same contacts. Thanks for your help, Joe Joel Guened mail : joel at zonepro.fr B?timent 104 50, avenue du Pr?sident Wilson F - 93210 La Plaine Saint-Denis T?l?phone : 01 49 17 40 92 T?l?copie : 01 49 17 40 91 zonepro france copyright 1998-2003 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garrick at usc.edu Fri Aug 1 19:52:37 2003 From: garrick at usc.edu (garrick) Date: Fri, 1 Aug 2003 10:52:37 -0700 Subject: [Nagios-users] Nagios 2.0 Event Broker and DB Support In-Reply-To: <3F29ADFB.3157.1AE3E5D@localhost> References: <3F29ADFB.3157.1AE3E5D@localhost> Message-ID: <20030801175237.GJ4612@polop.usc.edu> Once the modules have access to nagios internals, let's do more than just receive events. I'd like to dynamically define services and remove them a few hours later. I'd like to override the contacts.cfg files and substitute user information with an RBAC from LDAP (along with the CGI's authn pieces). I can probably think of a few more subsystems I could override to better integrate into my environment. About the dynamic services thing... I manage a research computing cluster and each job tends to be a bit fragile. During the lifetime of a job, there are several scriptable checks I can do to check the health of the job and the nodes it is using. It would be fun if each job could temporarily be its own service. While a job is running, nagios would monitor it just like any other service. I know the current solution is to use a single generic job service with passive checks submitted by an external process that would identify any particular problems. On Fri, Aug 01, 2003 at 12:02:03AM -0500, Ethan Galstad alleged: > Sorry for the crosspost, but the nagios-devel list is usually pretty > quiet when I request comments about new features I'm implementing. > This one is bigger than most, so I wanted to reach more people. This > is a bit long, so bear with me... > > I am almost complete with coding for 2.0. Two big things remain: the > event broker and DB support (which is currently broken). > > My original intent was to develop the event broker as a separate > application, tying it to Nagios with a unix domain socket. Nagios > would send the event broker information about the everything that was > going on (service checks, downtime, flapping, log entries, etc.). > The event broker would be able to load user-developed modules (object > files) at runtime and pass various types of Nagios data to them for > processing. This is all fine and good. I have a working prototype > of the event broker that does just this and seems to work okay. I > got to thinking that it was rather stupid to develop a separate > application for this when I could simply have Nagios load user- > developed modules itself. Doing this would give the modules the > benefit of having access to internal Nagios structures and functions > (which is good and bad - see below). > > Here's an overview of how it would work: > > - Nagios would load user-specified modules (object files) at startup > using the dlopen() function. > > - Nagios would call the module's initialization function (the name of > which would be standardized). > > - The module's init function would register for various types of > Nagios event data (service checks, host checks, log entries, event > handlers, etc.) using callback functions. > > - When Nagios encounters an event for which a module has registered a > callback function, Nagios would call that module's function and pass > it data relevant to the event. The module is then free to do > whatever it wants to that event data. An example might be to log > service checks, performance data and log entries to MySQL, etc. > > - Before shutting down, Nagios calls the module's de-init function. > This allows the module to clean up any resources it may be using. > > > Seems good in theory. Heck, might even work okay. However, there's > a big problem I have with it. If I implement things this way, the > user-developed modules would have access to internal Nagios data > structures and functions. This is not necessarily bad, as ill- > behaved modules would not be adopted by too many people. :-) > However, modules that might be compiled and working fine > for Nagios 2.0 might segfault under future versions if the internal > data structures change. Here's an example of what I mean: > > User module registers for Nagios service check data using its > mymod_handle_servicecheck() function, which has a prototype of: > > int mymod_handle_servicecheck(service *); > > The service struct is an internal Nagios structure definition which > changes between Nagios versions. If the user module is compiled for > use with Nagios 2.0 and it's definition of the service struct, it > will have problems if it is not recompiled for future versions of > Nagios. > > Off the top of my head, I could overcome this by requiring that the > user modules indicate (by calling a function) what version of Nagios > they are compiled for. If they report anything but the current > version (or do not report at all), unload them so they can do no > harm. > > I'm afraid I'm a bit over my head on how to handle this one. Some of > you developers out there must have experience with this type of > thing. If so, how did you handle it? What would you recommend? > Comments, suggestions, flames? Is there a better way to accomplish > this? Speak up now. > > What does this have to do with DB support, you ask? Well, if I > implement the event broker as I have proposed I will be yanking > native DB support out of Nagios completely. You can then write a > module to log to a DB if you want. :-) > > PS: I had originally planned on exposing almost all of Nagios' data > and events to the broker, but I may have to scale that down if I plan > on getting 2.0 out this century. Perhaps just support for: > > - Service and host checks > - Event handlers > - Log data > > This would allow the development of modules to log check information, > performance data, and log file data to a DB (or whatever). > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From Chandler.Collins at silabs.com Fri Aug 1 19:54:27 2003 From: Chandler.Collins at silabs.com (Chandler A. Collins) Date: Fri, 1 Aug 2003 12:54:27 -0500 Subject: SERVICE recovery notifications for HOST down Message-ID: So if this is a relatively common problem, has anyone found a temporary fix or workaround? I've noticed that it doesn't happen all the time, but I haven't been able to deduce the set of circumstances that causes it to occur. Chandler > Same here... annoying. > Hope it gets fixed in Nagios 2.0, otherwise this one should go to the "top > priority Nagios bugs" list. > > Rainer > >> >> Hi, >> >> I know this question has been asked on this list before, but I've searched >> the list archives and never found a posted solution. >> >> Basically, when a host goes down I see a notification for that event, but >> when it recovers what I get are notifications for the recovery of each >> individual SERVICE that is being monitored on that host. >> >> Could someone please point me in the right direction? >> >> Thank you! >> >> Chandler >> This email and any attachments thereto may contain private, confidential, and privileged material for the sole use of the intended recipient. Any review, copying, or distribution of this email (or any attachments thereto) by others is strictly prohibited. If you are not the intended recipient, please contact the sender immediately and permanently delete the original and any copies of this email and any attachments thereto. From marcioqueiroz at vicom.com.br Fri Aug 1 19:57:54 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 1 Aug 2003 14:57:54 -0300 Subject: RES: comments and Failover Message-ID: Marc, i tried to copy comment.log and it work?s, except, for one minor detail. The acknowlagement note is there, but nagios still cosider the service/host as not acknowlaged let, this is, i can do another acknowlage on the same problem in the backup host. I don?t thing this is a big problem, but if i could solve this it wolud be better. Anyway, thank?s a lot, it is better now than it was before. []s Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Marc Powell [SMTP:mpowell at ena.com] > Enviada em: sexta-feira, 1 de agosto de 2003 12:30 > Para: Marcio Queiroz; Nagios-users at lists.sourceforge.net > Assunto: RE: [Nagios-users] comments and Failover > > /usr/local/nagios/var/comment.log and /usr/local/nagios/var/downtime.log > might be of interest to you. I suspect that you could regularly rsync > those over to your backup machine with no problems. > > -- > Marc > > > > -----Original Message----- > > From: Marcio Queiroz [mailto:marcioqueiroz at vicom.com.br] > > Sent: Friday, August 01, 2003 10:22 AM > > To: 'Nagios-users at lists.sourceforge.net' > > > > > > > I mean i have a main server that is making all the check?s. Also this > > > server send?s the results of the check?s for a backup server using the > > > Global_event_handler, so the backup server has up to date status of > the > > > services and host?s. The backup server has active check?s disable and > > > check?s the main server for the nagios process. In case of a failure > in > > > the main server, the backup server start to makes active checks and to > > > send notification?s . The problem is that comment?s and acknolegeds > are > > > not send to the backup, so in case of failure i loose this info. I > want > > to > > > some how send this info for the backup server as well. > > > > > > Sorry for the confusion, > > > > > > > > > > > > Marcio Q. Dall Agnol > > > phone : 55-21-3873-5826 > > > Fax : 55-21-3873-5845 > > > marcioqueiroz at vicom.com.br > > > VICOM > > > Net Servi?os de Comunica??o S/A > > > Visite nossas p?ginas: > > > Redes Corporativas: > > > Internet Banda Larga: > > > TV por Assinatura : > > > Institucional: http://www.netservicos.com > > > > > > > > > > > > ----- Mensagem original ----- > > > De: Dingo [SMTP:dingo at microbsd.net] > > > Enviada em: sexta-feira, 1 de agosto de 2003 12:11 > > > Para: Marcio Queiroz > > > Assunto: Re: [Nagios-users] comments and Failover > > > > > > I have a Failover setup, > > > > > > How do you mean failover setup ?? > > > > > > On Fri, 2003-08-01 at 09:53, Marcio Queiroz wrote: > > > > Hi all., > > > > > > > > > > > > I have a Failover setup, and every comment and acknoledge in > problems > > > (case > > > > numbers) or hosts is made only on the primary server by the > operators. > > > How > > > > could i send this info to the backup server ? Is there a file i > could > > > copy > > > > on a regular base to the backup server ? or there is another way ? > > > > In case of failure on the main server, i would like to have this > info > > on > > > the > > > > backup server as well. > > > > > > > > Thank?s in advanced > > > > > > > > Marcio Q. Dall Agnol > > > > phone : 55-21-3873-5826 > > > > Fax : 55-21-3873-5845 > > > > marcioqueiroz at vicom.com.br > > > > VICOM > > > > Net Servi?os de Comunica??o S/A > > > > Visite nossas p?ginas: > > > > Redes Corporativas: > > > > Internet Banda Larga: > > > > TV por Assinatura : > > > > Institucional: http://www.netservicos.com > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including > > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > > > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/0 > > > 1 > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordan at cvilleweekly.com Fri Aug 1 20:31:55 2003 From: jordan at cvilleweekly.com (Jordan Reiter) Date: Fri, 1 Aug 2003 14:31:55 -0400 Subject: Cached Configuration Settings In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83038E7DA2@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83038E7DA2@mismail.ena.com> Message-ID: At 11:38 AM -0500 8/1/03, Marc Powell wrote: >You have multiple copies of nagios running, one or more of which is >using your old configuration (it's cached in RAM). I have stopped and started nagios many times, and have done killall nagios. If there are any other nagios processes running, I can't find them. Are there any unusually named processes that are actually nagios? > > -----Original Message----- > > From: Jordan Reiter [mailto:jordan at cvilleweekly.com] > > Sent: Thursday, July 31, 2003 1:59 PM > > To: nagios-users at lists.sourceforge.net > >> I was hoping you could help me with a problem I've been having. >> >> When I was setting up the hosts.cfg file, I accidentally entered the >wrong >> IP address for a host. >> >> I've since then corrected the IP, but every so often it seems that >Nagios >> is still trying to do a PING to the old address. If I go through the >web >> administration and click on "Service Detail", from time to time it >will >> show hosts as being down, and show the PING action as >> >> /bin/ping -n -U -c 5 x.x.x.x >> >> (x.x.x.x being the old ip address I entered first). >> >> When I do a grep of the /usr/local/nagios folder to find the old IP >> address, I don't find any instances of it *anywhere* in the nagios >folder >> (with the exception of the log files). Where is it getting the old IP >> address from and how can I permanently remove it? >> >> Thanks for any help you can offer, > > Jordan -- Jordan Reiter mailto:jordan at breezing.com Breezing.com http://breezing.com 1106 West Main St phone:434.295.2050 Charlottesville, VA 22903 fax:603.843.6931 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordan at cvilleweekly.com Fri Aug 1 20:35:16 2003 From: jordan at cvilleweekly.com (Jordan Reiter) Date: Fri, 1 Aug 2003 14:35:16 -0400 Subject: Cached Configuration Settings In-Reply-To: References: Message-ID: At 9:57 PM +0200 7/31/03, Crusty Applesniffer wrote: >Reload Configuration Data /etc/rc.d/init.d/nagios reload Sends a >SIGHUP to the Nagios process, causing it to flush its current >configuration data, > >reread the configuration files, and start monitoring again Looks like /etc/init.d/nagios reload did the trick. I don't know why restarting it didn't do the same thing, but it appears that it is no longer pointing to the incorrect IP address. Thanks to everyone who offered help and advice. -- Jordan Reiter mailto:jordan at breezing.com Breezing.com http://breezing.com 1106 West Main St phone:434.295.2050 Charlottesville, VA 22903 fax:603.843.6931 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Aug 1 20:36:27 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 1 Aug 2003 13:36:27 -0500 Subject: Cached Configuration Settings Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7DAA@mismail.ena.com> Nope. They're all [/usr/local/nagios/bin/]nagios. An alternate, but far less likely (not sure it's even possible) reason would be that the information is stored in your status.sav file. Try deleting that when all the nagios processes have been stopped and verified. I'm still leaning toward the multiple process theory though because 99% of the time that's what it is. -- Marc > -----Original Message----- > From: Jordan Reiter [mailto:jordan at cvilleweekly.com] > Sent: Friday, August 01, 2003 1:32 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > > At 11:38 AM -0500 8/1/03, Marc Powell wrote: > >You have multiple copies of nagios running, one or more of which is > >using your old configuration (it's cached in RAM). > > I have stopped and started nagios many times, and have done killall > nagios. If there are any other nagios processes running, I can't find > them. Are there any unusually named processes that are actually nagios? > > > > -----Original Message----- > > > From: Jordan Reiter [mailto:jordan at cvilleweekly.com] > > > Sent: Thursday, July 31, 2003 1:59 PM > > > To: nagios-users at lists.sourceforge.net > > > >> I was hoping you could help me with a problem I've been having. > >> > >> When I was setting up the hosts.cfg file, I accidentally entered the > >wrong > >> IP address for a host. > >> > >> I've since then corrected the IP, but every so often it seems that > >Nagios > >> is still trying to do a PING to the old address. If I go through the > >web > >> administration and click on "Service Detail", from time to time it > >will > >> show hosts as being down, and show the PING action as > >> > >> /bin/ping -n -U -c 5 x.x.x.x > >> > >> (x.x.x.x being the old ip address I entered first). > >> > >> When I do a grep of the /usr/local/nagios folder to find the old IP > >> address, I don't find any instances of it *anywhere* in the nagios > >folder > >> (with the exception of the log files). Where is it getting the old IP > >> address from and how can I permanently remove it? > >> > >> Thanks for any help you can offer, > > > Jordan > > -- > > Jordan Reiter mailto:jordan at breezing.com > Breezing.com http://breezing.com > 1106 West Main St phone:434.295.2050 > Charlottesville, VA 22903 fax:603.843.6931 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtran at ssc.ucla.edu Fri Aug 1 22:14:36 2003 From: dtran at ssc.ucla.edu (Daniel Tran) Date: Fri, 1 Aug 2003 13:14:36 -0700 Subject: FW: compiling nagios 1.1 with mysql support Message-ID: <009201c35869$8755bfa0$49e56180@hp1> > Hi, > I'm trying to compile nagios 1.1 on redhat9 with mysql support. I'm > getting the error shown below. > My /etc/ld.so.conf has /usr/lib/mysql as the directory for the libraries. > Any suggestion how to resolve this? > > Thanks - daniel > > > Init script directory: /etc/rc.d/init.d > We'll use MySQL database routines (in xdata/xsddb.*) for status data > I/O... > We'll use MySQL database routines (in xdata/xcddb.*) for comment data > I/O... > We'll use MySQL database routines (in xdata/xeddb.*) for extended data > I/O... > We'll use MySQL database routines (in xdata/xrddb.*) for retention data > I/O... > We'll use template-based routines (in xdata/xodtemplate.*) for object data > I/O.. > . > We'll use default routines (in xdata/xpddefault.*) for performance data > I/O... > We'll use MySQL database routines (in xdata/xdddb.*) for scheduled > downtime data > I/O... > checking for main in -lmysqlclient... no > > > *** MySQL library could not be located... ************************** > > You chose to compile Nagios with MySQL support, but I was unable to > locate the MySQL library on your system. If the library is > installed, use the --with-mysql-lib and --with-mysql-inc arguments > to specify the locations of the MySQL library and include files. > > NOTE: After you install the necessary libraries on your system: > 1. Make sure /etc/ld.so.conf has an entry for the directory in > which the MySQL libraries are installed. > 2. Run 'ldconfig' to update the run-time linker options. > 3. Run 'make clean' in the Nagios distribution to clean out > any old references to your previous compile. > 4. Rerun the configure script. > > ******************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtran at ssc.ucla.edu Fri Aug 1 22:40:22 2003 From: dtran at ssc.ucla.edu (Daniel Tran) Date: Fri, 1 Aug 2003 13:40:22 -0700 Subject: compiling nagios 1.1 with mysql support - OK now. In-Reply-To: <009201c35869$8755bfa0$49e56180@hp1> References: <009201c35869$8755bfa0$49e56180@hp1> Message-ID: <009701c3586d$20f19a50$49e56180@hp1> Sorry for hasty post. I mistyped the configure syntax. Everything is well now. Thanks - Daniel > > > > > Hi, > > I'm trying to compile nagios 1.1 on redhat9 with mysql > support. I'm > > getting the error shown below. My /etc/ld.so.conf has > /usr/lib/mysql > > as the directory for the libraries. Any suggestion how to resolve > > this? > > > > Thanks - daniel > > > > > > Init script directory: /etc/rc.d/init.d > > We'll use MySQL database routines (in xdata/xsddb.*) for > status data > > I/O... We'll use MySQL database routines (in xdata/xcddb.*) for > > comment data I/O... > > We'll use MySQL database routines (in xdata/xeddb.*) for > extended data > > I/O... > > We'll use MySQL database routines (in xdata/xrddb.*) for > retention data > > I/O... > > We'll use template-based routines (in xdata/xodtemplate.*) > for object data > > I/O.. > > . > > We'll use default routines (in xdata/xpddefault.*) for > performance data > > I/O... > > We'll use MySQL database routines (in xdata/xdddb.*) for scheduled > > downtime data > > I/O... > > checking for main in -lmysqlclient... no > > > > > > *** MySQL library could not be located... ************************** > > > > You chose to compile Nagios with MySQL support, but I was unable to > > locate the MySQL library on your system. If the library is > installed, > > use the --with-mysql-lib and --with-mysql-inc arguments to > specify the > > locations of the MySQL library and include files. > > > > NOTE: After you install the necessary libraries on your system: > > 1. Make sure /etc/ld.so.conf has an entry for the directory in > > which the MySQL libraries are installed. > > 2. Run 'ldconfig' to update the run-time linker options. > > 3. Run 'make clean' in the Nagios distribution to clean out > > any old references to your previous compile. > > 4. Rerun the configure script. > > > > ******************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Aug 1 23:09:27 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 1 Aug 2003 16:09:27 -0500 Subject: Distributed Monitoring with passive Host checks Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7DB1@mismail.ena.com> Passive host checks are not supported at all until 2.0. You're on the right track for a solution until it's supported natively though. marc > -----Original Message----- > From: Thomas Fischer [mailto:thomas.fischer at quadriga.com] > Sent: Friday, August 01, 2003 9:51 AM > To: Olaf Hoyer > Cc: nagios-users at lists.sourceforge.net > > Olaf, > > cheers for your answer. Service checks are not the problem and run > already. I need a passive host check ability. At the moment the central > server does active host checks, but due to the fact that the remote site > is not reachable from external sources the host checks fail. So i get a > display where the hosts are marked as critical while the services are > marked as OK. I need a method to transmit (maybe via NSCA) the host checks > passively to the central server. Otherwise i have to write a new plugin > that allows above. However if that works with Nagios is a diff story. I > could for example write an event handler that takes the NSCA results, > writes them into a status file (or Database) and the host check on the > central server then extracts the info and flags the result accordingly. > > Tom > > -----Original Message----- > From: Olaf Hoyer [mailto:ohoyer at gaff.hhhr.ision.net] > Sent: 01 August 2003 15:44 > To: Thomas Fischer > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Distributed Monitoring with passive Host > checks > > > On Fri, 1 Aug 2003, Thomas Fischer wrote: > > > Guys and Gals, > > > > following situation. We have multiple remote sites (currently over 400 > but expanding to over 2000 in the next 3 years) which use internally > exactly the same adressing scheme. Don't ask why the same Addresses, but > be assured that i pointed already a 45 Magnum at the idiot who designed > this. Anyway back to the prob. > > > > I want to remotely monitor all hosts in every site (well not all because > that would already now mean about 100k hosts), but i don't have direct > access at the moment into each site. Also i would need to include a second > Firewall to open a VPN tunnel to our HQ where the central server sits. An > additional Firewall would cost. I hear you all crying out already why 2 > Firewalls, but unfortunately the sites use PIX Firewalls which is a piece > of shi* and can't do split tunnels and NAT at the same time, thankfully i > will sooner or later be able to use a Nokia with CP FW-1 for each site. > > > > How can i do passive host checks from the central server without > spending loads of development time, loads of money and have loads of > headaches? Anybody did that already? Ohhh and no i can't wait a minimum of > 12 months until Nagios 2.0 comes out. > > > > Any ideas, pointers etc. highly welcome. If anybody has an idea just > contact me and i can pass more details on about the Network setup. > > > I also had the scenario in another setup. > We had some management LANs in the company, where we needed to monitor > some services, too. > > I set up distributed monitoring via NSCA. > > > works as follows: > > In the remote LAN you set a dedicated box, which actively checks all > services that are needed. > The check-results are transmitted via a small script (available on > nagios.org) via the nsca-demon to a central master nagios-server. > > The nagios-Master identifies the checks that come in according to their > name, not due to ip. > > So this will be: > > Master----Firewall------Slave----Lots of targets > | > +---FW2----Slave2----Lots of other targets > > > > So Slave1 uses designations as hostnames in hostgroups.cfg: > > site1_smtp01.foo.bar > > and Slave2 uses site2_smtpxxx.foo.bar, this will be transmitted to the > master, and there is an unique parts as identifier. > > Also has the advantage, that you do not need to buy extra firewall, > because all data is coming from the internal side of the network. > > The extra box also is needed badly to offload some work from the master. > > HTH > Olaf > > -- > Olaf Hoyer ohoyer at gaff.hhhr.ision.net > Fuerchterliche Erlebniss geben zu raten, > ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. > (Nietzsche, Jenseits von Gut und Boese) > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lars at perseus.dk Sat Aug 2 00:14:18 2003 From: lars at perseus.dk (Lars L. Christensen) Date: Sat, 02 Aug 2003 00:14:18 +0200 Subject: Nagios v. 1.1: NTP return error code 127 Message-ID: <5.2.1.1.0.20030802000714.00bcde90@wheresmymailserver.com> Hello fellow Nagios users... Can anyone explain the following error message for me? "Warning: Return code of 127 for check of service 'NTP' on host 'hostname' was out of bounds. Make sure the plugin you're trying to run actually exists." The plugin is installed and working properly when used from commandline, but not when called from Nagios. Hope anyone can help me... Sincerely Lars Christensen ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From swhitney at journyx.com Sat Aug 2 00:30:18 2003 From: swhitney at journyx.com (Scott Whitney) Date: Fri, 1 Aug 2003 17:30:18 -0500 Subject: Nagios v. 1.1: NTP return error code 127 References: <5.2.1.1.0.20030802000714.00bcde90@wheresmymailserver.com> Message-ID: <012301c3587c$7d55a660$aa64a8c0@journyx2000.int.journyx.com> Lars, Had the same problem several times myself. To make sure that the plugin is operating properly change the line in your checkcommands.cfg to: command_line /bin/echo "$USER1$/check_ntp" > /tmp/debug.txt force the service check and then check the contents of /tmp/debug.txt. If it's not check_ntp, substitute whatever it is. Cheers! ----- Original Message ----- From: "Lars L. Christensen" To: Sent: Friday, August 01, 2003 5:14 PM Subject: [Nagios-users] Nagios v. 1.1: NTP return error code 127 Hello fellow Nagios users... Can anyone explain the following error message for me? "Warning: Return code of 127 for check of service 'NTP' on host 'hostname' was out of bounds. Make sure the plugin you're trying to run actually exists." The plugin is installed and working properly when used from commandline, but not when called from Nagios. Hope anyone can help me... Sincerely Lars Christensen ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lars at perseus.dk Sat Aug 2 00:45:03 2003 From: lars at perseus.dk (Lars L. Christensen) Date: Sat, 02 Aug 2003 00:45:03 +0200 Subject: Nagios v. 1.1: NTP return error code 127 In-Reply-To: <012301c3587c$7d55a660$aa64a8c0@journyx2000.int.journyx.com > References: <5.2.1.1.0.20030802000714.00bcde90@wheresmymailserver.com> Message-ID: <5.2.1.1.0.20030802004338.025b1008@mail.perseus.dk> CRAP!!! found a bug i my definition of the command... Grrr... But thank's for the help... Now it's working fine :-) Sincerely Lars Christensen At 00:30 02-08-2003, Scott Whitney wrote: >Lars, >Had the same problem several times myself. > >To make sure that the plugin is operating properly change the line in your >checkcommands.cfg to: > > command_line /bin/echo "$USER1$/check_ntp" > /tmp/debug.txt > >force the service check and then check the contents of /tmp/debug.txt. If >it's not check_ntp, substitute whatever it is. > >Cheers! > >----- Original Message ----- >From: "Lars L. Christensen" >To: >Sent: Friday, August 01, 2003 5:14 PM >Subject: [Nagios-users] Nagios v. 1.1: NTP return error code 127 > > > >Hello fellow Nagios users... > >Can anyone explain the following error message for me? > >"Warning: Return code of 127 for check of service 'NTP' on host 'hostname' >was out of bounds. Make sure the plugin you're trying to run actually >exists." > >The plugin is installed and working properly when used from commandline, >but not when called from Nagios. > >Hope anyone can help me... > >Sincerely >Lars Christensen > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting >any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Sat Aug 2 08:13:55 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 02 Aug 2003 02:13:55 -0400 Subject: Nagios 2.0 Event Broker and DB Support In-Reply-To: Your message of "Fri, 01 Aug 2003 00:02:03 CDT." <3F29ADFB.3157.1AE3E5D@localhost> References: <3F29ADFB.3157.1AE3E5D@localhost> Message-ID: <200308020613.h726DtqX028772@mx1.cs.umb.edu> In message <3F29ADFB.3157.1AE3E5D at localhost>, "Ethan Galstad" writes: [...] >developed modules itself. Doing this would give the modules the >benefit of having access to internal Nagios structures and functions >(which is good and bad - see below). > >Here's an overview of how it would work: > >- Nagios would load user-specified modules (object files) at startup >using the dlopen() function. > >- Nagios would call the module's initialization function (the name of >which would be standardized). > >- The module's init function would register for various types of >Nagios event data (service checks, host checks, log entries, event >handlers, etc.) using callback functions. > >- When Nagios encounters an event for which a module has registered a >callback function, Nagios would call that module's function and pass >it data relevant to the event. The module is then free to do >whatever it wants to that event data. An example might be to log >service checks, performance data and log entries to MySQL, etc. > >- Before shutting down, Nagios calls the module's de-init function. >This allows the module to clean up any resources it may be using. > > >Seems good in theory. Heck, might even work okay. However, there's >a big problem I have with it. If I implement things this way, the >user-developed modules would have access to internal Nagios data >structures and functions. This is not necessarily bad, as ill- >behaved modules would not be adopted by too many people. :-) True, but look at the issues with mod_perl and the stability of apache. I would prefer and external application simply so that my core system will remain up. Now having said that, I prefer it to be built in because it means I don't have to worry about monitoring/restarting the broker if it fails. >However, modules that might be compiled and working fine >for Nagios 2.0 might segfault under future versions if the internal >data structures change. Here's an example of what I mean: [...] >Off the top of my head, I could overcome this by requiring that the >user modules indicate (by calling a function) what version of Nagios >they are compiled for. If they report anything but the current >version (or do not report at all), unload them so they can do no >harm. You can encapsulate the internal data structures in a class and provide access functions for the class. This hides the internal structure, but still makes it available to the modules. Define a version for the API (rather than for nagios), and have the module register for a particular version of the API. Number your API versions so that a module written for 1.2 of the API will work with API 1.7, but not work with 1.0, then De-register the 1.2 written module if it runs under a nagios with a 1.0 API, or De-register if the 1.2 tries to run in a version of nagios that uses version 2.x of the API. [...] >PS: I had originally planned on exposing almost all of Nagios' data >and events to the broker, but I may have to scale that down if I plan >on getting 2.0 out this century. Perhaps just support for: > > - Service and host checks > - Event handlers > - Log data > >This would allow the development of modules to log check information, >performance data, and log file data to a DB (or whatever). It would also be nice to allow the modules to put themselves into the core/plugin interface as well. This is another reason to allow the objects to be dynamically loaded as they can be loaded into different parts of the data stream. I am thinking specifically of a module that can divert/forward the plugin output to SEC as has been discussed on the list. However this module would need to be able to tell the core to not change the current state of the service etc. By defining an API you could choose to publish/not publish this functionality, and the functionality wouldn't change in the face of internal changes to data structures etc, just the implementation if this API function would change. This does mean a richer API would need to be made available, and that means more work for you, but less work for the module authors, and less chance of breakage for nagios. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From rouilj at cs.umb.edu Sat Aug 2 09:12:41 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Sat, 02 Aug 2003 03:12:41 -0400 Subject: Feature Req: Sticky and fine grained service definition Message-ID: <200308020712.h727CfqX000375@mx1.cs.umb.edu> On Fri, 01 Aug 2003 09:48:16 +0100, Rob Fielding said: > Whereas you can set-up checks which are essentially on or off (or > good or bad) I'd like to be able to check on if A happens, then B > must happen an some time period later - and if B doesn't happen we > get a WARNING going up to ALERT. I do exactly this, with the exception that the ALERT occurs on a separate service from either service A or B. I use SEC (simple event correlator) to submit passive commands to nagios. Search for SEC in the archives of nagios-users and nagios-develop for a description of using SEC with passive services. You don't need to apply any patches to nagios for SEC and nagios with passive services. > What I have is a suite of scripts which run throughout the day and I > want to check they run ok, and don't bomb out or cause trapable > error conditions. There could be an infinite number of these scripts > and they all run multiple times a day - some for seconds, some for > hours. All scripts have some common features as they are written > within the same framework but all can be uniquely identifiable. I created a single service for my scripts to report to. Then the reports are sent to sec first for correlation, then forwarded to nagios if the correlation rule requires a report. > What I'm thinking is submit a passive command via NSCA at script > start and a passive command at script end. If the second event > doesn't arrive within X period, we trigger an active check which > could attempt to determin if the script is still running or not via > NRPE and start raising warnings. That would work, but you would want the NSCA to forward to sec. I use ssh with a captive public key and a perl script rather than NSCA to submit passive checks from tools like tkwatcher, or other self written scripts. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmahe at jemspartners.com Sat Aug 2 14:08:36 2003 From: fmahe at jemspartners.com (Franck MAHE) Date: Sat, 2 Aug 2003 14:08:36 +0200 Subject: Nagios 1.1 and statusmap.cgi problem In-Reply-To: References: Message-ID: <000001c358ee$cdae2a70$2c00000a@SHADOW> In fact, the problem was the GD Library. After recompile it with the good libpng, trends, statusmap and histogram works fine. Thanks for your clue. Franck -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tielman De Villiers Sent: Friday, August 01, 2003 11:14 AM To: 'Franck MAHE' Cc: nagios-users at lists.sourceforge.net Subject: RE: RE : [Nagios-users] Nagios 1.1 and statusmap.cgi problem That's what I suspected. One hint though :: I struggled quite a bit compiling with libraries in 'non-standard' places, and /usr/local/lib could be one of these places (I installed from /home/user) ... the problem was that the cgi's run fine from the command line, but not when called by apache (as is the case with you ), so this solved the problem: first export LD_RUN_PATH=/usr/local/lib ### or wherever your custom libraries are installed and then run configure make all ++ make install Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com > -----Original Message----- > From: Franck MAHE [mailto:fmahe at jemspartners.com] > Sent: 01 August 2003 10:04 > To: 'Tielman De Villiers' > Cc: nagios-users at lists.sourceforge.net > Subject: RE : [Nagios-users] Nagios 1.1 and statusmap.cgi problem > > > Well, > > Here are the results > > libpng warning: Application was compiled with png.h from libpng-1.0.3 > libpng warning: Application is running with png.c from libpng-1.2.2 > gd-png: fatal libpng error: Incompatible libpng version in > application and > library > [Fri Aug 1 11:01:55 2003] [error] [client 10.0.0.44] Premature end of > script headers: /usr/local/nagios/sbin/statusmap.cgi > > So I need to recompile statusmap.cgi and trends.cgi with the > correct version > of libpng > > Thanks > > Franck > > > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Tielman De > Villiers > Sent: Friday, August 01, 2003 10:37 AM > To: 'Franck MAHE' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Nagios 1.1 and statusmap.cgi problem > > > Check the apache log -- what's the error there?? > > Tielman de Villiers > Back Office Developer > Address: 4 Buckingham Gate, London SW1E 6JP > Tel: +44(0)20.7802.4393 > Fax: +44(0)20.7802.9302 > email: tvilliers at lastminute.com > > do something lastminute.com > > > > -----Original Message----- > > From: Franck MAHE [mailto:fmahe at jemspartners.com] > > Sent: 01 August 2003 08:49 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios 1.1 and statusmap.cgi problem > > > > > > I've a new installation of nagios 1.1 with mysql support on a linux > > box with kernel 2.2.19. > > > > I've a problem with the building of images when I tried to access to > > Status Map. It's the same with Trends. The image appears like a > > broken object. > > Strange > > > > > > Here is the information of static libraries link to statusmap.cgi > > > > libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 > > (0x40015000) > > libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) > > libm.so.6 => /lib/libm.so.6 (0x40065000) > > libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) > > libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) > > libc.so.6 => /lib/libc.so.6 (0x400e0000) > > libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) > > libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) > > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) > > libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > > > For trends.cgi > > > > libmysqlclient.so.6 => /usr/lib/libmysqlclient.so.6 > > (0x40015000) > > libgd.so.2 => /usr/local/lib/libgd.so.2 (0x40029000) > > libm.so.6 => /lib/libm.so.6 (0x40065000) > > libpng12.so.0 => /usr/local/lib/libpng12.so.0 (0x40083000) > > libjpeg.so.62 => /usr/local/lib/libjpeg.so.62 (0x400c1000) > > libc.so.6 => /lib/libc.so.6 (0x400e0000) > > libnsl.so.1 => /lib/libnsl.so.1 (0x401db000) > > libz.so.1 => /usr/lib/libz.so.1 (0x401f1000) > > libcrypt.so.1 => /lib/libcrypt.so.1 (0x40201000) > > libpng.so.2 => /usr/lib/libpng.so.2 (0x4022e000) > > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > > > > > Have a clue for me? > > > > Thanks > > > > Franck > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > > _072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > ______________________________________________________________ > > __________ > > This e-mail has been scanned for all viruses by Star Internet. The > > service is powered by MessageLabs. For more information on > a proactive > > anti-virus service working around the clock, around the > globe, visit: > > http://www.star.net.uk > > ______________________________________________________________ > > __________ > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data > Reports, E-commerce, Portals, and Forums are available now. > Download today > and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 roth.lu Sat Aug 2 15:09:06 2003 From: lists at roth.lu (J.M.Roth) Date: Sat, 02 Aug 2003 15:09:06 +0200 Subject: no access although authorized Message-ID: <3F2BB7F2.3080803@roth.lu> Hi, I've configured access via HTTP authorization and all authorized_... properties are set to * However I don't seem to be allowed to send commands via the command CGI. I've noticed that the form and Commit/Reset says at the top: Logged in as admin. The next screen (the one with the error message) just says: Logged in as ? Why did it forget who is logged in? Any idea? Thanks, -jm ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy+nagios at undergrid.net Sat Aug 2 21:25:53 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Sat, 2 Aug 2003 12:25:53 -0700 Subject: no access although authorized In-Reply-To: <3F2BB7F2.3080803@roth.lu> References: <3F2BB7F2.3080803@roth.lu> Message-ID: <20030802192553.GA32660@UnderGrid.net> Check the permissions on the cgi.cfg, hosts.cfg and htpasswd.users and make sure that the web server has permission to read them... In my case that means chmod 0640 and chown nagios:www-data... Regards, Jeremy On Sat, Aug 02, 2003 at 03:09:06PM +0200, J.M.Roth wrote: > Hi, > I've configured access via HTTP authorization and all authorized_... > properties are set to * > However I don't seem to be allowed to send commands via the command CGI. > I've noticed that the form and Commit/Reset says at the top: Logged in > as admin. > The next screen (the one with the error message) just says: Logged in as ? > Why did it forget who is logged in? > Any idea? Thanks, > -jm > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sat Aug 2 23:02:46 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sun, 3 Aug 2003 05:02:46 +0800 Subject: acknowledging problems Message-ID: <200308030502.50851.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I realize that one of my service PING does not allow me to ack the problem on the web interface, theres no "add problem acknowledgement" for me to click. But, this problem does not exist in the rest of the services. (using Nagios 1.1) Anyone knows why? Cheers, Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/LCb6NgvTa7Hj2AURAqfuAKC7niax2TNNk4Nq+hdcN+1l/8rexQCghRSu paWyGbQYsSe3Rky9xhoJkb8= =pg1n -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Sat Aug 2 23:20:03 2003 From: mpowell at ena.com (Marc Powell) Date: Sat, 2 Aug 2003 16:20:03 -0500 Subject: acknowledging problems Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D484E@mismail.ena.com> Does the service ever reach a hard CRITICAL state i.e. 5 of 5 checks or whatever your max check attempts is set to? The service must be in a hard state to be able to acknowledge it. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Jasmine To: nagios-users at lists.sourceforge.net Sent: Sat Aug 02 16:02:46 2003 Subject: [Nagios-users] acknowledging problems -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi I realize that one of my service PING does not allow me to ack the problem on the web interface, theres no "add problem acknowledgement" for me to click. But, this problem does not exist in the rest of the services. (using Nagios 1.1) Anyone knows why? Cheers, Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/LCb6NgvTa7Hj2AURAqfuAKC7niax2TNNk4Nq+hdcN+1l/8rexQCghRSu paWyGbQYsSe3Rky9xhoJkb8= =pg1n -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From Douglas.Ohlhorst at noaa.gov Sun Aug 3 08:05:00 2003 From: Douglas.Ohlhorst at noaa.gov (Douglas Ohlhorst) Date: Sun, 03 Aug 2003 06:05:00 +0000 Subject: Monitoring NFS Mounts In-Reply-To: References: Message-ID: <3F2CA60C.3090007@noaa.gov> Benny, Thank you for the information, your solutions works great, thanks again... -= Douglas Ohlhorst > > Hello Douglas, > > I check automounts (basically the same thing as you want to do) via > check_by_ssh. I set up a test to use check_by_ssh to basically cat a > file in the nagios user's home directory (which is automounted on one > of our networks). This file simply has the string "Automount OK" in > it. > > If the test is successful, "Automount OK" is displayed. If it isn't, > it'll show the error that check_by_ssh returns. > > Benny ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 blackbird.net.au Sun Aug 3 23:38:31 2003 From: lists at blackbird.net.au (Dale Clapperton (lists)) Date: Mon, 4 Aug 2003 07:38:31 +1000 Subject: Bug in check_dns References: Message-ID: <003001c35a07$9958a420$9369083d@blackbird.net.au> > Which version of check_dns are you running? Which OS? check_dns (nagios-plugins 1.3.0) 1.8 FreeBSD 4.8-STABLE > Can you run it with -v flag for extra debug info. -bash-2.05b$ /usr/local/libexec/nagios/check_dns -v -H www.intel.com -s [server] /usr/sbin/nslookup www.intel.com [server] Server: [server] Address: [IP address of server, not www.intel.com] DNS ok - 0 seconds response time, Address(es) is/are (null) > There were some bug fixes made to release 1.3.0 which are in the 1.3.1 > release and in CVS HEAD. I've downloaded 1.3.1 and its fixed in there, thanks. Dale ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Juliet_Tree at cotyinc.com Mon Aug 4 02:01:35 2003 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Mon, 4 Aug 2003 01:01:35 +0100 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 01/08/2003 and will not return until 05/08/2003. Please contact Paul Seal on 2261 for any urgent issues. Thankyou Thanks. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gisccs at nus.edu.sg Mon Aug 4 03:04:29 2003 From: gisccs at nus.edu.sg (Chan Chee Seng) Date: Mon, 4 Aug 2003 09:04:29 +0800 Subject: Apan display graphs with no data Message-ID: Greetings, I finally made apan to display graphs for server load! Now it graphs real data. The problem is with check_unix_load script. It uses the bourne shell (#!/bin/sh) instead of bash shell (#!/bin/bash) in order top source apan.defs. That is why there was no data output from check_unix_load. In apan.defs, it defines an array variable which was not supported in bourne shell. The strange thing is generate.cgi also uses the bourne shell but it works fine. Hm... Hope this will help anyone encountering the same problem. Regards, Chan Chee Seng gisccs at nus.edu.sg -----Original Message----- From: Chan Chee Seng Sent: Wednesday, July 30, 2003 7:51 PM To: 'nagios-users at lists.sourceforge.net' Subject: Apan display graphs with no data Greetings, I have configured apan with nagios to graph server load and disk usage. However the graphs for Server load contains no data, that is, a flat line. The server name is mon My apan.cfg looks like this: mon;Server-load;/usr/local/nagios/rrd/mon_server_load.rrd;CPULOAD|SWAPUS E;CPU-Load:LINE2 SWAP-Used:LINE2;Used resources;load/%; The apan.debug contains this: Wed Jul 30 19:37:55 SGT 2003 Args: load mon Server-load 1059565075 70 90 Inserting 'CPU-Load:SWAP-Used' , '1059565075::' into /usr/local/nagios/rrd/mon_server_load.rrd The apancgi.debug contains this: /usr/local/rrdtool/bin/rrdtool graph - -s -31557600 -a PNG -v load/% DEF:var0=/usr/local/nagios/rrd/mon_server_load.rrd:CPU-Load:AVERAGE LINE2:var0#ff0000:CPU-Load: DEF:var1=/usr/local/nagios/rrd/mon_server_load.rrd:SWAP-Used:AVERAGE LINE2:var1#00ff00:SWAP-Used: Please let me know if any additional information is needed. Thanks for any help rendered. Regards, Chan Chee Seng gisccs at nus.edu.sg ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philippe.CANU at cg76.fr Mon Aug 4 09:22:50 2003 From: Philippe.CANU at cg76.fr (Canu Philippe) Date: Mon, 4 Aug 2003 09:22:50 +0200 Subject: (no subject) Message-ID: subscribe -------------- next part -------------- An HTML attachment was scrubbed... URL: From andre.torke at gildemeister.com Mon Aug 4 12:51:39 2003 From: andre.torke at gildemeister.com (Andre Torke) Date: Mon, 4 Aug 2003 10:51:39 +0000 (UTC) Subject: many processes Message-ID: Hallo ! If i run nagios i see many processes !! /usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg There are 20-30 processes. Is this ok?? Andre ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Mon Aug 4 13:34:56 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Mon, 04 Aug 2003 13:34:56 +0200 Subject: many processes In-Reply-To: References: Message-ID: <3F2E44E0.4040602@dhl.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=123 Andre Torke wrote: >Hallo ! > >If i run nagios i see many processes !! > >/usr/local/nagios/bin/nagios -d /usr/local/nagios/etc/nagios.cfg > >There are 20-30 processes. Is this ok?? > > >Andre > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott.zawalski at web.de Mon Aug 4 14:45:40 2003 From: scott.zawalski at web.de (Scott Zawalski) Date: Mon, 4 Aug 2003 14:45:40 +0200 Subject: Hosts recently added are staying gray for a long time. Message-ID: <200308041245.h74CjeQ10910@mailgate5.cinetic.de> After I add new hosts and give them a ping service in the Status map they are shown as gray instead of green. Also when I look under "Status Overview" I do not see any of the systems that are shown as gray on my status map. How can I speed this process up or am I forgetting to add these hosts somewhere? When I say I added hosts I mean to the following files: hostgroups.cfg hosts.cfg services.cfg for a check_ping service Thank You, Scott ______________________________________________________________________________ Spam-Filter fuer alle - bester Spam-Schutz laut ComputerBild 15-03 WEB.DE FreeMail - Deutschlands beste E-Mail - http://s.web.de/?mc=021120 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From otmar at e-commercepark.com Mon Aug 4 16:35:53 2003 From: otmar at e-commercepark.com (Otmar Conradus) Date: Mon, 4 Aug 2003 10:35:53 -0400 Subject: Nagios Plugin CHECK_MRTGTRAF generates NO OUTPUT In-Reply-To: References: Message-ID: Dear all, Since I have upgraded to Nagios 1.1 I have noticed check_mrtgtraf generates no output. I am using the same configuration as before, nothing changed. I had to put back the nagios-plugins-1.3.0-beta2 version to get any result. BTW my os is FreeBSD 4.8 (nagios was installed from the ports) Anybody got the same error? Also I wish there was an option for the output to be generated in KBITS/s instead of KBYTES/s. (without having to edit the source myself) Thanks for the replies... Best Regards, Otmar Conradus ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ranjansimon at hotmail.com Mon Aug 4 16:54:53 2003 From: ranjansimon at hotmail.com (simon) Date: Mon, 4 Aug 2003 20:24:53 +0530 Subject: (no subject) Message-ID: hi, i am new to this list i am facing some problem in starting nagios i get the following message Checking service dependencies... Error: Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere! Error: Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere ........ about 12 errors are generated. kindly do help ranjansimon -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Mon Aug 4 17:24:12 2003 From: m.borsani at it.net (Marco Borsani) Date: Mon, 4 Aug 2003 17:24:12 +0200 Subject: running ./configure Message-ID: Hi! I installed nagios on HP-UX 11.00 with no problem on "system A" Now, I am tring to install Nagios on "system B" , same O.S., but during the ./configure command I receive this error message: ............................................ creating base/nagios.h base/nagios.h is unchanged creating cgi/cgiutils.h cgi/cgiutils.h is unchanged syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. Creating sample config files in sample-config/ ... syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" Execution of subst aborted due to compilation errors. ................................. Do you know why ? Many thanks Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From earle_hager at ladotek.com Mon Aug 4 18:19:48 2003 From: earle_hager at ladotek.com (Earle Hager) Date: Mon, 4 Aug 2003 11:19:48 -0500 Subject: Nagios / Exchange Message-ID: <1EA215E8DA7A704FBE8C5F1F39010F6C10BEFD@WASHINGTON.companybuilder.com> What services are best to monitor on an Exchange server with Nagios? Sincerely, Earle Hager Account Manager ______________________________________ 11675 Jollyville Road Austin, TX 78759 512-431-3940 Mobile 512-249-2000 Office 512-249-2999 FAX -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: ladoteklogo.gif Type: image/gif Size: 6652 bytes Desc: ladoteklogo.gif URL: From benny at bennyvision.com Mon Aug 4 18:40:33 2003 From: benny at bennyvision.com (C. Bensend) Date: Mon, 4 Aug 2003 11:40:33 -0500 (CDT) Subject: running ./configure In-Reply-To: References: Message-ID: <1429.134.244.169.17.1060015233.squirrel@webmail.stinkweasel.net> > ............................................ > creating base/nagios.h > base/nagios.h is unchanged > creating cgi/cgiutils.h > cgi/cgiutils.h is unchanged > syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" > syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" > Execution of subst aborted due to compilation errors. > syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" > syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" > Execution of subst aborted due to compilation errors. > > Creating sample config files in sample-config/ ... > syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" > syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" > Execution of subst aborted due to compilation errors. > ................................. Hi Marco, I would check your perl versions, as well as your $PATH if you have multiple perl verions installed. I bet one of them is different. Benny -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrism at geo-synthetics.com Mon Aug 4 19:27:19 2003 From: chrism at geo-synthetics.com (Chris Merkel) Date: Mon, 4 Aug 2003 12:27:19 -0500 Subject: Nagios / Exchange Message-ID: The ones that you want to know if they're up or down. ;-) Seriously though, I use the Nagios Agent to watch the status of all of my Exchange services, along with using check_imap, check_http, check_pop and check_smtp to check for specific results of those services. I do this double-checking because sometimes a service may be running, but not responding to client requests. Chris Merkel -----Original Message----- From: Earle Hager [mailto:earle_hager at ladotek.com] Sent: Monday, August 04, 2003 11:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios / Exchange What services are best to monitor on an Exchange server with Nagios? Sincerely, Earle Hager Account Manager ______________________________________ 11675 Jollyville Road Austin, TX 78759 512-431-3940 Mobile 512-249-2000 Office 512-249-2999 FAX ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.irvine at kingcountyjournal.com Mon Aug 4 19:54:05 2003 From: bryan.irvine at kingcountyjournal.com (Bryan Irvine) Date: 04 Aug 2003 10:54:05 -0700 Subject: Nagios / Exchange In-Reply-To: <1EA215E8DA7A704FBE8C5F1F39010F6C10BEFD@WASHINGTON.companybuilder.com> References: <1EA215E8DA7A704FBE8C5F1F39010F6C10BEFD@WASHINGTON.companybuilder.com> Message-ID: <1060019644.1955.13.camel@elvis> just nmap it to see what ports are open, and pick the ones you think you need to monitor. --Bryan On Mon, 2003-08-04 at 09:19, Earle Hager wrote: > What services are best to monitor on an Exchange server with Nagios? > > Sincerely, > > > Earle Hager > Account Manager > ______________________________________ > > > 11675 Jollyville Road > Austin, TX 78759 > 512-431-3940 Mobile > 512-249-2000 Office > 512-249-2999 FAX > > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrism at geo-synthetics.com Mon Aug 4 20:25:10 2003 From: chrism at geo-synthetics.com (Chris Merkel) Date: Mon, 4 Aug 2003 13:25:10 -0500 Subject: Nagios / Exchange Message-ID: Well, I haven't gotten into the SNMP side of Nagios monitoring, but if I were you, I'd check into the check_snmp plugin. Personally, I'd monitor the amount of items in the MTA queues. I don't know the OIDs off the top of my head, but I'm sure you can find it online, or, if anyone on-list is using Nagios + Exchange + SMNP, perhaps they have some suggestions. (Replying to list because I'm curious too.) - Chris > -----Original Message----- > From: Earle Hager [mailto:earle_hager at ladotek.com] > Sent: Monday, August 04, 2003 12:53 PM > To: Chris Merkel > Subject: RE: [Nagios-users] Nagios / Exchange > > > Doh! > > I was also interested in performance monitoring items to > watch, not just the services being up or down. > > Any suggestions? > > Thanks > > Earle > > -----Original Message----- > From: Chris Merkel [mailto:chrism at geo-synthetics.com] > Sent: Monday, August 04, 2003 12:27 PM > To: Earle Hager > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios / Exchange > > > The ones that you want to know if they're up or down. ;-) > > Seriously though, I use the Nagios Agent to watch the status > of all of my Exchange services, along with using check_imap, > check_http, check_pop and check_smtp to check for specific > results of those services. I do this double-checking because > sometimes a service may be running, but not responding to > client requests. > > Chris Merkel > > > -----Original Message----- > From: Earle Hager [mailto:earle_hager at ladotek.com] > Sent: Monday, August 04, 2003 11:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios / Exchange > > > What services are best to monitor on an Exchange server with Nagios? > > Sincerely, > > > Earle Hager > Account Manager > ______________________________________ > > > 11675 Jollyville Road > Austin, TX 78759 > 512-431-3940 Mobile > 512-249-2000 Office > 512-249-2999 FAX > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phasenjager at fzacpa.com Mon Aug 4 20:31:52 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Mon, 04 Aug 2003 13:31:52 -0500 Subject: Checking Time Synchronization on Netware Message-ID: Does anyone know of a way to check time synchronization status on a Netware 6 server? Patrick Hasenjager Technical Support Specialist Frankel, Zacharia, Arnold, Nissen, Stamp & Reinsch, LLC Main: (402) 496-9100 Desk: (402) 963-4340 Fax: (402) 496-1024 phasenjager at fzacpa.com ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joseph.richardson at teradyne.com Mon Aug 4 20:39:30 2003 From: joseph.richardson at teradyne.com (joseph.richardson at teradyne.com) Date: Mon, 4 Aug 2003 14:39:30 -0400 Subject: NRPE check_swap mystery Message-ID: Can anyone answer this question? I have a check_nrpe process that checks a check_swap process on a remote host. The check_swap process never returns any value other than "Swap ok: Swap:". Even when I force the values to give a critical error, still doesn't return any other value. A command line check of the binary returns the proper values for swap usage.. I have copied binaries from hosts that exhibit the same behavior on this host. Host: Solaris 8 NRPE v2b4 Thanks in advance Joseph Richardson EIT Security Engineer Teradyne Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Farcon at web.de Mon Aug 4 18:05:10 2003 From: Farcon at web.de (Frank Langanke) Date: Mon, 04 Aug 2003 18:05:10 +0200 Subject: Howto check_hpjd Message-ID: Hello. I'd like to monitor all my hp-printer's with this check (status, toner). However, I can't find any documentation, the '-h' Option does not supply enough information to me to understand the syntax. Maybe anyone can point me to a Howto or some else documentation ? Thanks, Frank. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Aug 5 00:18:26 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Mon, 4 Aug 2003 17:18:26 -0500 Subject: NRPE check_swap mystery Message-ID: On the remote host, please cut and paste the invocation and the output from the check_swap command. Also paste the definition that you're using in nrpe.cfg. On the Nagios host, please cut and paste the invocation and the output from the check_nrpe command. jc -----Original Message----- From: joseph.richardson at teradyne.com [mailto:joseph.richardson at teradyne.com] Sent: Monday, August 04, 2003 1:40 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE check_swap mystery Can anyone answer this question? I have a check_nrpe process that checks a check_swap process on a remote host. The check_swap process never returns any value other than "Swap ok: Swap:". Even when I force the values to give a critical error, still doesn't return any other value. A command line check of the binary returns the proper values for swap usage.. I have copied binaries from hosts that exhibit the same behavior on this host. Host: Solaris 8 NRPE v2b4 Thanks in advance Joseph Richardson EIT Security Engineer Teradyne Inc. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creator at mindcreations.com Tue Aug 5 02:08:54 2003 From: creator at mindcreations.com (Creator) Date: Tue, 5 Aug 2003 02:08:54 +0200 Subject: R: Nagios 2.0 Event Broker and DB Support In-Reply-To: <3F29ADFB.3157.1AE3E5D@localhost> References: <3F29ADFB.3157.1AE3E5D@localhost> Message-ID: <004601c35ae5$c2546fb0$7100a8c0@mindcreations.com> Hi Ethan, I've read up all replies that have been posted until now after your request for comments and I've found them interesting. Although they help a lot while taking the final decision, I would like to add a consideration to the "obsolescency" factor. My contribute is an idea to let modules to became less obsolete as new versions of nagios are released. The approach of versioning I think it is the only straight way you have to check for module compatibility... but is it really necessary to discard a module if you, for example, add new data without changing the meaning of the existing one? Take this example: service structure of v1.1 is N bytes long with M variables inside. In version v1.2 you add a variable (M+1) of 4 bytes (N+4) to the structure appending it after the last variable in the service structure. A daily scenario for a project like nagios, isn't it? :) Well, referring to what the others are saying, now you have to update the "structure" version, or the "API" version or simply the nagios version to make the check for modules compatibility. You have two paths to follow to check the compatibility of an old module: 1) Deny access to the new nagios structures 2) Try to accomodate the "older" module to make it feel comfortable using the new nagios version. The point 2 is not always easy or fatigueless to implement but it can save a lot of recompiling/upgrading issues to the nagios community (mainly for production sites). The great impact on modules during an upgrade would be reduced and it will give some time to system administrators to get the updated modules (which cannot be available at that moment). The urgency to have the last version installed may be very important (bug fixes, security holes, list your own motive, etc). The point 1 may be the only reply in case of major structure changes... but this is another story :( However, let's get back to the implementation details: I suggest a compatibility mode API that remaps API calls to old ones and casts new structures to old ones. Example ------- struct service **services; /* Global and already populated */ struct service_v11 /* old 1.1 structure */ { ... PREVIOUS VERSION VARS ... }; struct service /* new 1.2 structure */ { ... PREVIOUS VERSION VARS ... long created_by; /* NEW: Pointer to the contact who has added this service to the host */ }; // API Function example to retrieve service number N struct service *getService(unsigned long number) { if(MODULE_VER == 11) return (struct service_v11 *) services[number]; /* Cast the new structure to the old one */ else /* Here you can put more checks for older versions too, just decide the backward compatibility level you want to achieve return services[number]; /* The module is aligned with our version, return the actual structure */ } I'm sure this is a too simplistic example to cover all cases but is only to explain the bare concept. In addition to this, if the module has to write back the structure to nagios memory I suggest to use an "Update" callback function rather than letting the user write the updated data directly to nagios memory possibly messing up things. You can do sanity checks and even remap old structures with default values for variables not directly handled by older structures, using the above technique (ie. putService(); ). This problem reminds me the old problem to copy data to clients or giving them direct access. It is an implementation choice that, as always, has pros and cons. If you provide an access function to data you have to return copied data to the modules and put it back with another access function. This is slow but more robust. If you provide direct access to data structures it will be fast, but a minimal error can make nagios crash in a very bad way. Of course the majority of modules will only read data, but who knows... :) Any way the choice of the "registration" method it is up to you (ie. what the module has to do to inform nagios about the version he handles): you already have many suggestions for that on the list :) A different story is calling a function who has changed his behaviour. To handle this an idea would be to bind the callback functions to backward ones during the module registration process. Declare an array of pointers to generic callback functions and assign them to current callback functions. Then, on module registration, overwrite each pointer with the correct function regarding the current module version. This way you can even only remap a single function if you have made a minor change. Furthermore if you intend to implement backward compatibility even if you add or delete some arguments for callback functions, you can use the variable arguments list mechanism of C in place of the classic monolithic prototype declaration... but I admit this is a little tricky to design and to use :) I know, I'm a fanatic of void *void_func( void *, ... ) functions :] Hope you find this of help or at least of inspiration. Bye, ------------ Stefano Coletta http://www.mindcreations.com > -----Messaggio originale----- > Da: nagios-devel-admin at lists.sourceforge.net > [mailto:nagios-devel-admin at lists.sourceforge.net] Per conto > di Ethan Galstad > Inviato: venerd? 1 agosto 2003 7.02 > A: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Oggetto: [Nagios-devel] Nagios 2.0 Event Broker and DB Support > > > Sorry for the crosspost, but the nagios-devel list is usually pretty > quiet when I request comments about new features I'm implementing. > This one is bigger than most, so I wanted to reach more people. This > is a bit long, so bear with me... > > I am almost complete with coding for 2.0. Two big things remain: the > event broker and DB support (which is currently broken). > > My original intent was to develop the event broker as a separate > application, tying it to Nagios with a unix domain socket. Nagios > would send the event broker information about the everything that was > going on (service checks, downtime, flapping, log entries, etc.). > The event broker would be able to load user-developed modules (object > files) at runtime and pass various types of Nagios data to them for > processing. This is all fine and good. I have a working prototype > of the event broker that does just this and seems to work okay. I > got to thinking that it was rather stupid to develop a separate > application for this when I could simply have Nagios load > user- developed modules itself. Doing this would give the > modules the > benefit of having access to internal Nagios structures and functions > (which is good and bad - see below). > > Here's an overview of how it would work: > > - Nagios would load user-specified modules (object files) at startup > using the dlopen() function. > > - Nagios would call the module's initialization function (the name of > which would be standardized). > > - The module's init function would register for various types of > Nagios event data (service checks, host checks, log entries, event > handlers, etc.) using callback functions. > > - When Nagios encounters an event for which a module has registered a > callback function, Nagios would call that module's function and pass > it data relevant to the event. The module is then free to do > whatever it wants to that event data. An example might be to log > service checks, performance data and log entries to MySQL, etc. > > - Before shutting down, Nagios calls the module's de-init function. > This allows the module to clean up any resources it may be using. > > > Seems good in theory. Heck, might even work okay. However, there's > a big problem I have with it. If I implement things this way, the > user-developed modules would have access to internal Nagios data > structures and functions. This is not necessarily bad, as > ill- behaved modules would not be adopted by too many people. :-) > However, modules that might be compiled and working fine > for Nagios 2.0 might segfault under future versions if the internal > data structures change. Here's an example of what I mean: > > User module registers for Nagios service check data using its > mymod_handle_servicecheck() function, which has a prototype of: > > int mymod_handle_servicecheck(service *); > > The service struct is an internal Nagios structure definition which > changes between Nagios versions. If the user module is compiled for > use with Nagios 2.0 and it's definition of the service struct, it > will have problems if it is not recompiled for future versions of > Nagios. > > Off the top of my head, I could overcome this by requiring that the > user modules indicate (by calling a function) what version of Nagios > they are compiled for. If they report anything but the current > version (or do not report at all), unload them so they can do no > harm. > > I'm afraid I'm a bit over my head on how to handle this one. Some of > you developers out there must have experience with this type of > thing. If so, how did you handle it? What would you recommend? > Comments, suggestions, flames? Is there a better way to accomplish > this? Speak up now. > > What does this have to do with DB support, you ask? Well, if I > implement the event broker as I have proposed I will be yanking > native DB support out of Nagios completely. You can then write a > module to log to a DB if you want. :-) > > PS: I had originally planned on exposing almost all of Nagios' data > and events to the broker, but I may have to scale that down if I plan > on getting 2.0 out this century. Perhaps just support for: > > - Service and host checks > - Event handlers > - Log data > > This would allow the development of modules to log check information, > performance data, and log file data to a DB (or whatever). > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 From ashwin at comstocksys.com Tue Aug 5 03:55:41 2003 From: ashwin at comstocksys.com (Ashwin Kotian) Date: Mon, 4 Aug 2003 18:55:41 -0700 Subject: Temptrax plugin for Netsaint Message-ID: <003d01c35af4$acd2ebd0$ab01a8c0@ashwinvmware> I've just purchased the Sensatronics Digital temperature monitoring device & am able to run the following successfully from the command line: /usr/lib/netsaint/plugins/check_temptraxf -d /dev/ttyS0 -p 1 -w 68 -c 75 However in Netsaint version 0.0.7b8-2, if I add the same command in the service definition as follows: service[host]=Lab Temperature;0;24x7;3;5;1;linux-admins;120;24x7;1;1;1;;"/usr/lib/netsaint/plugins/check_temptraxf -d /dev/ttyS0 -w 68 -c 75" It fails with Netsaint logs reporting: Error: Unable to open /dev/ttyS0 for reading/writing!! What is the problem here ??? Please help... Thanks, Ashwin. -------------- next part -------------- An HTML attachment was scrubbed... URL: From RKlisowski at era.pl Tue Aug 5 06:39:27 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Tue, 5 Aug 2003 06:39:27 +0200 Subject: Check_http Message-ID: <20AF50E5F611F84993722DC135DF00BC1B163A@seth.corponet.era.pl> Hi! Has anybody any idea how to set up check_http to not return warning while it gets: HTTP WARNING: HTTP/1.1 404 Object Not Found? I just want to monitor while http is running on remote server not to monitor if content is available. R. - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Tue Aug 5 08:40:13 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Tue, 5 Aug 2003 08:40:13 +0200 Subject: Check_http Message-ID: <20AF50E5F611F84993722DC135DF00BC1B163C@seth.corponet.era.pl> > If you know that you will always get a 404 then you could use > > $USER1$/check_http -H $ARG1$ -e 404 Thanx a lot, Karl. ;-) This will ease monitoring IIS serwers with no nrpe on it. They authorize user in W2K domain so nagios for them looks like an intruder a they give 404. Thanx! R. - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asaf at ping.com.pk Mon Aug 4 20:51:26 2003 From: asaf at ping.com.pk (Asaf Maruf Ali) Date: Tue, 5 Aug 2003 01:51:26 +0700 Subject: Segmentation Fault Message-ID: <20030805015126.M68292@ping.com.pk> Hi. I am a newbie to Nagios. I downloaded the RPM's for Nagios 1.1 and plugins. The files install on my RH8.0 without a hitch. However, when running it in /usr/bin/nagios i get "segmentation fault" Any ideas? Asaf Maruf PING ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Aug 5 09:44:22 2003 From: m.borsani at it.net (Marco Borsani) Date: Tue, 5 Aug 2003 09:44:22 +0200 Subject: R: running ./configure In-Reply-To: <1429.134.244.169.17.1060015233.squirrel@webmail.stinkweasel.net> References: <1429.134.244.169.17.1060015233.squirrel@webmail.stinkweasel.net> Message-ID: Hi Benny, # swlist -l fileset | grep -i perl # perl 5.8.0 perl perl.perl-MAN perl.perl-RUN perl.perl-SHLIBS # whereis perl perl: /usr/local/bin/perl /usr/contrib/bin/perl # echo $PATH | grep -i perl /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/b in:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/ X11:/opt/hparray/bin:/opt/resmon/bin:/opt/ignite/bin:/opt/OV/bin/OpC:/opt/ne tworker/bin:/opt/OV/bin:/usr/sbin/diag/contrib:/opt/pred/bin:/opt/graphics/c ommon/bin:/sbin:/home/root:/usr/local/bin/:/opt/oracle/product/8.1.7/bin:/op t/OV/bin:/opt/OV/bin/OpC:/opt/OV/bin/OpC/install:/usr/contrib/bin/perl:/usr/ local/bin/perl Do you see anything wrong? Regards Marco ----------------------------- -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di C. Bensend Inviato: luned? 4 agosto 2003 18.41 A: nagios-users at lists.sourceforge.net Oggetto: Re: [Nagios-users] running ./configure > ............................................ > creating base/nagios.h > base/nagios.h is unchanged > creating cgi/cgiutils.h > cgi/cgiutils.h is unchanged > syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" > syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" > Execution of subst aborted due to compilation errors. > syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" > syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" > Execution of subst aborted due to compilation errors. > > Creating sample config files in sample-config/ ... > syntax error in file subst at line 3, next 2 tokens "my ${exec_prefix}" > syntax error in file subst at line 13, next 2 tokens "chomp $TEMP" > Execution of subst aborted due to compilation errors. > ................................. Hi Marco, I would check your perl versions, as well as your $PATH if you have multiple perl verions installed. I bet one of them is different. Benny -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ohoyer at gaff.hhhr.ision.net Tue Aug 5 10:05:33 2003 From: ohoyer at gaff.hhhr.ision.net (Olaf Hoyer) Date: Tue, 5 Aug 2003 10:05:33 +0200 (CEST) Subject: Temptrax plugin for Netsaint In-Reply-To: <003d01c35af4$acd2ebd0$ab01a8c0@ashwinvmware> References: <003d01c35af4$acd2ebd0$ab01a8c0@ashwinvmware> Message-ID: <20030805095839.N93141-100000@gaff.hhhr.ision.net> On Mon, 4 Aug 2003, Ashwin Kotian wrote: > I've just purchased the Sensatronics Digital temperature monitoring device & am able to run the following successfully from the command line: > > /usr/lib/netsaint/plugins/check_temptraxf -d /dev/ttyS0 -p 1 -w 68 -c 75 > > However in Netsaint version 0.0.7b8-2, if I add the same command in the service definition as follows: > > service[host]=Lab Temperature;0;24x7;3;5;1;linux-admins;120;24x7;1;1;1;;"/usr/lib/netsaint/plugins/check_temptraxf -d /dev/ttyS0 -w 68 -c 75" > > It fails with Netsaint logs reporting: Error: Unable to open /dev/ttyS0 for reading/writing!! > > What is the problem here ??? Please help... > Looks like permission problem. As which user do you run the manual test, and as which user does netsaint run? You could set the plugin setuid root (ok, somewhat bad idea securitywise) or give some additional permissions to the device. HTH Olaf -- Olaf Hoyer ohoyer at gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue Aug 5 11:02:36 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 5 Aug 2003 10:02:36 +0100 Subject: Checking Time Synchronization on Netware Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513853@jessica.herefordshire.gov.uk> Use check_nwstat and mrtgext (http://forge.novell.com/modules/xfmod/project/?mrtgext) on the server. define command { command_name check_nw_timesync command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v TSYNC } If you're checking NetWare servers, get the latest check_nwstat from Nagios Plugins CVS (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/plugin s/check_nwstat.c) Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com] > Sent: 04 August 2003 19:32 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Checking Time Synchronization on Netware > > > Does anyone know of a way to check time synchronization status on a > Netware 6 server? > > > > Patrick Hasenjager > Technical Support Specialist > Frankel, Zacharia, Arnold, Nissen, Stamp & Reinsch, LLC > > Main: (402) 496-9100 > Desk: (402) 963-4340 > Fax: (402) 496-1024 > phasenjager at fzacpa.com > ************************************************************** > ************ > > This e-mail and any attachments are intended only for the > addressee. If > you are not the addressee you should not disseminate, > distribute or copy > this e-mail or attachments. Please immediately notify the > sender if you > have received this e-mail by mistake and delete it from your system. > E-mail transmission cannot be guaranteed secure or error-free as > information could be intercepted, corrupted, lost, destroyed, > arrive late > or incomplete, or contain viruses. The sender does not > accept liability > for errors or omissions in the contents of this message which arise or > occur during transmission. We will provide a "hard-copy" > version of the > message and attachments upon request. > > Although reasonable precautions are taken to assure this > e-mail is virus > free, we do not accept responsibility for the loss or damage > arising from > the use of this e-mail or attachments. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ftang at cgg.com Tue Aug 5 13:23:25 2003 From: ftang at cgg.com (ftang at cgg.com) Date: Tue, 5 Aug 2003 12:23:25 +0100 Subject: Monitoring - 1000+ hosts and latency Message-ID: <110CF8C6E030D51185B500B0D079E38301C0DF32@plutonium.uk.cgg.com> All, Is there anyone currenly using nagios (any version) on over 1000 hosts (3000+ services)? I know that there have been emails about users experiencing extreme latencies, and you can imagine that I too am in the same crowd. I like nagios (used netsaint in my last company - only 15 hosts), but I don''t think that it is suitable for my current setup. I hope I am wrong. Thanks for your time. Fin Tang Senior Support Specialist -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gary.Blydenburgh at ftid.com Tue Aug 5 13:48:33 2003 From: Gary.Blydenburgh at ftid.com (Gary.Blydenburgh at ftid.com) Date: Tue, 5 Aug 2003 07:48:33 -0400 Subject: New Plugins Message-ID: I am still running Netsaint 0.7, will the new plugins work with it (ie plugins v1.3.1)? -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.stankaitis at datawire.net Tue Aug 5 14:37:03 2003 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Tue, 05 Aug 2003 08:37:03 -0400 Subject: Nagios Checks and Redhat Logwatch In-Reply-To: <5.1.0.14.0.20030814121149.00b51b00@pop.icnet.com.ve> References: <5.1.0.14.0.20030814121149.00b51b00@pop.icnet.com.ve> Message-ID: <3F2FA4EF.1060208@datawire.net> Hi all quick questions; I have been using Nagios for a while now and it's doing a great job, the only issue, and it's really just a minor annoyance is that when I use check_ssh on my servers it causes a ton of the following to be thrown to my logs, which then show up the next day in logwatch Connection from A.B.C.D port 53213 Enabling compatibility mode for protocol 2.0 Connection from A.B.C.D port 53346 Enabling compatibility mode for protocol 2.0 Connection from A.B.C.D port 53479 Enabling compatibility mode for protocol 2.0 Connection from A.B.C.D port 53609 as I said not a problem, but a pain in the butt none the less, with each active check throwing this into the daily logwatch it's really polluting the data, and I worry will cause a situation where legitimate information will be missed by human eye's that are so used to just skipping the SSHD section of the logwatch due to the pages and pages of the above. Has anyone got a solution to this? or do all the Nagios RH users out there just live with the problem?? if anyone has a patch for the SSHD Logwatch code that can tell it to ignore an IP (Basically get it to ignore the Nagios IP and not report any of the connections from it) I would appreciate it, or any other useful shove in the right direction towards fixing this. -- Chris Stankaitis ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Tue Aug 5 14:40:13 2003 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Tue, 05 Aug 2003 08:40:13 -0400 Subject: Temptrax plugin for Netsaint In-Reply-To: <003d01c35af4$acd2ebd0$ab01a8c0@ashwinvmware> References: <003d01c35af4$acd2ebd0$ab01a8c0@ashwinvmware> Message-ID: <3F2FA5AD.3050502@datawire.net> If I had to guess, when your running the command from CMD Line your probably root, or another user that isn't the same user that your running netsaint as, check the ownership and permissions for /dev/ttyS0 chances are you'll find that you need to give the user that Nagios is running as permissions to access the device. Chris Ashwin Kotian wrote: > I've just purchased the Sensatronics Digital temperature monitoring device & am able to run the following successfully from the command line: > > /usr/lib/netsaint/plugins/check_temptraxf -d /dev/ttyS0 -p 1 -w 68 -c 75 > > However in Netsaint version 0.0.7b8-2, if I add the same command in the service definition as follows: > > service[host]=Lab Temperature;0;24x7;3;5;1;linux-admins;120;24x7;1;1;1;;"/usr/lib/netsaint/plugins/check_temptraxf -d /dev/ttyS0 -w 68 -c 75" > > It fails with Netsaint logs reporting: Error: Unable to open /dev/ttyS0 for reading/writing!! > > What is the problem here ??? Please help... > > Thanks, > > Ashwin. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andres at hostito.com Tue Aug 5 15:39:44 2003 From: andres at hostito.com (Andres L. Figari) Date: Tue, 5 Aug 2003 06:39:44 -0700 Subject: check_real Message-ID: <020801c35b57$0c2bb820$6601a8c0@kara> Hi, I am trying to set up the check_real plugin. I only get warnings :( What would be the right way of setting this guy up? I tried this: [root at monitor root]# cd /var/www/nagios/libexec/ [root at monitor libexec]# ./check_real -H 123.123.123.123 -e 404 Invalid REAL response received from host (null) [root at monitor libexec]# ./check_real -H 123.123.123.12 RTSP/1.0 404 Not Found RTSP/1.0 404 Not Found [root at monitor libexec]# ./check_real -H 123.123.123.12 -e "RTSP/1.0 404 Not Found\n" Invalid REAL response received from host (null) [root at monitor libexec]# ./check_real -H 123.123.123.12 -e "RTSP/1.0 404 Not Found" Invalid REAL response received from host (null) [root at monitor libexec]# ./check_real -H 123.123.123.12 -e RTSP/1.0 RTSP/1.0 404 Not Found Check_real -h says this: Usage: check_real -H host [-e expect] [-p port] [-w warn] [-c crit] [-t timeout] [-v] I am not sure what the appropriate for mat for the -e flag is. I saw in a previous post that -e 404 worked for check_http but it does not seem to work for me. Any ideas? Thanks in advance :) Regards, Andres L. Figari Systems Administrator Hostito, Inc. http://www.hostito.com toll free: 1-888-HOSTITO phone: 1-415-821-9477 fax: 1-415-462-1801 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Aug 5 16:17:44 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 5 Aug 2003 09:17:44 -0500 (CDT) Subject: R: running ./configure In-Reply-To: References: <1429.134.244.169.17.1060015233.squirrel@webmail.stinkweasel.net> Message-ID: <1709.134.244.169.17.1060093086.squirrel@webmail.stinkweasel.net> > > # swlist -l fileset | grep -i perl > # perl 5.8.0 perl > perl.perl-MAN > perl.perl-RUN > perl.perl-SHLIBS > > # whereis perl > perl: /usr/local/bin/perl /usr/contrib/bin/perl > > # echo $PATH | grep -i perl > /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/b > in:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/ > X11:/opt/hparray/bin:/opt/resmon/bin:/opt/ignite/bin:/opt/OV/bin/OpC:/opt/ne > tworker/bin:/opt/OV/bin:/usr/sbin/diag/contrib:/opt/pred/bin:/opt/graphics/c > ommon/bin:/sbin:/home/root:/usr/local/bin/:/opt/oracle/product/8.1.7/bin:/op > t/OV/bin:/opt/OV/bin/OpC:/opt/OV/bin/OpC/install:/usr/contrib/bin/perl:/usr/ > local/bin/perl > > Do you see anything wrong? No, not off the top of my head. However, you need to try that on _both_ machines, to see what the difference is. The errors you are getting sure look like complaints about perl to me - so, what's different about the perl installations on the two machines? My first guess was that you were using an updated perl on one machine, and the perl that comes with HP-UX on the other. And trust me, the perl that comes with HP-UX is ooooolllllllllddddddddddd (perl 4.something). Benny -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Aug 5 16:31:12 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 5 Aug 2003 09:31:12 -0500 (CDT) Subject: R: R: running ./configure In-Reply-To: References: <1709.134.244.169.17.1060093086.squirrel@webmail.stinkweasel.net> Message-ID: <1794.134.244.169.17.1060093894.squirrel@webmail.stinkweasel.net> > > I installed same perl version (using swinstall) on both systems. That perl > has been downloaded 1 week ago, its version is 5.8.0. > > I really don't understand what does it happen ! > > I am testing another system but I see same problem. I am quite sure to > perform same steps made on the first system, but.... What does a simple 'perl --version' display on each of the hosts? -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Aug 5 16:27:51 2003 From: m.borsani at it.net (Marco Borsani) Date: Tue, 5 Aug 2003 16:27:51 +0200 Subject: R: R: running ./configure In-Reply-To: <1709.134.244.169.17.1060093086.squirrel@webmail.stinkweasel.net> References: <1709.134.244.169.17.1060093086.squirrel@webmail.stinkweasel.net> Message-ID: Thanks Benny. I installed same perl version (using swinstall) on both systems. That perl has been downloaded 1 week ago, its version is 5.8.0. I really don't understand what does it happen ! I am testing another system but I see same problem. I am quite sure to perform same steps made on the first system, but.... Regards Marco -----Messaggio originale----- Da: C. Bensend [mailto:benny at bennyvision.com] Inviato: marted? 5 agosto 2003 16.18 A: Marco Borsani Cc: NAGIOS Oggetto: Re: R: [Nagios-users] running ./configure > > # swlist -l fileset | grep -i perl > # perl 5.8.0 perl > perl.perl-MAN > perl.perl-RUN > perl.perl-SHLIBS > > # whereis perl > perl: /usr/local/bin/perl /usr/contrib/bin/perl > > # echo $PATH | grep -i perl > /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/b > in:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/ > X11:/opt/hparray/bin:/opt/resmon/bin:/opt/ignite/bin:/opt/OV/bin/OpC:/opt/ne > tworker/bin:/opt/OV/bin:/usr/sbin/diag/contrib:/opt/pred/bin:/opt/graphics/c > ommon/bin:/sbin:/home/root:/usr/local/bin/:/opt/oracle/product/8.1.7/bin:/op > t/OV/bin:/opt/OV/bin/OpC:/opt/OV/bin/OpC/install:/usr/contrib/bin/perl:/usr/ > local/bin/perl > > Do you see anything wrong? No, not off the top of my head. However, you need to try that on _both_ machines, to see what the difference is. The errors you are getting sure look like complaints about perl to me - so, what's different about the perl installations on the two machines? My first guess was that you were using an updated perl on one machine, and the perl that comes with HP-UX on the other. And trust me, the perl that comes with HP-UX is ooooolllllllllddddddddddd (perl 4.something). Benny -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Aug 5 16:45:21 2003 From: m.borsani at it.net (Marco Borsani) Date: Tue, 5 Aug 2003 16:45:21 +0200 Subject: R: R: R: running ./configure In-Reply-To: <1794.134.244.169.17.1060093894.squirrel@webmail.stinkweasel.net> References: <1794.134.244.169.17.1060093894.squirrel@webmail.stinkweasel.net> Message-ID: good idea! normally i used command "swlist | grep perl" and I receive on both systems: perl B.5.8.0 Perl Programming Language Using command "perl -v" I receive different answers !!! This is perl, v5.6.1 built for PA-RISC1.1-thread-multi and This is perl, version 4.0 WHY ??? I don't know how to use perl 5.8.0 (already installed!) instead of 4.0 (old installation). Marco -----Messaggio originale----- Da: C. Bensend [mailto:benny at bennyvision.com] Inviato: marted? 5 agosto 2003 16.31 A: Marco Borsani Cc: NAGIOS Oggetto: Re: R: R: [Nagios-users] running ./configure > > I installed same perl version (using swinstall) on both systems. That perl > has been downloaded 1 week ago, its version is 5.8.0. > > I really don't understand what does it happen ! > > I am testing another system but I see same problem. I am quite sure to > perform same steps made on the first system, but.... What does a simple 'perl --version' display on each of the hosts? -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Aug 5 17:37:17 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 5 Aug 2003 10:37:17 -0500 (CDT) Subject: R: R: R: running ./configure In-Reply-To: References: <1794.134.244.169.17.1060093894.squirrel@webmail.stinkweasel.net> Message-ID: <2477.134.244.169.17.1060097859.squirrel@webmail.stinkweasel.net> > normally i used command "swlist | grep perl" and I receive on both > systems: > perl B.5.8.0 Perl Programming Language Yes, and unfortunately, that only tells you what versions you have installed. It does _not_ tell you what version typing 'perl' will run. > Using command "perl -v" I receive different answers !!! > This is perl, v5.6.1 built for PA-RISC1.1-thread-multi > and > This is perl, version 4.0 > > WHY ??? Because your $PATH environment variables are not set the same. One machine has /usr/local/bin (or wherever perl 5.8.0 ended up) _before_ and one has it _after_ /usr/contrib/bin, which I believe is where perl 4.x resides. Fix your $PATH, and you'll be a lot happier. :) > I don't know how to use perl 5.8.0 (already installed!) instead of 4.0 > (old > installation). /usr/local/bin/perl. But it's much safer to fix your PATH, so you don't have other similar problems. Benny -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sbrooks at binary-solutions.net Tue Aug 5 18:50:37 2003 From: sbrooks at binary-solutions.net (Scott Brooks) Date: 05 Aug 2003 10:50:37 -0600 Subject: Nagios status map Message-ID: <1060102237.3751.10.camel@blaze> Does anyone know how to get nagios to generate a status map like the one on the screenshot page? http://nagios.sourceforge.net/images/screens/big/statusmap.jpg I was wondering how to go about doing that. Does it take the information from the hostdependency options? Or is there another way to generate a statusmap that looks like the one on the screenshot page. Thanks Scott Brooks ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Tue Aug 5 21:09:32 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Tue, 5 Aug 2003 12:09:32 -0700 Subject: problem regarding escalations Message-ID: Can anybody help me with why this would happen? 1. Host went down, page got sent out for host. 6 am. 2. Host came back up. 6:20 am. No service on the host was up yet. 3. Escalation for host was supposed to happen at 6:30. It did not happen. 4. Service came back up at 7:20 am. There was a Host UP recovery notification. I can understand me not getting a Host UP notification at 6:20 (as Eric explained in http://sourceforge.net/mailarchive/forum.php?thread_id=2859822&forum_id=1873 ). What I dont get is, why didnt it send out an escalation at 6:30 for host? Any help is appreciated. thanks ====================== Anurag Gupta agupta at yahoo-inc.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmat at shutdown.net Tue Aug 5 23:28:45 2003 From: jmat at shutdown.net (Justin Matlock) Date: Tue, 5 Aug 2003 17:28:45 -0400 Subject: event_handler arguments ($ARG1$) Message-ID: <001c01c35b98$8d49da90$fb01010a@nomium.net> Regarding Nagios 1.1: I've tried a number of things, but it appears that event_handler's can't use user supplied arguments. I'm trying to use a generic event_handler script to switch dynamic DNS entries around (so if something goes terribly wrong on a website, it switches DNS to point to a "sorry, we're down" web page hosted elsewhere). The only way I can make it work is to make individual event_handlers for each service... which is really a pain in the butt. Do event_handlers not support ARG1, ARG2, etc? Here's my event handler itself: define command { command_name switch_dns command_line /usr/local/nagios/libexec/eventhandlers/switch_dns $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPTS$ $ARG1$ $ARG2$ $ARG3$ } My shell script just takes the hostname ($4), and changes the IP to $5 if the SERVICESTATE is OK, and to $6 if it's CRITICAL. Then the service that points to it: define service { ; lots of stuff removed for readability event_handler switch_dns!website.com!111.111.111.111!222.222.222.222 } Nagios chokes when I do a verify: Checking services... Error: Event handler command 'switch_dns!website.com!111.111.111.111!222.222.222.222' specified in service 'image server' for host 'imgserv' not defined anywhere Any ideas, or am I going to have to define individual event_handlers? Thanks; Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: From networks at wi.rr.com Tue Aug 5 23:39:07 2003 From: networks at wi.rr.com (Networks) Date: 05 Aug 2003 16:39:07 -0500 Subject: Nagios Making Phone Calls - How ? In-Reply-To: References: Message-ID: <1060119547.20006.4.camel@elijah> I was wondering if anyone has configured Nagios to send alerts with phone calls through a modem? Any Help/Experience would be greatly appreciated. Thanks, Josh ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Tue Aug 5 23:50:28 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Tue, 5 Aug 2003 14:50:28 -0700 Subject: event_handler arguments ($ARG1$) In-Reply-To: <001c01c35b98$8d49da90$fb01010a@nomium.net> References: <001c01c35b98$8d49da90$fb01010a@nomium.net> Message-ID: No, user arguments can not be passed to Nagios event handlers. Look under the Event Handler columns on this page. http://nagios.sourceforge.net/docs/1_0/macros.html hope this helps -anurag -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Justin Matlock Sent: Tuesday, August 05, 2003 2:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] event_handler arguments ($ARG1$) Regarding Nagios 1.1: I've tried a number of things, but it appears that event_handler's can't use user supplied arguments. I'm trying to use a generic event_handler script to switch dynamic DNS entries around (so if something goes terribly wrong on a website, it switches DNS to point to a "sorry, we're down" web page hosted elsewhere). The only way I can make it work is to make individual event_handlers for each service... which is really a pain in the butt. Do event_handlers not support ARG1, ARG2, etc? Here's my event handler itself: define command { command_name switch_dns command_line /usr/local/nagios/libexec/eventhandlers/switch_dns $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPTS$ $ARG1$ $ARG2$ $ARG3$ } My shell script just takes the hostname ($4), and changes the IP to $5 if the SERVICESTATE is OK, and to $6 if it's CRITICAL. Then the service that points to it: define service { ; lots of stuff removed for readability event_handler switch_dns!website.com!111.111.111.111!222.222.222.222 } Nagios chokes when I do a verify: Checking services... Error: Event handler command 'switch_dns!website.com!111.111.111.111!222.222.222.222' specified in service 'image server' for host 'imgserv' not defined anywhere Any ideas, or am I going to have to define individual event_handlers? Thanks; Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: From twelsh at square-box.com Wed Aug 6 00:01:02 2003 From: twelsh at square-box.com (Tom Welsh) Date: Tue, 5 Aug 2003 23:01:02 +0100 Subject: Nagios status map In-Reply-To: <1060102237.3751.10.camel@blaze> References: <1060102237.3751.10.camel@blaze> Message-ID: <000201c35b9d$0fb61490$0400a8c0@squarebox.com> Define parents for your downstream hosts. Take a look at my configs on http://demo.square-box.com Take a look in hosts .cfg and you will see how I defined the http://nagios.square-box.com demo HTH Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Brooks Sent: 05 August 2003 17:51 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios status map Does anyone know how to get nagios to generate a status map like the one on the screenshot page? http://nagios.sourceforge.net/images/screens/big/statusmap.jpg I was wondering how to go about doing that. Does it take the information from the hostdependency options? Or is there another way to generate a statusmap that looks like the one on the screenshot page. Thanks Scott Brooks ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtran at ssc.ucla.edu Wed Aug 6 00:27:21 2003 From: dtran at ssc.ucla.edu (Daniel Tran) Date: Tue, 5 Aug 2003 15:27:21 -0700 Subject: nagios and MySQL database Message-ID: <01f601c35ba0$bcd1b1e0$49e56180@hp1> Hi, I'm trying to configure nagios and mysql. Nagios verifies correctly and can run. However, I'm not gettting any data back. My nagios.log file is showing: [1060120705] Error: Could not read program retention data from table programretention [1060120705] Error: Could not read host retention data from table hostretention [1060120705] Error: Could not read service retention data from table serviceretention [1060120705] Error: Could not lock status data tables in database '' [1060120720] Error: Could not lock status data tables in database '' [1060120735] Error: Could not lock status data tables in database '' [1060120750] Error: Could not lock status data tables in database '' [1060120765] Error: Could not lock status data tables in database '' Did I misconfigure something?. Any suggestion is greatly appreciated. Thanks - Daniel - dtran at ssc.ucla.edu ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at dparrish.com Wed Aug 6 01:32:12 2003 From: david at dparrish.com (David Parrish) Date: Wed, 6 Aug 2003 09:32:12 +1000 Subject: Monitoring - 1000+ hosts and latency In-Reply-To: <110CF8C6E030D51185B500B0D079E38301C0DF32@plutonium.uk.cgg.com>; from ftang@cgg.com on Tue, Aug 05, 2003 at 12:23:25PM +0100 References: <110CF8C6E030D51185B500B0D079E38301C0DF32@plutonium.uk.cgg.com> Message-ID: <20030806093212.A10508@bilbo.dparrish.com> I'm running a nagios install monitoring nearly 7000 services and still growing. It was unbearable until it was patched to not fork to process external check results as often. If a large portion of your checks are passive, then this patch will help a lot. Probably not much for active checks though. My average check latency is 0.006 sec. On Tue, Aug 05, 2003 at 12:23:25PM +0100, ftang at cgg.com wrote: > From: ftang at cgg.com > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring - 1000+ hosts and latency > Date: Tue, 5 Aug 2003 12:23:25 +0100 > > All, > > Is there anyone currenly using nagios (any version) on over 1000 hosts > (3000+ services)? I know that there have been emails about users > experiencing extreme latencies, and you can imagine that I too am in the > same crowd. I like nagios (used netsaint in my last company - only 15 > hosts), but I don''t think that it is suitable for my current setup. I hope > I am wrong. > > Thanks for your time. > > Fin Tang > Senior Support Specialist > -- Regards, David Parrish 0410 586 121 -------------- next part -------------- diff -ur nagios-1.1-virgin/base/nagios.c nagios-1.1/base/nagios.c --- nagios-1.1-virgin/base/nagios.c Thu Jul 10 08:30:10 2003 +++ nagios-1.1/base/nagios.c Thu Jul 10 08:32:20 2003 @@ -51,6 +51,8 @@ #include #endif +#include + /******** BEGIN EMBEDDED PERL INTERPRETER DECLARATIONS ********/ #ifdef EMBEDDEDPERL @@ -1497,6 +1499,8 @@ printf("Current/Max Outstanding Checks: %d/%d\n",currently_running_service_checks,max_parallel_service_checks); #endif + check_for_external_commands(); + /* handle high priority events */ if(event_list_high!=NULL && (current_time>=event_list_high->run_time)){ @@ -1594,8 +1598,13 @@ } /* wait a second so we don't hog the CPU... */ - else - sleep((unsigned int)sleep_time); + else { + struct timespec t; + t.tv_sec = 0; + t.tv_nsec = 1000 * 1000 * 50; + nanosleep(&t, NULL); + //check_for_external_commands(); + } } /* we don't have anything to do at this moment in time */ @@ -1606,7 +1615,12 @@ check_for_external_commands(); /* wait a second so we don't hog the CPU... */ - sleep((unsigned int)sleep_time); + + { struct timespec t; + t.tv_sec = 0; + t.tv_nsec = 1000 * 1000 * 50; + nanosleep(&t, NULL); } + } } --- commands.c.old Sat Aug 2 14:13:23 2003 +++ nagios-1.1/base/commands.c Sat Aug 2 14:13:53 2003 @@ -347,8 +347,19 @@ /**** PROCESS ALL PASSIVE CHECK RESULTS AT ONE TIME ****/ - if(passive_check_result_list!=NULL) - process_passive_service_checks(); + { + static unsigned int last_checked = 0; + unsigned int t; + + /* Don't process more frequently than once every 5 seconds. */ + /* This does a fork!!! */ + time(&t); + if(passive_check_result_list!=NULL && ((t - last_checked) > 5) ) { + process_passive_service_checks(); + last_checked = t; + } + } + #ifdef DEBUG0 --- commands.c.old Sat Aug 2 15:37:31 2003 +++ nagios-1.1/base/commands.c Sat Aug 2 15:44:36 2003 @@ -63,7 +63,7 @@ extern FILE *command_file_fp; -passive_check_result *passive_check_result_list; +passive_check_result *passive_check_result_list = NULL; int flush_pending_commands=FALSE; @@ -96,9 +96,6 @@ /* update the status log with new program information */ update_program_status(FALSE); - /* reset passive check result list pointer */ - passive_check_result_list=NULL; - /* reset flush flag */ flush_pending_commands=FALSE; @@ -1279,13 +1276,9 @@ new_pcr->next=NULL; - /* add the passive check result to the end of the list in memory */ - if(passive_check_result_list==NULL) - passive_check_result_list=new_pcr; - else{ - for(temp_pcr=passive_check_result_list;temp_pcr->next!=NULL;temp_pcr=temp_pcr->next); - temp_pcr->next=new_pcr; - } + /* add the passive check result to the head of the list in memory */ + new_pcr->next = passive_check_result_list; + passive_check_result_list = new_pcr; #ifdef DEBUG0 printf("cmd_process_service_check_result() end\n"); @@ -2845,6 +2838,17 @@ /* the grandchild process should submit the service check result... */ if(pid==0){ + passive_check_result *t, *t1; + /* Reverse passive list to correct the reverse that happened in collection. */ + + t = passive_check_result_list; + passive_check_result_list = NULL; + while (t) { + t1 = t->next; + t->next = passive_check_result_list; + passive_check_result_list = t; + t = t1; + } /* write all service checks to the IPC pipe for later processing by the grandparent */ for(temp_pcr=passive_check_result_list;temp_pcr!=NULL;temp_pcr=temp_pcr->next){ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Andrew.Sanderson at ahsys.org Wed Aug 6 01:40:36 2003 From: Andrew.Sanderson at ahsys.org (Sanderson, Andrew) Date: Tue, 5 Aug 2003 19:40:36 -0400 Subject: check_mssql.sh plug-in Message-ID: <232004BCD089FA4683012B75EBC5319E1911DD@kauai.ahsys.org> I am using the plug-in check_mssql.sh by calevans found at the following location:- http://sourceforge.net/tracker/?func=browse &group_id=29880&atid=541465 I can successfully connect to a ms sql 2000 server however if the database connection is unsuccessful the service state never changes and still displays ok even though the status information shows unable to connect. I need nagios to display a critical service state should the database connection fail. Does anyone know what would cause this? My check command is as follows. define command{ command_name check_mssql command_line $USER1$/./check_mssql.sh $hostaddress$ username passwd } I am running nagios 1.1 on Rh9. Thanks in advance Andy Sanderson. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jnichols at pbp.net Wed Aug 6 01:50:50 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Tue, 5 Aug 2003 16:50:50 -0700 (PDT) Subject: auugh nagios went nuts Message-ID: I updated Nagios through Gentoo's portage, and it went insane! Aug 5 16:48:35 [nagios] Error: Could not read program retention data from table programretention Aug 5 16:48:35 [nagios] Error: Could not read host retention data from table hostretention Aug 5 16:48:35 [nagios] Error: Could not read service retention data from table serviceretention Aug 5 16:48:35 [nagios] Error: Could not lock status data tables in database '' Aug 5 16:48:50 [nagios] Error: Could not lock status data tables in database '' NONE of the .cfg files have *any* sort of database preferences. I never told it to use a database. It just went nuts. =/ Where can I look? The logfiles aren't useful because it spews the above information at me over & over. Help. =/ -Jonathan ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeremy at hq.newdream.net Wed Aug 6 02:08:45 2003 From: jeremy at hq.newdream.net (Jeremy Hanmer) Date: 05 Aug 2003 17:08:45 -0700 Subject: auugh nagios went nuts In-Reply-To: References: Message-ID: <1060128524.9401.3.camel@localhost> This probably would have been better sent to the Gentoo list, but I'm assuming that you added a "mysql" USE flag since the last time you installed nagios. If that flag is set, the ebuild will automatically use mysql for all data types. Re-emerge all nagios packages with USE="-mysql" and I'd bet your problems will go away. On Tue, 2003-08-05 at 16:50, Jonathan Nichols wrote: > I updated Nagios through Gentoo's portage, and it went insane! > > Aug 5 16:48:35 [nagios] Error: Could not read program retention data from > table programretention > Aug 5 16:48:35 [nagios] Error: Could not read host retention data from > table hostretention > Aug 5 16:48:35 [nagios] Error: Could not read service retention data from > table serviceretention > Aug 5 16:48:35 [nagios] Error: Could not lock status data tables in > database '' > Aug 5 16:48:50 [nagios] Error: Could not lock status data tables in > database '' > > NONE of the .cfg files have *any* sort of database preferences. I never > told it to use a database. It just went nuts. =/ > > Where can I look? The logfiles aren't useful because it spews the above > information at me over & over. > > Help. =/ > > -Jonathan > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From dblowe at comcast.net Wed Aug 6 02:30:40 2003 From: dblowe at comcast.net (David Lowe) Date: Tue, 05 Aug 2003 19:30:40 -0500 Subject: statusmap only displays default background Message-ID: <3F304C30.9090904@comcast.net> As far as I can tell, the following line from cgi.cfg controls what is displayed as a background: # STATUSMAP BACKGROUND IMAGE # This option allows you to specify an image to be used as a # background in the statusmap CGI. It is assumed that the image # resides in the HTML images path (i.e. /usr/local/nagios/share/images). # This path is automatically determined by appending "/images" # to the path specified by the 'physical_html_path' directive. # Note: The image file may be in GIF, PNG, JPEG, or GD2 format. # However, I recommend that you convert your image to GD2 format # (uncompressed), as this will cause less CPU load when the CGI # generates the image. statusmap_background_image=myfile.gif I have the "myfile.gif" in the /nagios/share/images directory. The permissions on that file are: -rwxrwxrwx 1 nagios nagios 33116 Aug 1 14:00 myfile.gif I am not seeing errors in the nagios or apache logs indicating there is a problem. It is like the statusmap statement is being ignored. Is there another option I need to change to get this to work? Thanks, ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dblowe at comcast.net Wed Aug 6 02:52:41 2003 From: dblowe at comcast.net (David Lowe) Date: Tue, 05 Aug 2003 19:52:41 -0500 Subject: Unable to get epager to work Message-ID: <3F305159.8010009@comcast.net> I have a paging system at work that will accept a email and send it out as a page. I have tested this with Kmail and it does work. The catch is that the 'Subject" line of the email has to contain an alphabetic descriptor which the paging system correlates to an actual pager number. The format is: " Support_Group_Pager ". I have read up on the nagios docs and gone thru the mail-list but I haven't seen anything addressing this problem. I will post the relevant info from the .cfg files below. I believe I have the descriptor placed in the correct position in the misccommands.cfg file, but I am still not generating a page. Contacts.cfg: # 'dave' contact definition define contact{ contact_name dave alias Support_Group_Pager service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email email myself at whatever.com pager telalert at hostServer.com } Misccommands.cfg: # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /bin/mail -s "Support_Group_Pager" } # 'notify-by-epager' command definition define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $OUTPUT$\nDate: $DATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ } Contactgroups.cfg: # 'linux-admins' contact group definition define contactgroup{ contactgroup_name linux-admins alias linux-admins members dave } I am eager to deploy Nagios within our networks but this problem is holding up the show. Any help would be appreciated. Thanks, ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dblowe at comcast.net Wed Aug 6 04:12:26 2003 From: dblowe at comcast.net (David Lowe) Date: Tue, 05 Aug 2003 21:12:26 -0500 Subject: Monitoring Oracle Servers Message-ID: <3F30640A.6040405@comcast.net> I have a need to use Nagios to monitor some Oracle servers. I know exactly zip about servers or oracle. Can someone give me some leads on information that will allow me check tnspings on Oracle servers? Thanks, ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Wed Aug 6 07:33:31 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Wed, 6 Aug 2003 07:33:31 +0200 Subject: Monitoring - 1000+ hosts and latency Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi David Will this patch work on version 1.0 as well? :) fred > -----Original Message----- > From: David Parrish [mailto:david at dparrish.com] > Sent: 06 August 2003 01:32 AM > To: ftang at cgg.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > > I'm running a nagios install monitoring nearly 7000 services and still > growing. It was unbearable until it was patched to not fork to process > external check results as often. > > If a large portion of your checks are passive, then this > patch will help a > lot. Probably not much for active checks though. > > My average check latency is 0.006 sec. > > On Tue, Aug 05, 2003 at 12:23:25PM +0100, ftang at cgg.com wrote: > > From: ftang at cgg.com > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Monitoring - 1000+ hosts and latency > > Date: Tue, 5 Aug 2003 12:23:25 +0100 > > > > All, > > > > Is there anyone currenly using nagios (any version) on over > 1000 hosts > > (3000+ services)? I know that there have been emails about users > > experiencing extreme latencies, and you can imagine that I > too am in the > > same crowd. I like nagios (used netsaint in my last company > - only 15 > > hosts), but I don''t think that it is suitable for my > current setup. I hope > > I am wrong. > > > > Thanks for your time. > > > > Fin Tang > > Senior Support Specialist > > > > -- > Regards, > David Parrish > 0410 586 121 > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Wed Aug 6 07:55:15 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Tue, 5 Aug 2003 22:55:15 -0700 Subject: Any plans for admin UI interface Message-ID: Hi, Does anybody know of any plans to allowing add/edit/delete hosts/services and other config informtion through the User Interface? As Homer says "Will somebody please tell me?" ====================== Anurag Gupta agupta at yahoo-inc.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tom.DeBlende at dhl.com Wed Aug 6 08:22:34 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Wed, 06 Aug 2003 08:22:34 +0200 Subject: check_mssql.sh plug-in In-Reply-To: <232004BCD089FA4683012B75EBC5319E1911DD@kauai.ahsys.org> References: <232004BCD089FA4683012B75EBC5319E1911DD@kauai.ahsys.org> Message-ID: <3F309EAA.1060408@dhl.com> Try this one: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/contrib/check_mssql.sh I had the same problem with the previous version using the latest FreeTDS version. Sanderson, Andrew wrote: > I am using the plug-in check_mssql.sh by calevans found at the > following location:- > > > > http://sourceforge.net/tracker/?func=browse&group_id=29880&atid=541465 > > > > > I can successfully connect to a ms sql 2000 server however if the > database connection is unsuccessful the service state never changes > and still displays ok even though the status information shows unable > to connect. > > > > I need nagios to display a critical service state should the database > connection fail. > > > > Does anyone know what would cause this? > > > > My check command is as follows. > > > > define command{ > > command_name check_mssql > > command_line $USER1$/./check_mssql.sh $hostaddress$ > username passwd > > } > > > > I am running nagios 1.1 on Rh9. > > > > Thanks in advance > > > > Andy Sanderson. > > > > > > > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Wed Aug 6 05:20:32 2003 From: jnichols at pbp.net (Jonathan Nichols) Date: Tue, 05 Aug 2003 20:20:32 -0700 Subject: auugh nagios went nuts In-Reply-To: <1060128524.9401.3.camel@localhost> References: <1060128524.9401.3.camel@localhost> Message-ID: <3F307400.5010306@pbp.net> Jeremy Hanmer wrote: > This probably would have been better sent to the Gentoo list, but I'm > assuming that you added a "mysql" USE flag since the last time you > installed nagios. If that flag is set, the ebuild will automatically > use mysql for all data types. Re-emerge all nagios packages with > USE="-mysql" and I'd bet your problems will go away. > *bashes head on keyboard* That was it. I forgot I had mysql in /etc/make.conf. D'oh. :( Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at Lastminute.com Wed Aug 6 10:32:47 2003 From: tvilliers at Lastminute.com (Tielman De Villiers) Date: Wed, 6 Aug 2003 09:32:47 +0100 Subject: Monitoring - 1000+ hosts and latency Message-ID: Have a look at http://www.solarwinds.net/netperfmon/help/AdminGuide/Scalability_Options.htm for a comparison with a commercial product and http://www.nagios.org/userprofiles/quickstats.php for registered nagios use Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com > -----Original Message----- > From: David Parrish [mailto:david at dparrish.com] > Sent: 06 August 2003 00:32 > To: ftang at cgg.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > > I'm running a nagios install monitoring nearly 7000 services and still > growing. It was unbearable until it was patched to not fork to process > external check results as often. > > If a large portion of your checks are passive, then this > patch will help a > lot. Probably not much for active checks though. > > My average check latency is 0.006 sec. > > On Tue, Aug 05, 2003 at 12:23:25PM +0100, ftang at cgg.com wrote: > > From: ftang at cgg.com > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Monitoring - 1000+ hosts and latency > > Date: Tue, 5 Aug 2003 12:23:25 +0100 > > > > All, > > > > Is there anyone currenly using nagios (any version) on over > 1000 hosts > > (3000+ services)? I know that there have been emails about users > > experiencing extreme latencies, and you can imagine that I > too am in the > > same crowd. I like nagios (used netsaint in my last company > - only 15 > > hosts), but I don''t think that it is suitable for my > current setup. I hope > > I am wrong. > > > > Thanks for your time. > > > > Fin Tang > > Senior Support Specialist > > > > -- > Regards, > David Parrish > 0410 586 121 > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Sanderson at ahsys.org Wed Aug 6 12:23:13 2003 From: Andrew.Sanderson at ahsys.org (Sanderson, Andrew) Date: Wed, 6 Aug 2003 06:23:13 -0400 Subject: check_mssql.sh plug-in Message-ID: <232004BCD089FA4683012B75EBC5319E1911E2@kauai.ahsys.org> It works! Thank you for you're help. -----Original Message----- From: Tom DE BLENDE (GCC) [mailto:Tom.DeBlende at dhl.com] Sent: Wednesday, August 06, 2003 2:23 AM To: Sanderson, Andrew Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_mssql.sh plug-in Try this one: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/con trib/check_mssql.sh I had the same problem with the previous version using the latest FreeTDS version. Sanderson, Andrew wrote: > I am using the plug-in check_mssql.sh by calevans found at the > following location:- > > > > http://sourceforge.net/tracker/?func=browse&group_id=29880&atid=541465 > > > > > I can successfully connect to a ms sql 2000 server however if the > database connection is unsuccessful the service state never changes > and still displays ok even though the status information shows unable > to connect. > > > > I need nagios to display a critical service state should the database > connection fail. > > > > Does anyone know what would cause this? > > > > My check command is as follows. > > > > define command{ > > command_name check_mssql > > command_line $USER1$/./check_mssql.sh $hostaddress$ > username passwd > > } > > > > I am running nagios 1.1 on Rh9. > > > > Thanks in advance > > > > Andy Sanderson. > > > > > > > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.torke at gildemeister.com Wed Aug 6 12:27:00 2003 From: andre.torke at gildemeister.com (Andre Torke) Date: Wed, 6 Aug 2003 10:27:00 +0000 (UTC) Subject: apan & nt_load Message-ID: Hi ! I have a problem with apan and nt_load. I would like show the CPU-Load and MEM-Use with apan. We set for nsclient a non standard port and a password. If i run check_nt -H HOSTADDRESS -p PORT -s PASSWORD -v CPULOAD -w WARNING -c CRITICAL i get my results. If i run apan i get no results. Did anybody know the right syntax for apan with non standard port and with a password?? thanks Andre ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Hagen_Deike at icon-scm.com Wed Aug 6 13:24:34 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Wed, 6 Aug 2003 13:24:34 +0200 Subject: Need help, badly !!! Message-ID: <7E47A0E20913514C8F4CD1BC241A37034F425A@serv-075.icon-germany.local> Hi everyone, in the past I was able to review a problem with the scheduler from Nagios. Maybe some of you have already seen this problem. Form time to time some service checking times are outdated from the scheduler. For example the check should be run at 11:45 but the server time is already 12:00 or later. On some services I was able to see that this effect goes over days, what brings me to the conclusion that those services won't ever be checked again. My first thought was that it has to do with the lag between checks and the refresh on the webpage. This was only true for a few services. After a few hours of lag I doubt that's the problem. My next step was to reschedule these orphaned services by hand. Some times it worked and some times not. Then I saw what happened. When I waited to long with the reschedule, the time was already outdated before I submitted it. So I rescheduled a service after time. What I do now is always add one or two minutes to the reschedule time. Somehow that was really the cure. An often seen side effect on rescheduling services by hand is that when I look in the scheduling queue all services are scheduled for the same time and none will be scheduled again. The only solution is to restart the Nagios process. I've tried to use the ORPHANED SERVICE CHECK OPTION but this got worse than better. My logs where flooded with entries with following messages: [dd-mm-yyyy hh:mm:ss] Warning: The check of service 'Service XYZ' on host 'Host XYZ' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... - I'm not a C coder, so I can't take a peak in to the source, but as far as I can overlook this problem, services that are outdated won't be rescheduled. Am I true with this or am I just a complete idiot on configuration Nagios (Hey, I don't want an answer ;-) Did I hit a bug in Nagios? Has anyone seen this effect on his box? So now a few specs about the Nagios box: SuSE 8.1 Linux Nagios 1.0 (RPM for SuSE) Regards, Hagen ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.ciullini at datamar.it Wed Aug 6 15:11:46 2003 From: marco.ciullini at datamar.it (Marco Ciullini) Date: Wed, 06 Aug 2003 15:11:46 +0200 Subject: Need help, badly !!! Message-ID: <3F30FE92.2080306@datamar.it> I Had the same problem, on a config with 60 hosts and 200 services. I solved decreasing the parameter service_reaper_frequency in the nagios.cfg file. Default is 10, i set 3 and all works fine. Bye >Hi everyone, > >in the past I was able to review a problem with the scheduler from Nagios. >Maybe some of you have already seen this problem. > >Form time to time some service checking times are outdated from the >scheduler. For example the check should be run at 11:45 but the server time >is already 12:00 or later. On some services I was able to see that this >effect goes over days, what brings me to the conclusion that those services >won't ever be checked again. > >My first thought was that it has to do with the lag between checks and the >refresh on the webpage. This was only true for a few services. After a few >hours of lag I doubt that's the problem. > >My next step was to reschedule these orphaned services by hand. Some times >it worked and some times not. Then I saw what happened. When I waited to >long with the reschedule, the time was already outdated before I submitted >it. So I rescheduled a service after time. What I do now is always add one >or two minutes to the reschedule time. Somehow that was really the cure. > >An often seen side effect on rescheduling services by hand is that when I >look in the scheduling queue all services are scheduled for the same time >and none will be scheduled again. The only solution is to restart the Nagios >process. > > > > -- Marco Ciullini Datamar s.r.l. Via Corsica 9/4 E 16128 Genova tel +39 0105705806 fax +39 0105451440 http://www.datamar.it mailto:marco.ciullini at datamar.it Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html -- Marco Ciullini Datamar s.r.l. Via Corsica 9/4 E 16128 Genova tel +39 0105705806 fax +39 0105451440 http://www.datamar.it mailto:marco.ciullini at datamar.it Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From otmar at e-commercepark.com Wed Aug 6 15:30:38 2003 From: otmar at e-commercepark.com (Otmar Conradus) Date: Wed, 6 Aug 2003 09:30:38 -0400 Subject: Nagios status map In-Reply-To: <000201c35b9d$0fb61490$0400a8c0@squarebox.com> References: <000201c35b9d$0fb61490$0400a8c0@squarebox.com> Message-ID: Don't forget to change the "default_statusmap_layout" in the file cgi.cfg Best Regards, Otmar Conradus -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tom Welsh Sent: Tuesday, August 05, 2003 6:01 PM To: sbrooks at binary-solutions.net; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios status map Define parents for your downstream hosts. Take a look at my configs on http://demo.square-box.com Take a look in hosts .cfg and you will see how I defined the http://nagios.square-box.com demo HTH Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Brooks Sent: 05 August 2003 17:51 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios status map Does anyone know how to get nagios to generate a status map like the one on the screenshot page? http://nagios.sourceforge.net/images/screens/big/statusmap.jpg I was wondering how to go about doing that. Does it take the information from the hostdependency options? Or is there another way to generate a statusmap that looks like the one on the screenshot page. Thanks Scott Brooks ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Wed Aug 6 15:50:57 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [GMG]) Date: Wed, 6 Aug 2003 08:50:57 -0500 Subject: Monitoring Oracle Servers Message-ID: <516DA7BE5D87C8469D89F150CA0B491101EC6B94@PDAWB02C.ad.sprint.com> We monitor quite a few Oracle instances with Nagios. I wrote a Perl script that attempts to log into the instance using an ID that only requires the Session privilege. Oracle is pretty good about telling you why it couldn't log in, so I capture the ORA error that is returned if/when the attempt fails. I store all the login information in a MySQL table for each instance and just retrieve it based on the instance name I pass to the Perl script. You'd need some Perl & MySQL experience to make it work for you. I didn't really write it to pass around (meaning it's not well documented), but you're welcome to it if needed. Stanley G. Martin System Administrator Sprint - EIS3 Customer Care Stanley.G.Martin at mail.sprint.com -----Original Message----- From: David Lowe [mailto:dblowe at comcast.net] Sent: Tuesday, August 05, 2003 9:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Oracle Servers I have a need to use Nagios to monitor some Oracle servers. I know exactly zip about servers or oracle. Can someone give me some leads on information that will allow me check tnspings on Oracle servers? Thanks, ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Aug 6 15:58:34 2003 From: m.borsani at it.net (Marco Borsani) Date: Wed, 6 Aug 2003 15:58:34 +0200 Subject: R: R: running ./configure In-Reply-To: <1709.134.244.169.17.1060093086.squirrel@webmail.stinkweasel.net> References: <1709.134.244.169.17.1060093086.squirrel@webmail.stinkweasel.net> Message-ID: OK !!!! All is working fine! Many thanks Benny Marco -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di C. Bensend Inviato: marted? 5 agosto 2003 16.18 A: Marco Borsani Cc: NAGIOS Oggetto: Re: R: [Nagios-users] running ./configure > > # swlist -l fileset | grep -i perl > # perl 5.8.0 perl > perl.perl-MAN > perl.perl-RUN > perl.perl-SHLIBS > > # whereis perl > perl: /usr/local/bin/perl /usr/contrib/bin/perl > > # echo $PATH | grep -i perl > /usr/sbin:/usr/bin:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/b > in:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/bin/X11:/usr/contrib/bin/ > X11:/opt/hparray/bin:/opt/resmon/bin:/opt/ignite/bin:/opt/OV/bin/OpC:/opt/ne > tworker/bin:/opt/OV/bin:/usr/sbin/diag/contrib:/opt/pred/bin:/opt/graphics/c > ommon/bin:/sbin:/home/root:/usr/local/bin/:/opt/oracle/product/8.1.7/bin:/op > t/OV/bin:/opt/OV/bin/OpC:/opt/OV/bin/OpC/install:/usr/contrib/bin/perl:/usr/ > local/bin/perl > > Do you see anything wrong? No, not off the top of my head. However, you need to try that on _both_ machines, to see what the difference is. The errors you are getting sure look like complaints about perl to me - so, what's different about the perl installations on the two machines? My first guess was that you were using an updated perl on one machine, and the perl that comes with HP-UX on the other. And trust me, the perl that comes with HP-UX is ooooolllllllllddddddddddd (perl 4.something). Benny -- "Corpsman: Usually a young, long-haired, bearded, Marine hatin' Sailor with certain medical skills, who will go through the very gates of hell to get to a wounded Marine." - Maj. Gene Duncan, USMC Ret. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarquart at planalytics.com Wed Aug 6 16:00:35 2003 From: jmarquart at planalytics.com (jmarquart at planalytics.com) Date: Wed, 6 Aug 2003 10:00:35 -0400 Subject: Monitoring Oracle Servers Message-ID: <85256D7A.004CF5C2.00@mailhost.planalytics.com> Umm there is a reasonably fantastic check_oracle script that is included in the nagios-plugins distribution (see sourceforge) It has the ability to perform tnspings / fake logins / and a variety of other options. The CVS version is likely to have additional features - such as teblspace checks / cache checks / etc -j "Martin, Stanley G [GMG]" on 08/06/2003 09:50:57 AM To: "David Lowe" , nagios-users at lists.sourceforge.net cc: (bcc: John J. der Schalla Marquart/Planalytics) Subject: RE: [Nagios-users] Monitoring Oracle Servers We monitor quite a few Oracle instances with Nagios. I wrote a Perl script that attempts to log into the instance using an ID that only requires the Session privilege. Oracle is pretty good about telling you why it couldn't log in, so I capture the ORA error that is returned if/when the attempt fails. I store all the login information in a MySQL table for each instance and just retrieve it based on the instance name I pass to the Perl script. You'd need some Perl & MySQL experience to make it work for you. I didn't really write it to pass around (meaning it's not well documented), but you're welcome to it if needed. Stanley G. Martin System Administrator Sprint - EIS3 Customer Care Stanley.G.Martin at mail.sprint.com -----Original Message----- From: David Lowe [mailto:dblowe at comcast.net] Sent: Tuesday, August 05, 2003 9:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Oracle Servers I have a need to use Nagios to monitor some Oracle servers. I know exactly zip about servers or oracle. Can someone give me some leads on information that will allow me check tnspings on Oracle servers? Thanks, ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Wed Aug 6 16:24:00 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Wed, 6 Aug 2003 16:24:00 +0200 Subject: Nagios / Exchange In-Reply-To: <1EA215E8DA7A704FBE8C5F1F39010F6C10BEFD@WASHINGTON.companybuilder.com> References: <1EA215E8DA7A704FBE8C5F1F39010F6C10BEFD@WASHINGTON.companybuilder.com> Message-ID: <200308061624.00801.roy@karlsbakk.net> check remote accessability for the imap, pop, smtp services. also install nsclient and monitor the rest of the box with that. remember to add loopback service dependencies for the nsclient services. nsclient may use long time to really start, and during this time services may 'fail' erronous. roy On Monday 04 August 2003 18:19, Earle Hager wrote: > What services are best to monitor on an Exchange server with Nagios? > > Sincerely, > > > Earle Hager > Account Manager > ______________________________________ > > > 11675 Jollyville Road > Austin, TX 78759 > 512-431-3940 Mobile > 512-249-2000 Office > 512-249-2999 FAX -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 2254 5070 (work) +47 9801 3356 (mobile) Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Wed Aug 6 16:31:05 2003 From: networks at wi.rr.com (Networks) Date: 06 Aug 2003 09:31:05 -0500 Subject: Nagios Making Phone Calls - How ? In-Reply-To: <1060119547.20006.4.camel@elijah> References: <1060119547.20006.4.camel@elijah> Message-ID: <1060180265.29358.1.camel@elijah> I have heard of people using festival and other programs to so this. If no one knows, I'll try to figure it out on my own, and let you guys know what I find. I'm sure others might be interested in doing this. Thanks, Josh On Tue, 2003-08-05 at 16:39, Networks wrote: > I was wondering if anyone has configured Nagios to send alerts with > phone calls through a modem? Any Help/Experience would be greatly > appreciated. > > Thanks, > > Josh > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Wed Aug 6 17:09:56 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Wed, 6 Aug 2003 11:09:56 -0400 Subject: Any plans for admin UI interface Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9CD@patton.infosysnetworks.com> We are having great luck with NagMIN by Fred Reimers. You can find it at nagmin.sourceforge.net. The version 1.6 is greatly enhanced. Good luck, Brian. -----Original Message----- From: Anurag Gupta [mailto:agupta at yahoo-inc.com] Sent: Wednesday, August 06, 2003 1:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Any plans for admin UI interface Hi, Does anybody know of any plans to allowing add/edit/delete hosts/services and other config informtion through the User Interface? As Homer says "Will somebody please tell me?" ====================== Anurag Gupta agupta at yahoo-inc.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SteveH at brendata.co.uk Wed Aug 6 17:14:43 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Wed, 6 Aug 2003 16:14:43 +0100 Subject: Issue with hostgroups. Message-ID: <11720FFB22BED511A66800E07D923B37171FC3@prodntsc2.brendata> We have a problem whereby we have a number of hostgroups, but nagios things that 1 machine is in a hostgroup that it isn't, I suspect a typo in the file, but I've had three people look at it now and they all think it's ok. Has anybody seen this issue before I start looking deeper? The web interface when dumping the config doesn't think that this machine is part of the hostgroup in question, but the service in question only has a hostgroup_name entry for that hostgroup? Regards Steve The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From BSnead at infosysnetworks.com Wed Aug 6 17:08:18 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Wed, 6 Aug 2003 11:08:18 -0400 Subject: apan & nt_load Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9CC@patton.infosysnetworks.com> Andre, I just took a peak at the script Apan uses to execute the check_nt command. It does not have a argument for the port number. However, the script is easily modified if you want. You will find it under the apan/plugs directory and it is called load.sh. If all your servers use this optional port, the easiest way to fix it would be to hard code it in the script. Cheers, Brian. -----Original Message----- From: Andre Torke [mailto:andre.torke at gildemeister.com] Sent: Wednesday, August 06, 2003 6:27 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] apan & nt_load Hi ! I have a problem with apan and nt_load. I would like show the CPU-Load and MEM-Use with apan. We set for nsclient a non standard port and a password. If i run check_nt -H HOSTADDRESS -p PORT -s PASSWORD -v CPULOAD -w WARNING -c CRITICAL i get my results. If i run apan i get no results. Did anybody know the right syntax for apan with non standard port and with a password?? thanks Andre ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick.Cline at microchip.com Wed Aug 6 17:44:43 2003 From: Rick.Cline at microchip.com (Rick.Cline at microchip.com) Date: Wed, 6 Aug 2003 08:44:43 -0700 Subject: Time Zone settings in Nagios Message-ID: We have recently implemented Nagios for our systems. Everything is working very well. I do have one question however. Is it possible to change the time zone from EST to another setting? I have looked through the documentation and cannot find where to set this option. Your help is greatly appreciated. Thanks, Rick Cline Principal Systems Engineer CAD Systems Microchip Technology Inc. 2355 West Chandler Blvd. Chandler, AZ 85224 Voice 480.792.7994 Email rick.cline at microchip.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From DanielJ at avatar-cs.net Wed Aug 6 17:50:44 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Wed, 6 Aug 2003 10:50:44 -0500 Subject: Any plans for admin UI interface Message-ID: <115F85A8196CD411BBAB0008C7590661820871@FS01> What if one does not use WebMin :) -----Original Message----- From: Brian Snead [mailto:BSnead at infosysnetworks.com] Sent: Wednesday, August 06, 2003 10:10 AM To: Anurag Gupta; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Any plans for admin UI interface We are having great luck with NagMIN by Fred Reimers. You can find it at nagmin.sourceforge.net. The version 1.6 is greatly enhanced. Good luck, Brian. -----Original Message----- From: Anurag Gupta [mailto:agupta at yahoo-inc.com] Sent: Wednesday, August 06, 2003 1:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Any plans for admin UI interface Hi, Does anybody know of any plans to allowing add/edit/delete hosts/services and other config informtion through the User Interface? As Homer says "Will somebody please tell me?" ====================== Anurag Gupta agupta at yahoo-inc.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at capband.net Wed Aug 6 18:04:24 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 06 Aug 2003 12:04:24 -0400 Subject: Any plans for admin UI interface In-Reply-To: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9CD@patton.infosysnetwo rks.com> References: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9CD@patton.infosysnetwo rks.com> Message-ID: <5.2.1.1.0.20030806120348.01df1170@mail.capband.net> >We are having great luck with NagMIN by Fred Reimers. You can find it at >nagmin.sourceforge.net. > >The version 1.6 is greatly enhanced. Is there a version of NagMIN that works with Postgres? I don't feel like switching the company's DB or using two of them, otherwise NagMIN *looks* like a good choice. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.payne at iland.com Wed Aug 6 17:55:06 2003 From: jason.payne at iland.com (Jason Payne - iLand Internet Solutions Corp.) Date: Wed, 6 Aug 2003 10:55:06 -0500 Subject: Nagios stop checking after notifying as down. Message-ID: <7A626FF425518246801C933014AA98F009D44F@hou-ex01.IHTX.ILAND.COM> I am having a strange problem where, for example, after a switch goes down and 10 hosts go down nagios will stop checking a few of them. It will notify us that the servers are down. However, I will check a few hours later and the last check will be the time at which the switch went down and it will still show the host as being down. I schedule an immediate check for all services and the host and they come back up and nagios notifies everyone that the host/services are back up. Why would nagios just stop checking? I hadn't disabled checks on the host. Has anyone seen a problem like this? Thanks in advance, Jason Payne Iland Internet Solutions -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Wed Aug 6 18:35:41 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 6 Aug 2003 17:35:41 +0100 Subject: Time Zone settings in Nagios Message-ID: Good question! Add TZ=whatever; export TZ into your nagios startup script I want to know how to change the output of the date from American to British... -----Original Message----- From: Rick.Cline at microchip.com [mailto:Rick.Cline at microchip.com] Sent: Wednesday, August 06, 2003 4:45 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Time Zone settings in Nagios We have recently implemented Nagios for our systems. Everything is working very well. I do have one question however. Is it possible to change the time zone from EST to another setting? I have looked through the documentation and cannot find where to set this option. Your help is greatly appreciated. Thanks, Rick Cline Principal Systems Engineer CAD Systems Microchip Technology Inc. 2355 West Chandler Blvd. Chandler, AZ 85224 Voice 480.792.7994 Email rick.cline at microchip.com This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Wed Aug 6 18:56:15 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Wed, 6 Aug 2003 11:56:15 -0500 Subject: Issue with hostgroups. Message-ID: It's possible you have more than one instance of Nagios running. Do a normal shutdown of Nagios, then check to see if there are any Nagios processes remaining. If so, kill them off, then restart Nagios. Let us know.... jc -----Original Message----- From: Steve Hanselman [mailto:SteveH at brendata.co.uk] Sent: Wednesday, August 06, 2003 10:15 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Issue with hostgroups. We have a problem whereby we have a number of hostgroups, but nagios things that 1 machine is in a hostgroup that it isn't, I suspect a typo in the file, but I've had three people look at it now and they all think it's ok. Has anybody seen this issue before I start looking deeper? The web interface when dumping the config doesn't think that this machine is part of the hostgroup in question, but the service in question only has a hostgroup_name entry for that hostgroup? Regards Steve The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SteveH at brendata.co.uk Wed Aug 6 19:10:16 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Wed, 6 Aug 2003 18:10:16 +0100 Subject: Issue with hostgroups. Message-ID: <11720FFB22BED511A66800E07D923B37171FCA@prodntsc2.brendata> No joy, stopped it, ps'd to make sure nothing running, started but still appears as a host with that service, although not in the definition of the hostgroup when viewed via the web interface. I'll look deeper.....! -----Original Message----- From: Carroll, Jim P [PCS] [mailto:jcarro10 at sprintspectrum.com] Sent: 06 August 2003 17:56 To: Steve Hanselman; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issue with hostgroups. It's possible you have more than one instance of Nagios running. Do a normal shutdown of Nagios, then check to see if there are any Nagios processes remaining. If so, kill them off, then restart Nagios. Let us know.... jc -----Original Message----- From: Steve Hanselman [mailto:SteveH at brendata.co.uk] Sent: Wednesday, August 06, 2003 10:15 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Issue with hostgroups. We have a problem whereby we have a number of hostgroups, but nagios things that 1 machine is in a hostgroup that it isn't, I suspect a typo in the file, but I've had three people look at it now and they all think it's ok. Has anybody seen this issue before I start looking deeper? The web interface when dumping the config doesn't think that this machine is part of the hostgroup in question, but the service in question only has a hostgroup_name entry for that hostgroup? Regards Steve The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Wed Aug 6 19:26:31 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 6 Aug 2003 13:26:31 -0400 Subject: Any plans for admin UI interface Message-ID: start using it. -----Original Message----- From: Daniel Jimenez [mailto:DanielJ at avatar-cs.net] Sent: Wednesday, August 06, 2003 11:51 AM To: 'Brian Snead'; Anurag Gupta; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Any plans for admin UI interface What if one does not use WebMin :) -----Original Message----- From: Brian Snead [ mailto:BSnead at infosysnetworks.com ] Sent: Wednesday, August 06, 2003 10:10 AM To: Anurag Gupta; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Any plans for admin UI interface We are having great luck with NagMIN by Fred Reimers. You can find it at nagmin.sourceforge.net. The version 1.6 is greatly enhanced. Good luck, Brian. -----Original Message----- From: Anurag Gupta [ mailto:agupta at yahoo-inc.com ] Sent: Wednesday, August 06, 2003 1:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Any plans for admin UI interface Hi, Does anybody know of any plans to allowing add/edit/delete hosts/services and other config informtion through the User Interface? As Homer says "Will somebody please tell me?" ====================== Anurag Gupta agupta at yahoo-inc.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Wed Aug 6 19:30:32 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 6 Aug 2003 12:30:32 -0500 Subject: Web admin interfaces for Nagios In-Reply-To: <001c01c35b98$8d49da90$fb01010a@nomium.net> References: <001c01c35b98$8d49da90$fb01010a@nomium.net> Message-ID: <16177.15160.685063.28447@montanaro.dyndns.org> (I know this is a FAQ. Once I have some concrete data I will add a q&a to the Nagios FAQ.) What web-based adminstrative interfaces are there for Nagios? I am aware of Nagat (http://nagat.sourceforge.net/) and Nagiosweb (http://sourceforge.net/projects/nagiosweb/). Both are PHP-based. Nagiosweb stores information in MySQL. It's not immediately obvious what Nagat uses to store data (if anything). Are there other alternatives? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Aug 6 20:18:01 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 6 Aug 2003 12:18:01 -0600 Subject: Issue with hostgroups. Message-ID: This 'more than one instance of Nagios' issue seems to come up a lot, in relation to many different questions. I found this to be a problem early on, with NetSaint, and my solution was to add a sleep command in the init script. In the restart section, between shutdown and startup, I have it sleep for 30 seconds. This seems to be enough time to let the other running Nagios processes finish their work and shutdown before starting the daemon again. I don't know if this will work for everyone, although I haven't had an issue related to second instances since implementing this. Perhaps if this is generally thought to be a good idea, Ethan could add it to the init script in the distribution. Thoughts? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) > -----Original Message----- > From: Carroll, Jim P [PCS] [mailto:jcarro10 at sprintspectrum.com] > Sent: Wednesday, August 06, 2003 10:56 AM > To: Steve Hanselman; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Issue with hostgroups. > > > It's possible you have more than one instance of Nagios running. > > Do a normal shutdown of Nagios, then check to see if there > are any Nagios processes remaining. If so, kill them off, > then restart Nagios. > > Let us know.... > > jc > > -----Original Message----- > From: Steve Hanselman [mailto:SteveH at brendata.co.uk] > Sent: Wednesday, August 06, 2003 10:15 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Issue with hostgroups. > > > We have a problem whereby we have a number of hostgroups, but > nagios things that 1 machine is in a hostgroup that it isn't, > I suspect a typo in the file, but I've had three people look > at it now and they all think it's ok. > > Has anybody seen this issue before I start looking deeper? > > The web interface when dumping the config doesn't think that > this machine is part of the hostgroup in question, but the > service in question only has a hostgroup_name entry for that > hostgroup? > > Regards > > Steve > > > > The information contained in this email is intended for the > personal and confidential use of the addressee only. It may > also be privileged information. If you are not the intended > recipient then you are hereby notified that you have received > this document in error and that any review, distribution or > copying of this document is strictly prohibited. If you have > received this communication in error, please notify Brendata > immediately on: > > +44 (0)1268 466100, or email 'technical at brendata.co.uk' > > Brendata (UK) Ltd > Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK > Registered Office as above. Registered in England No. 2764339 > > See our current vacancies at www.brendata.co.uk > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including Data Reports, E-commerce, Portals, and Forums are > available now. Download today and enter to win an XBOX or > Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Aug 6 22:21:44 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 6 Aug 2003 15:21:44 -0500 Subject: Any plans for admin UI interface In-Reply-To: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9CD@patton.infosysnetworks.com> References: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9CD@patton.infosysnetworks.com> Message-ID: <16177.25432.64989.8895@montanaro.dyndns.org> Brian> We are having great luck with NagMIN by Fred Reimers. You can Brian> find it at nagmin.sourceforge.net. The version 1.6 is greatly Brian> enhanced. We don't use WebMIN and probably wouldn't want that use it as a general system management tool. Can WebMIN be configured to only enable certain stuff (like NagMIN)? Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at dparrish.com Wed Aug 6 23:54:54 2003 From: david at dparrish.com (David Parrish) Date: Thu, 7 Aug 2003 07:54:54 +1000 Subject: Monitoring - 1000+ hosts and latency In-Reply-To: ; from Fred.Albrecht@za.tiscali.com on Wed, Aug 06, 2003 at 07:33:31AM +0200 References: Message-ID: <20030807075454.A18302@bilbo.dparrish.com> I'm not going to guarantee anything. From what I saw, the external check code that list patch applies to looks very similar in 1.0 & 1.1. Try it and see :) On Wed, Aug 06, 2003 at 07:33:31AM +0200, Fred Albrecht wrote: > Hi David > > Will this patch work on version 1.0 as well? > > :) > fred > > -----Original Message----- > > From: David Parrish [mailto:david at dparrish.com] > > Sent: 06 August 2003 01:32 AM > > To: ftang at cgg.com > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > > > > > I'm running a nagios install monitoring nearly 7000 services and still > > growing. It was unbearable until it was patched to not fork to process > > external check results as often. > > > > If a large portion of your checks are passive, then this > > patch will help a > > lot. Probably not much for active checks though. > > > > My average check latency is 0.006 sec. > > > > On Tue, Aug 05, 2003 at 12:23:25PM +0100, ftang at cgg.com wrote: > > > From: ftang at cgg.com > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Monitoring - 1000+ hosts and latency > > > Date: Tue, 5 Aug 2003 12:23:25 +0100 > > > > > > All, > > > > > > Is there anyone currenly using nagios (any version) on over > > 1000 hosts > > > (3000+ services)? I know that there have been emails about users > > > experiencing extreme latencies, and you can imagine that I > > too am in the > > > same crowd. I like nagios (used netsaint in my last company > > - only 15 > > > hosts), but I don''t think that it is suitable for my > > current setup. I hope > > > I am wrong. > > > > > > Thanks for your time. -- Regards, David Parrish 0410 586 121 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From McQueenJB at wpsc.com Thu Aug 7 02:50:01 2003 From: McQueenJB at wpsc.com (Joseph B. McQueen) Date: Wed, 06 Aug 2003 20:50:01 -0400 Subject: (no subject) Message-ID: <1060217401.c3aff820McQueenJB@wpsc.com> I've experienced an interesting issue that isn't specific to Nagios, but affects the monitoring of Nagios. The issue is that after a remote device goes down, maybe due to a circuit outage, the Linux server is no longer able to ping the device. I've tested this on RedHat 8.0, 9.0, and Suse 7.3 and all have had the same result. The interesting part is that while the device is not pingable after the circuit comes up from the Linux server, it is pingable from another machine on the same network. As well, I can telnet to the device, but not ping it. I did a little testing and found that if I ping the device with the following options "ping -I eth0 ", it works. As well, if I reinitialize the network adapter, the device is pingable once again. I only have one adapter one the server and a single default route with no other static routes. As well, I've used three different machines to test the problem on. A packet capture shows the only differences in the pings are packet size (I'm using Windows 2000 as a baseline for reachability when I have the problem) and the fragmentation allowed bit. Any ideas or assistance would be greatly appreciated. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmcqueen at joesjavajoint.com Thu Aug 7 03:02:04 2003 From: jmcqueen at joesjavajoint.com (Joseph McQueen) Date: Wed, 06 Aug 2003 21:02:04 -0400 Subject: Nagios Making Phone Calls - How ? Message-ID: I actually just completed setting this up. It?s pretty easy if you read the Docs on each piece and write some perl scripts (It was one of the first perl scripts I ever wrote). I used a notification (miscommands.cfg) to generate a text ?message? and a ?queue? entry. I check the queue using a perl script every couple of minutes. When I see something in the queue file, I use the text I generated from the notification and convert it to a WAV file using Festival?s TEXT2WAVE utility. This is then ran through some conversions (wavtopvf, pvfspeed, and pvftormd) to make it specific for the voice modem I?m using. Once I have the RMD file, I call the person listed in the queue and let them know they have an important message. If they press one, I play the message generated and remove them from the queue. All of the call scripting is in Perl (with some ?system? functions) using the Modem::Vgetty module. To Summarize, you?ll need... Festival (maybe with Festvox for some voices) Vgetty configured (Comes with pvftormd, pvfspeed, and wavtopvf as well as VM) Nagios (Obviously) Some customized perl scripting and an Idea of what you want the finalized process to be The best reference I found to do the perl scripting was the ?Mother of Perl? website which had a great example of calling someone. The rest was basically bits and pieces I pulled together through some research. If there is enough interest, I might post some of the scripting (although it is fairly rudimentary since I?m new to perl). I?m sure someone could better optimize how it works and I?d love the input to make it a viable solution for anyone. We actually are using it to replace our NOC monitoring service (which was horrid anyhow) and to replace What?s Up Gold (which hung the modem and prevented messages from being sent out). From: Networks .rr.com> Re: Nagios Making Phone Calls - How ? ? 2003-08-06 07:33 I have heard of people using festival and other programs to so this. If no one knows, I'll try to figure it out on my own, and let you guys know what I find. I'm sure others might be interested in doing this. Thanks, Josh On Tue, 2003-08-05 at 16:39, Networks wrote: > I was wondering if anyone has configured Nagios to send alerts with > phone calls through a modem? Any Help/Experience would be greatly > appreciated. > > Thanks, > > Josh > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at li... > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.baddeley at vpc.co.nz Thu Aug 7 03:27:27 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 7 Aug 2003 13:27:27 +1200 Subject: Using Check_snmp on Win2K for Processor Load References: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9CD@patton.infosysnetworks.com> <16177.25432.64989.8895@montanaro.dyndns.org> Message-ID: <002501c35c83$11f16610$b58031ca@bcl977307> Hi All, As the subject says - I'm using snmp to check processor load on some win2k boxes. The problem is that when the win2k box reboots (i.e. every 2nd day ;-) snmp re-indexes the processor load OID - which means I need to reconfig nagios to point at the new CPU OID. I also face this problem using Cricket, but this can be solved using snmpwalk -Ov foobar public hrProcessorLoad I figured I could solve my problem by hacking an existing snmp based check and adding the above. Before I start hacking - has anyone else done this already? jamie ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Thu Aug 7 03:47:00 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Wed, 6 Aug 2003 21:47:00 -0400 Subject: Any plans for admin UI interface Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9DB@patton.infosysnetworks.com> My experience with Webmin is only a few months, but it seems to be very integrated into Linux security. For example, you can have the users be authenticated with their Linux credentials. Then, you can restrict what modules they can have access to. For example, I let my administrators have access to Mysql and Nagmin. That is all they see and is where they default. In fact, if a user only has access to one module, it can automatically launch that module. One additional note, I have installed webmin with SSL support, so all my administrators have to access the pages via https. Brian. -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Wednesday, August 06, 2003 4:22 PM To: Brian Snead Cc: Anurag Gupta; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Any plans for admin UI interface Brian> We are having great luck with NagMIN by Fred Reimers. You can Brian> find it at nagmin.sourceforge.net. The version 1.6 is greatly Brian> enhanced. We don't use WebMIN and probably wouldn't want that use it as a general system management tool. Can WebMIN be configured to only enable certain stuff (like NagMIN)? Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Thu Aug 7 04:20:57 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 06 Aug 2003 22:20:57 -0400 Subject: (no subject) In-Reply-To: <1060217401.c3aff820McQueenJB@wpsc.com> References: <1060217401.c3aff820McQueenJB@wpsc.com> Message-ID: <5.2.1.1.0.20030806221920.01c05170@mail.capband.net> >I did a little testing and found that if I ping the device with the >following options "ping -I eth0 ", it works. As well, if I >reinitialize the network adapter, the device is pingable once again. Are you pinging thru a VPN, perhaps freeSWAN? It seems like the VPN connector (either on the same machine or another) is not rebuilding a broken connection and is using the same broken connector or socket to communicate. Lower your policy timeouts, perhaps, or use different VPN software. If it's not via a VPN, I'd still think it's along the same lines - a static connector or route that's not being rebuilt once the line comes back up. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Thu Aug 7 06:00:26 2003 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 06 Aug 2003 23:00:26 -0500 Subject: Nagios Making Phone Calls - How ? In-Reply-To: References: Message-ID: <3F31888A.18943.16AB517@localhost> If you'd be willing to post the scripts, I'd love to post the details on how you did this in a FAQ. I'm sure a few people would be interested in doing the same thing. On 6 Aug 2003 at 21:02, Joseph McQueen wrote: > > I actually just completed setting this up. It?s pretty easy if you > read the Docs on each piece and write some perl scripts (It was one > of the first perl scripts I ever wrote). > > I used a notification (miscommands.cfg) to generate a text ?message? > and a ?queue? entry. I check the queue using a perl script every > couple of minutes. When I see something in the queue file, I use the > text I generated from the notification and convert it to a WAV file > using Festival?s TEXT2WAVE utility. This is then ran through some > conversions (wavtopvf, pvfspeed, and pvftormd) to make it specific > for the voice modem I?m using. Once I have the RMD file, I call the > person listed in the queue and let them know they have an important > message. If they press one, I play the message generated and remove > them from the queue. > > All of the call scripting is in Perl (with some ?system? functions) > using the Modem::Vgetty module. > > To Summarize, you?ll need... > Festival (maybe with Festvox for some voices) > Vgetty configured (Comes with pvftormd, pvfspeed, and wavtopvf as > well as VM) > Nagios (Obviously) > Some customized perl scripting and an Idea of what you want the > finalized process to be > > The best reference I found to do the perl scripting was the ?Mother > of Perl? website which had a great example of calling someone. The > rest was basically bits and pieces I pulled together through some > research. > > If there is enough interest, I might post some of the scripting > (although it is fairly rudimentary since I?m new to perl). I?m sure > someone could better optimize how it works and I?d love the input to > make it a viable solution for anyone. We actually are using it to > replace our NOC monitoring service (which was horrid anyhow) and to > replace What?s Up Gold (which hung the modem and prevented messages > from being sent out). > > > From: Networks .rr.com> > Re: Nagios Making Phone Calls - How ? ? > 2003-08-06 07:33 > > I have heard of people using festival and other programs to so this. > If no one knows, I'll try to figure it out on my own, and let you > guys > know what I find. I'm sure others might be interested in doing this. > > Thanks, > > Josh > > On Tue, 2003-08-05 at 16:39, Networks wrote: > > I was wondering if anyone has configured Nagios to send alerts with > > phone calls through a modem? Any Help/Experience would be greatly > > appreciated. > > > > Thanks, > > > > Josh > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites > including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at li... > > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: > Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at nagios.org Thu Aug 7 06:00:26 2003 From: nagios at nagios.org (Ethan Galstad) Date: Wed, 06 Aug 2003 23:00:26 -0500 Subject: Time Zone settings in Nagios In-Reply-To: References: Message-ID: <3F31888A.32713.16AB4E4@localhost> Have you tried setting the date_format option in the main config file to "euro"? # DATE FORMAT OPTION # This option determines how short dates are displayed. Valid options # include: # us (MM-DD-YYYY HH:MM:SS) # euro (DD-MM-YYYY HH:MM:SS) # iso8601 (YYYY-MM-DD HH:MM:SS) # strict-iso8601 (YYYY-MM-DDTHH:MM:SS) # date_format=euro On 6 Aug 2003 at 17:35, Voon, Ton wrote: > > Good question! Add TZ=whatever; export TZ into your nagios startup > script > > I want to know how to change the output of the date from American to > British... > > -----Original Message----- > From: Rick.Cline at microchip.com [mailto:Rick.Cline at microchip.com] > Sent: Wednesday, August 06, 2003 4:45 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Time Zone settings in Nagios > > > We have recently implemented Nagios for our systems. > Everything is working very well. I do have one question however. > Is it possible to change the time zone from EST to another setting? > I have looked through the documentation and cannot find where to set > this option. > Your help is greatly appreciated. > > Thanks, > > Rick Cline > Principal Systems Engineer > CAD Systems > Microchip Technology Inc. > 2355 West Chandler Blvd. > Chandler, AZ 85224 > Voice 480.792.7994 > Email rick.cline at microchip.com > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse > Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.ciullini at datamar.it Thu Aug 7 08:48:22 2003 From: marco.ciullini at datamar.it (Marco Ciullini) Date: Thu, 07 Aug 2003 08:48:22 +0200 Subject: Any plans for admin UI interface In-Reply-To: <16177.25432.64989.8895@montanaro.dyndns.org> References: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9CD@patton.infosysnetworks.com> <16177.25432.64989.8895@montanaro.dyndns.org> Message-ID: <3F31F636.2030307@datamar.it> Yes, you can create a webmin user and then configure that user profile to access only nagadmin. > Brian> We are having great luck with NagMIN by Fred Reimers. You can > Brian> find it at nagmin.sourceforge.net. The version 1.6 is greatly > Brian> enhanced. > >We don't use WebMIN and probably wouldn't want that use it as a general >system management tool. Can WebMIN be configured to only enable certain >stuff (like NagMIN)? > >Thx, > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmat at shutdown.net Thu Aug 7 08:55:19 2003 From: jmat at shutdown.net (Justin Matlock) Date: Thu, 7 Aug 2003 02:55:19 -0400 Subject: "OR" conditionals/dependencies? References: <3F31888A.18943.16AB517@localhost> Message-ID: <000701c35cb0$ddc153e0$fb01010a@nomium.net> Hello everyone; I have an interesting situation here. I have a large server cluster being operated by Veritas Cluster. In a nutshell, we have 6 Oracle instances, spread out over three machines, all sharing the same EMC array via a fibre-channel connection. Each instance has its own set of mountpoints. If something goes wrong, VCS will take down Oracle, unmount the mount points, remount them on another machine, then bring up Oracle on the new machine (if you've never seen VCS in action, it's rather cool). The problem I encountered: Nagios is monitoring the mountpoints on Machine A, which we just rebooted. This means VCS unmounted and moved the mountpoints to Machine B. This means when A comes back up, the mountpoints aren't going to be there (and that's not a bad thing). SNMP just reports the mount points as "Unknown". To make matters worse, Nagios isn't monitoring the mount points on B (which just appeared), so when one of those fills up, we don't know about it. What I'm looking for is something like this for a service define service { host_name machine_A name mount_db01_oracle service_or machine_B,machine_C } Basically, the service won't go into critical/warning/unknown unless two of them go into Unknown and one of them goes into Critical/Warning/Unknown. If two of them are in Warning/Critical, that's a bad thing: it means two database servers are writing to the same disks on the array (which results in a very very bad week for the DBA's). Right now, we just have it set to not alert on Unknowns... but we got bitten by this the other day when VCS malfunctioned and all three ended up being Unknown.... and took one of our 1.2 terabyte production databases down with it.. and we didn't know for an hour. (oops) :-) Any ideas or suggestions? Thanks; Justin ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Thu Aug 7 09:16:19 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 7 Aug 2003 19:16:19 +1200 Subject: Any plans for admin UI interface In-Reply-To: <16177.25432.64989.8895@montanaro.dyndns.org> References: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9CD@patton.infosysnetworks.com> <16177.25432.64989.8895@montanaro.dyndns.org> Message-ID: <200308070709.h7779i421944@spectre.freeparking.co.nz> yes. absolutely. You can skin it too. all good. jamie On Thu, 07 Aug 2003 08:21, Skip Montanaro wrote: > Brian> We are having great luck with NagMIN by Fred Reimers. You can > Brian> find it at nagmin.sourceforge.net. The version 1.6 is greatly > Brian> enhanced. > > We don't use WebMIN and probably wouldn't want that use it as a general > system management tool. Can WebMIN be configured to only enable certain > stuff (like NagMIN)? > > Thx, ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yann.lollivier at logicacmg.com Thu Aug 7 09:58:02 2003 From: yann.lollivier at logicacmg.com (Yann Lollivier) Date: Thu, 7 Aug 2003 09:58:02 +0200 Subject: Nagios Making Phone Calls - How ? Message-ID: Hello, I am in the process of doing this. I am using a phone card to perform the calls, but this should work with a voice modem. Here is my prcess : -Nagios sends a mail with the contact's phone number as the subject to a specific user -Procmail is configured for this user, so it that it catches the mail and send it to a perl script for parsing -The perl script first generate a .wav file, calling the festival_client command with the message body as input -The phone number in the mail subject is then called, and the .wav gets play. If anyone has a better (cleaner ?) solution than using procmail, I'd be happy to hear about it ! Yann > -----Original Message----- > From: Networks [mailto:networks at wi.rr.com] > Sent: mercredi 6 ao?t 2003 16:31 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios Making Phone Calls - How ? > > > I have heard of people using festival and other programs to so this. > If no one knows, I'll try to figure it out on my own, and let you guys > know what I find. I'm sure others might be interested in doing this. > > Thanks, > > Josh > > On Tue, 2003-08-05 at 16:39, Networks wrote: > > I was wondering if anyone has configured Nagios to send alerts with > > phone calls through a modem? Any Help/Experience would be greatly > > appreciated. > > > > Thanks, > > > > Josh > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. LogicaCMG ********************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ton.Voon at egg.com Thu Aug 7 10:02:44 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 7 Aug 2003 09:02:44 +0100 Subject: Time Zone settings in Nagios Message-ID: Don't know how I missed this. Thanks! > -----Original Message----- > From: Ethan Galstad [mailto:nagios at nagios.org] > Sent: Thursday, August 07, 2003 5:00 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Time Zone settings in Nagios > > > Have you tried setting the date_format option in the main config file > to "euro"? > > > # DATE FORMAT OPTION > # This option determines how short dates are displayed. Valid options > # include: > # us (MM-DD-YYYY HH:MM:SS) > # euro (DD-MM-YYYY HH:MM:SS) > # iso8601 (YYYY-MM-DD HH:MM:SS) > # strict-iso8601 (YYYY-MM-DDTHH:MM:SS) > # > > date_format=euro > > > > On 6 Aug 2003 at 17:35, Voon, Ton wrote: > > > > > Good question! Add TZ=whatever; export TZ into your nagios startup > > script > > > > I want to know how to change the output of the date from > American to > > British... > > > > -----Original Message----- > > From: Rick.Cline at microchip.com [mailto:Rick.Cline at microchip.com] > > Sent: Wednesday, August 06, 2003 4:45 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Time Zone settings in Nagios > > > > > > We have recently implemented Nagios for our systems. > > Everything is working very well. I do have one question however. > > Is it possible to change the time zone from EST to another setting? > > I have looked through the documentation and cannot find > where to set > > this option. > > Your help is greatly appreciated. > > > > Thanks, > > > > Rick Cline > > Principal Systems Engineer > > CAD Systems > > Microchip Technology Inc. > > 2355 West Chandler Blvd. > > Chandler, AZ 85224 > > Voice 480.792.7994 > > Email rick.cline at microchip.com > > > > > > This private and confidential e-mail has been sent to you by Egg. > > The Egg group of companies includes Egg Banking plc > > (registered no. 2999842), Egg Financial Products Ltd (registered > > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > > carries out investment business on behalf of Egg and is regulated > > by the Financial Services Authority. > > Registered in England and Wales. Registered offices: 1 Waterhouse > > Square, > > 138-142 Holborn, London EC1N 2NA. > > If you are not the intended recipient of this e-mail and have > > received it in error, please notify the sender by replying with > > 'received in error' as the subject and then delete it from your > > mailbox. > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Thu Aug 7 10:19:56 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Thu, 7 Aug 2003 20:19:56 +1200 Subject: "OR" conditionals/dependencies? In-Reply-To: <000701c35cb0$ddc153e0$fb01010a@nomium.net> References: <3F31888A.18943.16AB517@localhost> <000701c35cb0$ddc153e0$fb01010a@nomium.net> Message-ID: <200308070813.h778DK426242@spectre.freeparking.co.nz> Hi Justin, You might be able to achieve what you want with check_cluster. jamie On Thu, 07 Aug 2003 18:55, you wrote: > Hello everyone; > > I have an interesting situation here. I have a large server cluster being > operated by Veritas Cluster. In a nutshell, we have 6 Oracle instances, > spread out over three machines, all sharing the same EMC array via a > fibre-channel connection. Each instance has its own set of mountpoints. > If something goes wrong, VCS will take down Oracle, unmount the mount > points, remount them on another machine, then bring up Oracle on the new > machine (if you've never seen VCS in action, it's rather cool). > > The problem I encountered: Nagios is monitoring the mountpoints on Machine > A, which we just rebooted. This means VCS unmounted and moved the > mountpoints to Machine B. This means when A comes back up, the mountpoints > aren't going to be there (and that's not a bad thing). SNMP just reports > the mount points as "Unknown". To make matters worse, Nagios isn't > monitoring the mount points on B (which just appeared), so when one of > those fills up, we don't know about it. > > What I'm looking for is something like this for a service > > define service { > host_name machine_A > name mount_db01_oracle > service_or machine_B,machine_C > } > > Basically, the service won't go into critical/warning/unknown unless two of > them go into Unknown and one of them goes into Critical/Warning/Unknown. > If two of them are in Warning/Critical, that's a bad thing: it means two > database servers are writing to the same disks on the array (which results > in a very very bad week for the DBA's). > > Right now, we just have it set to not alert on Unknowns... but we got > bitten by this the other day when VCS malfunctioned and all three ended up > being Unknown.... and took one of our 1.2 terabyte production databases > down with it.. and we didn't know for an hour. (oops) :-) > > Any ideas or suggestions? > > Thanks; > Justin > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott.zawalski at web.de Thu Aug 7 10:26:13 2003 From: scott.zawalski at web.de (Scott Zawalski) Date: Thu, 7 Aug 2003 10:26:13 +0200 Subject: Nagios alert that submits a Remedy/ARC Ticket? Message-ID: <200308070826.h778QDQ30234@mailgate5.cinetic.de> I am just wondering if anyone has already started on something of this nature so I do not need to repeat any steps that have already been taken. I have yet to find anything on the web that goes in this direction Thanks Scott ______________________________________________________________________________ Hoechste Sicherheit - kommunizieren Sie immer sicher und ganz privat WEB.DE FreeMail Deutschlands beste E-Mail - http://f.web.de/?mc=021134 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Thu Aug 7 11:35:29 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 7 Aug 2003 11:35:29 +0200 Subject: logo problems Message-ID: <200308071135.29861.roy@karlsbakk.net> hi all This may be a FAQ, but I've RTFM, and I still can't work out why it doesn't work. I have added the following line to nagios.cfg. xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg in hostextinfo.cfg, I have entries like these define hostextinfo { hostname firewall icon_image_alt Firewall icon_image linux40.gif statusmap_image linux40.gd2 } the base logo set is copied into /usr/local/nagios/share/images/logos (also tried /usr/local/nagios/share/logos and /usr/local/nagios/logos, but I still only get ?'s up everywhere. Apache doesn't give me any 'not found' error messages either, so what's happening? please help roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 2254 5070 (work) +47 9801 3356 (mobile) Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arbhushan at yahoo.com Thu Aug 7 11:41:34 2003 From: arbhushan at yahoo.com (Ravi Bhushan) Date: Thu, 7 Aug 2003 02:41:34 -0700 (PDT) Subject: No data was recieved. Message-ID: <20030807094134.68789.qmail@web10508.mail.yahoo.com> Hello Nagios-users, I have configured Nagios with all required services. However, intermittently I recieve an error "No data was recieved from host!". I have observed this problem mostly with a service check on Windows machine. [08-07-2003 10:13:23] SERVICE ALERT: HOSTNAME;disk_c_drive;WARNING;SOFT;1;No data was recieved from host! [08-07-2003 10:14:11] SERVICE ALERT: HOSTNAME;disk_c_drive;OK;SOFT;2;C:\ - total: 5.86 Gb - used: 4.90 Gb (84%) - free 0.96 Gb (16%) As you see from the event log, the error was only for 1 minute and was OK on next check. This raises a false Warning/Critical Alert. I have tried increasing the Timeout to 15 seconds in the checkcommands.cfg, but does not help. check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ -t 15 Can you please help me on this. thanks and regards -Ravi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From superbenk at superk.org Thu Aug 7 13:46:04 2003 From: superbenk at superk.org (Benjamin Krein) Date: Thu, 07 Aug 2003 07:46:04 -0400 Subject: logo problems In-Reply-To: <200308071135.29861.roy@karlsbakk.net> References: <200308071135.29861.roy@karlsbakk.net> Message-ID: <1060256764.1375.4.camel@bkrein.home.superk.org> Roy - On Thu, 2003-08-07 at 05:35, Roy Sigurd Karlsbakk wrote: > define hostextinfo { > hostname firewall > icon_image_alt Firewall > icon_image linux40.gif > statusmap_image linux40.gd2 > } Also, change the entry "hostname firewall" above to "host_name firewall" (host_name with the underscore in the middle). > please help > > roy -- Benjamin Krein www.superk.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jerome.fenal at logicacmg.com Thu Aug 7 13:41:50 2003 From: jerome.fenal at logicacmg.com (=?iso-8859-1?Q?J=E9r=F4me_Fenal?=) Date: Thu, 7 Aug 2003 13:41:50 +0200 Subject: Nagios alert that submits a Remedy/ARC Ticket? Message-ID: > -----Original Message----- > From: Scott Zawalski [mailto:scott.zawalski at web.de] > Sent: jeudi 7 ao?t 2003 10:26 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios alert that submits a Remedy/ARC Ticket? > > > I am just wondering if anyone has already started on > something of this nature so I do not need to repeat any steps > that have already been taken. I have yet to find anything on > the web that goes in this direction Hi, we already do this using Request Tracker, which is able to open a ticket by receiving a mail. If Remedy is able to open a ticket on a received mail, then it's as easy as configuring a contact for the hosts and services that need to open the ticket. Furthermore, if you can keep track of what opened the ticket, you could even think of closing the ticket on a recovery. Regards, J?r?me -- J?r?me Fenal - Consultant Unix/SAN/Logiciel Libre Groupe Expert & Managed Services - LogicaCMG France http://www.logicacmg.com/fr/ - ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. LogicaCMG ********************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From superbenk at superk.org Thu Aug 7 13:39:55 2003 From: superbenk at superk.org (Benjamin Krein) Date: Thu, 07 Aug 2003 07:39:55 -0400 Subject: logo problems In-Reply-To: <200308071135.29861.roy@karlsbakk.net> References: <200308071135.29861.roy@karlsbakk.net> Message-ID: <1060256394.1374.1.camel@bkrein.home.superk.org> Roy- On Thu, 2003-08-07 at 05:35, Roy Sigurd Karlsbakk wrote: > hi all > > This may be a FAQ, but I've RTFM, and I still can't work out why it doesn't > work. > > I have added the following line to nagios.cfg. > > xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg That line should be in the cgi.cfg file, NOT nagios.cfg. Everything else looks fine. > please help > > roy -- Benjamin Krein www.superk.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Thu Aug 7 13:58:15 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Thu, 7 Aug 2003 12:58:15 +0100 Subject: Compiling NRPE issue with Solaris Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D56665B1@abe-s-039.europe.shell.com> Richard Note sure if you found the answer to this. But for the rest of the list. openssl needs to be compiled with the following options to get so libs ./Configure --prefix=WHAT_EVER --openssldir=WHAT_EVER solaris-sparcv7-gcc shared Note this is the same config as used on the sunfreeware version So would suggest using that instead of compiling your self. Thanks to Chan for pointing me in the right direction . Matt Matthew Garrett Unix System Support Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Matt.M.Garrett at is.shell.com Internet: http://www.shell.com > -----Original Message----- > From: Aseltine, Richard [mailto:dick.aseltine at giantloop.com] > Sent: 17 July 2003 22:16 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Compiling NRPE issue with Solaris > > > > I have read the threads on problem compiling NRPE on Solaris. > Not that knowledgable in C and need help understanding how to > resolve this. I have it down to the following errors and > can't get past it. Your help will be extremely helpfull. > Thanks in advance. > > make all > cd ./src/; make ; cd .. > make[1]: Entering directory `/home/rha/nrpe-2.0b4/src' > gcc -g -O2 -I/usr/local/ssl/include/openssl > -I/usr/local/ssl/include -DHAVE_CONFIG_H -L/usr/local/ssl/lib > -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c > nrpe.c: In function `main': > nrpe.c:198: warning: assignment makes pointer from integer > without a cast > Undefined first referenced > symbol in file > SSL_library_init /var/tmp/ccduSV1c.o > SSL_CTX_set_cipher_list /var/tmp/ccduSV1c.o > SSL_CTX_ctrl /var/tmp/ccduSV1c.o > SSL_shutdown /var/tmp/ccduSV1c.o > SSL_CTX_free /var/tmp/ccduSV1c.o > SSL_load_error_strings /var/tmp/ccduSV1c.o > DH_free /var/tmp/ccduSV1c.o > get_dh512 /var/tmp/ccduSV1c.o > SSL_CTX_new /var/tmp/ccduSV1c.o > SSL_set_fd /var/tmp/ccduSV1c.o > SSLv23_server_method /var/tmp/ccduSV1c.o > SSL_write /var/tmp/ccduSV1c.o > SSL_new /var/tmp/ccduSV1c.o > SSL_get_error /var/tmp/ccduSV1c.o > SSL_free /var/tmp/ccduSV1c.o > SSL_read /var/tmp/ccduSV1c.o > SSL_accept /var/tmp/ccduSV1c.o > ld: fatal: Symbol referencing errors. No output written to nrpe > collect2: ld returned 1 exit status > make[1]: *** [nrpe] Error 1 > make[1]: Leaving directory `/home/rha/nrpe-2.0b4/src' > > *** Compile finished *** > > If the NRPE daemon and client compiled without any errors, you > can continue with installation. The NRPE daemon and client > binaries are located in the src/ subdirectory. > > ** If this is your monitoring host ** > > - Copy the check_nrpe client to the directory that > contains your Nagios plugins. > - Create a command definition in your Nagios config > file for the NRPE client. See the README file for > more info on doing this. > > ** If this host will be running the NRPE daemon ** > > - Copy the nrpe daemon to /usr/sbin, /usr/local/nagios > or wherever you feel it fits best. > - Copy the sample nrpe.cfg config file to /etc, > /usr/local/nagios or wherever you feel it fits best. > - Modify the /etc/services file and configure NRPE to > run under inetd, xinetd, or as a standalone daemon. > See the README file for more info on doing this. > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a > single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual > machines at the > same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmcqueen at wpsc.com Thu Aug 7 14:00:11 2003 From: jmcqueen at wpsc.com (Joseph B. McQueen) Date: Thu, 07 Aug 2003 08:00:11 -0400 Subject: (no subject) References: <5.2.1.1.0.20030806221920.01c05170@mail.capband.net> Message-ID: <3F323F4B.101@wpsc.com> There is no VPN involved as our network is only private circuits. As for a route, that would not explain why I could telnet to the device, but not ping. The problem is very specific to ICMP. As well, having another machine on the same switch being able to ping the device indicates it is not related to the network, but more specifically to the Nagios server. I'm only running a default gateway with no routing protocols and no static routes. I've checked the routes on the device before and after the problem and the do not change. It is a very wierd problem. Rob Nelson wrote: > >> I did a little testing and found that if I ping the device with the >> following options "ping -I eth0 ", it works. As well, if I >> reinitialize the network adapter, the device is pingable once again. > > > Are you pinging thru a VPN, perhaps freeSWAN? It seems like the VPN > connector (either on the same machine or another) is not rebuilding a > broken connection and is using the same broken connector or socket to > communicate. Lower your policy timeouts, perhaps, or use different VPN > software. > > If it's not via a VPN, I'd still think it's along the same lines - a > static connector or route that's not being rebuilt once the line comes > back up. > > > Rob Nelson > Network Administrator, Capitol Broadband > C: 919-369-1874 > rob at capband.net > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Wiesner at dbla.com Thu Aug 7 14:03:20 2003 From: Thomas.Wiesner at dbla.com (Wiesner, Thomas) Date: Thu, 7 Aug 2003 14:03:20 +0200 Subject: send_nsca.pl Message-ID: <116472F1372AD3118BF20008C791626C0BDE02F7@dlh00em1.dlh00e.mail.dresdner.net> Hi, Today I tested the send_nsca.pl and got the following error message. Could not establish a connection ......! Are you an allowed_host???? With the normal send_nsca it was successful from the same machine and that's why I think the system has the permission. I tried to find out more and think the problem is the following line: read(SOCK,$timestamp, 4) || die $failure; Is it correct that send_nsca.pl gets the xor_key (password) from the server side? Environment: - RedHat 8 - Nagios 1.0 - NSCA 2.4 Please help! Best regards Thomas Wiesner -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at capband.net Thu Aug 7 14:11:40 2003 From: rob at capband.net (Rob Nelson) Date: Thu, 07 Aug 2003 08:11:40 -0400 Subject: (no subject) In-Reply-To: <3F323F4B.101@wpsc.com> References: <5.2.1.1.0.20030806221920.01c05170@mail.capband.net> Message-ID: <5.2.1.1.0.20030807080758.0189e5d8@mail.capband.net> >There is no VPN involved as our network is only private circuits. As for a >route, that would not explain why I could telnet to the device, but not >ping. The problem is very specific to ICMP. As well, having another >machine on the same switch being able to ping the device indicates it is >not related to the network, but more specifically to the Nagios server. >I'm only running a default gateway with no routing protocols and no static >routes. I've checked the routes on the device before and after the problem >and the do not change. It is a very wierd problem. Yes, but on this other host, were you pinging the machine before it went down? It could be anything from an arp bridge table holding bad information across a link recycle to screwed up ICMP access-lists. If you can duplicate the before-and-after picture entirely, then I'd guess on the machine, but not until you have another machine pinging the same device before, during, and after the link goes up and down. How is this device connected? Most of my hosts are something like: remote node -> [wireless eq] -> PIX firewall <- VPN -> central PIX firewall -> monitoring server If the node goes down and reconnects on a different wireless unit, we were having some problems because someone set the entire site's equipment to use a bridge learn timeout of 700 minutes. Possibly something similar? |Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Thu Aug 7 14:08:05 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Thu, 7 Aug 2003 14:08:05 +0200 Subject: Nagios alert that submits a Remedy/ARC Ticket? Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- I'm not sure of the detail but I know Remedy can accept tickets via email. fred > -----Original Message----- > From: Scott Zawalski [mailto:scott.zawalski at web.de] > Sent: 07 August 2003 10:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios alert that submits a Remedy/ARC Ticket? > > > I am just wondering if anyone has already started on > something of this nature so I do not need to repeat any steps > that have already been taken. I have yet to find anything on > the web that goes in this direction > > Thanks > Scott > ______________________________________________________________ > ________________ > Hoechste Sicherheit - kommunizieren Sie immer sicher und ganz privat > WEB.DE FreeMail Deutschlands beste E-Mail - http://f.web.de/?mc=021134 > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Aug 7 14:29:20 2003 From: m.borsani at it.net (Marco Borsani) Date: Thu, 7 Aug 2003 14:29:20 +0200 Subject: Distributed monitoring & passive checks Message-ID: Hi everybody ! I am testing a distributed configuration as menthioned on manual (pag.111). To be sure to receive info about a service from the ditributed server i stop nagios on it, but I still have annotation about that service. I followed all the istructions. It is necessary to see nsca process on the central server and a send_nsca process on the distributed one? I don't see any one of them. I have both systesm on the same network but if i run manually send_mail -H "ip-address" "cfg.file" i receive this error message: Connection refused by host Error: Could not connect to host 10.0.0.37 on port 5667 many thanks Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From jens.kruse at mobilcom.de Thu Aug 7 14:30:27 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Thu, 07 Aug 2003 14:30:27 +0200 Subject: Problems with Extinfon and Database Support Message-ID: <3F324663.8050205@mobilcom.de> Hi! I still have the problem, that I can't see any extended Information on my Nagios Installation with database support. I meanwhile recompiled it '--with-default-extinfo' '--with-template-extinfo' '--with-mysql-xdata' and copied the new extinfo.cgi into the sbin-directory of Nagios - but don't receive any output! I tried within the cgi.cfg hostextinfo[eiland-lx]=http://eiland-lx;debian.gif;debian.jpg;debian.gd2;eiland-lx;;; and serviceextinfo[eiland-lx:Ping]=/nagios/cgi-bin/apan.cgi?host=eiland-lx&service=Ping;graph.png;View Graphs One thing I got with '--with-default-extinfo' was a new (but not defined by me) icon with the information 'There Are Additional Notes For This Host...'. I tried the template method with define hostextinfo{ name eiland-lx icon_image debian.gif icon_image_alt eiland-lx icon gd2_image debian.gd2 } define serviceextinfo{ host_name eiland-lx service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=eiland-lx&service=Ping icon_image graph.png icon_image_alt View graphs } Still no results? What went wrong? Regards, Jens ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Frank.Langanke at RSBICK.rohde-schwarz.com Thu Aug 7 15:41:34 2003 From: Frank.Langanke at RSBICK.rohde-schwarz.com (Frank.Langanke at RSBICK.rohde-schwarz.com) Date: Thu, 7 Aug 2003 15:41:34 +0200 Subject: resource.cfg and check_disk_smb Message-ID: Hello. If I define a service for check_disk_smb like the following, everything works fine: "check_command check_disk_smb!host01!myshare!admin!12345!95!98" I tried to set the user und password in the resource.cfg like this, $USER2$=admin $USER3$=12345 and redefined the command to "check_command check_disk_smb!host01!myshare!$USER2$!$USER3$!95!98" Unfortunately this service stays in status unknown: "Status Information: Invalid user: $". Any ideas ? Frank. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmcqueen at wpsc.com Thu Aug 7 14:43:20 2003 From: jmcqueen at wpsc.com (Joseph B. McQueen) Date: Thu, 07 Aug 2003 08:43:20 -0400 Subject: (no subject) References: <5.2.1.1.0.20030806221920.01c05170@mail.capband.net> <5.2.1.1.0.20030807080758.0189e5d8@mail.capband.net> Message-ID: <3F324968.3040507@wpsc.com> Our connectivity is as shown: remote node -> Cisco 2600 -> Frac T1 -> Cisco 3600 -> Core Switch -> Monitoring Server This is pretty much the same for most remote devices. I have reproduced the problem many times now on various hardware and OS vendors. The connectivity is classic of most enterprise networks. I often use our existing management server (What's Up Gold) to baseline whether this device is actually up or not. I'm running it in parallel with Nagios to ensure that we are operating flawlessly on the new system before removing the old. What's Up Gold (connected to the same switch) does not exhibit this problem, indicating more and more that it is a "Linux" issue. I appreciate your input on this. I'm pretty sure it's related directly to Linux and not the network. I was hoping someone might have seen this before as I seem to be having a hard time determining the root of the problem. Rob Nelson wrote: > >> There is no VPN involved as our network is only private circuits. As >> for a route, that would not explain why I could telnet to the device, >> but not ping. The problem is very specific to ICMP. As well, having >> another machine on the same switch being able to ping the device >> indicates it is not related to the network, but more specifically to >> the Nagios server. I'm only running a default gateway with no routing >> protocols and no static routes. I've checked the routes on the device >> before and after the problem and the do not change. It is a very >> wierd problem. > > > Yes, but on this other host, were you pinging the machine before it > went down? It could be anything from an arp bridge table holding bad > information across a link recycle to screwed up ICMP access-lists. If > you can duplicate the before-and-after picture entirely, then I'd > guess on the machine, but not until you have another machine pinging > the same device before, during, and after the link goes up and down. > > How is this device connected? Most of my hosts are something like: > > remote node -> [wireless eq] -> PIX firewall <- VPN -> central PIX > firewall -> monitoring server > > If the node goes down and reconnects on a different wireless unit, we > were having some problems because someone set the entire site's > equipment to use a bridge learn timeout of 700 minutes. Possibly > something similar? > > > |Rob Nelson > Network Administrator, Capitol Broadband > C: 919-369-1874 > rob at capband.net > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Thu Aug 7 16:22:48 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Thu, 7 Aug 2003 10:22:48 -0400 Subject: resource.cfg and check_disk_smb Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604C9DD@patton.infosysnetworks.com> Looks like you are trying to pass the variables $USER2$ and $USER3$ as parameters from the service check command. I would not expect this to work. The $USER2$ and $USER3$ need to be defined in the actual check_command syntax in the checkcommands.cfg file. Hope this helps. Brian. -----Original Message----- From: Frank.Langanke at RSBICK.rohde-schwarz.com [mailto:Frank.Langanke at RSBICK.rohde-schwarz.com] Sent: Thursday, August 07, 2003 9:42 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] resource.cfg and check_disk_smb Hello. If I define a service for check_disk_smb like the following, everything works fine: "check_command check_disk_smb!host01!myshare!admin!12345!95!98" I tried to set the user und password in the resource.cfg like this, $USER2$=admin $USER3$=12345 and redefined the command to "check_command check_disk_smb!host01!myshare!$USER2$!$USER3$!95!98" Unfortunately this service stays in status unknown: "Status Information: Invalid user: $". Any ideas ? Frank. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrobinett at wi.rr.com Thu Aug 7 16:30:27 2003 From: jrobinett at wi.rr.com (Joshua R.) Date: 07 Aug 2003 09:30:27 -0500 Subject: Nagios Making Phone Calls - How ? In-Reply-To: References: Message-ID: <1060266627.11548.5.camel@elijah> I got pretty far with this yesterday, but had problems getting vgetty (mgetty+voice) to work with the external US Robotics Sportster Modem. I will be picking up a voice modem to play with, and I will see if that works. My idea was to use the notification escalations to determine when to make phone calls, since I do not waiting it calling everyone immediately. My next best guess was defining a new command to be used for the contacts config file. and define a new contact/group for phone calls. Not sure how everyone else in-visioned this. I will let you know once I have made some more progress. Yann, can you post the scripts you used and the configs you made for nagios? Thanks, Josh On Thu, 2003-08-07 at 02:58, Yann Lollivier wrote: > Hello, > > I am in the process of doing this. I am using a phone card to perform the calls, but this should work with a voice modem. Here is my prcess : > -Nagios sends a mail with the contact's phone number as the subject to a specific user > -Procmail is configured for this user, so it that it catches the mail and send it to a perl script for parsing > -The perl script first generate a .wav file, calling the festival_client command with the message body as input > -The phone number in the mail subject is then called, and the .wav gets play. > > If anyone has a better (cleaner ?) solution than using procmail, I'd be happy to hear about it ! > > Yann > > > -----Original Message----- > > From: Networks [mailto:networks at wi.rr.com] > > Sent: mercredi 6 ao?t 2003 16:31 > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Nagios Making Phone Calls - How ? > > > > > > I have heard of people using festival and other programs to so this. > > If no one knows, I'll try to figure it out on my own, and let you guys > > know what I find. I'm sure others might be interested in doing this. > > > > Thanks, > > > > Josh > > > > On Tue, 2003-08-05 at 16:39, Networks wrote: > > > I was wondering if anyone has configured Nagios to send alerts with > > > phone calls through a modem? Any Help/Experience would be greatly > > > appreciated. > > > > > > Thanks, > > > > > > Josh > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET > > sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. > > > ********************************************************************** > This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they > are addressed. If you have received this email in error please notify > the system manager. LogicaCMG > ********************************************************************** > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott.zawalski at web.de Thu Aug 7 16:46:58 2003 From: scott.zawalski at web.de (Scott Zawalski) Date: Thu, 7 Aug 2003 16:46:58 +0200 Subject: Nagios Database Message-ID: <200308071446.h77EkwQ14938@mailgate5.cinetic.de> Is there a way to make nagios read all of its configurations out of a mysql database except for cgi.cfg and nagios.cfg? I ask this because I am trying to install webmin with a currently running setup of Nagios. It seemed to pick up everything fine but when I go to activate it it does not write to my actual nagios/etc files but instead to nagmin/nagios. I want to make sure there is no way to fix this before I go changing my config to point to those files. I haven't had any luck on other lists/web Thank you for your time, Scott ______________________________________________________________________________ Ihr eigenes Fotoalbum - einfach festlegen, wer welche Fotos sehen darf WEB.DE FreeMail Deutschlands beste E-Mail - http://f.web.de/?mc=021142 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Thu Aug 7 16:55:37 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 7 Aug 2003 16:55:37 +0200 Subject: status map config? Message-ID: <200308071655.37368.roy@karlsbakk.net> hi all after some help on #nagios @ irc.freenode.net, and these mails, logos work really nice now. see http://www.karlsbakk.net/nagios.png for a screen capture. Thanks a lot :) The only thing I want now, is to remove the 'Nagios Process' center in the circular status map (marked up), and replace it with my firewall. How can I do this? Do I need to change the code? regards roy -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 2254 5070 (work) +47 9801 3356 (mobile) Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Hartmann at megalearn.de Thu Aug 7 16:58:15 2003 From: J.Hartmann at megalearn.de (Joerg Hartmann) Date: Thu, 7 Aug 2003 16:58:15 +0200 Subject: permissions and cgi's Message-ID: <200308071658.15347.J.Hartmann@megalearn.de> Hello, i was running Netsaint for two years and thought now it would be time to upgrade to Nagios. I user Debian Woody and it's nagios-mysql package which is version 1.1 of Nagios. Unfortunatly i have problems with the cgi's of Nagios which i dont get solved by my own. After creating the database in MySQL for Nagios i installed the tables with the included "create_mysql.sql" script. I installed Nagios and it is writing the status etc into the database just fine (as i can see with the mysql client). I configured resource.cfg and cgi.cfg to use the mysql-db with the apropriate user and password. It's just on the localhost. And i have checked this some dozend times ... The nagios DB user has all the rights and the right password. The apache config should also be ok , as i get the login screen and all requests are logged by apache as coming from the "nagiosadmin" user. But i can not see the status of any host or service (service detail, host detail etc.) The frames display always the error message: "It appears as though you do not have permission to view information for any of the services you requested..." and the process status information on the webinterface say's always "unknown" , even if i can see al the information in the nagios db. It does not matter if i set "use_authentication" to 1 or 0. I just get the error message. The command "/usr/sbin/nagios -v /etc/nagios/nagios.cfg" doesn't produce any error and nagios is running fine using it's database. I just can't see the results on the website. As i dont know where to look for the problem now i hope someone can give some advice. regards J?rg -- J?rg Hartmann Tel: +49 391 40 00 125 J.Hartmann at megalearn.de ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Thu Aug 7 17:19:34 2003 From: m.borsani at it.net (Marco Borsani) Date: Thu, 7 Aug 2003 17:19:34 +0200 Subject: send_nsca timeout Message-ID: Hi ! Running send_nsca I receive this error message: Error: Timeout after 10 seconds During that time I see the communication between server and client come up (ESTABLISHED with netstat ?an command), but after 10 seconds it goes down. Any ideas? Thanks Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.Hochberg at mtvi.com Thu Aug 7 17:26:32 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 7 Aug 2003 11:26:32 -0400 Subject: Nagios alert that submits a Remedy/ARC Ticket? Message-ID: <5F29693503507B4FB4032686ADF862671AD073@mtviny25.mtvi.com> We have set up automatic ticket genration through Request Tracker when an alarm is acknowledged in Nagios. I know 2 years ago Remedy supported automated ticket generation via email so I am sure you can get this working... -Keith -----Original Message----- From: Fred Albrecht [mailto:Fred.Albrecht at za.tiscali.com] Sent: Thursday, August 07, 2003 8:08 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios alert that submits a Remedy/ARC Ticket? -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- I'm not sure of the detail but I know Remedy can accept tickets via email. fred > -----Original Message----- > From: Scott Zawalski [mailto:scott.zawalski at web.de] > Sent: 07 August 2003 10:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios alert that submits a Remedy/ARC Ticket? > > > I am just wondering if anyone has already started on > something of this nature so I do not need to repeat any steps > that have already been taken. I have yet to find anything on > the web that goes in this direction > > Thanks > Scott > ______________________________________________________________ > ________________ > Hoechste Sicherheit - kommunizieren Sie immer sicher und ganz privat > WEB.DE FreeMail Deutschlands beste E-Mail - http://f.web.de/?mc=021134 > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Thu Aug 7 17:32:51 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 7 Aug 2003 11:32:51 -0400 Subject: Distributed monitoring & passive checks Message-ID: <5F29693503507B4FB4032686ADF86267214C43@mtviny25.mtvi.com> You should see an nsca process on the 'master' or 'central' server. You will not see the nsca process on the 'slave' server. If I were you I would take the following steps: kill all nagios processes on both servers (make sure all nagios process indeed die). Make sure your slave server can telnet to your master server on port 5667 start up nsca on your master server and then nagios startup Nagios on your slave server tail -f /usr/local/nagios/var/nagios.log (or wherever you are logging) and make sure your master server is recieving the nsca data from the slave. also check your nsca configs on both hosts to make sure you have same settings (encryption, port 5667, etc) -Keith -----Original Message----- From: Marco Borsani [mailto:m.borsani at it.net] Sent: Thursday, August 07, 2003 8:29 AM To: NAGIOS Subject: [Nagios-users] Distributed monitoring & passive checks Hi everybody ! I am testing a distributed configuration as menthioned on manual (pag.111). To be sure to receive info about a service from the ditributed server i stop nagios on it, but I still have annotation about that service. I followed all the istructions. It is necessary to see nsca process on the central server and a send_nsca process on the distributed one? I don't see any one of them. I have both systesm on the same network but if i run manually send_mail -H "ip-address" "cfg.file" i receive this error message: Connection refused by host Error: Could not connect to host 10.0.0.37 on port 5667 many thanks Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Thu Aug 7 17:36:11 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 7 Aug 2003 10:36:11 -0500 Subject: static send_nsca? Message-ID: <16178.29163.365737.623995@montanaro.dyndns.org> Does anyone have a recipe for building a statically linked send_nsca program? I'd like to copy it around to a fair number of local machines, but it's so dependent on mcrypt and its minions that it doesn't look easily doable. I'm mostly interested in Solaris 8 w/ gcc, so a recipe for building a Solaris package would also be helpful. Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From basti at sskm.net Thu Aug 7 17:31:20 2003 From: basti at sskm.net (Sebastian Schubert) Date: 07 Aug 2003 17:31:20 +0200 Subject: Messed up Statusmap Message-ID: <1060270279.2942.17.camel@lnx024071100.vz.intra.sskm.de> Hello everybody, i've got some minor problems with the statusmap. We're currently monitoring 353 Systems and the Statusmap looks a bit weird when i use the Statusmaps that are generated without user supplied coords. I've defined some Ext Infos for EVERY Host: Example Host Definition: define hostextinfo{ host_name alc017002232 notes_url \ https://nagios.intra.sskm.de/infos.php?host=alc017002232 icon_image 4024.jpg icon_image_alt Alcatel Omniswitch 4024 statusmap_image my_switch.png } Nagios version is 1.0, OS is RedHat Linux 8.0 Any one else got problems like me ?? -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios_gone_crazy.png Type: image/png Size: 90645 bytes Desc: not available URL: From SteveH at brendata.co.uk Thu Aug 7 17:54:01 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Thu, 7 Aug 2003 16:54:01 +0100 Subject: Issue with hostgroups. Message-ID: <11720FFB22BED511A66800E07D923B37171FDE@prodntsc2.brendata> Ok, in the end I shut down nagios, rebooted the server, still no joy. Then I shut down nagios again, removed the entries in the status.sav file relating to this host and the services I didn't want, and that seems to have sorted it. I must have made a typo and somehow included that host for some period of time into the group and therefore generated some entries. Steve -----Original Message----- From: Carroll, Jim P [PCS] [mailto:jcarro10 at sprintspectrum.com] Sent: 06 August 2003 17:56 To: Steve Hanselman; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issue with hostgroups. It's possible you have more than one instance of Nagios running. Do a normal shutdown of Nagios, then check to see if there are any Nagios processes remaining. If so, kill them off, then restart Nagios. Let us know.... jc -----Original Message----- From: Steve Hanselman [mailto:SteveH at brendata.co.uk] Sent: Wednesday, August 06, 2003 10:15 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Issue with hostgroups. We have a problem whereby we have a number of hostgroups, but nagios things that 1 machine is in a hostgroup that it isn't, I suspect a typo in the file, but I've had three people look at it now and they all think it's ok. Has anybody seen this issue before I start looking deeper? The web interface when dumping the config doesn't think that this machine is part of the hostgroup in question, but the service in question only has a hostgroup_name entry for that hostgroup? Regards Steve The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cal at calevans.com Thu Aug 7 17:50:36 2003 From: cal at calevans.com (Cal Evans) Date: Thu, 7 Aug 2003 10:50:36 -0500 (CDT) Subject: check_mssql.sh v1.4 Message-ID: <2819.192.168.0.90.1060271436.squirrel@192.168.0.150> All I can say is DOH! Sorry Andrew, the status wasn't changing because of a typo in assigning the exit code. V1.4 fixed this. You can test with: ./check_mssql.sh hostname user pw ; echo $? It normally should echo 0. If you give an invalid user, pw or server it will echo 2. Latest version available at: http://sourceforge.net/tracker/index.php?func=detail&aid=774200&group_id=29880&atid=541465 =C= * * Cal Evans * http://www.christianperformer.com * Stay plugged in to your audience! * ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Thu Aug 7 18:07:09 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Thu, 7 Aug 2003 18:07:09 +0200 Subject: Nagios Making Phone Calls - How ? In-Reply-To: <1060266627.11548.5.camel@elijah> References: <1060266627.11548.5.camel@elijah> Message-ID: <200308071807.09922.roy@karlsbakk.net> I haven't implemented it yet, but I've thought of doing it, integrating the asterisk pbx (asterisk.org) with nagios so to make asterisk call some sysadmin or developer to yell at them whenever something goes wrong :) it's really no problem with asterisk. drop a something.call file in the /var/spool/asterisk/outgoing dir, and asterisk will call whatever number and do whatever you've specified in the .call file (say - play this or that .mp3 file, transfer to your girlfriend, record everything and forward it to the guy's boss by mail as a .wav attachment etc). The possibilities are innumberable :D (ps. I've tried some of these possibilities ... I set up an extension, and when in, dialed a number to call that person and set off playback of some very very noisy contemporary music) roy On Thursday 07 August 2003 16:30, Joshua R. wrote: > I got pretty far with this yesterday, but had problems getting vgetty > (mgetty+voice) to work with the external US Robotics Sportster Modem. I > will be picking up a voice modem to play with, and I will see if that > works. My idea was to use the notification escalations to determine when > to make phone calls, since I do not waiting it calling everyone > immediately. My next best guess was defining a new command to be used > for the contacts config file. and define a new contact/group for phone > calls. > > Not sure how everyone else in-visioned this. I will let you know once I > have made some more progress. Yann, can you post the scripts you used > and the configs you made for nagios? > > Thanks, > > Josh > > On Thu, 2003-08-07 at 02:58, Yann Lollivier wrote: > > Hello, > > > > I am in the process of doing this. I am using a phone card to perform the > > calls, but this should work with a voice modem. Here is my prcess : > > -Nagios sends a mail with the contact's phone number as the subject to a > > specific user -Procmail is configured for this user, so it that it > > catches the mail and send it to a perl script for parsing -The perl > > script first generate a .wav file, calling the festival_client command > > with the message body as input -The phone number in the mail subject is > > then called, and the .wav gets play. > > > > If anyone has a better (cleaner ?) solution than using procmail, I'd be > > happy to hear about it ! > > > > Yann > > > > > -----Original Message----- > > > From: Networks [mailto:networks at wi.rr.com] > > > Sent: mercredi 6 ao?t 2003 16:31 > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios Making Phone Calls - How ? > > > > > > > > > I have heard of people using festival and other programs to so this. > > > If no one knows, I'll try to figure it out on my own, and let you guys > > > know what I find. I'm sure others might be interested in doing this. > > > > > > Thanks, > > > > > > Josh > > > > > > On Tue, 2003-08-05 at 16:39, Networks wrote: > > > > I was wondering if anyone has configured Nagios to send alerts with > > > > phone calls through a modem? Any Help/Experience would be greatly > > > > appreciated. > > > > > > > > Thanks, > > > > > > > > Josh > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by: Free pre-built ASP.NET > > > > > > sites including > > > > > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > > > > _072303_01/01 > > > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > ::: reporting any issue. Messages without supporting info will risk > > > ::: being sent to /dev/null > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > >01 _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > > > This e-mail and any attachment is for authorised use by the intended > > recipient(s) only. It may contain proprietary material, confidential > > information and/or be subject to legal privilege. It should not be > > copied, disclosed to, retained or used by, any other party. If you are > > not an intended recipient then please promptly delete this e-mail and any > > attachment and all copies and inform the sender. Thank you. > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. LogicaCMG > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > >01 _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null -- Roy Sigurd Karlsbakk, Datavaktmester ProntoTV AS - http://www.pronto.tv/ Tel: +47 2254 5070 (work) +47 9801 3356 (mobile) Computers are like air conditioners. They stop working when you open Windows. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Thu Aug 7 18:16:31 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 7 Aug 2003 12:16:31 -0400 Subject: FW: RE: RE: Nagios alert that submits a Remedy/ARC Ticket? Message-ID: <5F29693503507B4FB4032686ADF862671AD078@mtviny25.mtvi.com> is everyone else getting this when sending an email to the users list? -----Original Message----- From: AntiSpam UOL [mailto:fmetta.sspam at uol.com.br] Sent: Thursday, August 07, 2003 12:15 PM To: Hochberg, Keith Subject: RE:RE: RE: [Nagios-users] Nagios alert that submits a Remedy/ARC Ticket? Ol?, Voc? enviou uma mensagem para fmetta at uol.com.br Para que sua mensagem seja encaminhada, por favor, clique aqui Esta confirma??o ? necess?ria porque fmetta at uol.com.br usa o Antispam UOL, um programa que elimina mensagens enviadas por rob?s, como pornografia, propaganda e correntes. As pr?ximas mensagens enviadas para fmetta at uol.com.br n?o precisar?o ser confirmadas*. *Caso voc? receba outro pedido de confirma??o, por favor, pe?a para fmetta at uol.com.br inclu?-lo em sua lista de autorizados. Aten??o! Se voc? n?o conseguir clicar no atalho acima, acesse este endere?o: http://tira-teima.as.uol.com.br/challengeSender.html?data=t6VGxi7m5oAMIyX6CLuZKaJjED2SpmTZN2NWh1bIXAV%2Bo8a9MM%2BzIcLlSUqss1E8xy8O9zSTVla0%0AZemyUl3KL%2FHU4DCclJKx%2FsbqhnrA0wGrK3OfR8i9eliIZMyvfldDsnFfCa5%2BKf07I4k6oCVUPNgM%0AazBMkoaFPUmCj1tkIHMz7%2B0MhamQzAH%2BMlCNb%2BO0lcta%2BIhCKvED2g1kFBKUBA%3D%3D _____ Hi, You?ve just sent a message to fmetta at uol.com.br In order to confirm the sent message, please click here This confirmation is necessary because fmetta at uol.com.br uses Antispam UOL, a service that avoids unwanted messages like advertising, pornography, viruses, and spams. Other messages sent to fmetta at uol.com.br won't need to be confirmed*. *If you receive another confirmation request, please ask fmetta at uol.com.br to include you in his/her authorized e-mail list. Warning! If the link doesn?t work, please copy the address below and paste it on your browser: http://tira-teima.as.uol.com.br/challengeSender.html?data=t6VGxi7m5oAMIyX6CLuZKaJjED2SpmTZN2NWh1bIXAV%2Bo8a9MM%2BzIcLlSUqss1E8xy8O9zSTVla0%0AZemyUl3KL%2FHU4DCclJKx%2FsbqhnrA0wGrK3OfR8i9eliIZMyvfldDsnFfCa5%2BKf07I4k6oCVUPNgM%0AazBMkoaFPUmCj1tkIHMz7%2B0MhamQzAH%2BMlCNb%2BO0lcta%2BIhCKvED2g1kFBKUBA%3D%3D Use o AntiSpam UOL e proteja sua caixa postal -------------- next part -------------- An HTML attachment was scrubbed... URL: From SteveH at brendata.co.uk Thu Aug 7 18:12:34 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Thu, 7 Aug 2003 17:12:34 +0100 Subject: Issue with hostgroups. Message-ID: <11720FFB22BED511A66800E07D923B37171FDF@prodntsc2.brendata> Typically (and very embarrassingly), no sooner had I sent the last message I spotted what I had done wrong. I converted a service definition into a template as we used the same for all our services, the other day I changed some of these to use hostgroups, of course, that meant that the service now no longer had a hostname, and therefore inherited the hostname from the service template. I've now made the template a real template with register 0 on it; let this be a lesson for the lazy (three cheers for us!!) Steve -----Original Message----- From: Carroll, Jim P [PCS] [mailto:jcarro10 at sprintspectrum.com] Sent: 06 August 2003 17:56 To: Steve Hanselman; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Issue with hostgroups. It's possible you have more than one instance of Nagios running. Do a normal shutdown of Nagios, then check to see if there are any Nagios processes remaining. If so, kill them off, then restart Nagios. Let us know.... jc -----Original Message----- From: Steve Hanselman [mailto:SteveH at brendata.co.uk] Sent: Wednesday, August 06, 2003 10:15 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Issue with hostgroups. We have a problem whereby we have a number of hostgroups, but nagios things that 1 machine is in a hostgroup that it isn't, I suspect a typo in the file, but I've had three people look at it now and they all think it's ok. Has anybody seen this issue before I start looking deeper? The web interface when dumping the config doesn't think that this machine is part of the hostgroup in question, but the service in question only has a hostgroup_name entry for that hostgroup? Regards Steve The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From basti at sskm.net Thu Aug 7 18:22:22 2003 From: basti at sskm.net (Sebastian Schubert) Date: 07 Aug 2003 18:22:22 +0200 Subject: FW: RE: RE: Nagios alert that submits a Remedy/ARC Ticket? In-Reply-To: <5F29693503507B4FB4032686ADF862671AD078@mtviny25.mtvi.com> References: <5F29693503507B4FB4032686ADF862671AD078@mtviny25.mtvi.com> Message-ID: <1060273341.2941.24.camel@lnx024071100.vz.intra.sskm.de> I'm also getting this f***** message ... i've written to this dork and told him/her that tools like this and a mailing list just won't work togehter, at least not without problems ... > is everyone else getting this when sending an email to the users list? > > -----Original Message----- > From: AntiSpam UOL [mailto:fmetta.sspam at uol.com.br] > Sent: Thursday, August 07, 2003 12:15 PM > To: Hochberg, Keith > Subject: RE:RE: RE: [Nagios-users] Nagios alert that submits a > Remedy/ARC Ticket? > > > [image] > > > > > Ol?, > > Voc? > enviou > uma > mensagem para fmetta at uol.com.br > Para > que sua > mensagem seja encaminhada, por favor, clique aqui > > > Esta > confirma??o ? necess?ria porque fmetta at uol.com.br usa o Antispam UOL, um programa que elimina mensagens enviadas por rob?s, como pornografia, propaganda e correntes. > > As > pr?ximas mensagens enviadas para fmetta at uol.com.br n?o precisar?o ser confirmadas*. > *Caso > voc? > receba > outro > pedido > de > confirma??o, por favor, pe?a para fmetta at uol.com.br inclu?-lo em sua lista de autorizados. > > Aten??o! Se voc? n?o conseguir clicar no atalho acima, acesse este endere?o: > http://tira-teima.as.uol.com.br/challengeSender.html?data=t6VGxi7m5oAMIyX6CLuZKaJjED2SpmTZN2NWh1bIXAV%2Bo8a9MM%2BzIcLlSUqss1E8xy8O9zSTVla0%0AZemyUl3KL%2FHU4DCclJKx%2FsbqhnrA0wGrK3OfR8i9eliIZMyvfldDsnFfCa5%2BKf07I4k6oCVUPNgM%0AazBMkoaFPUmCj1tkIHMz7%2B0MhamQzAH%2BMlCNb%2BO0lcta%2BIhCKvED2g1kFBKUBA%3D%3D > > _______________________ > > > Hi, > > You?ve > just > sent a > message > to > fmetta at uol.com.br > In > order > to > confirm > the > sent > message, please click here > > > This > confirmation is necessary because fmetta at uol.com.br uses Antispam UOL, a service that avoids unwanted messages like advertising, pornography, viruses, and spams. > > Other > messages sent to fmetta at uol.com.br won't need to be confirmed*. > *If you > receive > another > confirmation request, please ask fmetta at uol.com.br to include you in his/her authorized e-mail list. > > Warning! If the link doesn?t work, please copy the address below and paste it on your browser: > http://tira-teima.as.uol.com.br/challengeSender.html?data=t6VGxi7m5oAMIyX6CLuZKaJjED2SpmTZN2NWh1bIXAV%2Bo8a9MM%2BzIcLlSUqss1E8xy8O9zSTVla0%0AZemyUl3KL%2FHU4DCclJKx%2FsbqhnrA0wGrK3OfR8i9eliIZMyvfldDsnFfCa5%2BKf07I4k6oCVUPNgM%0AazBMkoaFPUmCj1tkIHMz7%2B0MhamQzAH%2BMlCNb%2BO0lcta%2BIhCKvED2g1kFBKUBA%3D%3D > Use o AntiSpam UOL e > proteja sua caixa > postal > -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From networks at wi.rr.com Thu Aug 7 18:26:40 2003 From: networks at wi.rr.com (Networks) Date: 07 Aug 2003 11:26:40 -0500 Subject: Nagios Making Phone Calls - How ? In-Reply-To: <200308071807.09922.roy@karlsbakk.net> References: <1060266627.11548.5.camel@elijah> <200308071807.09922.roy@karlsbakk.net> Message-ID: <1060273616.11908.8.camel@elijah> This just seems overkill to me, and entire PBX software running just to make an outgoing call. On Thu, 2003-08-07 at 11:07, Roy Sigurd Karlsbakk wrote: > I haven't implemented it yet, but I've thought of doing it, integrating the > asterisk pbx (asterisk.org) with nagios so to make asterisk call some > sysadmin or developer to yell at them whenever something goes wrong :) > > it's really no problem with asterisk. drop a something.call file in the > /var/spool/asterisk/outgoing dir, and asterisk will call whatever number and > do whatever you've specified in the .call file (say - play this or that .mp3 > file, transfer to your girlfriend, record everything and forward it to the > guy's boss by mail as a .wav attachment etc). The possibilities are > innumberable :D > > (ps. I've tried some of these possibilities ... I set up an extension, and > when in, dialed a number to call that person and set off playback of some > very very noisy contemporary music) > > roy > > On Thursday 07 August 2003 16:30, Joshua R. wrote: > > I got pretty far with this yesterday, but had problems getting vgetty > > (mgetty+voice) to work with the external US Robotics Sportster Modem. I > > will be picking up a voice modem to play with, and I will see if that > > works. My idea was to use the notification escalations to determine when > > to make phone calls, since I do not waiting it calling everyone > > immediately. My next best guess was defining a new command to be used > > for the contacts config file. and define a new contact/group for phone > > calls. > > > > Not sure how everyone else in-visioned this. I will let you know once I > > have made some more progress. Yann, can you post the scripts you used > > and the configs you made for nagios? > > > > Thanks, > > > > Josh > > > > On Thu, 2003-08-07 at 02:58, Yann Lollivier wrote: > > > Hello, > > > > > > I am in the process of doing this. I am using a phone card to perform the > > > calls, but this should work with a voice modem. Here is my prcess : > > > -Nagios sends a mail with the contact's phone number as the subject to a > > > specific user -Procmail is configured for this user, so it that it > > > catches the mail and send it to a perl script for parsing -The perl > > > script first generate a .wav file, calling the festival_client command > > > with the message body as input -The phone number in the mail subject is > > > then called, and the .wav gets play. > > > > > > If anyone has a better (cleaner ?) solution than using procmail, I'd be > > > happy to hear about it ! > > > > > > Yann > > > > > > > -----Original Message----- > > > > From: Networks [mailto:networks at wi.rr.com] > > > > Sent: mercredi 6 ao?t 2003 16:31 > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Nagios Making Phone Calls - How ? > > > > > > > > > > > > I have heard of people using festival and other programs to so this. > > > > If no one knows, I'll try to figure it out on my own, and let you guys > > > > know what I find. I'm sure others might be interested in doing this. > > > > > > > > Thanks, > > > > > > > > Josh > > > > > > > > On Tue, 2003-08-05 at 16:39, Networks wrote: > > > > > I was wondering if anyone has configured Nagios to send alerts with > > > > > phone calls through a modem? Any Help/Experience would be greatly > > > > > appreciated. > > > > > > > > > > Thanks, > > > > > > > > > > Josh > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.Net email sponsored by: Free pre-built ASP.NET > > > > > > > > sites including > > > > > > > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > > > > > > _072303_01/01 > > > > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > ::: reporting any issue. Messages without supporting info will risk > > > > ::: being sent to /dev/null > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > > >01 _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > ::: reporting any issue. Messages without supporting info will risk being > > > ::: sent to /dev/null > > > > > > This e-mail and any attachment is for authorised use by the intended > > > recipient(s) only. It may contain proprietary material, confidential > > > information and/or be subject to legal privilege. It should not be > > > copied, disclosed to, retained or used by, any other party. If you are > > > not an intended recipient then please promptly delete this e-mail and any > > > attachment and all copies and inform the sender. Thank you. > > > > > > > > > ********************************************************************** > > > This email and any files transmitted with it are confidential and > > > intended solely for the use of the individual or entity to whom they > > > are addressed. If you have received this email in error please notify > > > the system manager. LogicaCMG > > > ********************************************************************** > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/ > > >01 _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > ::: reporting any issue. Messages without supporting info will risk being > > > ::: sent to /dev/null > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk being > > ::: sent to /dev/null > > -- > Roy Sigurd Karlsbakk, Datavaktmester > ProntoTV AS - http://www.pronto.tv/ > Tel: +47 2254 5070 (work) > +47 9801 3356 (mobile) > > Computers are like air conditioners. > They stop working when you open Windows. > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phasenjager at fzacpa.com Thu Aug 7 18:34:19 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Thu, 07 Aug 2003 11:34:19 -0500 Subject: Parents Message-ID: Can anyone answer this for me? If I schedule a host for maintenance, but the host never goes down (only the services), will I still get alerts on the "children" of that host. For example, I'm performing maintenance on our firewall and have to take some of the services down (such as the proxy service)... Because of this, nagios cannot reach our router. Will I still get alerted that the router is unavailable? Thanks, Pat. ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From basti at sskm.net Thu Aug 7 18:47:03 2003 From: basti at sskm.net (Sebastian Schubert) Date: 07 Aug 2003 18:47:03 +0200 Subject: Nagios Making Phone Calls - How ? In-Reply-To: <1060273616.11908.8.camel@elijah> References: <1060266627.11548.5.camel@elijah> <200308071807.09922.roy@karlsbakk.net> <1060273616.11908.8.camel@elijah> Message-ID: <1060274823.2942.28.camel@lnx024071100.vz.intra.sskm.de> Am Don, 2003-08-07 um 18.26 schrieb Networks: > This just seems overkill to me, and entire PBX software running just to > make an outgoing call. > > I've been using ivcall some time ago, to check my mobile phone .. you might want to have a look at http://freshmeat.net/projects/ivcall/?topic_id=20 you could use this one with your 'misccommands' which are used for notification ;) -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Thu Aug 7 18:52:24 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 7 Aug 2003 12:52:24 -0400 Subject: Parents Message-ID: <5F29693503507B4FB4032686ADF862671AD079@mtviny25.mtvi.com> If you schedule a host for downtime it in turn schedules the services as well and you will not be notified. -----Original Message----- From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com] Sent: Thursday, August 07, 2003 12:34 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Parents Can anyone answer this for me? If I schedule a host for maintenance, but the host never goes down (only the services), will I still get alerts on the "children" of that host. For example, I'm performing maintenance on our firewall and have to take some of the services down (such as the proxy service)... Because of this, nagios cannot reach our router. Will I still get alerted that the router is unavailable? Thanks, Pat. ************************************************************************ ** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Thu Aug 7 19:05:59 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 7 Aug 2003 12:05:59 -0500 (CDT) Subject: Parents In-Reply-To: References: Message-ID: The answer is that depends on your configuration. Do you have notifications enabled for unreachable service checks? Have you configured host/service dependencies? Seting up a parent/child relationship will only change a down service check into an unreachable service check in the situation you describe. So, if you elect to get notified for unreachable service checks, your parent/child definition will not prevent a notification. On Thu, 7 Aug 2003, Patrick Hasenjager wrote: > Can anyone answer this for me? > > If I schedule a host for maintenance, but the host never goes down > (only the services), will I still get alerts on the "children" of that > host. > > For example, I'm performing maintenance on our firewall and have to > take some of the services down (such as the proxy service)... Because > of this, nagios cannot reach our router. Will I still get alerted that > the router is unavailable? > > Thanks, > Pat. > ************************************************************************** > > This e-mail and any attachments are intended only for the addressee. If > you are not the addressee you should not disseminate, distribute or copy > this e-mail or attachments. Please immediately notify the sender if you > have received this e-mail by mistake and delete it from your system. > E-mail transmission cannot be guaranteed secure or error-free as > information could be intercepted, corrupted, lost, destroyed, arrive late > or incomplete, or contain viruses. The sender does not accept liability > for errors or omissions in the contents of this message which arise or > occur during transmission. We will provide a "hard-copy" version of the > message and attachments upon request. > > Although reasonable precautions are taken to assure this e-mail is virus > free, we do not accept responsibility for the loss or damage arising from > the use of this e-mail or attachments. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Thu Aug 7 19:07:31 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 7 Aug 2003 13:07:31 -0400 Subject: FW: RE: RE: Nagios alert that submits aRemedy/ARC Ticket? Message-ID: <5F29693503507B4FB4032686ADF862671AD07B@mtviny25.mtvi.com> Can someone remove this person from the list? I have received many responses indicating this person has been asked numerous times to disable this spam filter... -----Original Message----- From: Sebastian Schubert [mailto:basti at sskm.net] Sent: Thursday, August 07, 2003 12:22 PM To: Hochberg, Keith Cc: nagios-users at lists.sourceforge.net Subject: Re: FW: RE: RE: [Nagios-users] Nagios alert that submits aRemedy/ARC Ticket? I'm also getting this f***** message ... i've written to this dork and told him/her that tools like this and a mailing list just won't work togehter, at least not without problems ... > is everyone else getting this when sending an email to the users list? > > -----Original Message----- > From: AntiSpam UOL [mailto:fmetta.sspam at uol.com.br] > Sent: Thursday, August 07, 2003 12:15 PM > To: Hochberg, Keith > Subject: RE:RE: RE: [Nagios-users] Nagios alert that submits a > Remedy/ARC Ticket? > > > [image] > > > > > Ol?, > > Voc? > enviou > uma > mensagem para fmetta at uol.com.br > Para > que sua > mensagem seja encaminhada, por favor, clique aqui > > > Esta > confirma??o ? necess?ria porque fmetta at uol.com.br usa o Antispam UOL, um programa que elimina mensagens enviadas por rob?s, como pornografia, propaganda e correntes. > > As > pr?ximas mensagens enviadas para fmetta at uol.com.br n?o precisar?o ser confirmadas*. > *Caso > voc? > receba > outro > pedido > de > confirma??o, por favor, pe?a para fmetta at uol.com.br inclu?-lo em sua lista de autorizados. > > Aten??o! Se voc? n?o conseguir clicar no atalho acima, acesse este endere?o: > http://tira-teima.as.uol.com.br/challengeSender.html?data=t6VGxi7m5oAMIyX6CLuZKaJjED2SpmTZN2NWh1bIXAV%2Bo8a9MM%2BzIcLlSUqss1E8xy8O9zSTVla0%0AZemyUl3KL%2FHU4DCclJKx%2FsbqhnrA0wGrK3OfR8i9eliIZMyvfldDsnFfCa5%2BKf07I4k6oCVUPNgM%0AazBMkoaFPUmCj1tkIHMz7%2B0MhamQzAH%2BMlCNb%2BO0lcta%2BIhCKvED2g1kFBKUBA%3D%3D > > _______________________ > > > Hi, > > You?ve > just > sent a > message > to > fmetta at uol.com.br > In > order > to > confirm > the > sent > message, please click here > > > This > confirmation is necessary because fmetta at uol.com.br uses Antispam UOL, a service that avoids unwanted messages like advertising, pornography, viruses, and spams. > > Other > messages sent to fmetta at uol.com.br won't need to be confirmed*. > *If you > receive > another > confirmation request, please ask fmetta at uol.com.br to include you in his/her authorized e-mail list. > > Warning! If the link doesn?t work, please copy the address below and paste it on your browser: > http://tira-teima.as.uol.com.br/challengeSender.html?data=t6VGxi7m5oAMIyX6CLuZKaJjED2SpmTZN2NWh1bIXAV%2Bo8a9MM%2BzIcLlSUqss1E8xy8O9zSTVla0%0AZemyUl3KL%2FHU4DCclJKx%2FsbqhnrA0wGrK3OfR8i9eliIZMyvfldDsnFfCa5%2BKf07I4k6oCVUPNgM%0AazBMkoaFPUmCj1tkIHMz7%2B0MhamQzAH%2BMlCNb%2BO0lcta%2BIhCKvED2g1kFBKUBA%3D%3D > Use o AntiSpam UOL e > proteja sua caixa > postal > -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dirk_Spring at gmx.net Thu Aug 7 19:10:04 2003 From: Dirk_Spring at gmx.net (Dirk Spring) Date: Thu, 7 Aug 2003 19:10:04 +0200 (MEST) Subject: (no subject) Message-ID: <24922.1060276204@www52.gmx.net> Hello everybody, I'm just beginnig with nagios, because I need for my Diploma. I am running out of time a little bit, so I hope someone can help me. I need to get nagios to autoupdating the networkmap. Generally I want Nagios to ping the Network, create a Map, decide wether its a normal client, a server or a network device. Then it should use preconfigured Masks with diverse Testing methods. The main problem i've got is how do I get Nagios creating a Map on it's own. I would be happy about any Tip, installing instructions and maybe some scripts I need. Please help, i'm running out of time, because I also have got an fulltime Job. Thanks a lot Dirk Spring -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualit?tssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Thu Aug 7 19:18:04 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Thu, 7 Aug 2003 13:18:04 -0400 Subject: Parents Message-ID: <5F29693503507B4FB4032686ADF862671AD07D@mtviny25.mtvi.com> Sorry... now that I read your email a bit more closely it seems your are confusing parent/child with dependencies... parent/child has nothing to do with notifications. -----Original Message----- From: Hochberg, Keith Sent: Thursday, August 07, 2003 12:52 PM To: Patrick Hasenjager; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Parents If you schedule a host for downtime it in turn schedules the services as well and you will not be notified. -----Original Message----- From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com] Sent: Thursday, August 07, 2003 12:34 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Parents Can anyone answer this for me? If I schedule a host for maintenance, but the host never goes down (only the services), will I still get alerts on the "children" of that host. For example, I'm performing maintenance on our firewall and have to take some of the services down (such as the proxy service)... Because of this, nagios cannot reach our router. Will I still get alerted that the router is unavailable? Thanks, Pat. ************************************************************************ ** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Aug 7 19:23:02 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 7 Aug 2003 12:23:02 -0500 Subject: (no subject) Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4867@mismail.ena.com> Bearing in mind that there is likely no one on this list that is going to do your work for you, there is (used to be?) an nmap->nagios utility on the extra downloads page that might be a good starting point for you. Looks like you've got a bit of scripting to do as well. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Dirk Spring To: nagios-users at lists.sourceforge.net Sent: Thu Aug 07 12:10:04 2003 Subject: [Nagios-users] (no subject) Hello everybody, I'm just beginnig with nagios, because I need for my Diploma. I am running out of time a little bit, so I hope someone can help me. I need to get nagios to autoupdating the networkmap. Generally I want Nagios to ping the Network, create a Map, decide wether its a normal client, a server or a network device. Then it should use preconfigured Masks with diverse Testing methods. The main problem i've got is how do I get Nagios creating a Map on it's own. I would be happy about any Tip, installing instructions and maybe some scripts I need. Please help, i'm running out of time, because I also have got an fulltime Job. Thanks a lot Dirk Spring -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualit?tssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From agupta at yahoo-inc.com Thu Aug 7 20:04:07 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Thu, 7 Aug 2003 11:04:07 -0700 Subject: Scheduled downtime - handlers get called anyways Message-ID: Hi, In Nagios, is there a way to disable host-event-handlers/service-event-handlers being called when there is a scheduled down time for a host/service? thanks ====================== Anurag Gupta agupta at yahoo-inc.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kin-Ho.Kwan at hxti.com Thu Aug 7 20:28:20 2003 From: Kin-Ho.Kwan at hxti.com (Kin-Ho Kwan) Date: Thu, 07 Aug 2003 14:28:20 -0400 Subject: Cannot Display Histogram/ Trend Graphs Message-ID: <3F329A44.9040000@hxti.com> Hi all, I am using RH7.3 to install Nagios from source and it's now monitoring servers correctly. However, when I try to see those histogram and trends, I did not see the graph at all. I have recompile the program twice and still doesn't work. Should I upgrade the graphical library in Linux or I have to change the permission in order to see the grpahs? Thanks -- Kin-Ho Kwan Software Engineer Hx Technologies Kin-Ho.Kwan at hxti.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DanielJ at avatar-cs.net Thu Aug 7 23:30:28 2003 From: DanielJ at avatar-cs.net (Daniel Jimenez) Date: Thu, 7 Aug 2003 16:30:28 -0500 Subject: Parents Message-ID: <115F85A8196CD411BBAB0008C759066182088C@FS01> Well what I think he's asking is this: Lets say B depends on A. If A is in scheduled downtime, will you still receive alerts for B? Or do you have to schedule both for downtime. Daniel -----Original Message----- From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] Sent: Thursday, August 07, 2003 12:18 PM To: Hochberg, Keith; Patrick Hasenjager; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Parents Sorry... now that I read your email a bit more closely it seems your are confusing parent/child with dependencies... parent/child has nothing to do with notifications. -----Original Message----- From: Hochberg, Keith Sent: Thursday, August 07, 2003 12:52 PM To: Patrick Hasenjager; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Parents If you schedule a host for downtime it in turn schedules the services as well and you will not be notified. -----Original Message----- From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com] Sent: Thursday, August 07, 2003 12:34 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Parents Can anyone answer this for me? If I schedule a host for maintenance, but the host never goes down (only the services), will I still get alerts on the "children" of that host. For example, I'm performing maintenance on our firewall and have to take some of the services down (such as the proxy service)... Because of this, nagios cannot reach our router. Will I still get alerted that the router is unavailable? Thanks, Pat. ************************************************************************ ** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.baddeley at vpc.co.nz Fri Aug 8 03:14:25 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 8 Aug 2003 13:14:25 +1200 Subject: Utils.pm & Check Breeze.pl Message-ID: <000d01c35d4a$6a59d0e0$b58031ca@bcl977307> Hi, I'm hacking around with Check_breeze.pl to use it for an alternative smnpwalk based check. I've made the changes, and it's bascially working but for some reason it's not using the %ERRORS part of the utils.pm module. I tried uncommenting "use vars($TIMEOUT %ERRORS);" from utils.pm in an effort to fix it, but this just produces: Unquoted string "utils" may clash with future reserved word at ./check_cpus line 8. Unquoted string "pm" may clash with future reserved word at ./check_cpus line 8. Operator or semicolon missing before %ERRORS at /usr/lib/nagios/plugins/utils.pm line 28. Ambiguous use of % resolved as operator % at /usr/lib/nagios/plugins/utils.pm line 28. Argument "ERRORS" isn't numeric in modulus (%) at /usr/lib/nagios/plugins/utils.pm line 28. Use of uninitialized value in modulus (%) at /usr/lib/nagios/plugins/utils.pm line 28. Illegal modulus zero at /usr/lib/nagios/plugins/utils.pm line 28. BEGIN failed--compilation aborted at /usr/lib/nagios/plugins/utils.pm line 28. Compilation failed in require at ./check_cpus line 9. BEGIN failed--compilation aborted at ./check_cpus line 9. when I run my hacked script. I'm not really even a flea on the Perl Camels back when it comes to coding Perl - so It's got me flummoxed basically. Is there a good reason why "use vars..." line is commented out? How does one make it so the %ERRORS part of utils.pm can be called by another perl script? Or alternatively have people actually got check_breeze.pl working successfully (yes I know it's available as a C based plugin) Please note that other parts of utils.pm is working just fine (i.e. subroutine support etc) -so I've got the common use lib issue sorted. Can someone put me out of my misery? :-) jamie ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Aug 8 05:14:15 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 7 Aug 2003 23:14:15 -0400 (EDT) Subject: resource.cfg and check_disk_smb In-Reply-To: References: Message-ID: On Thu, 7 Aug 2003 Frank.Langanke at RSBICK.rohde-schwarz.com wrote: > Hello. > > If I define a service for check_disk_smb like the following, everything works > fine: > "check_command check_disk_smb!host01!myshare!admin!12345!95!98" > > I tried to set the user und password in the resource.cfg like this, > > $USER2$=admin > $USER3$=12345 > > and redefined the command to > > "check_command check_disk_smb!host01!myshare!$USER2$!$USER3$!95!98" > > Unfortunately this service stays in status unknown: "Status Information: > Invalid user: $". > > Any ideas ? > Frank. > Create a new command definition as follows: command[check_disk_smb_hostx]=$USER1$/check_disk_smb -H $ARG1$ -s $ARG2$ -u $USER2$ -p $USER3$ -w 95 -c 98 The use the command as follows: "check_command check_disk_smb!host01!myshare!95!98" The USERx macros are meant to be used in the command definitions not the instances. -- -sg ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dom at vbi.vt.edu Fri Aug 8 05:16:49 2003 From: dom at vbi.vt.edu (Dominik L. Borkowski) Date: Thu, 7 Aug 2003 23:16:49 -0400 Subject: nsca documentation In-Reply-To: <000d01c35d4a$6a59d0e0$b58031ca@bcl977307> References: <000d01c35d4a$6a59d0e0$b58031ca@bcl977307> Message-ID: <200308072316.50244.dom@vbi.vt.edu> Hi, I've been looking through the documentation and the archives for this mailing list, yet I'm still very confused: how does one use nsca? I have currently an 80+ host nagios setup, with one central server, and nrpe for active checks. The concept behind it is quite simple, and well documented: server sends out a request to the host, which runs only nrpe and given plugins. However, what does one use on the remote host with nsca? Do I have to write a shell script to run all the plugins I need, parse them, and pipe the output to send_nsca plugin, which in turn will send things to the nsca daemon on the nagios server? Or do I need nagios running on each host? Any hints would be greatly appreciated. This is really driving me nuts :) sincerely, dom ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Aug 8 06:18:54 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 8 Aug 2003 14:18:54 +1000 Subject: issue with hostgroups In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Thu, Aug 07, 2003 at 08:18:17PM -0700 References: Message-ID: <20030808141850.F2866@IPAustralia.Gov.AU> Dear Sir, > > > We have a problem whereby we have a number of hostgroups, but nagios things > that 1 machine is in a hostgroup that it isn't, I suspect a typo in the > file, but I've had three people look at it now and they all think it's ok. > > Has anybody seen this issue before I start looking deeper? > Nope, but you could try Patrick LeBoutillier CPAN Nagios::Parser module to see what it makes of the config. Eyeballing mistakes in a Nag config is hard and the Nagios parser doesn't always help. Having a template aware mechanism for dumping all the attributes/properties of a problem host may help spot what is missing or anomalous. > Regards > > Steve > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 blackbird.net.au Fri Aug 8 06:53:27 2003 From: lists at blackbird.net.au (Dale Clapperton (lists)) Date: 08 Aug 2003 14:53:27 +1000 Subject: "Unreachable" vs "Down" state Message-ID: <1060318406.2597.87.camel@inferno> Hi all I'm having some trouble getting my head around this issue, and I cant find the answer in the documentation. What determines that a host is in an "unreachable" state as opposed to a "down" state? I have two hosts configured, servername and servername-core. servername-core is the router to which servername connects, and is a parent of servername. However when servername-core goes down, both servername-core and servername go into a down state (although servername-core is correctly shown as a blocking network outage). I was expecting servername-core to be "down" and servername to be "unreachable". Does the detection of an "unreachable" state require the configuration of a hostdependancy, or should it work from just setting it up the required parent line? Thanks Dale -- Dale Clapperton (lists) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Aug 8 07:50:03 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 8 Aug 2003 15:50:03 +1000 Subject: utils.pm and check_breeze.pl In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Thu, Aug 07, 2003 at 08:18:17PM -0700 References: Message-ID: <20030808154957.G2866@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, > From: "Jamie Baddeley" > Subject: [Nagios-users] Utils.pm & Check Breeze.pl > > Hi, > > I'm hacking around with Check_breeze.pl to use it for an alternative > smnpwalk based check. > > I've made the changes, and it's bascially working but for some reason it's > not using the %ERRORS part of the utils.pm module. I tried uncommenting "use > vars($TIMEOUT %ERRORS);" from utils.pm in an effort to fix it, but this just > produces: > > Unquoted string "utils" may clash with future reserved word at ./check_cpus > line 8. > Unquoted string "pm" may clash with future reserved word at ./check_cpus > line 8. Sounds like the script contains 'use utils.pm;'. Should be 'use utils;' > Operator or semicolon missing before %ERRORS at > /usr/lib/nagios/plugins/utils.pm line 28. > Ambiguous use of % resolved as operator % at > /usr/lib/nagios/plugins/utils.pm line 28. > Argument "ERRORS" isn't numeric in modulus (%) at > /usr/lib/nagios/plugins/utils.pm line 28. > Use of uninitialized value in modulus (%) at > /usr/lib/nagios/plugins/utils.pm line 28. > Illegal modulus zero at /usr/lib/nagios/plugins/utils.pm line 28. > BEGIN failed--compilation aborted at /usr/lib/nagios/plugins/utils.pm line > 28. > Compilation failed in require at ./check_cpus line 9. > BEGIN failed--compilation aborted at ./check_cpus line 9. > > when I run my hacked script. > > > Is there a good reason why "use vars..." line is commented out? > How does one make it so the %ERRORS part of utils.pm can be called by > another perl script? 1 Tell Perl where to load utils.pm from if it's not in the standard paths (eg perl -e 'print "@INC\n"' will let you know where it will look). This is what the 'use lib' pragma is for. 2 Tell Perl what to import into your script with use util qw (%ERRORS usage). Here's a working example use strict ; use Getopt::Long ; use Samba ; use utils ; use vars qw($opt_H $opt_s $opt_W $opt_u $opt_p $opt_w $opt_c $debug); use vars '$AUTOLOAD' ; use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); my $PROGNAME = 'check_ms_spooler' ; The 'use vars' pragma is only used where you want global variables (ie not lexicals/those declared with my or our) _and_ you want 'use strict' to have the compiler complain before you apply chainsaw to flesh and blood. In the example above, I would/have replaced the 'use vars' with my ($opt_H $opt_s $opt_W $opt_u $opt_p $opt_w $opt_c $debug); HTH Yours sincerely. > -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RKlisowski at era.pl Fri Aug 8 08:58:35 2003 From: RKlisowski at era.pl (=?iso-8859-2?Q?Klisowski_Rafa=B3?=) Date: Fri, 8 Aug 2003 08:58:35 +0200 Subject: Messed up Statusmap Message-ID: <20AF50E5F611F84993722DC135DF00BC3FE0B6@seth.corponet.era.pl> > i've got some minor problems with the statusmap. > We're currently monitoring 353 Systems and the Statusmap looks a bit > weird when i use the Statusmaps that are generated without > user supplied > coords. Did you try parants directive in hosts.cfg? It will help. R. -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Aug 8 10:38:57 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 8 Aug 2003 20:38:57 +1200 Subject: utils.pm and check_breeze.pl In-Reply-To: <20030808154957.G2866@IPAustralia.Gov.AU> References: <20030808154957.G2866@IPAustralia.Gov.AU> Message-ID: <200308080832.h788WI409070@spectre.freeparking.co.nz> Mr Hopcroft, Thank you for your prompt response. I have tried what you suggested to no avail. The thing is that I'm now basically (at this stage, to troubleshoot) changing the target OID on the CVS supplied check_breeze i.e: [root at Nagios plugins]# diff check_breeze.pl check_cpus 1c1 < #!/usr/bin/perl -wT --- > #!/usr/bin/perl -w 4c4,5 < use strict; --- > use lib '/usr/lib/nagios/plugins'; > #use strict; 5a7 > use utils; 7d8 < use lib utils.pm ; 50c51 < $sig = `/usr/bin/snmpget $host $opt_C .1.3.6.1.4.1.710.3.2.3.1.3.0`; --- > $sig = `/usr/bin/snmpget $host $opt_C .1.3.6.1.2.1.25.3.3.1.2.41`; [root at Nagios plugins]# and still I have the problem after your suggestions. My point is the utils.pm contains this: #use vars($TIMEOUT %ERRORS); - not my hacked script. i.e it may be a problem with utils.pm? If I remove the # in utils.pm, running check_cpus (my hacked code) speweth the complaints mentioned in the earlier email. Therefore one can safely say that check_breeze in CVS suffers the same problem as my script, yet I am ill equipped to solve the problem. sigh. :-) jamie (it's not something to do with exporter is it?) On Fri, 08 Aug 2003 17:50, Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter and say, > > > From: "Jamie Baddeley" > > Subject: [Nagios-users] Utils.pm & Check Breeze.pl > > > > Hi, > > > > I'm hacking around with Check_breeze.pl to use it for an alternative > > smnpwalk based check. > > > > I've made the changes, and it's bascially working but for some reason > > it's not using the %ERRORS part of the utils.pm module. I tried > > uncommenting "use vars($TIMEOUT %ERRORS);" from utils.pm in an effort to > > fix it, but this just produces: > > > > Unquoted string "utils" may clash with future reserved word at > > ./check_cpus line 8. > > Unquoted string "pm" may clash with future reserved word at ./check_cpus > > line 8. > > Sounds like the script contains 'use utils.pm;'. > Should be 'use utils;' > > > Operator or semicolon missing before %ERRORS at > > /usr/lib/nagios/plugins/utils.pm line 28. > > Ambiguous use of % resolved as operator % at > > /usr/lib/nagios/plugins/utils.pm line 28. > > Argument "ERRORS" isn't numeric in modulus (%) at > > /usr/lib/nagios/plugins/utils.pm line 28. > > Use of uninitialized value in modulus (%) at > > /usr/lib/nagios/plugins/utils.pm line 28. > > Illegal modulus zero at /usr/lib/nagios/plugins/utils.pm line 28. > > BEGIN failed--compilation aborted at /usr/lib/nagios/plugins/utils.pm > > line 28. > > Compilation failed in require at ./check_cpus line 9. > > BEGIN failed--compilation aborted at ./check_cpus line 9. > > > > when I run my hacked script. > > > > > > Is there a good reason why "use vars..." line is commented out? > > > > How does one make it so the %ERRORS part of utils.pm can be called by > > another perl script? > > 1 Tell Perl where to load utils.pm from if it's not in the standard > paths (eg perl -e 'print "@INC\n"' will let you know where it will > look). > > This is what the 'use lib' pragma is for. > > 2 Tell Perl what to import into your script with use util qw (%ERRORS > usage). > > Here's a working example > > use strict ; > > use Getopt::Long ; > use Samba ; > use utils ; > > use vars qw($opt_H $opt_s $opt_W $opt_u $opt_p $opt_w $opt_c $debug); > use vars '$AUTOLOAD' ; > use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); > > my $PROGNAME = 'check_ms_spooler' ; > > The 'use vars' pragma is only used where you want global variables (ie > not lexicals/those declared with my or our) _and_ you want 'use strict' > to have the compiler complain before you apply chainsaw to flesh and > blood. > > In the example above, I would/have replaced the 'use vars' with > > my ($opt_H $opt_s $opt_W $opt_u $opt_p $opt_w $opt_c $debug); > > HTH > > Yours sincerely. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From basti at sskm.net Fri Aug 8 15:29:24 2003 From: basti at sskm.net (Sebastian Schubert) Date: 08 Aug 2003 15:29:24 +0200 Subject: Messed up Statusmap In-Reply-To: <20AF50E5F611F84993722DC135DF00BC3FE0B6@seth.corponet.era.pl> References: <20AF50E5F611F84993722DC135DF00BC3FE0B6@seth.corponet.era.pl> Message-ID: <1060349363.8019.0.camel@lnx024071100.vz.intra.sskm.de> > > i've got some minor problems with the statusmap. > > We're currently monitoring 353 Systems and the Statusmap looks a bit > > weird when i use the Statusmaps that are generated without > > user supplied > > coords. > > Did you try parants directive in hosts.cfg? > It will help. > > R. of course i used the parents directive .. sorry that i forgot to mention this fact ;) -- "In god we trust, the Rest we Monitor" Sebastian Schubert - RHCE Stadtsparkasse Munich Network and Security -------------------------- basti at sskm.net Tel.+49 (89) 2167-6399 Fax.+49 (89) 2167-86399 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cabral at abilis.com.br Fri Aug 8 16:25:05 2003 From: cabral at abilis.com.br (Joaquim Cabral da Maia Neto) Date: Fri, 08 Aug 2003 11:25:05 -0300 Subject: remote check_cpuload Message-ID: <3F33B2C1.6080604@abilis.com.br> Hi! I'm using the check_cpuload, that uses the systat package, to collect CPU load on local machines. It works perfectly. Then, I configured it (systat + nrep-2.0b4+check_cpuload) on a remote host. When I execute the check_nrpe, I receive this message: "NRPE: Unable to read output" Can anyone help me ? Thanks , -- Joaquim Cabral da Maia Neto cabral at abilis.com.br ABILIS Tecnologia Ltda Joinville - SC - Brasil ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Fri Aug 8 16:52:08 2003 From: m.borsani at it.net (Marco Borsani) Date: Fri, 8 Aug 2003 16:52:08 +0200 Subject: how remove permissions for hosts commands Message-ID: Hi ! I want to be sure that our customers do not create problems so I?d like to prevent any possible changes with hosts commands (for example). How can I do it? Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlm17 at lucent.com Fri Aug 8 17:16:00 2003 From: jlm17 at lucent.com (jlm17) Date: Fri, 08 Aug 2003 11:16:00 -0400 Subject: two problems Message-ID: <3F33BEB0.7BDD1313@lucent.com> I'm have two problems with Nagios (so far). First, I can't get external commands to work. I've followed the step-by-step instructions for setting up a group, and setting the permissions for /usr/local/nagios/var/rw. These instructions did not say what to do after this for creating the file nagios.cmd inside the rw directory. I made an assumption and just created an empty file with open permissions (664) and ownership nagios.nagiocmd. When I go to execute an external command. The web page claims that is went through successfully. I look and the command is in the nagios.cmd file. However, it never gets executed. nagios.cfg shows check_external_commands=1 and command_check_interval=-1. What else must I do to get external commands to work? Second, one of four servers that are down is sending notification to me once every two hours. The other three never send notification, even on a reload. The host info for each machine is identical (except name of course). How do I make sure all hosts that go down send a notification to me? Thanks for any help. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.scholl at yorkgeneral.org Fri Aug 8 17:36:14 2003 From: michael.scholl at yorkgeneral.org (Scholl, Michael) Date: Fri, 8 Aug 2003 10:36:14 -0500 Subject: Warning: Monitoring process may not be running! Message-ID: - PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - Help!! I am getting the warning that Monitoring process may not be running, I checked the FAQ's, and did exactly what is listed, but it still will not work. I can run the the check at a command line and it says all is well, plus until I rebooted the nagios server yesterday it worked properly. Please help I'm at my wits end. Thank You Michael C. Scholl System/Network Analyst HIPAA Security Officer michael.scholl at yorkgeneral.org York General Health Care Services 2222 Lincoln Ave. York, NE 68467 (402) 362-0482 ---------- CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Fri Aug 8 17:44:00 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 8 Aug 2003 10:44:00 -0500 Subject: Warning: Monitoring process may not be running! Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7E32@mismail.ena.com> When you click the link that is provided for more information, what does it tell you? It will provide you with the reason why it doesn't think nagios is running. -- Marc ________________________________________ From: Scholl, Michael [mailto:michael.scholl at yorkgeneral.org] Sent: Friday, August 08, 2003 10:36 AM To: nagios-users at lists.sourceforge.net - PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - Help!! I am getting the warning that Monitoring process may not be running, I checked the FAQ's, and did exactly what is listed, but it still will not work. I can run the the check at a command line and it says all is well, plus until I rebooted the nagios server yesterday it worked properly. Please help I'm at my wits end. ? Thank You ? Michael C. Scholl System/Network Analyst HIPAA Security Officer michael.scholl at yorkgeneral.org ? ??????York General???????? Health Care Services ??????? 2222 Lincoln Ave. ??????? York, NE? 68467 ?????????(402) 362-0482? ? ---------- CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Aug 8 17:53:04 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 8 Aug 2003 10:53:04 -0500 Subject: two problems Message-ID: <5DB017510818EC468B05BD7BD9EACF83038E7E35@mismail.ena.com> > -----Original Message----- > From: jlm17 [mailto:jlm17 at lucent.com] > Sent: Friday, August 08, 2003 10:16 AM > To: nagios-users at lists.sourceforge.net > > I'm have two problems with Nagios (so far). > > First, I can't get external commands to work. I've followed the step-by- > step > instructions for setting up a group, and setting the permissions for > /usr/local/nagios/var/rw. These instructions did not say what to do after > this > for creating the file nagios.cmd inside the rw directory. I made an > assumption > and just created an empty file with open permissions (664) and ownership > nagios.nagiocmd. When I go to execute an external command. The web page > claims > that is went through successfully. I look and the command is in the > nagios.cmd > file. However, it never gets executed. nagios.cfg shows > check_external_commands=1 and command_check_interval=-1. What else must I > do to > get external commands to work? Have you tried restarting nagios since making the config changes as opposed to a reload? You'll also need to delete the nagios.cmd file you created by hand before restarting as nagios creates a named pipe with that name if everything is configured properly. If the answer to that question is yes, is there anything interesting in nagios.log related to this? > > Second, one of four servers that are down is sending notification to me > once > every two hours. The other three never send notification, even on a > reload. The > host info for each machine is identical (except name of course). How do I > make > sure all hosts that go down send a notification to me? Assuming as you say that all the host and service definitions are identical where it matters, you might want to verify that you don't have multiple copies of nagios running. Stop nagios, ps -ef and see if there are any. You shouldn't have to and it shouldn't matter in this case, but while nagios is stopped, you could try deleteing status.sav and restart. -- Marc ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Fri Aug 8 18:15:31 2003 From: solomolo90 at hotmail.com (solo molo) Date: Fri, 08 Aug 2003 16:15:31 +0000 Subject: Passive checks processed out of order Message-ID: I wonder if this is a bug. I checked my logs this morning and found that two passive check results came in within 10 seconds of each other, but nagios proccessed the older of the two last, leaving an incorrect status in the UI. Any ideas? _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Fri Aug 8 18:40:24 2003 From: solomolo90 at hotmail.com (solo molo) Date: Fri, 08 Aug 2003 16:40:24 +0000 Subject: Nagios Making Phone Calls - How ? Message-ID: I have successfully done this with a Hayes Acura V.92 Model 15328. Getting vgetty to work properly was an absolute nitemare. I ended up getting a patched version from a webiste for another product called VOCP (www.vocpsystem.com). This patched version allows you to force vgetty to detect whichever modem type will work - I had to try every possible setting with test.pvf program (this comes with the patched version) before finding one that would work. As far as implementation, I created a callservice and a callclient. The callservice runs as a daemon and waits for phonecall requests. When nagios escalation requires a phone call, nagios executes the call client. The main reason I did this was to throttle the number of phone calls that could be placed at any one time. Anyway I've attached the source for those two components. I only need to call one number, but the code could easily be modified to take arguments for different call scripts. If you have any questions let me know. It took me forever to finally get this all working right, so I'd be happy to share the knowledge. >From: "Joshua R." >To: Yann Lollivier >CC: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Nagios Making Phone Calls - How ? >Date: 07 Aug 2003 09:30:27 -0500 > >I got pretty far with this yesterday, but had problems getting vgetty >(mgetty+voice) to work with the external US Robotics Sportster Modem. I >will be picking up a voice modem to play with, and I will see if that >works. My idea was to use the notification escalations to determine when >to make phone calls, since I do not waiting it calling everyone >immediately. My next best guess was defining a new command to be used >for the contacts config file. and define a new contact/group for phone >calls. > >Not sure how everyone else in-visioned this. I will let you know once I >have made some more progress. Yann, can you post the scripts you used >and the configs you made for nagios? > >Thanks, > >Josh > >On Thu, 2003-08-07 at 02:58, Yann Lollivier wrote: > > Hello, > > > > I am in the process of doing this. I am using a phone card to perform >the calls, but this should work with a voice modem. Here is my prcess : > > -Nagios sends a mail with the contact's phone number as the subject to a >specific user > > -Procmail is configured for this user, so it that it catches the mail >and send it to a perl script for parsing > > -The perl script first generate a .wav file, calling the >festival_client command with the message body as input > > -The phone number in the mail subject is then called, and the .wav gets >play. > > > > If anyone has a better (cleaner ?) solution than using procmail, I'd be >happy to hear about it ! > > > > Yann > > > > > -----Original Message----- > > > From: Networks [mailto:networks at wi.rr.com] > > > Sent: mercredi 6 ao??t 2003 16:31 > > > To: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Nagios Making Phone Calls - How ? > > > > > > > > > I have heard of people using festival and other programs to so this. > > > If no one knows, I'll try to figure it out on my own, and let you guys > > > know what I find. I'm sure others might be interested in doing this. > > > > > > Thanks, > > > > > > Josh > > > > > > On Tue, 2003-08-05 at 16:39, Networks wrote: > > > > I was wondering if anyone has configured Nagios to send alerts with > > > > phone calls through a modem? Any Help/Experience would be greatly > > > > appreciated. > > > > > > > > Thanks, > > > > > > > > Josh > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.Net email sponsored by: Free pre-built ASP.NET > > > sites including > > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > > > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > > _072303_01/01 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > This e-mail and any attachment is for authorised use by the intended >recipient(s) only. It may contain proprietary material, confidential >information and/or be subject to legal privilege. It should not be copied, >disclosed to, retained or used by, any other party. If you are not an >intended recipient then please promptly delete this e-mail and any >attachment and all copies and inform the sender. Thank you. > > > > > > ********************************************************************** > > This email and any files transmitted with it are confidential and > > intended solely for the use of the individual or entity to whom they > > are addressed. If you have received this email in error please notify > > the system manager. LogicaCMG > > ********************************************************************** > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: buster_alert.pl URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: callclient.pl URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: callsvc.pl URL: From michael.scholl at yorkgeneral.org Fri Aug 8 18:53:58 2003 From: michael.scholl at yorkgeneral.org (Scholl, Michael) Date: Fri, 8 Aug 2003 11:53:58 -0500 Subject: Warning: Monitoring process may not be running! Message-ID: - PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - It says " Could not locate a running Nagios process! " But it is running, I can do ps and I see it running, I can also type the chck_nagios at the command line with the same flags as are in the cgi.cfg file and it responds that nagios is ok, and says how many running processes there are. Michael C. Scholl System/Network Analyst HIPAA Security Officer michael.scholl at yorkhospital.org -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Friday, August 08, 2003 10:44 AM To: Scholl, Michael; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Warning: Monitoring process may not be running! When you click the link that is provided for more information, what does it tell you? It will provide you with the reason why it doesn't think nagios is running. -- Marc ________________________________________ From: Scholl, Michael [mailto:michael.scholl at yorkgeneral.org] Sent: Friday, August 08, 2003 10:36 AM To: nagios-users at lists.sourceforge.net - PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - Help!! I am getting the warning that Monitoring process may not be running, I checked the FAQ's, and did exactly what is listed, but it still will not work. I can run the the check at a command line and it says all is well, plus until I rebooted the nagios server yesterday it worked properly. Please help I'm at my wits end. ? Thank You ? Michael C. Scholl System/Network Analyst HIPAA Security Officer michael.scholl at yorkgeneral.org ? ??????York General???????? Health Care Services ??????? 2222 Lincoln Ave. ??????? York, NE? 68467 ?????????(402) 362-0482? ? ---------- CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. ---------- CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Fri Aug 8 19:30:28 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Fri, 08 Aug 2003 14:30:28 -0300 Subject: Unknow state while trying to 'fping' Message-ID: <20030808173028.26216.qmail@linuxmail.org> Hi folks, While trying to check all hosts with 'fping' I'm getting the following state (Status Information) in the web interface: FPING UNKNOWN - 10.21.165.11 What could be wrong? Here it is my configs.: # services.cfg define service{ host_name * service_description Fast Ping check_command check_fping # checkcommands.cfg define command{ command_name check_fping command_line $USER1$/check_fping -H $HOSTADDRESS$ } Thank you all, and I know this is a simple question! ;) -- Rivanor P. Soares (w3b_kn0wS) LPIC-1, CCNA Sao Paulo, SP Brazil "Open Source. Millions of open minds cannot be wrong." -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmcqueen at wpsc.com Fri Aug 8 20:10:13 2003 From: jmcqueen at wpsc.com (Joseph B. McQueen) Date: Fri, 08 Aug 2003 14:10:13 -0400 Subject: Escalation Problem: RESOLVED Message-ID: <3F33E785.3090207@wpsc.com> I wrote last week that I was having problems with escalations. I was able to resolve this problem myself finally but found something that may be a bug. The initial problem was that escalations simply were not functioning. A host that was down would send one notification and never send anything else. After running Nagios in full debug mode this morning, I noticed that when a host was down, it started checking it's status every 10 seconds instead of every 60 seconds. I remembered seeing a "use_agressive_host_checking" option in the nagios.cfg file, when I checked it, I found that I had it enabled. Once I disabled this option, my escalations immediately began working properly. It was one of those really screwy problems so I was wondering if anyone else had seen it before. If not, maybe Ethan can take a look at it and see if it might be a bug. Anyhow... Have a good weekend all. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Fri Aug 8 20:13:13 2003 From: solomolo90 at hotmail.com (solo molo) Date: Fri, 08 Aug 2003 18:13:13 +0000 Subject: Monitoring - 1000+ hosts and latency Message-ID: I'm having the same problem. Where is this patch located? >From: David Parrish >To: Fred Albrecht >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency >Date: Thu, 7 Aug 2003 07:54:54 +1000 > >I'm not going to guarantee anything. From what I saw, the external check >code that list patch applies to looks very similar in 1.0 & 1.1. > >Try it and see :) > >On Wed, Aug 06, 2003 at 07:33:31AM +0200, Fred Albrecht wrote: > > > Hi David > > > > Will this patch work on version 1.0 as well? > > > > :) > > fred > > > -----Original Message----- > > > From: David Parrish [mailto:david at dparrish.com] > > > Sent: 06 August 2003 01:32 AM > > > To: ftang at cgg.com > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > > > > > > > > I'm running a nagios install monitoring nearly 7000 services and still > > > growing. It was unbearable until it was patched to not fork to process > > > external check results as often. > > > > > > If a large portion of your checks are passive, then this > > > patch will help a > > > lot. Probably not much for active checks though. > > > > > > My average check latency is 0.006 sec. > > > > > > On Tue, Aug 05, 2003 at 12:23:25PM +0100, ftang at cgg.com wrote: > > > > From: ftang at cgg.com > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] Monitoring - 1000+ hosts and latency > > > > Date: Tue, 5 Aug 2003 12:23:25 +0100 > > > > > > > > All, > > > > > > > > Is there anyone currenly using nagios (any version) on over > > > 1000 hosts > > > > (3000+ services)? I know that there have been emails about users > > > > experiencing extreme latencies, and you can imagine that I > > > too am in the > > > > same crowd. I like nagios (used netsaint in my last company > > > - only 15 > > > > hosts), but I don''t think that it is suitable for my > > > current setup. I hope > > > > I am wrong. > > > > > > > > Thanks for your time. > >-- >Regards, >David Parrish >0410 586 121 ><< attach3 >> _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Fri Aug 8 20:44:22 2003 From: rob at capband.net (Rob Nelson) Date: Fri, 08 Aug 2003 14:44:22 -0400 Subject: Monitoring wireless devices via ping Message-ID: <5.2.1.1.0.20030808143436.01a19250@mail.capband.net> I am monitoring a variety of Wireless devices via ping, over a VPN: [ Nagios ] -> PIX <- VPN tunnel -> PIX -> devices When the devices lose power during storms or whatnot (we have the head end on UPS's but not every building, so 4 out of 70 devices are on UPS), they become unreachable from the Nagios monitoring server. However, from a local machine at the site, every device is reachable - and once pinged, are available over the VPN to Nagios. By using debugs, I am *sure* that the VPN sessions are not stale or dying - after all, I am able to use the VPN to get to our remote server. I have some theories on this below, but has anyone seen anything similar to this? I'd really like to know why it happens. So here's my theories.... The wireless devices, when you ping them after a reboot, NEVER respond on the first ping. My suspicion is that the wireless devices do not talk unless they're *used*. And of course, if a host on a remote network pings them first, they aren't going to talk at all. My support for this is that any access points supporting a user at the time of power loss, such as the central office in each site, continues to be reachable across the VPN, and the others come back slowly as people turn their machines on, reboot, come home from work, etc. My workaround has been to do an "nmap -sP .1-105" on a 5 minute schedule on the server at each site. It's a PITA, but it's worth it if it keeps Nagios from throwing 70 errors every time the power goes out for 3 seconds. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott at scottscomputing.com Fri Aug 8 20:55:23 2003 From: scott at scottscomputing.com (Scott Wang) Date: Fri, 8 Aug 2003 13:55:23 -0500 Subject: setting up server info in Nagios Message-ID: <200388135523.127411@2kpro> hey guys, I'm a newbie to the group and to Linux. I just downloaded and installed Red Hat 9 yesterday on a spare computer that will be solely for running Nagios and checking the uptime of my webserver(s). I want to check apache/port80, pop server, DNS, and ftp server. I want it to check once per minute. I have Nagios installed and authentication disabled (because I couldn't get that to work - it's okay though - behind a firewall). My only hitch is that I can't figure out how in the world to enter my server's details and tell it to start doing its thing... Is there anyone here that can take my hand and walk me through it, step by step? Or a step-by-step manual anywhere? I dug through all the documentation I could find. -Scott ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rhycel at yahoo.com Sat Aug 9 04:31:45 2003 From: rhycel at yahoo.com (rhycel cris) Date: Fri, 8 Aug 2003 19:31:45 -0700 (PDT) Subject: check_ping problem Message-ID: <20030809023145.19716.qmail@web12106.mail.yahoo.com> Hello! I just want to ask what is missing in this command: ./check_ping -w 100.0,20% -c 500.0,60% I always have this error message: You've got a big problem buddy! You need more args!!! Please help. THanks, kryz ===== "Undertake something that is difficult; it will do you good. Unless you try to do something beyond what you have already mastered, you will never grow." -Ronald E. Osborn __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Sat Aug 9 05:40:33 2003 From: rob at capband.net (Rob Nelson) Date: Fri, 08 Aug 2003 23:40:33 -0400 Subject: check_ping problem In-Reply-To: <20030809023145.19716.qmail@web12106.mail.yahoo.com> References: <20030809023145.19716.qmail@web12106.mail.yahoo.com> Message-ID: <5.2.1.1.0.20030808234016.00b7a898@mail.capband.net> >I just want to ask what is missing in this command: > >/check_ping -w 100.0,20% -c 500.0,60% > >I always have this error message: > >You've got a big problem buddy! You need more args!!! You need to specify a host or ip to ping ;) Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lambert at lambertfam.org Sat Aug 9 05:44:21 2003 From: lambert at lambertfam.org (Scott Lambert) Date: Fri, 8 Aug 2003 23:44:21 -0400 Subject: check_ping problem In-Reply-To: <20030809023145.19716.qmail@web12106.mail.yahoo.com> References: <20030809023145.19716.qmail@web12106.mail.yahoo.com> Message-ID: <20030809034421.GC30628@laptop.lambertfam.org> On Fri, Aug 08, 2003 at 07:31:45PM -0700, rhycel cris wrote: > Hello! > > I just want to ask what is missing in this command: > > ./check_ping -w 100.0,20% -c 500.0,60% > > I always have this error message: > > You've got a big problem buddy! You need more args!!! You are missing the host that you want to ping. -- Scott Lambert KC5MLE Unix SysAdmin lambert at lambertfam.org ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Brian.Ipsen-sender-25cac0 at andebakken.dk Sat Aug 9 13:52:05 2003 From: Brian.Ipsen-sender-25cac0 at andebakken.dk (Brian Ipsen) Date: Sat, 9 Aug 2003 13:52:05 +0200 Subject: Smoke-detector connected to Nagios ? Message-ID: Hi! Due to a recent event in out power-installations (actually the UPS went on fire :-( ) - I wonder if anyone has any experience in connecting a smoke-detector to Nagios - and that way around be alerted by email, SMS, pager or similar - if any smoke is detected by the device ? Regards, /Brian Ipsen ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Sat Aug 9 15:30:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 9 Aug 2003 09:30:36 -0400 (EDT) Subject: Smoke-detector connected to Nagios ? In-Reply-To: References: Message-ID: On Sat, 9 Aug 2003, Brian Ipsen wrote: > Hi! > > Due to a recent event in out power-installations (actually the UPS went on > fire :-( ) - I wonder if anyone has any experience in connecting a > smoke-detector to Nagios - and that way around be alerted by email, SMS, > pager or similar - if any smoke is detected by the device ? > > Regards, > > /Brian Ipsen > > Depends on the smoke detector and building management systems. I have seen/used building management systems (temp, smoke, extinguishers, door alarams) that were fully snmp capable. For non-BMS based smoke detectors, you might want to consider an snmp device with dry contacts or intelligent sensors. google: http://www.akcpinc.com/ -- -sg ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott.zawalski at web.de Sat Aug 9 18:08:38 2003 From: scott.zawalski at web.de (Scott Zawalski) Date: Sat, 09 Aug 2003 18:08:38 +0200 Subject: Warning: Monitoring process may not be running! In-Reply-To: References: Message-ID: <3F351C86.1050508@web.de> Michael, You need to edit your string that is at the end of your check_nagios definition. When you do a ps aux | grep nagios and see the process make sure you are also the user that nagios is running as. This user could possibly see the process being listed differently then say if you were root and did ps aux | grep nagios. I suggest you su nagios (if nagios is the user) then get the check_nagios command to work properly. Scott Scholl, Michael wrote: >- PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - > > > >It says > >" Could not locate a running Nagios process! " > >But it is running, I can do ps and I see it running, I can also type the chck_nagios at the command line with the same flags as are in the cgi.cfg file and it responds that nagios is ok, and says how many running processes there are. > > > >Michael C. Scholl >System/Network Analyst >HIPAA Security Officer >michael.scholl at yorkhospital.org > > >-----Original Message----- >From: Marc Powell [mailto:mpowell at ena.com] >Sent: Friday, August 08, 2003 10:44 AM >To: Scholl, Michael; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Warning: Monitoring process may not be running! > > >When you click the link that is provided for more information, what does it tell you? It will provide you with the reason why it doesn't think nagios is running. > >-- >Marc > >________________________________________ >From: Scholl, Michael [mailto:michael.scholl at yorkgeneral.org] >Sent: Friday, August 08, 2003 10:36 AM >To: nagios-users at lists.sourceforge.net > >- PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - Help!! I am getting the warning that Monitoring process may not be running, I checked the FAQ's, and did exactly what is listed, but it still will not work. I can run the the check at a command line and it says all is well, plus until I rebooted the nagios server yesterday it worked properly. Please help I'm at my wits end. > >Thank You > >Michael C. Scholl >System/Network Analyst >HIPAA Security Officer >michael.scholl at yorkgeneral.org > > York General >Health Care Services > 2222 Lincoln Ave. > York, NE 68467 > (402) 362-0482 > > > >---------- >CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. > > >---------- >CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.scholl at yorkgeneral.org Sat Aug 9 18:42:46 2003 From: michael.scholl at yorkgeneral.org (Scholl, Michael) Date: Sat, 9 Aug 2003 11:42:46 -0500 Subject: Warning: Monitoring process may not be running! Message-ID: Thank you, what you have explaned is what I finally discovered after banging my head againt the wall for a while, I'm curious why this would have changed, simply after rebooting the nagios server. Thanks -----Original Message----- From: Scott Zawalski [mailto:scott.zawalski at web.de] Sent: Sat 8/9/2003 11:08 AM To: Scholl, Michael Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Warning: Monitoring process may not be running! Michael, You need to edit your string that is at the end of your check_nagios definition. When you do a ps aux | grep nagios and see the process make sure you are also the user that nagios is running as. This user could possibly see the process being listed differently then say if you were root and did ps aux | grep nagios. I suggest you su nagios (if nagios is the user) then get the check_nagios command to work properly. Scott Scholl, Michael wrote: >- PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - > > > >It says > >" Could not locate a running Nagios process! " > >But it is running, I can do ps and I see it running, I can also type the chck_nagios at the command line with the same flags as are in the cgi.cfg file and it responds that nagios is ok, and says how many running processes there are. > > > >Michael C. Scholl >System/Network Analyst >HIPAA Security Officer >michael.scholl at yorkhospital.org > > >-----Original Message----- >From: Marc Powell [mailto:mpowell at ena.com] >Sent: Friday, August 08, 2003 10:44 AM >To: Scholl, Michael; nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] Warning: Monitoring process may not be running! > > >When you click the link that is provided for more information, what does it tell you? It will provide you with the reason why it doesn't think nagios is running. > >-- >Marc > >________________________________________ >From: Scholl, Michael [mailto:michael.scholl at yorkgeneral.org] >Sent: Friday, August 08, 2003 10:36 AM >To: nagios-users at lists.sourceforge.net > >- PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - Help!! I am getting the warning that Monitoring process may not be running, I checked the FAQ's, and did exactly what is listed, but it still will not work. I can run the the check at a command line and it says all is well, plus until I rebooted the nagios server yesterday it worked properly. Please help I'm at my wits end. > >Thank You > >Michael C. Scholl >System/Network Analyst >HIPAA Security Officer >michael.scholl at yorkgeneral.org > > York General >Health Care Services > 2222 Lincoln Ave. > York, NE 68467 > (402) 362-0482 > > > >---------- >CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. > > >---------- >CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. > >Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. > > > >------------------------------------------------------- >This SF.Net email sponsored by: Free pre-built ASP.NET sites including >Data Reports, E-commerce, Portals, and Forums are available now. >Download today and enter to win an XBOX or Visual Studio .NET. >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > N?HS^????[)?{(??[?Z?z??n????4D?????w%????6?i???l?&???x?+??ljwE??????j?????zz0?'?????Z???z{^??0?v?\???b???J????DNm????????brK???&? ?????]4?M?????????Z????N??M???55?"???z?&j)b? b??Z?*,????X???(??~??zw???i?????l???q????z????l?X??)?????*,?????^j????nu?Z?*,????????"????*'???9,!zz?????x?(????z???0??h??.??+?)??w??)e?+$m????????u????e From sourceforge at powered.net Sat Aug 9 22:49:41 2003 From: sourceforge at powered.net (Rainer) Date: Sat, 09 Aug 2003 17:49:41 -0300 Subject: Unknow state while trying to 'fping' In-Reply-To: <20030808173028.26216.qmail@linuxmail.org> References: <20030808173028.26216.qmail@linuxmail.org> Message-ID: <6.0.0.14.2.20030809173901.01596548@localhost> Diz ae Rivador. Sauda??es brasileiras... Replace the command definition with this one: define command{ command_name check_fping command_line $USER1$/check_fping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -n 3 } As for the service definition, change the check_command to: check_command check_fping!100.0,20%!200.0,40% Change the warning and critical levels to anything you wish... you may also change the "-n 3", which is the number of pings sent on each check. You probably wouldn't want to use more than 3 or 4. Important: Set the SUID flag on the check_fping binary chmod +s check_fping Falow, Rainer Alves Unisys Brazil At 14:30 8/8/2003, Rivanor P. Soares wrote: >Hi folks, > >While trying to check all hosts with 'fping' I'm getting the >following state (Status Information) in the web interface: >FPING UNKNOWN - 10.21.165.11 > >What could be wrong? > >Here it is my configs.: ># services.cfg >define service{ > host_name * > service_description Fast Ping > check_command check_fping > > ># checkcommands.cfg >define command{ > command_name check_fping > command_line $USER1$/check_fping -H $HOSTADDRESS$ > } > >Thank you all, and I know this is a simple question! ;) > >-- >Rivanor P. Soares (w3b_kn0wS) >LPIC-1, CCNA >Sao Paulo, SP >Brazil > >"Open Source. Millions of open minds cannot be wrong." >-- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vernon at comp-wiz.com Sun Aug 10 23:24:40 2003 From: vernon at comp-wiz.com (Vernon Webb) Date: Sun, 10 Aug 2003 17:24:40 -0400 Subject: Authentication required Message-ID: <20030810212255.M94075@comp-wiz.com> Sorry for the terribly newbie question but I've used the rpm to install Nagios and I have no idea what the user name and password is to log into the web interface. Any ideas? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at dparrish.com Mon Aug 11 00:16:13 2003 From: david at dparrish.com (David Parrish) Date: Mon, 11 Aug 2003 08:16:13 +1000 Subject: Monitoring - 1000+ hosts and latency In-Reply-To: ; from solomolo90@hotmail.com on Fri, Aug 08, 2003 at 06:13:13PM +0000 References: Message-ID: <20030811081613.A19245@bilbo.dparrish.com> Patch attached... On Fri, Aug 08, 2003 at 06:13:13PM +0000, solo molo wrote: > From: "solo molo" > To: david at dparrish.com, Fred.Albrecht at za.tiscali.com > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > Date: Fri, 08 Aug 2003 18:13:13 +0000 > > I'm having the same problem. Where is this patch located? > > > >From: David Parrish > >To: Fred Albrecht > >CC: nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > >Date: Thu, 7 Aug 2003 07:54:54 +1000 > > > >I'm not going to guarantee anything. From what I saw, the external check > >code that list patch applies to looks very similar in 1.0 & 1.1. > > > >Try it and see :) > > > >On Wed, Aug 06, 2003 at 07:33:31AM +0200, Fred Albrecht wrote: > > > > > Hi David > > > > > > Will this patch work on version 1.0 as well? > > > > > > :) > > > fred > > > > -----Original Message----- > > > > From: David Parrish [mailto:david at dparrish.com] > > > > Sent: 06 August 2003 01:32 AM > > > > To: ftang at cgg.com > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > > > > > > > > > > > I'm running a nagios install monitoring nearly 7000 services and still > > > > growing. It was unbearable until it was patched to not fork to process > > > > external check results as often. > > > > > > > > If a large portion of your checks are passive, then this > > > > patch will help a > > > > lot. Probably not much for active checks though. > > > > > > > > My average check latency is 0.006 sec. > > > > > > > > On Tue, Aug 05, 2003 at 12:23:25PM +0100, ftang at cgg.com wrote: > > > > > From: ftang at cgg.com > > > > > To: nagios-users at lists.sourceforge.net > > > > > Subject: [Nagios-users] Monitoring - 1000+ hosts and latency > > > > > Date: Tue, 5 Aug 2003 12:23:25 +0100 > > > > > > > > > > All, > > > > > > > > > > Is there anyone currenly using nagios (any version) on over > > > > 1000 hosts > > > > > (3000+ services)? I know that there have been emails about users > > > > > experiencing extreme latencies, and you can imagine that I > > > > too am in the > > > > > same crowd. I like nagios (used netsaint in my last company > > > > - only 15 > > > > > hosts), but I don''t think that it is suitable for my > > > > current setup. I hope > > > > > I am wrong. > > > > > > > > > > Thanks for your time. > > > >-- > >Regards, > >David Parrish > >0410 586 121 > ><< attach3 >> > > _________________________________________________________________ > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > http://join.msn.com/?page=features/virus -- Regards, David Parrish 0410 586 121 -------------- next part -------------- diff -ur nagios-1.1-virgin/base/nagios.c nagios-1.1/base/nagios.c --- nagios-1.1-virgin/base/nagios.c Thu Jul 10 08:30:10 2003 +++ nagios-1.1/base/nagios.c Thu Jul 10 08:32:20 2003 @@ -51,6 +51,8 @@ #include #endif +#include + /******** BEGIN EMBEDDED PERL INTERPRETER DECLARATIONS ********/ #ifdef EMBEDDEDPERL @@ -1497,6 +1499,8 @@ printf("Current/Max Outstanding Checks: %d/%d\n",currently_running_service_checks,max_parallel_service_checks); #endif + check_for_external_commands(); + /* handle high priority events */ if(event_list_high!=NULL && (current_time>=event_list_high->run_time)){ @@ -1594,8 +1598,13 @@ } /* wait a second so we don't hog the CPU... */ - else - sleep((unsigned int)sleep_time); + else { + struct timespec t; + t.tv_sec = 0; + t.tv_nsec = 1000 * 1000 * 50; + nanosleep(&t, NULL); + //check_for_external_commands(); + } } /* we don't have anything to do at this moment in time */ @@ -1606,7 +1615,12 @@ check_for_external_commands(); /* wait a second so we don't hog the CPU... */ - sleep((unsigned int)sleep_time); + + { struct timespec t; + t.tv_sec = 0; + t.tv_nsec = 1000 * 1000 * 50; + nanosleep(&t, NULL); } + } } --- commands.c.old Sat Aug 2 14:13:23 2003 +++ nagios-1.1/base/commands.c Sat Aug 2 14:13:53 2003 @@ -347,8 +347,19 @@ /**** PROCESS ALL PASSIVE CHECK RESULTS AT ONE TIME ****/ - if(passive_check_result_list!=NULL) - process_passive_service_checks(); + { + static unsigned int last_checked = 0; + unsigned int t; + + /* Don't process more frequently than once every 5 seconds. */ + /* This does a fork!!! */ + time(&t); + if(passive_check_result_list!=NULL && ((t - last_checked) > 5) ) { + process_passive_service_checks(); + last_checked = t; + } + } + #ifdef DEBUG0 --- commands.c.old Sat Aug 2 15:37:31 2003 +++ nagios-1.1/base/commands.c Sat Aug 2 15:44:36 2003 @@ -63,7 +63,7 @@ extern FILE *command_file_fp; -passive_check_result *passive_check_result_list; +passive_check_result *passive_check_result_list = NULL; int flush_pending_commands=FALSE; @@ -96,9 +96,6 @@ /* update the status log with new program information */ update_program_status(FALSE); - /* reset passive check result list pointer */ - passive_check_result_list=NULL; - /* reset flush flag */ flush_pending_commands=FALSE; @@ -1279,13 +1276,9 @@ new_pcr->next=NULL; - /* add the passive check result to the end of the list in memory */ - if(passive_check_result_list==NULL) - passive_check_result_list=new_pcr; - else{ - for(temp_pcr=passive_check_result_list;temp_pcr->next!=NULL;temp_pcr=temp_pcr->next); - temp_pcr->next=new_pcr; - } + /* add the passive check result to the head of the list in memory */ + new_pcr->next = passive_check_result_list; + passive_check_result_list = new_pcr; #ifdef DEBUG0 printf("cmd_process_service_check_result() end\n"); @@ -2845,6 +2838,17 @@ /* the grandchild process should submit the service check result... */ if(pid==0){ + passive_check_result *t, *t1; + /* Reverse passive list to correct the reverse that happened in collection. */ + + t = passive_check_result_list; + passive_check_result_list = NULL; + while (t) { + t1 = t->next; + t->next = passive_check_result_list; + passive_check_result_list = t; + t = t1; + } /* write all service checks to the IPC pipe for later processing by the grandparent */ for(temp_pcr=passive_check_result_list;temp_pcr!=NULL;temp_pcr=temp_pcr->next){ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From martens at DAKOSY.de Mon Aug 11 01:01:30 2003 From: martens at DAKOSY.de (martens at DAKOSY.de) Date: Mon, 11 Aug 2003 01:01:30 +0200 Subject: Niels Martens/DAKOSY/DE is out of the office. Message-ID: I will be out of the office starting 08.08.2003 and will not return until 29.08.2003. Ich bin zur Zeit im B?ro nicht erreichbar. Bitte wenden Sie sich an unsere Support-Abteilung ( Support at dakosy.de ) oder meinen Kollegen Herrn Ney ( ney at dakosy.de ) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Mon Aug 11 06:14:26 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 11 Aug 2003 00:14:26 -0400 (EDT) Subject: Warning: Monitoring process may not be running! In-Reply-To: References: Message-ID: Reports of changes in ps output after recent kernel upgrades (reboot) -sg On Sat, 9 Aug 2003, Scholl, Michael wrote: > Thank you, what you have explaned is what I finally discovered after > banging my head againt the wall for a while, I'm curious why this would > have changed, simply after rebooting the nagios server. > > Thanks > > -----Original Message----- > From: Scott Zawalski [mailto:scott.zawalski at web.de] > Sent: Sat 8/9/2003 11:08 AM > To: Scholl, Michael > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Warning: Monitoring process may not be running! > > > > Michael, > > You need to edit your string that is at the end of your check_nagios > definition. When you do a ps aux | grep nagios and see the process make > sure you are also the user that nagios is running as. This user could > possibly see the process being listed differently then say if you were > root and did ps aux | grep nagios. I suggest you su nagios (if nagios is > the user) then get the check_nagios command to work properly. > > Scott > > > > > > Scholl, Michael wrote: > > >- PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - > > > > > > > >It says > > > >" Could not locate a running Nagios process! " > > > >But it is running, I can do ps and I see it running, I can also type the chck_nagios at the command line with the same flags as are in the cgi.cfg file and it responds that nagios is ok, and says how many running processes there are. > > > > > > > >Michael C. Scholl > >System/Network Analyst > >HIPAA Security Officer > >michael.scholl at yorkhospital.org > > > > > >-----Original Message----- > >From: Marc Powell [mailto:mpowell at ena.com] > >Sent: Friday, August 08, 2003 10:44 AM > >To: Scholl, Michael; nagios-users at lists.sourceforge.net > >Subject: RE: [Nagios-users] Warning: Monitoring process may not be running! > > > > > >When you click the link that is provided for more information, what does it tell you? It will provide you with the reason why it doesn't think nagios is running. > > > >-- > >Marc > > > >________________________________________ > >From: Scholl, Michael [mailto:michael.scholl at yorkgeneral.org] > >Sent: Friday, August 08, 2003 10:36 AM > >To: nagios-users at lists.sourceforge.net > > > >- PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - Help!! I am getting the warning that Monitoring process may not be running, I checked the FAQ's, and did exactly what is listed, but it still will not work. I can run the the check at a command line and it says all is well, plus until I rebooted the nagios server yesterday it worked properly. Please help I'm at my wits end. > > > >Thank You > > > >Michael C. Scholl > >System/Network Analyst > >HIPAA Security Officer > >michael.scholl at yorkgeneral.org > > > > York General > >Health Care Services > > 2222 Lincoln Ave. > > York, NE 68467 > > (402) 362-0482 > > > > > > > >---------- > >CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. > > > >Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. > > > > > >---------- > >CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. > > > >Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. > > > > > > > >------------------------------------------------------- > >This SF.Net email sponsored by: Free pre-built ASP.NET sites including > >Data Reports, E-commerce, Portals, and Forums are available now. > >Download today and enter to win an XBOX or Visual Studio .NET. > >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > > ???????????????????????????????????????????+?^????[)?{(??[??ky?k{???[@H??;"??"??nv)??ZE?h????(?g?q????Z?????h???j?????i?^????'?????Z???z{^??0?v?\???b???J??????????????w???brO??_??o???lkM5?M4??????y??j???????;?}7?M?_????????????????????????????????????????????f??)??+-5?"???????X???????y?+???z?m?????b??????q???????+-??b???~??j????z?????y? ?w%???j?????*'??n?)?z?"?????t?? ??z?+?)?j|???????1?,j??+a??l??h????)?????????? ??h????{? > -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ashi.sheth at uop.edu Mon Aug 11 07:22:13 2003 From: ashi.sheth at uop.edu (Ashi Sheth) Date: Sun, 10 Aug 2003 22:22:13 -0700 Subject: Nagios to RSS / XML? Message-ID: Hello all - I was wondering whether anyone has come up with a method of being able to create RSS style feeds for notifications. My reason for this is two-fold: - I do not want to make my nagios web server available outside of our network, but we would still like to have people be able to view any down systems (such as webmail, etc.) so they are aware someone has been notified. - I also do not want to give users access to any nagios web pages in general. Basically what I would like to do is have a notification block on our main departmental web page which will have a scrolling list of what systems / services are registered as either down or critical state. If no systems are down, then some generic statement saying all systems are go. I was thinking that perhaps it could be done by parsing the status.log? Does that make any sense? RSS style feeds would also allow me to make this information available to anyone who goes to our departmental web page, but does not give (nor require) access to any further server/website. Thanks. Ashi Sheth Ashi Sheth ashi.sheth at uop.edu Systems Engineering Manager / Sr. Systems Engineer (209) 946 - 3986 University of the Pacific - OISR Stockton, CA ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Mon Aug 11 08:52:31 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Mon, 11 Aug 2003 18:52:31 +1200 Subject: Nagios to RSS / XML? In-Reply-To: References: Message-ID: <200308110645.h7B6jj420526@spectre.freeparking.co.nz> Hi, have you tried this? http://nxe.sourceforge.net/ Good Luck. jamie On Mon, 11 Aug 2003 17:22, you wrote: > Hello all - > > I was wondering whether anyone has come up with a method of being able to > create RSS style feeds for notifications. > > My reason for this is two-fold: > - I do not want to make my nagios web server available outside of our > network, but we would still like to have people be able to view any down > systems (such as webmail, etc.) so they are aware someone has been > notified. - I also do not want to give users access to any nagios web pages > in general. > > Basically what I would like to do is have a notification block on our main > departmental web page which will have a scrolling list of what systems / > services are registered as either down or critical state. If no systems are > down, then some generic statement saying all systems are go. I was thinking > that perhaps it could be done by parsing the status.log? Does that make any > sense? > > RSS style feeds would also allow me to make this information available to > anyone who goes to our departmental web page, but does not give (nor > require) access to any further server/website. > > Thanks. > > Ashi Sheth > > > Ashi Sheth > ashi.sheth at uop.edu > Systems Engineering Manager / Sr. Systems Engineer > (209) 946 - 3986 > University of the Pacific - OISR > Stockton, CA > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Krist at assen.nl Mon Aug 11 05:41:24 2003 From: R.Krist at assen.nl (R Krist) Date: Mon, 11 Aug 2003 05:41:24 +0200 Subject: Betr.: Nagios-users digest, Vol 1 #1609 - 3 msgs (Vakantie.) Message-ID: LS, Momenteel geniet ik van mijn welverdiende vakantie en ben ik niet in staat om te reageren op uw mailbericht. Ik ben afwezig van 9 augustus t/m 8 september 2003. Gegroet, R. Krist **************************************************************************** Aan de informatie in deze e-mail en ieder aangehecht databestand kunnen geen rechten worden ontleend. De e-mail is vertrouwelijk en is uitsluitend bestemd voor de geadresseerde. De gemeente Assen aanvaardt geen aansprakelijkheid voor schade als gevolg van onjuistheden, gedateerde informatie of van een onjuiste en onvolledige verzending en ontvangst van informatie. **************************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jyao at aav.com.au Mon Aug 11 08:35:22 2003 From: jyao at aav.com.au (Yao, Jack) Date: Mon, 11 Aug 2003 16:35:22 +1000 Subject: how to use check_mssql plugin Message-ID: Hello People , I have spotted the new plugin that allow Nagios to check MS SQL 2000 service. But there is no instruction of how to apply that new plugin into the existing Nagios at all. Is there anyone have come across this before and know have any advise on this ? I would really appreciate it. I am running Nagios 1.1 on redhat 8.0. ta Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From jyao at aav.com.au Mon Aug 11 08:57:32 2003 From: jyao at aav.com.au (Yao, Jack) Date: Mon, 11 Aug 2003 16:57:32 +1000 Subject: check file in window 2000 machine Message-ID: Hi there , I want to check whether the file exist or not in one of the machine in the network , is there any plugin that can do that ? ta J -------------- next part -------------- An HTML attachment was scrubbed... URL: From R.Krist at assen.nl Sat Aug 9 05:30:15 2003 From: R.Krist at assen.nl (R Krist) Date: Sat, 09 Aug 2003 05:30:15 +0200 Subject: Betr.: Nagios-users digest, Vol 1 #1607 - 24 msgs (Vakantie.) Message-ID: LS, Momenteel geniet ik van mijn welverdiende vakantie en ben ik niet in staat om te reageren op uw mailbericht. Ik ben afwezig van 9 augustus t/m 8 september 2003. Gegroet, R. Krist **************************************************************************** Aan de informatie in deze e-mail en ieder aangehecht databestand kunnen geen rechten worden ontleend. De e-mail is vertrouwelijk en is uitsluitend bestemd voor de geadresseerde. De gemeente Assen aanvaardt geen aansprakelijkheid voor schade als gevolg van onjuistheden, gedateerde informatie of van een onjuiste en onvolledige verzending en ontvangst van informatie. **************************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Krist at assen.nl Sun Aug 10 05:35:03 2003 From: R.Krist at assen.nl (R Krist) Date: Sun, 10 Aug 2003 05:35:03 +0200 Subject: Betr.: Nagios-users digest, Vol 1 #1608 - 7 msgs (Vakantie.) Message-ID: LS, Momenteel geniet ik van mijn welverdiende vakantie en ben ik niet in staat om te reageren op uw mailbericht. Ik ben afwezig van 9 augustus t/m 8 september 2003. Gegroet, R. Krist **************************************************************************** Aan de informatie in deze e-mail en ieder aangehecht databestand kunnen geen rechten worden ontleend. De e-mail is vertrouwelijk en is uitsluitend bestemd voor de geadresseerde. De gemeente Assen aanvaardt geen aansprakelijkheid voor schade als gevolg van onjuistheden, gedateerde informatie of van een onjuiste en onvolledige verzending en ontvangst van informatie. **************************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 okka.org.za Mon Aug 11 12:36:59 2003 From: nagios at okka.org.za (Carlito - nagios user) Date: Mon, 11 Aug 2003 12:36:59 +0200 Subject: Escalations ! Message-ID: <005501c35ff4$7eb3d700$0f14a8c0@bit.co.za> This is my escalation definition ... # Hostgroup 'mobilegroup' escalation definition define hostgroupescalation{ hostgroup_name mobilegroup first_notification 2 last_notification 9 contact_groups cttech notification_interval 1 } This is my host definition ... # 'mobile' host definition define host{ use generic-host ; Name of host template to use host_name mobile alias mobile address 192.168.20.100 check_command check-host-alive max_check_attempts 2 notification_interval 1 notification_period 24x7 notification_options d,u,r } This is my service definition ... # Service definition define service{ use generic-service ; Name of service template to use host_name mobile service_description PING is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 contact_groups cttech notification_interval 2 notification_period 24x7 notification_options w,u,c,r check_command check-host-alive } My problem is that if I test this config and pull out the nic cable , nagios sends me a mail telling me it's down , but after 2 minutes and viewing the notification number on the web interface , it fails to notify the groups specified in the contact groups and contacts file ! Any ideas , I've read the documentation extensively as well as examined the configs of the online demo @ http://demo.square-box.com/ but alas I've got no joy for the escalations ! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cal at calevans.com Mon Aug 11 14:43:53 2003 From: cal at calevans.com (Cal Evans) Date: Mon, 11 Aug 2003 07:43:53 -0500 (CDT) Subject: how to use check_mssql plugin In-Reply-To: References: Message-ID: <1200.192.168.0.90.1060605833.squirrel@192.168.0.150> >From my checkcommands.cfg: define command{ command_name check_mssql command_line $USER1$/check_mssql.sh $HOSTADDRESS$ user pw } >From my services file: define service { host_name serverName service_description SQL Server check_command check_mssql max_check_attempts 1 normal_check_interval 10 retry_check_interval 1 check_period 24x7 notification_interval 60 notification_period 24x7 notification_options c,r contact_groups admins } Edit to suit your needs. HTH, =C= * * Cal Evans * http://www.christianperformer.com * Stay plugged in to your audience! * Yao, Jack said: > Hello People , > > I have spotted the new plugin that allow Nagios to check MS SQL 2000 > service. But there is no instruction of how to apply that new plugin into > the existing Nagios at all. Is there anyone have come across this before > and > know have any advise on this ? I would really appreciate it. > > I am running Nagios 1.1 on redhat 8.0. > > ta > > Jack > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From c.eduardo at estacio.br Mon Aug 11 14:51:40 2003 From: c.eduardo at estacio.br (Eddy) Date: Mon, 11 Aug 2003 09:51:40 -0300 Subject: Nagios Brazil References: Message-ID: <9dd501c36007$5074df20$31150a0a@estacio.domain> Algum brasileiro na lista ??? :) Sem mais, Carlos Eduardo Dionizio Analista de Suporte - UNIX Universidade Est?cio de S? Diretoria de Tecnologia da Informa??o ----- Original Message ----- From: To: Sent: Sunday, August 10, 2003 12:17 AM Subject: Nagios-users digest, Vol 1 #1608 - 7 msgs > 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-admin 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: check_ping problem (Rob Nelson) > 2. Re: check_ping problem (Scott Lambert) > 3. Smoke-detector connected to Nagios ? (Brian Ipsen) > 4. Re: Smoke-detector connected to Nagios ? (Subhendu Ghosh) > 5. Re: Warning: Monitoring process may not be running! (Scott Zawalski) > 6. RE: Warning: Monitoring process may not be running! (Scholl, Michael) > 7. Re: Unknow state while trying to 'fping' (Rainer) > > --__--__-- > > Message: 1 > Date: Fri, 08 Aug 2003 23:40:33 -0400 > To: rhycel cris ,nagios-users at lists.sourceforge.net > From: Rob Nelson > Subject: Re: [Nagios-users] check_ping problem > > > >I just want to ask what is missing in this command: > > > >/check_ping -w 100.0,20% -c 500.0,60% > > > >I always have this error message: > > > >You've got a big problem buddy! You need more args!!! > > You need to specify a host or ip to ping ;) > > > Rob Nelson > Network Administrator, Capitol Broadband > C: 919-369-1874 > rob at capband.net > > > > --__--__-- > > Message: 2 > Date: Fri, 8 Aug 2003 23:44:21 -0400 > From: Scott Lambert > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_ping problem > > On Fri, Aug 08, 2003 at 07:31:45PM -0700, rhycel cris wrote: > > Hello! > > > > I just want to ask what is missing in this command: > > > > ./check_ping -w 100.0,20% -c 500.0,60% > > > > I always have this error message: > > > > You've got a big problem buddy! You need more args!!! > > You are missing the host that you want to ping. > > -- > Scott Lambert KC5MLE Unix SysAdmin > lambert at lambertfam.org > > > --__--__-- > > Message: 3 > To: > Date: Sat, 9 Aug 2003 13:52:05 +0200 > From: Brian Ipsen > Reply-To: Brian Ipsen > Subject: [Nagios-users] Smoke-detector connected to Nagios ? > > Hi! > > Due to a recent event in out power-installations (actually the UPS went on > fire :-( ) - I wonder if anyone has any experience in connecting a > smoke-detector to Nagios - and that way around be alerted by email, SMS, > pager or similar - if any smoke is detected by the device ? > > Regards, > > /Brian Ipsen > > > > --__--__-- > > Message: 4 > Date: Sat, 9 Aug 2003 09:30:36 -0400 (EDT) > From: Subhendu Ghosh > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Smoke-detector connected to Nagios ? > > On Sat, 9 Aug 2003, Brian Ipsen wrote: > > > Hi! > > > > Due to a recent event in out power-installations (actually the UPS went on > > fire :-( ) - I wonder if anyone has any experience in connecting a > > smoke-detector to Nagios - and that way around be alerted by email, SMS, > > pager or similar - if any smoke is detected by the device ? > > > > Regards, > > > > /Brian Ipsen > > > > > > Depends on the smoke detector and building management systems. I have > seen/used building management systems (temp, smoke, extinguishers, door > alarams) that were fully snmp capable. > > For non-BMS based smoke detectors, you might want to consider an snmp > device with dry contacts or intelligent sensors. > > google: http://www.akcpinc.com/ > > > -- > -sg > > > > > --__--__-- > > Message: 5 > Date: Sat, 09 Aug 2003 18:08:38 +0200 > From: Scott Zawalski > To: "Scholl, Michael" > CC: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Warning: Monitoring process may not be running! > > Michael, > > You need to edit your string that is at the end of your check_nagios > definition. When you do a ps aux | grep nagios and see the process make > sure you are also the user that nagios is running as. This user could > possibly see the process being listed differently then say if you were > root and did ps aux | grep nagios. I suggest you su nagios (if nagios is > the user) then get the check_nagios command to work properly. > > Scott > > > > > > Scholl, Michael wrote: > > >- PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - > > > > > > > >It says > > > >" Could not locate a running Nagios process! " > > > >But it is running, I can do ps and I see it running, I can also type the chck_nagios at the command line with the same flags as are in the cgi.cfg file and it responds that nagios is ok, and says how many running processes there are. > > > > > > > >Michael C. Scholl > >System/Network Analyst > >HIPAA Security Officer > >michael.scholl at yorkhospital.org > > > > > >-----Original Message----- > >From: Marc Powell [mailto:mpowell at ena.com] > >Sent: Friday, August 08, 2003 10:44 AM > >To: Scholl, Michael; nagios-users at lists.sourceforge.net > >Subject: RE: [Nagios-users] Warning: Monitoring process may not be running! > > > > > >When you click the link that is provided for more information, what does it tell you? It will provide you with the reason why it doesn't think nagios is running. > > > >-- > >Marc > > > >________________________________________ > >From: Scholl, Michael [mailto:michael.scholl at yorkgeneral.org] > >Sent: Friday, August 08, 2003 10:36 AM > >To: nagios-users at lists.sourceforge.net > > > >- PLEASE READ THE CONFIDENTIALITY NOTICE AT THE END OF THIS EMAIL - Help!! I am getting the warning that Monitoring process may not be running, I checked the FAQ's, and did exactly what is listed, but it still will not work. I can run the the check at a command line and it says all is well, plus until I rebooted the nagios server yesterday it worked properly. Please help I'm at my wits end. > > > >Thank You > > > >Michael C. Scholl > >System/Network Analyst > >HIPAA Security Officer > >michael.scholl at yorkgeneral.org > > > > York General > >Health Care Services > > 2222 Lincoln Ave. > > York, NE 68467 > > (402) 362-0482 > > > > > > > >---------- > >CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. > > > >Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. > > > > > >---------- > >CONFIDENTIALITY NOTICE: This email message, including attachments, contains confidential information and is for the sole use of the intended recipient(s). If you have received this email in error, please notify the sender of the message. This footer also confirms that this email message has been scanned for the presence of computer viruses. > > > >Any views expressed in this message are those of the individual sender, except where the sender specifies and with authority, states them to be the views of York General Health Care Services. > > > > > > > >------------------------------------------------------- > >This SF.Net email sponsored by: Free pre-built ASP.NET sites including > >Data Reports, E-commerce, Portals, and Forums are available now. > >Download today and enter to win an XBOX or Visual Studio .NET. > >http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > >::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > --__--__-- > > Message: 6 > Subject: RE: [Nagios-users] Warning: Monitoring process may not be running! > Date: Sat, 9 Aug 2003 11:42:46 -0500 > From: "Scholl, Michael" > To: "Scott Zawalski" > Cc: > > VGhhbmsgeW91LCB3aGF0IHlvdSBoYXZlIGV4cGxhbmVkIGlzIHdoYXQgSSBmaW5hbGx5IGRpc2Nv > dmVyZWQgYWZ0ZXIgYmFuZ2luZyBteSBoZWFkIGFnYWludCB0aGUgd2FsbCBmb3IgYSB3aGlsZSwg > SSdtIGN1cmlvdXMgd2h5IHRoaXMgd291bGQgaGF2ZSBjaGFuZ2VkLCBzaW1wbHkgYWZ0ZXIgcmVi > b290aW5nIHRoZSBuYWdpb3Mgc2VydmVyLg0KIA0KVGhhbmtzDQoNCgktLS0tLU9yaWdpbmFsIE1l > c3NhZ2UtLS0tLSANCglGcm9tOiBTY290dCBaYXdhbHNraSBbbWFpbHRvOnNjb3R0Lnphd2Fsc2tp > QHdlYi5kZV0gDQoJU2VudDogU2F0IDgvOS8yMDAzIDExOjA4IEFNIA0KCVRvOiBTY2hvbGwsIE1p > Y2hhZWwgDQoJQ2M6IG5hZ2lvcy11c2Vyc0BsaXN0cy5zb3VyY2Vmb3JnZS5uZXQgDQoJU3ViamVj > dDogUmU6IFtOYWdpb3MtdXNlcnNdIFdhcm5pbmc6IE1vbml0b3JpbmcgcHJvY2VzcyBtYXkgbm90 > IGJlIHJ1bm5pbmchDQoJDQoJDQoNCglNaWNoYWVsLA0KCQ0KCSAgICBZb3UgbmVlZCB0byBlZGl0 > IHlvdXIgc3RyaW5nIHRoYXQgaXMgYXQgdGhlIGVuZCBvZiB5b3VyIGNoZWNrX25hZ2lvcw0KCWRl > ZmluaXRpb24uIFdoZW4geW91IGRvIGEgcHMgYXV4IHwgZ3JlcCBuYWdpb3MgYW5kIHNlZSB0aGUg > cHJvY2VzcyBtYWtlDQoJc3VyZSB5b3UgYXJlIGFsc28gdGhlIHVzZXIgdGhhdCBuYWdpb3MgaXMg > cnVubmluZyBhcy4gVGhpcyB1c2VyIGNvdWxkDQoJcG9zc2libHkgc2VlIHRoZSBwcm9jZXNzIGJl > aW5nIGxpc3RlZCBkaWZmZXJlbnRseSB0aGVuIHNheSBpZiB5b3Ugd2VyZQ0KCXJvb3QgYW5kIGRp > ZCBwcyBhdXggfCBncmVwIG5hZ2lvcy4gSSBzdWdnZXN0IHlvdSBzdSBuYWdpb3MgKGlmIG5hZ2lv > cyBpcw0KCXRoZSB1c2VyKSB0aGVuIGdldCB0aGUgY2hlY2tfbmFnaW9zIGNvbW1hbmQgdG8gd29y > ayBwcm9wZXJseS4NCgkNCglTY290dA0KCQ0KCQ0KCQ0KCQ0KCQ0KCVNjaG9sbCwgTWljaGFlbCB3 > cm90ZToNCgkNCgk+LSBQTEVBU0UgUkVBRCBUSEUgQ09ORklERU5USUFMSVRZIE5PVElDRSBBVCBU > SEUgRU5EIE9GIFRISVMgRU1BSUwgLQ0KCT4NCgk+DQoJPg0KCT5JdCBzYXlzDQoJPg0KCT4iIENv > dWxkIG5vdCBsb2NhdGUgYSBydW5uaW5nIE5hZ2lvcyBwcm9jZXNzISAiDQoJPg0KCT5CdXQgaXQg > aXMgcnVubmluZywgSSBjYW4gZG8gcHMgYW5kIEkgc2VlIGl0IHJ1bm5pbmcsIEkgY2FuIGFsc28g > dHlwZSB0aGUgY2hja19uYWdpb3MgYXQgdGhlIGNvbW1hbmQgbGluZSB3aXRoIHRoZSBzYW1lIGZs > YWdzIGFzIGFyZSBpbiB0aGUgY2dpLmNmZyBmaWxlIGFuZCBpdCByZXNwb25kcyB0aGF0IG5hZ2lv > cyBpcyBvaywgYW5kIHNheXMgaG93IG1hbnkgcnVubmluZyBwcm9jZXNzZXMgdGhlcmUgYXJlLg0K > CT4NCgk+DQoJPg0KCT5NaWNoYWVsIEMuIFNjaG9sbA0KCT5TeXN0ZW0vTmV0d29yayBBbmFseXN0 > DQoJPkhJUEFBIFNlY3VyaXR5IE9mZmljZXINCgk+bWljaGFlbC5zY2hvbGxAeW9ya2hvc3BpdGFs > Lm9yZw0KCT4NCgk+DQoJPi0tLS0tT3JpZ2luYWwgTWVzc2FnZS0tLS0tDQoJPkZyb206IE1hcmMg > UG93ZWxsIFttYWlsdG86bXBvd2VsbEBlbmEuY29tXQ0KCT5TZW50OiBGcmlkYXksIEF1Z3VzdCAw > OCwgMjAwMyAxMDo0NCBBTQ0KCT5UbzogU2Nob2xsLCBNaWNoYWVsOyBuYWdpb3MtdXNlcnNAbGlz > dHMuc291cmNlZm9yZ2UubmV0DQoJPlN1YmplY3Q6IFJFOiBbTmFnaW9zLXVzZXJzXSBXYXJuaW5n > OiBNb25pdG9yaW5nIHByb2Nlc3MgbWF5IG5vdCBiZSBydW5uaW5nIQ0KCT4NCgk+DQoJPldoZW4g > eW91IGNsaWNrIHRoZSBsaW5rIHRoYXQgaXMgcHJvdmlkZWQgZm9yIG1vcmUgaW5mb3JtYXRpb24s > IHdoYXQgZG9lcyBpdCB0ZWxsIHlvdT8gSXQgd2lsbCBwcm92aWRlIHlvdSB3aXRoIHRoZSByZWFz > b24gd2h5IGl0IGRvZXNuJ3QgdGhpbmsgbmFnaW9zIGlzIHJ1bm5pbmcuDQoJPg0KCT4tLQ0KCT5N > YXJjDQoJPg0KCT5fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fDQoJPkZy > b206IFNjaG9sbCwgTWljaGFlbCBbbWFpbHRvOm1pY2hhZWwuc2Nob2xsQHlvcmtnZW5lcmFsLm9y > Z10NCgk+U2VudDogRnJpZGF5LCBBdWd1c3QgMDgsIDIwMDMgMTA6MzYgQU0NCgk+VG86IG5hZ2lv > cy11c2Vyc0BsaXN0cy5zb3VyY2Vmb3JnZS5uZXQNCgk+DQoJPi0gUExFQVNFIFJFQUQgVEhFIENP > TkZJREVOVElBTElUWSBOT1RJQ0UgQVQgVEhFIEVORCBPRiBUSElTIEVNQUlMIC0gSGVscCEhIEkg > YW0gZ2V0dGluZyB0aGUgd2FybmluZyB0aGF0IE1vbml0b3JpbmcgcHJvY2VzcyBtYXkgbm90IGJl > IHJ1bm5pbmcsIEkgY2hlY2tlZCB0aGUgRkFRJ3MsIGFuZCBkaWQgZXhhY3RseSB3aGF0IGlzIGxp > c3RlZCwgYnV0IGl0IHN0aWxsIHdpbGwgbm90IHdvcmsuIEkgY2FuIHJ1biB0aGUgdGhlIGNoZWNr > IGF0IGEgY29tbWFuZCBsaW5lIGFuZCBpdCBzYXlzIGFsbCBpcyB3ZWxsLCBwbHVzIHVudGlsIEkg > cmVib290ZWQgdGhlIG5hZ2lvcyBzZXJ2ZXIgeWVzdGVyZGF5IGl0IHdvcmtlZCBwcm9wZXJseS4g > UGxlYXNlIGhlbHAgSSdtIGF0IG15IHdpdHMgZW5kLg0KCT4NCgk+VGhhbmsgWW91DQoJPg0KCT5N > aWNoYWVsIEMuIFNjaG9sbA0KCT5TeXN0ZW0vTmV0d29yayBBbmFseXN0DQoJPkhJUEFBIFNlY3Vy > aXR5IE9mZmljZXINCgk+bWljaGFlbC5zY2hvbGxAeW9ya2dlbmVyYWwub3JnDQoJPg0KCT4gICAg > ICBZb3JrIEdlbmVyYWwgICAgICAgDQoJPkhlYWx0aCBDYXJlIFNlcnZpY2VzDQoJPiAgICAgICAg > MjIyMiBMaW5jb2xuIEF2ZS4NCgk+ICAgICAgICBZb3JrLCBORSAgNjg0NjcNCgk+ICAgICAgICAg > KDQwMikgMzYyLTA0ODINCgk+DQoJPg0KCT4NCgk+LS0tLS0tLS0tLQ0KCT5DT05GSURFTlRJQUxJ > VFkgTk9USUNFOiBUaGlzIGVtYWlsIG1lc3NhZ2UsIGluY2x1ZGluZyBhdHRhY2htZW50cywgY29u > dGFpbnMgY29uZmlkZW50aWFsIGluZm9ybWF0aW9uIGFuZCBpcyBmb3IgdGhlIHNvbGUgdXNlIG9m > IHRoZSBpbnRlbmRlZCByZWNpcGllbnQocykuIElmIHlvdSBoYXZlIHJlY2VpdmVkIHRoaXMgZW1h > aWwgaW4gZXJyb3IsIHBsZWFzZSBub3RpZnkgdGhlIHNlbmRlciBvZiB0aGUgbWVzc2FnZS4gVGhp > cyBmb290ZXIgYWxzbyBjb25maXJtcyB0aGF0IHRoaXMgZW1haWwgbWVzc2FnZSBoYXMgYmVlbiBz > Y2FubmVkIGZvciB0aGUgcHJlc2VuY2Ugb2YgY29tcHV0ZXIgdmlydXNlcy4NCgk+DQoJPkFueSB2 > aWV3cyBleHByZXNzZWQgaW4gdGhpcyBtZXNzYWdlIGFyZSB0aG9zZSBvZiB0aGUgaW5kaXZpZHVh > bCBzZW5kZXIsIGV4Y2VwdCB3aGVyZSB0aGUgc2VuZGVyIHNwZWNpZmllcyBhbmQgd2l0aCBhdXRo > b3JpdHksIHN0YXRlcyB0aGVtIHRvIGJlIHRoZSB2aWV3cyBvZiBZb3JrIEdlbmVyYWwgSGVhbHRo > IENhcmUgU2VydmljZXMuDQoJPg0KCT4NCgk+LS0tLS0tLS0tLQ0KCT5DT05GSURFTlRJQUxJVFkg > Tk9USUNFOiBUaGlzIGVtYWlsIG1lc3NhZ2UsIGluY2x1ZGluZyBhdHRhY2htZW50cywgY29udGFp > bnMgY29uZmlkZW50aWFsIGluZm9ybWF0aW9uIGFuZCBpcyBmb3IgdGhlIHNvbGUgdXNlIG9mIHRo > ZSBpbnRlbmRlZCByZWNpcGllbnQocykuICBJZiB5b3UgaGF2ZSByZWNlaXZlZCB0aGlzIGVtYWls > IGluIGVycm9yLCBwbGVhc2Ugbm90aWZ5IHRoZSBzZW5kZXIgb2YgdGhlIG1lc3NhZ2UuIFRoaXMg > Zm9vdGVyIGFsc28gY29uZmlybXMgdGhhdCB0aGlzIGVtYWlsIG1lc3NhZ2UgaGFzIGJlZW4gc2Nh > bm5lZCBmb3IgdGhlIHByZXNlbmNlIG9mIGNvbXB1dGVyIHZpcnVzZXMuDQoJPg0KCT5Bbnkgdmll > d3MgZXhwcmVzc2VkIGluIHRoaXMgbWVzc2FnZSBhcmUgdGhvc2Ugb2YgdGhlIGluZGl2aWR1YWwg > c2VuZGVyLCBleGNlcHQgd2hlcmUgdGhlIHNlbmRlciBzcGVjaWZpZXMgYW5kIHdpdGggYXV0aG9y > aXR5LCBzdGF0ZXMgdGhlbSB0byBiZSB0aGUgdmlld3Mgb2YgWW9yayBHZW5lcmFsIEhlYWx0aCBD > YXJlIFNlcnZpY2VzLg0KCT4NCgk+DQoJPg0KCT4tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t > LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQoJPlRoaXMgU0YuTmV0IGVtYWlsIHNwb25zb3Jl > ZCBieTogRnJlZSBwcmUtYnVpbHQgQVNQLk5FVCBzaXRlcyBpbmNsdWRpbmcNCgk+RGF0YSBSZXBv > cnRzLCBFLWNvbW1lcmNlLCBQb3J0YWxzLCBhbmQgRm9ydW1zIGFyZSBhdmFpbGFibGUgbm93Lg0K > CT5Eb3dubG9hZCB0b2RheSBhbmQgZW50ZXIgdG8gd2luIGFuIFhCT1ggb3IgVmlzdWFsIFN0dWRp > byAuTkVULg0KCT5odHRwOi8vYXNwbmV0LmNsaWNrLXVybC5jb20vZ28vcHNhMDAxMDAwMDNhdmUv > ZGlyZWN0O2F0LmFzcG5ldF8wNzIzMDNfMDEvMDENCgk+X19fX19fX19fX19fX19fX19fX19fX19f > X19fX19fX19fX19fX19fX19fX19fX18NCgk+TmFnaW9zLXVzZXJzIG1haWxpbmcgbGlzdA0KCT5O > YWdpb3MtdXNlcnNAbGlzdHMuc291cmNlZm9yZ2UubmV0DQoJPmh0dHBzOi8vbGlzdHMuc291cmNl > Zm9yZ2UubmV0L2xpc3RzL2xpc3RpbmZvL25hZ2lvcy11c2Vycw0KCT46OjogUGxlYXNlIGluY2x1 > ZGUgTmFnaW9zIHZlcnNpb24sIHBsdWdpbiB2ZXJzaW9uICgtdikgYW5kIE9TIHdoZW4gcmVwb3J0 > aW5nIGFueSBpc3N1ZS4NCgk+Ojo6IE1lc3NhZ2VzIHdpdGhvdXQgc3VwcG9ydGluZyBpbmZvIHdp > bGwgcmlzayBiZWluZyBzZW50IHRvIC9kZXYvbnVsbA0KCT4NCgk+IA0KCT4NCgkNCgkNCgkNCgkN > CgkNCg0K > > > > --__--__-- > > Message: 7 > Date: Sat, 09 Aug 2003 17:49:41 -0300 > To: "Rivanor P. Soares" , > nagios-users at lists.sourceforge.net > From: Rainer > Subject: [Nagios-users] Re: Unknow state while trying to 'fping' > > Diz ae Rivador. Sauda=E7=F5es brasileiras... > > Replace the command definition with this one: > > define command{ > command_name check_fping > command_line $USER1$/check_fping -H $HOSTADDRESS$ -w $ARG1$ -c= > =20 > $ARG2$ -n 3 > } > > As for the service definition, change the check_command to: > check_command check_fping!100.0,20%!200.0,40% > > Change the warning and critical levels to anything you wish... you may also= > =20 > change the "-n 3", which is the number of pings sent on each check. > You probably wouldn't want to use more than 3 or 4. > > Important: Set the SUID flag on the check_fping binary > chmod +s check_fping > > > Falow, > Rainer Alves > Unisys Brazil > > > At 14:30 8/8/2003, Rivanor P. Soares wrote: > >Hi folks, > > > >While trying to check all hosts with 'fping' I'm getting the > >following state (Status Information) in the web interface: > >FPING UNKNOWN - 10.21.165.11 > > > >What could be wrong? > > > >Here it is my configs.: > ># services.cfg > >define service{ > > host_name * > > service_description Fast Ping > > check_command check_fping > > > > > ># checkcommands.cfg > >define command{ > > command_name check_fping > > command_line $USER1$/check_fping -H $HOSTADDRESS$ > > } > > > >Thank you all, and I know this is a simple question! ;) > > > >-- > >Rivanor P. Soares (w3b_kn0wS) > >LPIC-1, CCNA > >Sao Paulo, SP > >Brazil > > > >"Open Source. Millions of open minds cannot be wrong." > >-- > > > > > --__--__-- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Proctor at capita.co.uk Mon Aug 11 15:12:37 2003 From: Andrew.Proctor at capita.co.uk (Proctor, Andy (Academy)) Date: Mon, 11 Aug 2003 14:12:37 +0100 Subject: cgi permissions Message-ID: <7DBC75A20662EE4C8BC92579DDB7E85535490A@IMCR-MAIL> "It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." I am getting the following error message when trying to view the relevant cgi's. I have checked all the config and I can't see where I'm going wrong. Help! Regards, Andy Proctor Academy Payment Collection & Income Management Capita Software Services mobile:07766 578125 mailto:aproctor at academy.co.uk ********************************************************************************** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From phasenjager at fzacpa.com Mon Aug 11 16:05:11 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Mon, 11 Aug 2003 09:05:11 -0500 Subject: Stupidity Message-ID: Ok. Maybe it's just still early on a Monday morning, but I cannot figure out how to compile the check_nwstat.c to be able to use the newest version in nagios. Can someone please help my stupidity? Pat. ************************************************************************** This e-mail and any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. Although reasonable precautions are taken to assure this e-mail is virus free, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sourceforge at powered.net Mon Aug 11 16:02:18 2003 From: sourceforge at powered.net (Rainer) Date: Mon, 11 Aug 2003 11:02:18 -0300 (BRT) Subject: Nagios Brazil In-Reply-To: <9dd501c36007$5074df20$31150a0a@estacio.domain> References: <9dd501c36007$5074df20$31150a0a@estacio.domain> Message-ID: <37507.200.220.45.48.1060610538.squirrel@www.powered.net> Carlos, Tem alguns por ae :) A proposito, se alguem ae tiver um patch/diff pra traduzir as CGIs da versao 1.1 pra portugues, estou aceitando. Falow, Rainer Alves Unisys Brazil > Algum brasileiro na lista ??? > :) > > Sem mais, > > Carlos Eduardo Dionizio > Analista de Suporte - UNIX > Universidade Est?cio de S? > Diretoria de Tecnologia da Informa??o ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Wiesner at dbla.com Mon Aug 11 16:37:18 2003 From: Thomas.Wiesner at dbla.com (Wiesner, Thomas) Date: Mon, 11 Aug 2003 16:37:18 +0200 Subject: WG: send_nsca binary for solaris Message-ID: <116472F1372AD3118BF20008C791626C0BDE0304@dlh00em1.dlh00e.mail.dresdner.net> Hi all, I searched the web and the newsgroup for "compiling send_nsca on solaris". There are some sites but because I am not a solaris specialist I would prefer to download the binaries from a website. Could anyone send me the binaries or a link on the web where I can find them? Or is it easer to compile send_nsca on solaris? I know I have to use gcc ...... Please help me! Best regards, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stuart.Webster at shell.com Mon Aug 11 16:51:56 2003 From: Stuart.Webster at shell.com (Webster, Stuart SITI-ITDIUR) Date: Mon, 11 Aug 2003 16:51:56 +0200 Subject: Notification Question Message-ID: <5539FB0922D5E544B12A031DBD255E55010B8907@rijpat-s-346.europe.shell.com> Hi, Early sunday morning a server crashed, the server was rebooted. Looking through the event logs nagios logged a HOST DOWN as expected. But no host down notification was sent out, notifications only started comming once the server was up and nrpe was not running. I expected to recieve HOST DOWN notifications, but none were recieved, Looking in nagios' Alert Notifications history, it clearly shows that host down notification were sent to all 10 of our admins. here is a snippet from my alert notification history. Hosts Service Tyoe Time contact Notification Command Information rtssip30 Check Disk / CRITICAL 08-10-2003 07:26:59 nlswe1 notify-by-email CHECK_NRPE: Socket timeout after 30 seconds. kseu12 N/A HOST DOWN 08-10-2003 06:39:42 ksati1 host-notify-by-email CRITICAL - Plugin timed out after 10 seconds kseu12 N/A HOST DOWN 08-10-2003 06:39:42 ksjbo1 host-notify-by-email CRITICAL - Plugin timed out after 10 seconds kseu12 N/A HOST DOWN 08-10-2003 06:39:42 ksjkl1 host-notify-by-email CRITICAL - Plugin timed out after 10 seconds My question, are mail notifications written to the log, even before they pass through some notification filters. or from looking at the above log, should the admins have all recieved mails,, they continued to recieve mails all day complaining about nrpe not running. here is how the host is defined # 'kseu12' host definition define host{ use generic-host host_name kseu12 alias kseu12 address some ip check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Any help appreciated, I really need to get host down mails. Thanks Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: From Hagen_Deike at icon-scm.com Mon Aug 11 17:39:06 2003 From: Hagen_Deike at icon-scm.com (Hagen Deike) Date: Mon, 11 Aug 2003 17:39:06 +0200 Subject: AW: Smoke-detector connected to Nagios ? Message-ID: <7E47A0E20913514C8F4CD1BC241A37034F437D@serv-075.icon-germany.local> Hi, Please, do yourself a favour and don't connect smoke detectors to Nagios and rely on them. If you need them, consider a burglar alarm. We have two of them in our Server room. If smoke is detected it must go fast. A notification thru SMS will burn down your house. There are companies you can connect with your burglar alarm equipment, they receive an alarm in realtime and can report to the fire department. On behalf of that you can connect the alarm equipment to Nagios (even thought I don't recommend it). Good burglar alarms have a serial printer port you can use to connect with Nagios. Regards, Hagen > -----Urspr?ngliche Nachricht----- > Von: Brian Ipsen [mailto:Brian.Ipsen-sender-25cac0 at andebakken.dk] > Gesendet: Samstag, 9. August 2003 13:52 > An: nagios-users at lists.sourceforge.net > > Hi! > > Due to a recent event in out power-installations (actually the UPS went > on > fire :-( ) - I wonder if anyone has any experience in connecting a > smoke-detector to Nagios - and that way around be alerted by email, SMS, > pager or similar - if any smoke is detected by the device ? > > Regards, > > /Brian Ipsen > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arbhushan at yahoo.com Mon Aug 11 17:18:49 2003 From: arbhushan at yahoo.com (Ravi Bhushan) Date: Mon, 11 Aug 2003 08:18:49 -0700 (PDT) Subject: Nagat configuration Message-ID: <20030811151849.67113.qmail@web10508.mail.yahoo.com> Hello all, I have Nagat configured for administating Nagios and I'm able to access the nagat/index.php. This is what I see when I load the Nagat/index.php Nagat Hosts [ Exporter | Importer | Nagios.Cfg | CGI.Cfg ] [ Hosts | Hostgroups | Services | Contacts | Contactgroups | Timeperiods | Commands | Service Escalations ] No 'host'-objects found. For every link I click on I get the below error: Hostgroups --> No 'hostgroup'-objects found. Services --> No 'service'-objects found. and so on... Can you please help me on this problem. thanks and regards -Ravi __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.fischer at quadriga.com Mon Aug 11 17:37:32 2003 From: thomas.fischer at quadriga.com (Fischer, Thomas) Date: Mon, 11 Aug 2003 16:37:32 +0100 Subject: Distributed Monitoring and Eventhandlers Message-ID: <5D339AE687B0C8438185AE62ED06697D035B63@ukchmail01.mail.quadriga.com> Guys and gals, following problem: In a distributed environment i transmit Service check results via the NSCA Daemon. On the central server i want to run each time when a PING Service result comes in run an event handler. Is that possible and if so how? The event handler shall basically take the PING results (which is transmitted by send_nsca) and write the output into a simple DB. The DB then gets queried by a modified check_ping and returns the status according to the DB entries. This is thought as workaround for passive host checks. The passive host check part is working already, however as said i need an event handler to insert (update) the DB each time a Service PING result comes in. The event handler needs also to run each time regardless of what the result/return-code is (lets say as sort of a host freshness check). Any pointers highly appreciated. Tom This message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. From nagios at okka.org.za Mon Aug 11 17:57:38 2003 From: nagios at okka.org.za (Carlito - nagios user) Date: Mon, 11 Aug 2003 17:57:38 +0200 Subject: cgi permissions In-Reply-To: <7DBC75A20662EE4C8BC92579DDB7E85535490A@IMCR-MAIL> References: <7DBC75A20662EE4C8BC92579DDB7E85535490A@IMCR-MAIL> Message-ID: <007d01c36021$49f90670$0f14a8c0@bit.co.za> chown nagios:nagiocmd /usr/local/nagios/var/rw/nagios.cmd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Proctor, Andy (Academy) Sent: 11 August 2003 15:13 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] cgi permissions "It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file." I am getting the following error message when trying to view the relevant cgi's. I have checked all the config and I can't see where I'm going wrong. Help! Regards, Andy Proctor Academy Payment Collection & Income Management Capita Software Services mobile:07766 578125 mailto:aproctor at academy.co.uk **************************************************************************** ****** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. **************************************************************************** ******* -------------- next part -------------- An HTML attachment was scrubbed... URL: From Brian.Ipsen-sender-25cac0 at andebakken.dk Mon Aug 11 17:47:37 2003 From: Brian.Ipsen-sender-25cac0 at andebakken.dk (Brian Ipsen) Date: Mon, 11 Aug 2003 17:47:37 +0200 Subject: Smoke-detector connected to Nagios ? In-Reply-To: <7E47A0E20913514C8F4CD1BC241A37034F437D@serv-075.icon-germany.local> References: <7E47A0E20913514C8F4CD1BC241A37034F437D@serv-075.icon-germany.local> Message-ID: Hi, > Please, do yourself a favour and don't connect smoke detectors to > Nagios and > rely on them. If you need them, consider a burglar alarm. We have two of > them in our Server room. If smoke is detected it must go fast. A > notification thru SMS will burn down your house. There are > companies you can > connect with your burglar alarm equipment, they receive an alarm > in realtime > and can report to the fire department. > On behalf of that you can connect the alarm equipment to Nagios (even > thought I don't recommend it). Good burglar alarms have a serial printer > port you can use to connect with Nagios. I know that just connecting them to Nagios wouldn't the oprimal solution. The building is already equipped with burglar alarm, but smoke-detectors haven't been connected to this system yet (it has been planned for months, but the actual implementation has not taken place yet). Anyway, thanks for your comments ;-) /Brian ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dom at vbi.vt.edu Mon Aug 11 18:02:57 2003 From: dom at vbi.vt.edu (Dominik L. Borkowski) Date: Mon, 11 Aug 2003 12:02:57 -0400 Subject: backtrack archives In-Reply-To: <5D339AE687B0C8438185AE62ED06697D035B63@ukchmail01.mail.quadriga.com> References: <5D339AE687B0C8438185AE62ED06697D035B63@ukchmail01.mail.quadriga.com> Message-ID: <200308111202.57446.dom@vbi.vt.edu> Hi, Is there anything special that needs to be done for nagios' web interface to use the archived logs? I have nagios set to rotate logs once a month, and that goes flawlessly. The logs are stored in /usr/local/nagios/var/archives, and everything seems intact. However, the web interface still does not let me see that data. [we need it mostly for the trends, so PHB's can be satisfied]. Sincerely, dom ps) the archived logs seem to be in working order, they are readable by the web browser, etc. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jordivi at wtransnet.net Mon Aug 11 18:48:44 2003 From: jordivi at wtransnet.net (Jordi Vidal) Date: Mon, 11 Aug 2003 18:48:44 +0200 (CEST) Subject: check_http trought proxy-cache Message-ID: Hi Is there a way to force "check_http" to send a "Refresh"? My webs go down and Nagios happily fetch them from the cache of my transparent-proxy at the office. Regards, Jordi ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garrick at usc.edu Mon Aug 11 19:07:03 2003 From: garrick at usc.edu (garrick) Date: Mon, 11 Aug 2003 10:07:03 -0700 Subject: Authentication required In-Reply-To: <20030810212255.M94075@comp-wiz.com> References: <20030810212255.M94075@comp-wiz.com> Message-ID: <20030811170703.GI22071@polop.usc.edu> On Sun, Aug 10, 2003 at 05:24:40PM -0400, Vernon Webb alleged: > Sorry for the terribly newbie question but I've used the rpm to install Nagios and I have no idea what the user name and password is to log into the web interface. Any ideas? Nagios does not do any authentication. It relies webserver-based authentication. Please see http://nagios.sourceforge.net/docs/1_0/cgiauth.html. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Mon Aug 11 18:50:56 2003 From: solomolo90 at hotmail.com (solo molo) Date: Mon, 11 Aug 2003 16:50:56 +0000 Subject: Passive Results out of order Message-ID: I'v noticed that when two passive check results for the same service are received within a few seconds of each other nagios processes them in the wrong order. For example if a successful result is received 5 seconds after a failure, the failure is processed after the succes, resulting in incorrect state. Has anyone else noticed this? _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Mon Aug 11 19:38:23 2003 From: amen at oreilly.com (Bob Amen) Date: Mon, 11 Aug 2003 10:38:23 -0700 Subject: Authentication required References: <20030810212255.M94075@comp-wiz.com> Message-ID: <3F37D48F.7090803@oreilly.com> Vernon Webb wrote: > Sorry for the terribly newbie question but I've used the rpm to install > Nagios and I have no idea what the user name and password is to log into > the web interface. Any ideas? You need to set a username and password in this file: /usr/local/nagios/etc/htpasswd.users (providing that's where the RPM installed things). You can find more documentation on setting up authorization here: http://nagios.sourceforge.net/docs/1_0/cgiauth.html. Cheers, Bob -- Bob Amen O'Reilly & Associates, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Don.Howard at connectedenergy.com Mon Aug 11 20:09:34 2003 From: Don.Howard at connectedenergy.com (Don Howard) Date: Mon, 11 Aug 2003 14:09:34 -0400 Subject: Monitoring an intermittent host Message-ID: <0C68BB5622B41D41ACEC1716B2C2DD08307E6C@cecmail.CDAINTERNAL.COM> All, I have an intermittent host that connects for 15 minutes out of every hour. I only want to be notified that it is down if it does not connect for a couple of hours. I see how I can make the check interval longer but this does not really solve my problem. The remote host has a lot of drift. I imagine there is an easy way to do this but I am missing it if so. I looked through the options in the configuration file and searched the archives (as best I could for some reasons the archives for this list are not available right now) Any help would be appreciated. Thanks, Don -- Don Howard Network Administrator Connected Energy Mailto:Don.Howard at connectedenergy.com http://www.connectedenergy.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cg at town.los-gatos.ca.us Mon Aug 11 20:37:43 2003 From: cg at town.los-gatos.ca.us (Chris Gjerde) Date: Mon, 11 Aug 2003 11:37:43 -0700 Subject: Checking Time Synchronization on Netware Message-ID: What file do I modify to add this command if I want it to show up on the browser? (services.cfg or checkcommands.cfg or ?) I've got the basics running OK, with statusmap and all. But I'm only checking for ping I guess. Sorry, newbie question, but I could sure use some direction in general on how and where to add these commands. I've loaded MRTGEXT nlm on my novell 6 server and downloaded latest plugins. Thanks for any help. >>> "Randal, Phil" 08/05/2003 2:02:36 AM >>> Use check_nwstat and mrtgext (http://forge.novell.com/modules/xfmod/project/?mrtgext) on the server. define command { command_name check_nw_timesync command_line $USER1$/check_nwstat -H $HOSTADDRESS$ -v TSYNC } If you're checking NetWare servers, get the latest check_nwstat from Nagios Plugins CVS (http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/plugin s/check_nwstat.c) Cheers, Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: Patrick Hasenjager [mailto:phasenjager at fzacpa.com] > Sent: 04 August 2003 19:32 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Checking Time Synchronization on Netware > > > Does anyone know of a way to check time synchronization status on a > Netware 6 server? > > > > Patrick Hasenjager > Technical Support Specialist > Frankel, Zacharia, Arnold, Nissen, Stamp & Reinsch, LLC > > Main: (402) 496-9100 > Desk: (402) 963-4340 > Fax: (402) 496-1024 > phasenjager at fzacpa.com > ************************************************************** > ************ > > This e-mail and any attachments are intended only for the > addressee. If > you are not the addressee you should not disseminate, > distribute or copy > this e-mail or attachments. Please immediately notify the > sender if you > have received this e-mail by mistake and delete it from your system. > E-mail transmission cannot be guaranteed secure or error-free as > information could be intercepted, corrupted, lost, destroyed, > arrive late > or incomplete, or contain viruses. The sender does not > accept liability > for errors or omissions in the contents of this message which arise or > occur during transmission. We will provide a "hard-copy" > version of the > message and attachments upon request. > > Although reasonable precautions are taken to assure this > e-mail is virus > free, we do not accept responsibility for the loss or damage > arising from > the use of this e-mail or attachments. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From dtran at ssc.ucla.edu Mon Aug 11 20:40:49 2003 From: dtran at ssc.ucla.edu (Daniel Tran) Date: Mon, 11 Aug 2003 11:40:49 -0700 Subject: nagios and database Message-ID: <000901c36038$158db770$49e56180@hp1> Hi, I configured nagios on RedHat 9 with mysql. running nagios -v looks good, no error. Upon starting nagios and looking at nagios.log file, I get messages like: "could not lock status data tables in database". Any idea how I can correct this? Thanks - ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Mon Aug 11 20:50:37 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 11 Aug 2003 14:50:37 -0400 Subject: Monitoring an intermittent host Message-ID: <5F29693503507B4FB4032686ADF862671AD0A7@mtviny25.mtvi.com> You could set the max_check_attempts really high to get around this. -Keith -----Original Message----- From: Don Howard [mailto:Don.Howard at connectedenergy.com] Sent: Monday, August 11, 2003 2:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring an intermittent host All, I have an intermittent host that connects for 15 minutes out of every hour. I only want to be notified that it is down if it does not connect for a couple of hours. I see how I can make the check interval longer but this does not really solve my problem. The remote host has a lot of drift. I imagine there is an easy way to do this but I am missing it if so. I looked through the options in the configuration file and searched the archives (as best I could for some reasons the archives for this list are not available right now) Any help would be appreciated. Thanks, Don -- Don Howard Network Administrator Connected Energy Mailto:Don.Howard at connectedenergy.com http://www.connectedenergy.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Mon Aug 11 21:10:17 2003 From: brian.murphy at gmx.net (brian.murphy at gmx.net) Date: Mon, 11 Aug 2003 21:10:17 +0200 (MEST) Subject: Subject: Monitoring an intermittent host Message-ID: <11285.1060629017@www62.gmx.net> If you could get the Intermittent host to submit a passive check whenever it came on then you could setup the freshness to let you know when it had not heard from the host in the freshness interval. Brian Subject: [Nagios-users] Monitoring an intermittent host All, I have an intermittent host that connects for 15 minutes out of every = hour. I only want to be notified that it is down if it does not connect = for a couple of hours. I see how I can make the check interval longer = but this does not really solve my problem. The remote host has a lot of = drift. I imagine there is an easy way to do this but I am missing it if = so. I looked through the options in the configuration file and searched = the archives (as best I could for some reasons the archives for this = list are not available right now) Any help would be appreciated. Thanks, Don -- Don Howard Network Administrator Connected Energy Mailto:Don.Howard at connectedenergy.com http://www.connectedenergy.com -- COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test -------------------------------------------------- 1. GMX TopMail - Platz 1 und Testsieger! 2. GMX ProMail - Platz 2 und Preis-Qualit?tssieger! 3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Don.Howard at connectedenergy.com Mon Aug 11 20:53:29 2003 From: Don.Howard at connectedenergy.com (Don Howard) Date: Mon, 11 Aug 2003 14:53:29 -0400 Subject: Monitoring an intermittent host Message-ID: <0C68BB5622B41D41ACEC1716B2C2DD08277918@cecmail.CDAINTERNAL.COM> Keith, Thanks that is a great idea, IE if my checks are every 5 minutes then I can set max check attempts to 25 and that will mean it has to be down for over 2 hours before it sends me a note. Thanks again, I new it was something simple I was missing. Cheers, Don -- Don Howard Network Administrator Connected Energy Mailto:Don.Howard at connectedenergy.com http://www.connectedenergy.com -----Original Message----- From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] Sent: Monday, August 11, 2003 2:51 PM To: Don Howard; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Monitoring an intermittent host You could set the max_check_attempts really high to get around this. -Keith -----Original Message----- From: Don Howard [mailto:Don.Howard at connectedenergy.com] Sent: Monday, August 11, 2003 2:10 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring an intermittent host All, I have an intermittent host that connects for 15 minutes out of every hour. I only want to be notified that it is down if it does not connect for a couple of hours. I see how I can make the check interval longer but this does not really solve my problem. The remote host has a lot of drift. I imagine there is an easy way to do this but I am missing it if so. I looked through the options in the configuration file and searched the archives (as best I could for some reasons the archives for this list are not available right now) Any help would be appreciated. Thanks, Don -- Don Howard Network Administrator Connected Energy Mailto:Don.Howard at connectedenergy.com http://www.connectedenergy.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Krist at assen.nl Mon Aug 11 21:27:19 2003 From: R.Krist at assen.nl (R Krist) Date: Mon, 11 Aug 2003 21:27:19 +0200 Subject: Betr.: Nagios-users digest, Vol 1 #1610 - 28 msgs (Vakantie.) Message-ID: LS, Momenteel geniet ik van mijn welverdiende vakantie en ben ik niet in staat om te reageren op uw mailbericht. Ik ben afwezig van 9 augustus t/m 8 september 2003. Gegroet, R. Krist **************************************************************************** Aan de informatie in deze e-mail en ieder aangehecht databestand kunnen geen rechten worden ontleend. De e-mail is vertrouwelijk en is uitsluitend bestemd voor de geadresseerde. De gemeente Assen aanvaardt geen aansprakelijkheid voor schade als gevolg van onjuistheden, gedateerde informatie of van een onjuiste en onvolledige verzending en ontvangst van informatie. **************************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Mon Aug 11 22:36:42 2003 From: solomolo90 at hotmail.com (solo molo) Date: Mon, 11 Aug 2003 20:36:42 +0000 Subject: Monitoring - 1000+ hosts and latency Message-ID: Thanks. Is this patch in CVS or did you write it yourself? Also when you say it was unbearable before patching are you referring to the number of nagios proccesses or the latency between receiving passive check results and having them show up in the UI? >From: David Parrish >To: solo molo >CC: Fred.Albrecht at za.tiscali.com, nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency >Date: Mon, 11 Aug 2003 08:16:13 +1000 > >Patch attached... > >On Fri, Aug 08, 2003 at 06:13:13PM +0000, solo molo wrote: > > From: "solo molo" > > To: david at dparrish.com, Fred.Albrecht at za.tiscali.com > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > Date: Fri, 08 Aug 2003 18:13:13 +0000 > > > > I'm having the same problem. Where is this patch located? > > > > > > >From: David Parrish > > >To: Fred Albrecht > > >CC: nagios-users at lists.sourceforge.net > > >Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > >Date: Thu, 7 Aug 2003 07:54:54 +1000 > > > > > >I'm not going to guarantee anything. From what I saw, the external >check > > >code that list patch applies to looks very similar in 1.0 & 1.1. > > > > > >Try it and see :) > > > > > >On Wed, Aug 06, 2003 at 07:33:31AM +0200, Fred Albrecht wrote: > > > > > > > Hi David > > > > > > > > Will this patch work on version 1.0 as well? > > > > > > > > :) > > > > fred > > > > > -----Original Message----- > > > > > From: David Parrish [mailto:david at dparrish.com] > > > > > Sent: 06 August 2003 01:32 AM > > > > > To: ftang at cgg.com > > > > > Cc: nagios-users at lists.sourceforge.net > > > > > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > > > > > > > > > > > > > > I'm running a nagios install monitoring nearly 7000 services and >still > > > > > growing. It was unbearable until it was patched to not fork to >process > > > > > external check results as often. > > > > > > > > > > If a large portion of your checks are passive, then this > > > > > patch will help a > > > > > lot. Probably not much for active checks though. > > > > > > > > > > My average check latency is 0.006 sec. > > > > > > > > > > On Tue, Aug 05, 2003 at 12:23:25PM +0100, ftang at cgg.com wrote: > > > > > > From: ftang at cgg.com > > > > > > To: nagios-users at lists.sourceforge.net > > > > > > Subject: [Nagios-users] Monitoring - 1000+ hosts and latency > > > > > > Date: Tue, 5 Aug 2003 12:23:25 +0100 > > > > > > > > > > > > All, > > > > > > > > > > > > Is there anyone currenly using nagios (any version) on over > > > > > 1000 hosts > > > > > > (3000+ services)? I know that there have been emails about users > > > > > > experiencing extreme latencies, and you can imagine that I > > > > > too am in the > > > > > > same crowd. I like nagios (used netsaint in my last company > > > > > - only 15 > > > > > > hosts), but I don''t think that it is suitable for my > > > > > current setup. I hope > > > > > > I am wrong. > > > > > > > > > > > > Thanks for your time. > > > > > >-- > > >Regards, > > >David Parrish > > >0410 586 121 > > ><< attach3 >> > > > > _________________________________________________________________ > > MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. > > http://join.msn.com/?page=features/virus > >-- >Regards, >David Parrish >0410 586 121 ><< nagios-1.1-patch0.patch >> ><< attach5 >> _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ckoniecny at thesaginawnews.com Mon Aug 11 22:26:27 2003 From: ckoniecny at thesaginawnews.com (Chris Koniecny) Date: 11 Aug 2003 16:26:27 -0400 Subject: How can I delay checks when a host goes down? Message-ID: <1060633587.18783.15.camel@LinuxStation> How can I delay checks when a host goes down? Right now when the host is DOWN, the checks are happening every 3 seconds until it reaches the max checks when it is determined that the host/service is DOWN. Example of what I'm speaking of (Notice the time between each check): ... [08-10-2003 02:55:42] HOST ALERT: Server;DOWN;SOFT;3;/bin/ping -n -U -c 1 192.168.0.1 [08-10-2003 02:55:39] HOST ALERT: Server;DOWN;SOFT;2;/bin/ping -n -U -c 1 192.168.0.1 [08-10-2003 02:55:36] HOST ALERT: Server;DOWN;SOFT;1;/bin/ping -n -U -c 1 192.168.0.1 ... And so on... I want there to be a host/service down check interval of 30 seconds or more, rather than 3 seconds. I don't have a clue how to expand this type of check interval. I'm trying to expand this over 10 minutes to make sure the host/service is DOWN before any notifications are being sent out. I would like to expand this over 10 minutes, which should be more than enough time to determine that a host/service is down and going to stay down. But if I were to use the 3 second interval as is, I would have Nagios performing ((60/3)*10) = 200 checks in 10 minutes. It would be much simpler if I could check the DOWN host/service every 30 seconds which would result in only 20 checks (less load on the Nagios server). Thanks, Chris Koniecny ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garrick at usc.edu Mon Aug 11 23:19:22 2003 From: garrick at usc.edu (garrick) Date: Mon, 11 Aug 2003 14:19:22 -0700 Subject: How can I delay checks when a host goes down? In-Reply-To: <1060633587.18783.15.camel@LinuxStation> References: <1060633587.18783.15.camel@LinuxStation> Message-ID: <20030811211743.GM22071@polop.usc.edu> On Mon, Aug 11, 2003 at 04:26:27PM -0400, Chris Koniecny alleged: > > How can I delay checks when a host goes down? Right now when the host > is DOWN, the checks are happening every 3 seconds until it reaches the > max checks when it is determined that the host/service is DOWN. > > I want there to be a host/service down check interval of 30 seconds or > more, rather than 3 seconds. I don't have a clue how to expand this See "normal_check_interval" and "retry_check_interval" at http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service and http://nagios.sourceforge.net/docs/1_0/configmain.html#interval_length and http://nagios.sourceforge.net/docs/1_0/checkscheduling.html ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Georgopoulos at UAP.com Tue Aug 12 00:39:48 2003 From: Alex.Georgopoulos at UAP.com (Georgopoulos, Alex (AP - IT)) Date: Mon, 11 Aug 2003 17:39:48 -0500 Subject: check_traffic plugin Message-ID: ~ ERROR: creating '/usr/lib/nagios/plugins/check_traffic-0.90b/db/xxx.xxx.xxx.xxx_ATM4/0/0.rrd': No such file or directory Just create directory under the db directory named xxx.xxx.xxx.xxx_ATM4 then a subdirectory 0 under that directory that will allow you to create those files ie '/usr/lib/nagios/plugins/check_traffic-0.90b/db/xxx.xxx.xxx.xxx_ATM4' and '/usr/lib/nagios/plugins/check_traffic-0.90b/db/xxx.xxx.xxx.xxx_ATM4/0' Hope that helps Alex Georgopoulos Server Administrator alex.georgopoulos at uap.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jyao at aav.com.au Tue Aug 12 01:30:27 2003 From: jyao at aav.com.au (Yao, Jack) Date: Tue, 12 Aug 2003 09:30:27 +1000 Subject: check file exist plugin Message-ID: Hi , I am trying to check if a file does exist in one of my Win2000 server. Does anyone know if there is any plugin available to do just that ? ta Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From edwinv at asti.dost.gov.ph Tue Aug 12 02:20:25 2003 From: edwinv at asti.dost.gov.ph (Edwin D. Vinas) Date: Tue, 12 Aug 2003 08:20:25 +0800 Subject: cgi permissions In-Reply-To: <7DBC75A20662EE4C8BC92579DDB7E85535490A@IMCR-MAIL> References: <7DBC75A20662EE4C8BC92579DDB7E85535490A@IMCR-MAIL> Message-ID: <3F3832C9.6080304@asti.dost.gov.ph> I encountered this error during my first installatio of Nagios... there are two possible causes: 1. you haven't configure .htaccess authentication in your cgi's & also your httpd.conf must be configured 2. you haven't created a user for nagios using htpasswd 3. or you haven't authorized the user you've just created to access the cgi's --edwin Proctor, Andy (Academy) wrote: > "It appears as though you do not have permission to view information > for any of the hosts you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file." > > > > > > I am getting the following error message when trying to view the > relevant cgi's. I have checked all the config and I can't see where > I'm going wrong. > > Help! > > > > Regards, > > Andy Proctor > > Academy Payment Collection & Income Management > > Capita Software Services > > > > mobile:07766 578125 > > mailto:aproctor at academy.co.uk > > > > | > > ********************************************************************************** > This email and any files transmitted with it are confidential, and may > be subject to legal privilege, and are intended solely for the use of > the individual or entity to whom they are addressed. > If you have received this email in error or think you may have done > so, you may not peruse, use, disseminate, distribute or copy this > message. Please notify the sender immediately and delete the original > e-mail from your system. > > Computer viruses can be transmitted by e-mail. Recipients should check > this e-mail for the presence of viruses. The Capita Group and its > subsidiaries accept no liability for any damage caused by any virus > transmitted by this e-mail. > *********************************************************************************** > | -- best regards, \______\__\______/__/ Edwin D. Vi?as http://edwin.ontheweb.com \______\__\____/__/ Science Research Specialist I \______\__\__/__/ Advanced Science and Technology Institute \______\__\/__/ "Success comes only to those '03 \______\____/ who are prepared for it". -Einstein PHILIPPINES OfficeTel/Fax: +632 4269767/4269766 -------------- next part -------------- An HTML attachment was scrubbed... URL: From david at dparrish.com Tue Aug 12 02:24:17 2003 From: david at dparrish.com (David Parrish) Date: Tue, 12 Aug 2003 10:24:17 +1000 Subject: Monitoring - 1000+ hosts and latency In-Reply-To: ; from solomolo90@hotmail.com on Mon, Aug 11, 2003 at 08:36:42PM +0000 References: Message-ID: <20030812102417.A28370@bilbo.dparrish.com> This patch is not in CVS. By unbearable, I mean that the average check latency was up around 900 seconds. > Thanks. Is this patch in CVS or did you write it yourself? Also when you > say it was unbearable before patching are you referring to the number of > nagios proccesses or the latency between receiving passive check results and > having them show up in the UI? > > > >From: David Parrish > >To: solo molo > >CC: Fred.Albrecht at za.tiscali.com, nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > >Date: Mon, 11 Aug 2003 08:16:13 +1000 > > > >Patch attached... > > > >On Fri, Aug 08, 2003 at 06:13:13PM +0000, solo molo wrote: > > > From: "solo molo" > > > To: david at dparrish.com, Fred.Albrecht at za.tiscali.com > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > > Date: Fri, 08 Aug 2003 18:13:13 +0000 > > > > > > I'm having the same problem. Where is this patch located? -- Regards, David Parrish 0410 586 121 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From agupta at yahoo-inc.com Tue Aug 12 04:04:21 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Mon, 11 Aug 2003 19:04:21 -0700 Subject: check_nagios returns WARNING Message-ID: Hi, This is with Nagios-very-alpha 2.0 version. I am unable to get check_nagios to return an OK state. Nagios daemon is running, but check_nagios always returns: "Nagios problem: located 1 process, status log updated 1060653644 seconds ago" Even though the status file was update just a few seconds back. Something to note: it is approxiate 1060653644 in current time (system time.) Any clues? ====================== Anurag Gupta agupta at yahoo-inc.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Tue Aug 12 05:24:28 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 11 Aug 2003 23:24:28 -0400 (EDT) Subject: check_nagios returns WARNING In-Reply-To: References: Message-ID: On Mon, 11 Aug 2003, Anurag Gupta wrote: > Hi, > > This is with Nagios-very-alpha 2.0 version. > > I am unable to get check_nagios to return an OK state. Nagios daemon is > running, but check_nagios always returns: > "Nagios problem: located 1 process, status log updated 1060653644 seconds > ago" > > Even though the status file was update just a few seconds back. Something to > note: it is approxiate 1060653644 in current time (system time.) > An issue of check_nagios plugin - plugin version and os version please.. -- -sg ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Krist at assen.nl Tue Aug 12 05:41:56 2003 From: R.Krist at assen.nl (R Krist) Date: Tue, 12 Aug 2003 05:41:56 +0200 Subject: Betr.: Nagios-users digest, Vol 1 #1611 - 13 msgs (Vakantie.) Message-ID: LS, Momenteel geniet ik van mijn welverdiende vakantie en ben ik niet in staat om te reageren op uw mailbericht. Ik ben afwezig van 9 augustus t/m 8 september 2003. Gegroet, R. Krist **************************************************************************** Aan de informatie in deze e-mail en ieder aangehecht databestand kunnen geen rechten worden ontleend. De e-mail is vertrouwelijk en is uitsluitend bestemd voor de geadresseerde. De gemeente Assen aanvaardt geen aansprakelijkheid voor schade als gevolg van onjuistheden, gedateerde informatie of van een onjuiste en onvolledige verzending en ontvangst van informatie. **************************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bernd.huber at us.datex-ohmeda.com Tue Aug 12 08:01:31 2003 From: bernd.huber at us.datex-ohmeda.com (bernd.huber at us.datex-ohmeda.com) Date: Tue, 12 Aug 2003 01:01:31 -0500 Subject: Bernd Huber/US/D-O is out of the office. Message-ID: I will be out of the office starting 08/11/2003 and will not return until 08/17/2003. I will respond to your message when I return. In case of an emergency please contact the helpdesk at ext. 3152. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vladimir at best-hosting.ru Tue Aug 12 08:59:03 2003 From: vladimir at best-hosting.ru (Vladimir Komissarov) Date: Tue, 12 Aug 2003 10:59:03 +0400 Subject: (no subject) Message-ID: <002a01c3609f$377a89f0$0100a8c0@damage> -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Tue Aug 12 09:32:38 2003 From: m.borsani at it.net (Marco Borsani) Date: Tue, 12 Aug 2003 09:32:38 +0200 Subject: I: how to remove permissions for hosts commands Message-ID: Hi ! I want to be sure that our customers do not create problems so I?d like to prevent any possible changes with hosts commands (for example). How can I do it? Marco -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.ciullini at datamar.it Tue Aug 12 11:09:31 2003 From: marco.ciullini at datamar.it (Marco Ciullini) Date: Tue, 12 Aug 2003 11:09:31 +0200 Subject: I: how to remove permissions for hosts commands In-Reply-To: References: Message-ID: <3F38AECB.5020900@datamar.it> in cgi.cfg (in the etc directory) you can find a lot of directives: authorized_for_system_information= authorized_for_configuration_information= authorized_for_system_commands= authorized_for_all_hosts= authorized_for_all_services= authorized_for_all_service_commands= authorized_for_all_host_commands= I think that using them, you should be able to obtain what you want. > Hi ! > > I want to be sure that our customers do not create problems so I?d > like to prevent any possible changes with hosts commands (for example). > > How can I do it? > -- Marco Ciullini Datamar s.r.l. Via Corsica 9/4 E 16128 Genova tel +39 0105705806 fax +39 0105451440 http://www.datamar.it mailto:marco.ciullini at datamar.it Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Tue Aug 12 11:50:22 2003 From: m.borsani at it.net (Marco Borsani) Date: Tue, 12 Aug 2003 11:50:22 +0200 Subject: R: I: how to remove permissions for hosts commands In-Reply-To: <3F38AECB.5020900@datamar.it> References: <3F38AECB.5020900@datamar.it> Message-ID: Thanks. I know that options, but those are usefull only for permissions to manage ALL users systems. I need to reduce the capabilities on hosts/services of the owers themselves. Regards Marco -----Messaggio originale----- Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Per conto di Marco Ciullini Inviato: marted? 12 agosto 2003 11.10 A: Nagios Users List Oggetto: Re: I: [Nagios-users] how to remove permissions for hosts commands in cgi.cfg (in the etc directory) you can find a lot of directives: authorized_for_system_information= authorized_for_configuration_information= authorized_for_system_commands= authorized_for_all_hosts= authorized_for_all_services= authorized_for_all_service_commands= authorized_for_all_host_commands= I think that using them, you should be able to obtain what you want. > Hi ! > > I want to be sure that our customers do not create problems so I'd > like to prevent any possible changes with hosts commands (for example). > > How can I do it? > -- Marco Ciullini Datamar s.r.l. Via Corsica 9/4 E 16128 Genova tel +39 0105705806 fax +39 0105451440 http://www.datamar.it mailto:marco.ciullini at datamar.it Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott.zawalski at web.de Tue Aug 12 11:53:02 2003 From: scott.zawalski at web.de (Scott Zawalski) Date: Tue, 12 Aug 2003 11:53:02 +0200 Subject: Nagios keeping track of OS type. Message-ID: <200308120953.h7C9r2Q14413@mailgate5.cinetic.de> I am looking for a easy way of keeping track of OS Version/Type in Nagios (Maybe a variable I can update in the host definition) without having to put the actual OS Name/Type in the Hostname or in any check description. Also while very useful the $USER1$ variables are not exactly the most descriptive variables is there any option to rename them? Since those do work in service/host notifications this could be an answer. However, I would like to have some what of a description in the variable :) Thanks ____________________________________________________________________________ ImmobilienScout24 - Uber 170.000 Immobilien - Finden Sie hier Ihre neue Traumwohnung! In Immobilien die Nr.1 im Netz: http://info.is24.de/web.de ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Frank.Langanke at RSBICK.rohde-schwarz.com Tue Aug 12 15:03:34 2003 From: Frank.Langanke at RSBICK.rohde-schwarz.com (Frank.Langanke at RSBICK.rohde-schwarz.com) Date: Tue, 12 Aug 2003 15:03:34 +0200 Subject: Monitoring one particular process Message-ID: Hello. I'm looking for a plugin that checks a particular process on a linux system. Eg. look for a process called cron, if does not excist or is in a zombie state return critical. I tried check_proc so far, but couldn't get the syntax right for this purpose. Ideas ? Frank. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Tue Aug 12 13:55:34 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Tue, 12 Aug 2003 19:55:34 +0800 Subject: Nagios keeping track of OS type. In-Reply-To: <200308120953.h7C9r2Q14413@mailgate5.cinetic.de> References: <200308120953.h7C9r2Q14413@mailgate5.cinetic.de> Message-ID: <200308121955.35882.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 12 August 2003 17:53, Scott Zawalski wrote: > I am looking for a easy way of keeping track of OS Version/Type in Nagios > (Maybe a variable I can update in the host definition) without having to > put the actual OS Name/Type in the Hostname or in any check description. > > Also while very useful the $USER1$ variables are not exactly the most > descriptive variables is there any option to rename them? Since those do > work in service/host notifications this could be an answer. However, I > would like to have some what of a description in the variable :) > > > Thanks I dont see your point why wouldnt you want to put it as "Hostname-OS-version" under Hostname in the host definition? It's good enough I reckon. Next, if you find that $USER1$ is not exactly the most descriptive variable, then what variable to you suggest? I find that it's good enough too. Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/ONW2NgvTa7Hj2AURAublAJ4tKPmT9ZEK94aYZinbLTpMG5pw3wCfSdC+ gaQlpj5v+nPBVpKljjXsuQs= =BUIj -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Tue Aug 12 15:04:03 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Tue, 12 Aug 2003 09:04:03 -0400 Subject: Monitoring one particular process Message-ID: <5F29693503507B4FB4032686ADF862671AD0AF@mtviny25.mtvi.com> I use this for cron and ntp $$ /usr/local/nagios/libexec/check_named_proc.pl Minimum arguments not supplied! Perl Check Named Process plugin for NetSaint Copyright (c) 2000 Charlie Cook & Nick Reinking Usage: /usr/local/nagios/libexec/check_named_proc.pl = Number of processes named to warn at. = Number of processes named to go critical at. = Name of process to look for. = Port that the status daemon is running on . so... /usr/local/nagios/libexec/check_named_proc.pl host 0 0 cron works for me... -Keith -----Original Message----- From: Frank.Langanke at RSBICK.rohde-schwarz.com [mailto:Frank.Langanke at RSBICK.rohde-schwarz.com] Sent: Tuesday, August 12, 2003 9:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring one particular process Hello. I'm looking for a plugin that checks a particular process on a linux system. Eg. look for a process called cron, if does not excist or is in a zombie state return critical. I tried check_proc so far, but couldn't get the syntax right for this purpose. Ideas ? Frank. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Tue Aug 12 16:08:25 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 12 Aug 2003 10:08:25 -0400 Subject: check_mrtg/check_mrtgtraf Message-ID: <015d01c360db$32752c30$6700020a@M24495.findquick.com> Hi, I want to know if is a check_mrtg and check_mrtgtraf that run on windows NT? Thanks, Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From reinaldo at vexbr.com.br Tue Aug 12 14:18:31 2003 From: reinaldo at vexbr.com.br (Reinaldo Silva) Date: Tue, 12 Aug 2003 09:18:31 -0300 Subject: Host is up but trend is unreachable Message-ID: <004301c360cb$d905f620$8e01a8c0@VEX3QY18813QLG> Hi, As the subject says, Nagios tells me that a host is up all but, on the other way, when I ask for the trends for that host is tells me that it is unreachable. Why? Thanks. Reinaldo Silva Vex WiFi 55 11 3444 7876 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Tue Aug 12 17:18:18 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Tue, 12 Aug 2003 16:18:18 +0100 Subject: Monitoring CPU load - capturing process list Message-ID: <043901c360e4$f618b450$fb00a8c0@office.toastedmedia.net> Hi, I'm using nagios-statd to monitor the CPU load of several machines. They sometimes record high CPU load when an engineer isn't immediately available to diagnose the problem. Is there someway of capturing and storing the results of 'top' so the problem can be looked at a later date? Or, I suppose, more appropriately (and dangerously if not done right) running arbitrary commands on the machine in response to alerts and capturing this output somewhere. Thanks, Sam ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Tue Aug 12 17:40:43 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [GMG]) Date: Tue, 12 Aug 2003 10:40:43 -0500 Subject: NagMIN COnfig Question Message-ID: <516DA7BE5D87C8469D89F150CA0B491101FBD072@PDAWB02C.ad.sprint.com> I've setup NagMIN to load all my Nagios config files and NagMIN verifies and restarts Nagios for me just like it's supposed to. However, the new changes don't appear in Nagios. I'm sure I missed a step in the NagMIN setup. In the nagios.cfg file, do I need to change the cfg files to point to the new ones created by NagMIN? Hosts.cfg instead of hosts.cfg etc... Stanley G. Martin System Administrator Sprint - EIS3 Customer Care Stanley.G.Martin at mail.sprint.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.Hochberg at mtvi.com Tue Aug 12 17:41:14 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Tue, 12 Aug 2003 11:41:14 -0400 Subject: Monitoring CPU load - capturing process list Message-ID: <5F29693503507B4FB4032686ADF862671AD0B7@mtviny25.mtvi.com> read up on eventhandlers... http://nagios.sourceforge.net/docs/1_0/eventhandlers.html -Keith -----Original Message----- From: Sam Stickland [mailto:sam_ml at spacething.org] Sent: Tuesday, August 12, 2003 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring CPU load - capturing process list Hi, I'm using nagios-statd to monitor the CPU load of several machines. They sometimes record high CPU load when an engineer isn't immediately available to diagnose the problem. Is there someway of capturing and storing the results of 'top' so the problem can be looked at a later date? Or, I suppose, more appropriately (and dangerously if not done right) running arbitrary commands on the machine in response to alerts and capturing this output somewhere. Thanks, Sam ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Proctor at capita.co.uk Tue Aug 12 18:07:12 2003 From: Andrew.Proctor at capita.co.uk (Proctor, Andy (Academy)) Date: Tue, 12 Aug 2003 17:07:12 +0100 Subject: monitoring agents Message-ID: <7DBC75A20662EE4C8BC92579DDB7E855354911@IMCR-MAIL> Are there monitoring agents for windows? Regards, Andy Proctor Academy Payment Collection & Income Management Capita Software Services mobile:07766 578125 mailto:aproctor at academy.co.uk ********************************************************************************** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. *********************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From dchemko at smgtec.com Tue Aug 12 18:01:20 2003 From: dchemko at smgtec.com (Daniel Chemko) Date: Tue, 12 Aug 2003 09:01:20 -0700 Subject: Monitoring CPU load - capturing process list Message-ID: <7C9884991ADAE0479C14F10C858BCDF52E3635@alderaan.smgtec.com> Run: 'ps aux' in a cron job? -----Original Message----- From: Sam Stickland [mailto:sam_ml at spacething.org] Sent: Tuesday, August 12, 2003 8:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring CPU load - capturing process list Hi, I'm using nagios-statd to monitor the CPU load of several machines. They sometimes record high CPU load when an engineer isn't immediately available to diagnose the problem. Is there someway of capturing and storing the results of 'top' so the problem can be looked at a later date? Or, I suppose, more appropriately (and dangerously if not done right) running arbitrary commands on the machine in response to alerts and capturing this output somewhere. Thanks, Sam ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DRAustin at Investec.co.za Tue Aug 12 18:37:09 2003 From: DRAustin at Investec.co.za (Donovan Austin) Date: Tue, 12 Aug 2003 18:37:09 +0200 Subject: monitoring agents Message-ID: Certainly is.... http://nsclient.ready2run.nl/index.htm Hope this helps! Regards Donovan Austin Investec Private Bank IT Operations _____ From: Proctor, Andy (Academy) [mailto:Andrew.Proctor at capita.co.uk] Sent: 12/08/2003 06:07 PM To: 'nagios-users at lists.sourceforge.net' Are there monitoring agents for windows? Regards, Andy Proctor Academy Payment Collection & Income Management Capita Software Services mobile:07766 578125 mailto:aproctor at academy.co.uk ************************************************************************ ********** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. ************************************************************************ *********** NOTICE - This message contains privileged and confidential information intended only for the use of the addressee named above. Any review, retransmission, dissemination, copying, disclosure or other use of, or taking of any action in reliance upon, this information by person or entities other than the intended recipient is prohibited. If you have received this message in error, please notify the sender by return email and delete this message. This message should not be copied or used for any purpose other than intended, nor should it be disclosed to any other person. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the view of Investec Group, its subsidiaries or associates. The Investec Group is not liable for the security of information sent by e-mail at your request, nor for the proper and complete transmission of the information contained in the communication nor for any delay in its receipt. Please note that the recipient must scan this e-mail and any attached files for viruses and the like. The Investec Group accepts no liability of whatever nature for any loss, liability, damage or expense resulting directly or indirectly from the access of any files which are attached to this message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jordivi at wtransnet.net Tue Aug 12 17:51:27 2003 From: jordivi at wtransnet.net (Jordi Vidal) Date: Tue, 12 Aug 2003 17:51:27 +0200 (CEST) Subject: disabel "CRITICAL: Socket timeout" In-Reply-To: <000201c35b9d$0fb61490$0400a8c0@squarebox.com> References: <000201c35b9d$0fb61490$0400a8c0@squarebox.com> Message-ID: Hi I have a poor line with my servers, many times my boss get Nagios SMS messages to its mobile phone at late night (or early moorning) with "your server is down" but is not a server problem, is a line problem. How can I avoid to have notifications when the CRITICAL state is because a "Socket timeout" error. P.Ex: ========================== Service: www.xxxxxxx.com Host: Your Web Server Address: www.xxxxxxxx.com State: CRITICAL [...] Additional Info: Socket timeout after 30 seconds ================================= Regards Jordi ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Tue Aug 12 18:56:06 2003 From: solomolo90 at hotmail.com (solo molo) Date: Tue, 12 Aug 2003 16:56:06 +0000 Subject: Monitoring - 1000+ hosts and latency Message-ID: That's my problem too, but it only happens when services go down. It's really annoying because there's no real increase in cpu load. Anyway I'm going to try your patch. Thanks for posting it. >From: David Parrish >To: solo molo >CC: Fred.Albrecht at za.tiscali.com, nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency >Date: Tue, 12 Aug 2003 10:24:17 +1000 > >This patch is not in CVS. > >By unbearable, I mean that the average check latency was up around 900 >seconds. > > > Thanks. Is this patch in CVS or did you write it yourself? Also when >you > > say it was unbearable before patching are you referring to the number of > > nagios proccesses or the latency between receiving passive check results >and > > having them show up in the UI? > > > > > > >From: David Parrish > > >To: solo molo > > >CC: Fred.Albrecht at za.tiscali.com, nagios-users at lists.sourceforge.net > > >Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > >Date: Mon, 11 Aug 2003 08:16:13 +1000 > > > > > >Patch attached... > > > > > >On Fri, Aug 08, 2003 at 06:13:13PM +0000, solo molo wrote: > > > > From: "solo molo" > > > > To: david at dparrish.com, Fred.Albrecht at za.tiscali.com > > > > Cc: nagios-users at lists.sourceforge.net > > > > Subject: Re: [Nagios-users] Monitoring - 1000+ hosts and latency > > > > Date: Fri, 08 Aug 2003 18:13:13 +0000 > > > > > > > > I'm having the same problem. Where is this patch located? > >-- >Regards, >David Parrish >0410 586 121 ><< attach3 >> _________________________________________________________________ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SteveH at brendata.co.uk Tue Aug 12 19:00:23 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Tue, 12 Aug 2003 18:00:23 +0100 Subject: monitoring agents Message-ID: <11720FFB22BED511A66800E07D923B37172053@prodntsc2.brendata> Certainly are, see the faq, there's one called pnsclient that will let you monitor most things, and if you just need external port monitoring/service monitoring (like http, SMTP etc) then you need install nothing at all on the client. Steve -----Original Message----- From: Proctor, Andy (Academy) [mailto:Andrew.Proctor at capita.co.uk] Sent: 12 August 2003 17:07 To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] monitoring agents Are there monitoring agents for windows? Regards, Andy Proctor Academy Payment Collection & Income Management Capita Software Services mobile:07766 578125 mailto:aproctor at academy.co.uk **************************************************************************** ****** This email and any files transmitted with it are confidential, and may be subject to legal privilege, and are intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error or think you may have done so, you may not peruse, use, disseminate, distribute or copy this message. Please notify the sender immediately and delete the original e-mail from your system. Computer viruses can be transmitted by e-mail. Recipients should check this e-mail for the presence of viruses. The Capita Group and its subsidiaries accept no liability for any damage caused by any virus transmitted by this e-mail. **************************************************************************** ******* The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alex.Georgopoulos at UAP.com Tue Aug 12 19:11:15 2003 From: Alex.Georgopoulos at UAP.com (Georgopoulos, Alex (AP - IT)) Date: Tue, 12 Aug 2003 12:11:15 -0500 Subject: Check_traffic plugin problem Message-ID: It seems that the check_traffic plugin is not parsing the snmpget properly and causing it to report zero across the board [root at nagios libexec]# ./check_traffic -H -i 13 -b 12500000000 -r GigabitEthernet0/1 -w 95 -c 90 Total RX Bytes: 0.00 MB, Total TX Bytes: 0.00 MB
Average Traffic: 0.00 B/s (0.0%) in, 0.00 B/s (0.0%) out But when i use the snmpget funcion as defined in the perl script I am getting results [root at nagios libexec]# snmpget -v 1 -c public interfaces.ifTable.ifEntry.ifOutOctets.13 IF-MIB::ifOutOctets.13 = Counter32: 408708037 [root at nagios libexec]# snmpget -v 1 -c public interfaces.ifTable.ifEntry.ifInOctets.13 IF-MIB::ifInOctets.13 = Counter32: 1829853462 Portion of perl script $_ = `$SNMPGET -v 1 $host_address -c $COMMUNITY interfaces.ifTable.ifEntry.ifInOctets.$iface_number`; m/(\d*)\s$/; $in_bytes = $1; $_ = `$SNMPGET -v 1 $host_address -c $COMMUNITY interfaces.ifTable.ifEntry.ifOutOctets.$iface_number`; m/(\d*)\s$/; $out_bytes = $1; So I am guessing that the regex m/(\d*)\s$/ is wrong but I have never been good at fixing these, so any wiz out there that could help me? Thanks Alex Georgopoulos UAP Server Administrator Nagios v1.1 check_traffic plugin .90b -------------- next part -------------- An HTML attachment was scrubbed... URL: From agupta at yahoo-inc.com Tue Aug 12 19:20:23 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Tue, 12 Aug 2003 10:20:23 -0700 Subject: check_nagios returns WARNING In-Reply-To: References: Message-ID: OS: Free BSD. Plugin version: check_nagios (nagios-plugins 1.3.1) 1.1.1.1 Usage: ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C /usr/local/nagios/bin/nagios thanks -anurag -----Original Message----- From: Subhendu Ghosh [mailto:sghosh at sghosh.org] Sent: Monday, August 11, 2003 8:24 PM To: Anurag Gupta Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_nagios returns WARNING On Mon, 11 Aug 2003, Anurag Gupta wrote: > Hi, > > This is with Nagios-very-alpha 2.0 version. > > I am unable to get check_nagios to return an OK state. Nagios daemon is > running, but check_nagios always returns: > "Nagios problem: located 1 process, status log updated 1060653644 seconds > ago" > > Even though the status file was update just a few seconds back. Something to > note: it is approxiate 1060653644 in current time (system time.) > An issue of check_nagios plugin - plugin version and os version please.. -- -sg ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cal at calevans.com Tue Aug 12 18:47:44 2003 From: cal at calevans.com (Cal Evans) Date: Tue, 12 Aug 2003 11:47:44 -0500 (CDT) Subject: monitoring agents In-Reply-To: <7DBC75A20662EE4C8BC92579DDB7E855354911@IMCR-MAIL> References: <7DBC75A20662EE4C8BC92579DDB7E855354911@IMCR-MAIL> Message-ID: <1522.192.168.0.90.1060706864.squirrel@192.168.0.150> Yes, There are 2. Each does a specific job. Personally, I have both of them loaded because each does a job th other won't do. Check www.nagios.com for more info. (I think you can find them in the downloads sections.) * * Cal Evans * http://www.eicc.com * We build IT solutions * Proctor, Andy (Academy) said: > Are there monitoring agents for windows? > > > > Regards, > > Andy Proctor > > Academy Payment Collection & Income Management > > Capita Software Services > > > > mobile:07766 578125 > > mailto:aproctor at academy.co.uk > > > > > > ********************************************************************************** > This email and any files transmitted with it are confidential, and may be > subject to legal privilege, and are intended solely for the use of the > individual or entity to whom they are addressed. > If you have received this email in error or think you may have done so, > you may not peruse, use, disseminate, distribute or copy this message. > Please notify the sender immediately and delete the original e-mail from > your system. > > Computer viruses can be transmitted by e-mail. Recipients should check > this e-mail for the presence of viruses. The Capita Group and its > subsidiaries accept no liability for any damage caused by any virus > transmitted by this e-mail. > *********************************************************************************** > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Anthony_Brock at ous.edu Tue Aug 12 19:41:24 2003 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Tue, 12 Aug 2003 10:41:24 -0700 Subject: resource.cfg and check_disk_smb Message-ID: Are there any plans to implement macros for instances? This would greatly simplify our security scheme. Tony >>> Subhendu Ghosh 08/07/03 08:14PM >>> The USERx macros are meant to be used in the command definitions not the instances. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwarner at ctinetworks.com Tue Aug 12 21:35:41 2003 From: dwarner at ctinetworks.com (Douglas E. Warner) Date: Tue, 12 Aug 2003 15:35:41 -0400 Subject: service descriptions with hostgroup and not host In-Reply-To: References: Message-ID: <200308121535.41898.dwarner@ctinetworks.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tuesday 12 August 2003 14:35, Jason Truong wrote: > Where you ever able to find an answer to this? This would be an awesome > feature. No; I hadn't. I'm hoping it goes in as a feature request for the next version ;) - -Doug - -- Douglas E. Warner Network Engineer CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/OUGNJV36su0A0xIRAgXeAJkB+r2/4aHuMVr/P3kNkom6Bh/R5wCeNJjH 4GpEpI/rTepLO4R62lCttK0= =PI0u -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rivanor at linuxmail.org Tue Aug 12 19:04:57 2003 From: rivanor at linuxmail.org (Rivanor P. Soares) Date: Tue, 12 Aug 2003 14:04:57 -0300 Subject: Nagios Brazil Message-ID: <20030812170458.18314.qmail@linuxmail.org> Rainer, Carlos, brasucas, Tamb?m estou aceitando um patch/diff! ;) Queria aproveitar pra chamar todos que n?o conhecem a participar da lista nagios-br no Yahoo! J? tem algumas pessoas daqui. Essa lista foi uma iniciativa do Jarbas. Qualquer coisa PVT me, pra n?o 'sujar' a lista! Abra?o, - Rivanor! ----- Original Message ----- From: "Rainer" Date: Mon, 11 Aug 2003 11:02:18 -0300 (BRT) To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Nagios Brazil > Carlos, > > Tem alguns por ae :) > A proposito, se alguem ae tiver um patch/diff pra traduzir as CGIs da > versao 1.1 pra portugues, estou aceitando. > > Falow, > Rainer Alves > Unisys Brazil > > > Algum brasileiro na lista ??? > > :) > > > > Sem mais, > > > > Carlos Eduardo Dionizio > > Analista de Suporte - UNIX > > Universidade Est?cio de S? > > Diretoria de Tecnologia da Informa??o > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Rivanor P. Soares [w3b_kn0ws] LPIC-1, CCNA Sao Paulo - SP Brazil -- ______________________________________________ http://www.linuxmail.org/ Now with e-mail forwarding for only US$5.95/yr Powered by Outblaze ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From priegue at lucent.com Tue Aug 12 23:24:31 2003 From: priegue at lucent.com (Priegue, Ramiro (Ramiro)) Date: Tue, 12 Aug 2003 18:24:31 -0300 Subject: Passive checks Message-ID: Hello Guys, I'm trying to monitor some remote asynchronous services with nagios. Due the type of service I'm trying to configure some passive checks using the send_nsca client and the nsca daemon. I installed both (client and daemon) without problem, and I'm able to see the reception of the client message in the event log. I saw that a while after getting a state change OK to Critical the state of the service returned to OK without the reception of any further client message. My question is, how can I make the service stay in the current state (let's say Critical) until a new client message arrives? Thanks and regards Ramiro -- Qu? es la realidad, se?or basurero? -- Ratbert -------------------------------------------------------------------- Ramiro F Priegue ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Wed Aug 13 00:13:33 2003 From: rob at capband.net (Rob Nelson) Date: Tue, 12 Aug 2003 18:13:33 -0400 Subject: Monitoring an intermittent host In-Reply-To: <0C68BB5622B41D41ACEC1716B2C2DD08277918@cecmail.CDAINTERNAL .COM> References: <0C68BB5622B41D41ACEC1716B2C2DD08277918@cecmail.CDAINTERNAL .COM> Message-ID: <5.2.1.1.0.20030812181048.0159ee40@mail.capband.net> > Thanks that is a great idea, IE if my checks are every 5 minutes > then I can set max check attempts to 25 and that will mean it has to be > down for over 2 hours before it sends me a note. Thanks again, I new it > was something simple I was missing. Actually, you want to listen to what the other poster said, with the retry_delay or whatnot. The reason you don't want to set max check attempts to 25 is that if, 5 minutes after the last successful check, the host is unavailable, Nagios stops processing ALL other host/service checks while determining the status of this host/server. So for the next 25 * X sec, Nagios is trying to talk to JUST that device. So after 75 seconds, Nagios waits another 5 minutes, then spends another 75 seconds checking just that host, etc. This may or may not impact you that much. My system is running about 5-10 checks per second, depending on how fast they return, so I lose 80-90% performance every time a single service is unavailable. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Aug 13 00:18:23 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Tue, 12 Aug 2003 17:18:23 -0500 Subject: Nagios keeping track of OS type. Message-ID: Assumptions: - you want the latest o/s version/type reported on-the-fly, and automagically - you're using NRPE You could create a service on the client which kicks back the appropriate string. For example: command[check_linux_ver]=/bin/cat /proc/version command[check_solaris_ver]=/bin/uname -a Note that these will always return 0 (green), unless the NRPE daemon is unavailable for any reason. HTH. jc > -----Original Message----- > From: Scott Zawalski [mailto:scott.zawalski at web.de] > Sent: Tuesday, August 12, 2003 4:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios keeping track of OS type. > > > I am looking for a easy way of keeping track of OS > Version/Type in Nagios (Maybe a variable I can update in the > host definition) without having to put the actual OS > Name/Type in the Hostname or in any check description. > > Also while very useful the $USER1$ variables are not exactly > the most descriptive variables is there any option to rename > them? Since those do work in service/host notifications this > could be an answer. However, I would like to have some what > of a description in the variable :) > > > Thanks > ______________________________________________________________ > ______________ > ImmobilienScout24 - Uber 170.000 Immobilien - Finden Sie hier > Ihre neue > Traumwohnung! In Immobilien die Nr.1 im Netz: http://info.is24.de/web.de ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmr at iscream.net Wed Aug 13 01:04:25 2003 From: tmr at iscream.net (Tristan-Matthieu Robichaud) Date: 12 Aug 2003 19:04:25 -0400 Subject: CGI authentication makes me mad Message-ID: <1060729464.1087.105.camel@icemobil> Hi peepz, Please ignore the subject's sarcastic remark, I really have a hard time making Nagios's web interface CGI auth work. And maby I'm just a little bit flustered about the absence of a functionnal forum, and also when I discovered that the mailing list archives on SF.net seems to be broken. I scupulously read the docs, did my homeworks, got rid of most error messages. I have a rather good knowledge of CGI and Apache server config, wich have also been scrupulously followed from the Nagios docs. After a few days of tremendous efforts, I did'nt find any one that could help me on this one, or any related documentation. Here's the prob. The htaccess auth works fine, but once logged in, it still complains with the standard "It appears as through you do not have permission to view information..." followed by the much more standard "If you believe this is an error (of course i do!), check the HTTP server requirements for accessing this CGI (yeah right) and check the authorization options in your CGI configuration file). On this subject, if I turn off this darn CGI authentication in cgi.cfg, shoudn't Nagios allow me to view every hosts? Well it doesnt. Nagios version is 1.1 (Debian packaged, if that's any help) turning on a freshly updated Debian "unstable" installation. Apache is 1.3.27 and works fine and all. here's my apache.conf ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios Options ExecCGI AllowOverride AuthConfig order allow,deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Alias /netsaint /usr/share/nagios/htdocs/ Alias /nagios /usr/share/nagios/htdocs/ Options FollowSymLinks AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Anyone have a slight idea of what could be slipping my mind? thanks -- Tristan-Matthieu Robichaud iScream.NET ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Krist at assen.nl Wed Aug 13 01:40:09 2003 From: R.Krist at assen.nl (R Krist) Date: Wed, 13 Aug 2003 01:40:09 +0200 Subject: Betr.: Nagios-users digest, Vol 1 #1612 - 32 msgs (Vakantie.) Message-ID: LS, Momenteel geniet ik van mijn welverdiende vakantie en ben ik niet in staat om te reageren op uw mailbericht. Ik ben afwezig van 9 augustus t/m 8 september 2003. Gegroet, R. Krist **************************************************************************** Aan de informatie in deze e-mail en ieder aangehecht databestand kunnen geen rechten worden ontleend. De e-mail is vertrouwelijk en is uitsluitend bestemd voor de geadresseerde. De gemeente Assen aanvaardt geen aansprakelijkheid voor schade als gevolg van onjuistheden, gedateerde informatie of van een onjuiste en onvolledige verzending en ontvangst van informatie. **************************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garrick at usc.edu Wed Aug 13 02:09:30 2003 From: garrick at usc.edu (garrick) Date: Tue, 12 Aug 2003 17:09:30 -0700 Subject: CGI authentication makes me mad In-Reply-To: <1060729464.1087.105.camel@icemobil> References: <1060729464.1087.105.camel@icemobil> Message-ID: <20030813000930.GA22071@polop.usc.edu> Your symptoms appear to be related to nagios' authorization process, but you are siting apache authentication configurations. Those are two very differnent things. Does your web browser prompt you for a password? If so, does it let you in after entering a correct user/pass? If yes, then apache and authentication is setup correctly and your problem is a nagios config issue. If no, then authentication is still not working (nagios does not do authentication, only authorization). Does nagios show your username in the upper left grey box in the "Tactical Overview" page? If so, then nagios knows who you are and you've been authenticated. Does the apache user have read access to the various files in /usr/share/nagios? On Tue, Aug 12, 2003 at 07:04:25PM -0400, Tristan-Matthieu Robichaud alleged: > Hi peepz, > > Please ignore the subject's sarcastic remark, I really have a hard time > making Nagios's web interface CGI auth work. And maby I'm just a little > bit flustered about the absence of a functionnal forum, and also when I > discovered that the mailing list archives on SF.net seems to be broken. > > I scupulously read the docs, did my homeworks, got rid of most error > messages. I have a rather good knowledge of CGI and Apache server > config, wich have also been scrupulously followed from the Nagios docs. > After a few days of tremendous efforts, I did'nt find any one that could > help me on this one, or any related documentation. > > Here's the prob. The htaccess auth works fine, but once logged in, it > still complains with the standard "It appears as through you do not have > permission to view information..." followed by the much more standard > "If you believe this is an error (of course i do!), check the HTTP > server requirements for accessing this CGI (yeah right) and check the > authorization options in your CGI configuration file). On this subject, > if I turn off this darn CGI authentication in cgi.cfg, shoudn't Nagios > allow me to view every hosts? Well it doesnt. > > Nagios version is 1.1 (Debian packaged, if that's any help) turning on a > freshly updated Debian "unstable" installation. Apache is 1.3.27 and > works fine and all. > > here's my apache.conf > > ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios > ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios > > Options ExecCGI > > AllowOverride AuthConfig > order allow,deny > Allow From All > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > > Alias /netsaint /usr/share/nagios/htdocs/ > Alias /nagios /usr/share/nagios/htdocs/ > > Options FollowSymLinks > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > > Anyone have a slight idea of what could be slipping my mind? > > thanks > > -- > Tristan-Matthieu Robichaud > iScream.NET > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dblowe at comcast.net Wed Aug 13 04:01:20 2003 From: dblowe at comcast.net (David Lowe) Date: Tue, 12 Aug 2003 21:01:20 -0500 Subject: Cannot get email,epager to work Message-ID: <3F399BF0.2010703@comcast.net> I am getting the following errors when I generate a notification to go out: Aug 12 16:21:31 net-nagios-kcsc nagios: SERVICE NOTIFICATION: dbl;kcscns2;check_dns;CRITICAL;notify-by-email;DNS CRITICAL - /usr/bin/nslookup -sil output parsing exited with no address Aug 12 16:21:31 net-nagios-kcsc nagios: Warning: Attempting to execute the command "/usr/bin/mail "myself at myaddr.com\n" "Support_Group_Pager\n" "** PROBLEM alert - DNS-Server_#2/check_dns is CRITICAL **\n.\n\n"" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Aug 12 16:24:21 net-nagios-kcsc nagios: HOST NOTIFICATION: fwh;kcscns5;UNREACHABLE;host-notify-by-email;(No output!) Aug 12 16:24:21 net-nagios-kcsc nagios: Warning: Attempting to execute the command "/usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: PROBLEM\nHost: kcscns5\nState: UNREACHABLE\nAddress: 65.212.25.29\nInfo: (No output!)\n\nDate/Time: Tue Aug 12 16:24:21 CDT 2003\n" | -s "Host UNREACHABLE alert for kcscns5!" myself at myaddr.com" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... I am not seeing anything go out when I check the time of the errors against the mail logs. Thanks, ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkazmier at sofast.net Wed Aug 13 05:39:35 2003 From: mkazmier at sofast.net (mkazmier at sofast.net) Date: Tue, 12 Aug 2003 21:39:35 -0600 (MDT) Subject: Custom notifications Message-ID: <1584.204.120.162.161.1060745975.squirrel@webmail.sofast.net> I have a unique situation where we monitor via SNMP several hundred devices with Nagios (which works great with SNMPPD!). I would like to setup the system to alert me when a certain number of devices enter a warning state, lets say 10%, but not for each one. Is there a way to do this or would this fall under a feature request? Thanks in advance! Mike ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Jurgens at Sensis.com.au Wed Aug 13 05:41:14 2003 From: Matthew.Jurgens at Sensis.com.au (Jurgens, Matthew) Date: Wed, 13 Aug 2003 13:41:14 +1000 Subject: Extension to "Monitoring CPU load - capturing process list" Message-ID: Along these same lines, I have a service check which takes about 30 seconds to run. While it runs it collects a lot of info. If there are any faults the output of the script contains information which tells you what the fault is in more detail. The first line is always a summary of the condition eg STATUS OK or ERROR etc, and this is what Nagios reports as the "Status Information". Similarly to the CPU question below, I could stick this info in a log file local to the monitored host but it would be significantly better if Nagios collected this additional information returned to it and allowed me to query it. For example if the Nagios Status details shows something like Service State Information Current Status: WARNING Status Information: EWP Windsor Status - ERROR Current Attempt: 1/3 State Type: HARD Last Check Type: ACTIVE etc then it would be extremely useful to be able to click on the "EWP Windsor Status - ERROR" and be shown the rest of the details that were returned to Nagios when it ran the service check. This would then centralise the pertinent part of the logs and enable quick and easy access to pertinent information about the fault. This would be far simpler and quicker (for the Nagios user) than having to connect to the remote machine, find the log and then read it. Is this something than can currently be done or is this an enhancement to Nagios? -----Original Message----- From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] Sent: Wednesday, 13 August 2003 1:41:am To: Sam Stickland; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Monitoring CPU load - capturing process list read up on eventhandlers... http://nagios.sourceforge.net/docs/1_0/eventhandlers.html -Keith -----Original Message----- From: Sam Stickland [mailto:sam_ml at spacething.org] Sent: Tuesday, August 12, 2003 11:18 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring CPU load - capturing process list Hi, I'm using nagios-statd to monitor the CPU load of several machines. They sometimes record high CPU load when an engineer isn't immediately available to diagnose the problem. Is there someway of capturing and storing the results of 'top' so the problem can be looked at a later date? Or, I suppose, more appropriately (and dangerously if not done right) running arbitrary commands on the machine in response to alerts and capturing this output somewhere. Thanks, Sam ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null www.sensis.com.au A leading Australian advertising, information and directories business. www.yellowpages.com.au www.whitepages.com.au www.citysearch.com.au www.whereis.com.au www.telstra.com.au This email and any attachments are intended only for the use of the recipient and may be confidential and/or legally privileged. Sensis Pty Ltd disclaims liability for any errors, omissions, viruses, loss and/or damage arising from using, opening or transmitting this email. If you are not the intended recipient you must not use, interfere with, disclose, copy or retain this email and you should notify the sender immediately by return email or by contacting Sensis Pty Ltd by telephone on [+61 3 9201 4888] -------------- next part -------------- An HTML attachment was scrubbed... URL: From garrick at usc.edu Wed Aug 13 06:17:02 2003 From: garrick at usc.edu (garrick) Date: Tue, 12 Aug 2003 21:17:02 -0700 Subject: Extension to "Monitoring CPU load - capturing process list" In-Reply-To: References: Message-ID: <20030813041702.GK22071@polop.usc.edu> On Wed, Aug 13, 2003 at 01:41:14PM +1000, Jurgens, Matthew alleged: > then it would be extremely useful to be able to click on the "EWP Windsor > Status - ERROR" and be shown the rest of the details that were returned to > Nagios when it ran the service check. This would then centralise the > pertinent part of the logs and enable quick and easy access to pertinent > information about the fault. This would be far simpler and quicker (for the > Nagios user) than having to connect to the remote machine, find the log and > then read it. > > Is this something than can currently be done or is this an enhancement to > Nagios? I'm still new to nagios, but I believe the solution is to have the plugin write the output to a file under nagios/share/ and return the status to nagios in the form of an html link to the output file. There's also a program in nagios/libexec called "urlize" which can format the output as an html link. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 okka.org.za Wed Aug 13 07:35:04 2003 From: nagios at okka.org.za (Carlito - nagios user) Date: Wed, 13 Aug 2003 07:35:04 +0200 Subject: CGI authentication makes me mad In-Reply-To: <1060729464.1087.105.camel@icemobil> References: <1060729464.1087.105.camel@icemobil> Message-ID: <001e01c3615c$a60e5af0$0f14a8c0@bit.co.za> Type this command as root once nagios is running ! chown nagios:nagiocmd /usr/local/nagios/var/rw/nagios.cmd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tristan-Matthieu Robichaud Sent: 13 August 2003 01:04 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CGI authentication makes me mad Hi peepz, Please ignore the subject's sarcastic remark, I really have a hard time making Nagios's web interface CGI auth work. And maby I'm just a little bit flustered about the absence of a functionnal forum, and also when I discovered that the mailing list archives on SF.net seems to be broken. I scupulously read the docs, did my homeworks, got rid of most error messages. I have a rather good knowledge of CGI and Apache server config, wich have also been scrupulously followed from the Nagios docs. After a few days of tremendous efforts, I did'nt find any one that could help me on this one, or any related documentation. Here's the prob. The htaccess auth works fine, but once logged in, it still complains with the standard "It appears as through you do not have permission to view information..." followed by the much more standard "If you believe this is an error (of course i do!), check the HTTP server requirements for accessing this CGI (yeah right) and check the authorization options in your CGI configuration file). On this subject, if I turn off this darn CGI authentication in cgi.cfg, shoudn't Nagios allow me to view every hosts? Well it doesnt. Nagios version is 1.1 (Debian packaged, if that's any help) turning on a freshly updated Debian "unstable" installation. Apache is 1.3.27 and works fine and all. here's my apache.conf ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios Options ExecCGI AllowOverride AuthConfig order allow,deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Alias /netsaint /usr/share/nagios/htdocs/ Alias /nagios /usr/share/nagios/htdocs/ Options FollowSymLinks AllowOverride AuthConfig Order Allow,Deny Allow From All AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Anyone have a slight idea of what could be slipping my mind? thanks -- Tristan-Matthieu Robichaud iScream.NET ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at Lastminute.com Wed Aug 13 10:11:04 2003 From: tvilliers at Lastminute.com (Tielman De Villiers) Date: Wed, 13 Aug 2003 09:11:04 +0100 Subject: Passive checks Message-ID: What's the /etc/services.cfg section for this service? Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com > -----Original Message----- > From: Priegue, Ramiro (Ramiro) [mailto:priegue at lucent.com] > Sent: 12 August 2003 22:25 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Passive checks > > > Hello Guys, > I'm trying to monitor some remote asynchronous services > with nagios. > Due the type of service I'm trying to configure some > passive checks > using the send_nsca client and the nsca daemon. I installed > both (client and > daemon) without problem, and I'm able to see the reception of > the client > message in the event log. > I saw that a while after getting a state change OK to > Critical the > state of the service returned to OK without the reception of > any further > client message. > My question is, how can I make the service stay in the > current state > (let's say Critical) until a new client message arrives? > > Thanks and regards > Ramiro > > > > > -- > > Qu? es la realidad, se?or basurero? > -- Ratbert > > -------------------------------------------------------------------- > Ramiro F Priegue > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Frank.Langanke at RSBICK.rohde-schwarz.com Wed Aug 13 11:17:17 2003 From: Frank.Langanke at RSBICK.rohde-schwarz.com (Frank.Langanke at RSBICK.rohde-schwarz.com) Date: Wed, 13 Aug 2003 11:17:17 +0200 Subject: How to make nrpe 2.0b5 quiet. Message-ID: I'm using nrpe on my linux machines. It's handled by inetd, inetd.conf looks like this: nrpe stream tcp nowait nagios /usr/sbin/tcpd /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -i I set 'debug=0' in nrpe.cfg, but still get connection message in /var/log/message or /var/log/syslog like this Aug 13 11:49:00 it-tmp2 nrpe[1030]: connect from 192.168.17.89 Checks come in every 5 minutes, and those connections-logs spam my messages/syslog. Any idea to make nrpe quiet ? Frank. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Krist at assen.nl Wed Aug 13 05:35:51 2003 From: R.Krist at assen.nl (R Krist) Date: Wed, 13 Aug 2003 05:35:51 +0200 Subject: Betr.: Nagios-users digest, Vol 1 #1613 - 3 msgs (Vakantie.) Message-ID: LS, Momenteel geniet ik van mijn welverdiende vakantie en ben ik niet in staat om te reageren op uw mailbericht. Ik ben afwezig van 9 augustus t/m 8 september 2003. Gegroet, R. Krist **************************************************************************** Aan de informatie in deze e-mail en ieder aangehecht databestand kunnen geen rechten worden ontleend. De e-mail is vertrouwelijk en is uitsluitend bestemd voor de geadresseerde. De gemeente Assen aanvaardt geen aansprakelijkheid voor schade als gevolg van onjuistheden, gedateerde informatie of van een onjuiste en onvolledige verzending en ontvangst van informatie. **************************************************************************** ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiago at ntime.com.br Wed Aug 13 16:29:08 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Wed, 13 Aug 2003 11:29:08 -0300 Subject: How to make nrpe 2.0b5 quiet. In-Reply-To: References: Message-ID: <20030813112908.2937a0e2.thiago@ntime.com.br> On Wed, 13 Aug 2003 11:17:17 +0200 Frank.Langanke at RSBICK.rohde-schwarz.com wrote: > I'm using nrpe on my linux machines. It's handled by inetd, inetd.conf > looks like this: > nrpe stream tcp nowait nagios /usr/sbin/tcpd > /usr/local/nagios/nrpe -c /usr/local/nagios/nrpe.cfg -i > I set 'debug=0' in nrpe.cfg, but still get connection message in > /var/log/message or /var/log/syslog like this > Aug 13 11:49:00 it-tmp2 nrpe[1030]: connect from 192.168.17.89 > Checks come in every 5 minutes, and those connections-logs spam my > messages/syslog. This is not nrpe, but inetd itself. I'm using xinetd, so the configuration is different (the directives are log_on_(success|failure)). man inetd is your friend. :) Regards, Thiago. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tmr at iscream.net Wed Aug 13 16:14:04 2003 From: tmr at iscream.net (Tristan-Matthieu Robichaud) Date: 13 Aug 2003 10:14:04 -0400 Subject: CGI authentication makes me mad In-Reply-To: <001e01c3615c$a60e5af0$0f14a8c0@bit.co.za> References: <001e01c3615c$a60e5af0$0f14a8c0@bit.co.za> Message-ID: <1060784043.842.19.camel@icemobil> Oh there's something.. since it's on Debian, the path for nagios.cmd is a bit different ( /var/log/nagios/rw/nagios.cmd ) It executes with no errors. I already did that step while configuring nagios (created the nagiocmd group and stuff). Still the same CGI related error messages. Thank you, TMR On Wed, 2003-08-13 at 01:35, Carlito - nagios user wrote: > Type this command as root once nagios is running ! > > chown nagios:nagiocmd /usr/local/nagios/var/rw/nagios.cmd > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of > Tristan-Matthieu Robichaud > Sent: 13 August 2003 01:04 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] CGI authentication makes me mad > > > Hi peepz, > > Please ignore the subject's sarcastic remark, I really have a hard time > making Nagios's web interface CGI auth work. And maby I'm just a little bit > flustered about the absence of a functionnal forum, and also when I > discovered that the mailing list archives on SF.net seems to be broken. > > I scupulously read the docs, did my homeworks, got rid of most error > messages. I have a rather good knowledge of CGI and Apache server config, > wich have also been scrupulously followed from the Nagios docs. After a few > days of tremendous efforts, I did'nt find any one that could help me on this > one, or any related documentation. > > Here's the prob. The htaccess auth works fine, but once logged in, it still > complains with the standard "It appears as through you do not have > permission to view information..." followed by the much more standard "If > you believe this is an error (of course i do!), check the HTTP server > requirements for accessing this CGI (yeah right) and check the authorization > options in your CGI configuration file). On this subject, if I turn off this > darn CGI authentication in cgi.cfg, shoudn't Nagios allow me to view every > hosts? Well it doesnt. > > Nagios version is 1.1 (Debian packaged, if that's any help) turning on a > freshly updated Debian "unstable" installation. Apache is 1.3.27 and works > fine and all. > > here's my apache.conf > > ScriptAlias /cgi-bin/nagios /usr/lib/cgi-bin/nagios > ScriptAlias /nagios/cgi-bin /usr/lib/cgi-bin/nagios /usr/lib/cgi-bin/nagios/> > Options ExecCGI > > AllowOverride AuthConfig > order allow,deny > Allow From All > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > > Alias /netsaint /usr/share/nagios/htdocs/ > Alias /nagios /usr/share/nagios/htdocs/ > > Options FollowSymLinks > > AllowOverride AuthConfig > Order Allow,Deny > Allow From All > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > > > Anyone have a slight idea of what could be slipping my mind? > > thanks -- Tristan-Matthieu Robichaud iScream.NET ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Wed Aug 13 17:02:51 2003 From: matthewwilson at dsl.pipex.com (matthewwilson at dsl.pipex.com) Date: Wed, 13 Aug 2003 16:02:51 +0100 Subject: Ping performance data Message-ID: <1060786971.3f3a531ba8e08@netmail.pipex.net> Hi, I am experimenting with using Nagios to monitor network hosts using satelite net connections. AS we dont currently have any SNMP capable routers on our network, we wish to use ping RTA tiems to give a crude indication of network traffic. Is there a modificiation available to the check_ping plugin that I could use to return the RTA as performance data? I would then export this data to a .csv file or something for graphing in Excel. Alternatively, can anyone suggest another indicator of network traffic that I could use with Nagios (pref without running s/w on our client's networks) Thanks Matthew Wilson DC-Sat.net -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at Lastminute.com Wed Aug 13 17:14:13 2003 From: tvilliers at Lastminute.com (Tielman De Villiers) Date: Wed, 13 Aug 2003 16:14:13 +0100 Subject: Passive checks Message-ID: Add : ====== check_freshness 0 ====== from the man: freshness.html : heading: How The Freshness Threshold Works distributed.html : heading : Freshness Checking regards Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com > -----Original Message----- > From: Priegue, Ramiro (Ramiro) [mailto:priegue at lucent.com] > Sent: 13 August 2003 15:11 > To: 'Tielman De Villiers' > Subject: RE: [Nagios-users] Passive checks > > > First thanks for you feedback. > The [nagios_home]/etc/services for this service is the following... > > define service{ > name trap-service > service_description Trap > is_volatile 1 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > check_period 24x7 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > normal_check_interval 5 > retry_check_interval 1 > notification_options w,u,c,r > check_command check_none > register 0 > } > > > Regards > Ramiro > > > -----Original Message----- > From: Tielman De Villiers [mailto:tvilliers at lastminute.com] > Sent: Wednesday, August 13, 2003 5:11 AM > To: 'Priegue, Ramiro (Ramiro)' > Cc: 'nagios-users at lists.sourceforge.net' > Subject: RE: [Nagios-users] Passive checks > > > What's the /etc/services.cfg section for this service? > > Tielman de Villiers > Back Office Developer > Address: 4 Buckingham Gate, London SW1E 6JP > Tel: +44(0)20.7802.4393 > Fax: +44(0)20.7802.9302 > email: tvilliers at lastminute.com > > do something lastminute.com > > > > -----Original Message----- > > From: Priegue, Ramiro (Ramiro) [mailto:priegue at lucent.com] > > Sent: 12 August 2003 22:25 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Passive checks > > > > > > Hello Guys, > > I'm trying to monitor some remote asynchronous services > > with nagios. > > Due the type of service I'm trying to configure some > > passive checks > > using the send_nsca client and the nsca daemon. I installed > > both (client and > > daemon) without problem, and I'm able to see the reception of > > the client > > message in the event log. > > I saw that a while after getting a state change OK to > > Critical the > > state of the service returned to OK without the reception of > > any further > > client message. > > My question is, how can I make the service stay in the > > current state > > (let's say Critical) until a new client message arrives? > > > > Thanks and regards > > Ramiro > > > > > > > > > > -- > > > > Qu? es la realidad, se?or basurero? > > -- Ratbert > > > > -------------------------------------------------------------------- > > Ramiro F Priegue > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > > _072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > > when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > ______________________________________________________________ > > __________ > > This e-mail has been scanned for all viruses by Star Internet. The > > service is powered by MessageLabs. For more information on > a proactive > > anti-virus service working around the clock, around the > globe, visit: > > http://www.star.net.uk > > ______________________________________________________________ > > __________ > > > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Aug 13 18:04:30 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Wed, 13 Aug 2003 11:04:30 -0500 Subject: Extension to "Monitoring CPU load - capturing process list" Message-ID: One alternative might be to look at a solution which uses: - centralized syslogging - a web-based solution for munging the syslog output The former should be straightforward. Check freshmeat.net for solutions to the latter. jc > -----Original Message----- > From: garrick [mailto:garrick at usc.edu] > Sent: Tuesday, August 12, 2003 11:17 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] Extension to "Monitoring CPU load - > capturing process list" > > > On Wed, Aug 13, 2003 at 01:41:14PM +1000, Jurgens, Matthew alleged: > > then it would be extremely useful to be able to click on > the "EWP Windsor > > Status - ERROR" and be shown the rest of the details that > were returned to > > Nagios when it ran the service check. This would then centralise the > > pertinent part of the logs and enable quick and easy access > to pertinent > > information about the fault. This would be far simpler and > quicker (for the > > Nagios user) than having to connect to the remote machine, > find the log and > > then read it. > > > > Is this something than can currently be done or is this an > enhancement to > > Nagios? > > I'm still new to nagios, but I believe the solution is to have the > plugin write the output to a file under nagios/share/ and return the > status to nagios in the form of an html link to the output > file. There's > also a program in nagios/libexec called "urlize" which can format the > output as an html link. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shirley at origamipartners.com Wed Aug 13 19:07:50 2003 From: shirley at origamipartners.com (Shirley) Date: Wed, 13 Aug 2003 10:07:50 -0700 (PDT) Subject: status.cgi output outdated Message-ID: nagios 1.1 nagios plugins 1.3.1 Linux hostname 2.4.20-13.7 #1 Mon May 12 13:13:52 EDT 2003 i686 unknown i've recently installed nagios and find that some of the cgi output randomly points to outdated information... host1 started out having 5 service checks associated with it, then changes were made to the services.cfg so that host1 now has 7 checks associated with it the changes were checked with bin/nagios - v etc/nagios.cfg and no major problems were found so i restarted the nagios process: /etc/init.d/nagios stop /etc/init.d/nagios start nagios started up without reporting any errors in the logs, and i clicked on 'Service Detail' to see if it had updated. after a few refreshes, i saw host1 listed with 7 checks as expected, all reporting 'OK'. then a few of them was reporting 'unknown' so i went to the 'Service Problems' sidenav link, but no errors were being reported on that frame. i went back to "Service Detail' but this time the output showed host1 with only 5 checks again, the ones it originally had been configured with. at first i thought this had something to do with nagios saving host/service states for restart (configured to do so in nagios.cfg), but the thing is that the outdated information *comes back* even once nagios has had a chance to update and starts showing the most recent configuration. the links giving me often outdated information are all using the status.cgi; when i click on 'View Config' and select 'Services' as object type, i get current information each time - but that uses the config.cgi as far as i can tell i don't know much about cgi, but my problem is definately exhibited only from the status.cgi. i've setup nagios before and have now confirmed that this update problem doesn't occur on a different install (same version sw, slightly diff hw/OS) i didn't find anything in the archives - has anyone else encountered this problem? any help would be appreciated...thanks ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Wed Aug 13 20:05:36 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 13 Aug 2003 14:05:36 -0400 Subject: status.cgi output outdated Message-ID: <5F29693503507B4FB4032686ADF862671AD0D6@mtviny25.mtvi.com> It sounds like you may have a stale nagios process running. If I were you I would stop nagios and check if all nagios processes indeed die and then restart. -Keith -----Original Message----- From: Shirley [mailto:shirley at origamipartners.com] Sent: Wednesday, August 13, 2003 1:08 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] status.cgi output outdated nagios 1.1 nagios plugins 1.3.1 Linux hostname 2.4.20-13.7 #1 Mon May 12 13:13:52 EDT 2003 i686 unknown i've recently installed nagios and find that some of the cgi output randomly points to outdated information... host1 started out having 5 service checks associated with it, then changes were made to the services.cfg so that host1 now has 7 checks associated with it the changes were checked with bin/nagios - v etc/nagios.cfg and no major problems were found so i restarted the nagios process: /etc/init.d/nagios stop /etc/init.d/nagios start nagios started up without reporting any errors in the logs, and i clicked on 'Service Detail' to see if it had updated. after a few refreshes, i saw host1 listed with 7 checks as expected, all reporting 'OK'. then a few of them was reporting 'unknown' so i went to the 'Service Problems' sidenav link, but no errors were being reported on that frame. i went back to "Service Detail' but this time the output showed host1 with only 5 checks again, the ones it originally had been configured with. at first i thought this had something to do with nagios saving host/service states for restart (configured to do so in nagios.cfg), but the thing is that the outdated information *comes back* even once nagios has had a chance to update and starts showing the most recent configuration. the links giving me often outdated information are all using the status.cgi; when i click on 'View Config' and select 'Services' as object type, i get current information each time - but that uses the config.cgi as far as i can tell i don't know much about cgi, but my problem is definately exhibited only from the status.cgi. i've setup nagios before and have now confirmed that this update problem doesn't occur on a different install (same version sw, slightly diff hw/OS) i didn't find anything in the archives - has anyone else encountered this problem? any help would be appreciated...thanks ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Aug 13 20:03:31 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 13 Aug 2003 13:03:31 -0500 Subject: status.cgi output outdated Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EA7A@mismail.ena.com> You have multiple nagios processes running. It appears that the nagios stop didn't kill all of them. marc > -----Original Message----- > From: Shirley [mailto:shirley at origamipartners.com] > Sent: Wednesday, August 13, 2003 12:08 PM > To: Nagios-users at lists.sourceforge.net > > > nagios 1.1 > nagios plugins 1.3.1 > > Linux hostname 2.4.20-13.7 #1 Mon May 12 13:13:52 EDT 2003 i686 unknown > > i've recently installed nagios and find that some of the cgi output > randomly points to outdated information... > > host1 started out having 5 service checks associated with it, then changes > were made to the services.cfg so that host1 now has 7 checks associated > with it > > the changes were checked with bin/nagios - v etc/nagios.cfg and no major > problems were found so i restarted the nagios process: > > /etc/init.d/nagios stop > /etc/init.d/nagios start > > nagios started up without reporting any errors in the logs, and i clicked > on 'Service Detail' to see if it had updated. after a few refreshes, i saw > host1 listed with 7 checks as expected, all reporting 'OK'. then a few of > them was reporting 'unknown' so i went to the 'Service Problems' sidenav > link, but no errors were being reported on that frame. i went back to > "Service Detail' but this time the output showed host1 with only 5 checks > again, the ones it originally had been configured with. > > at first i thought this had something to do with nagios saving > host/service states for restart (configured to do so in nagios.cfg), but > the thing is that the outdated information *comes back* even once nagios > has had a chance to update and starts showing the most recent > configuration. > > the links giving me often outdated information are all using the > status.cgi; when i click on 'View Config' and select 'Services' as object > type, i get current information each time - but that uses the config.cgi > as far as i can tell > > i don't know much about cgi, but my problem is definately exhibited only > from the status.cgi. i've setup nagios before and have now confirmed that > this update problem doesn't occur on a different install (same version sw, > slightly diff hw/OS) i didn't find anything in the archives - has anyone > else encountered this problem? any help would be appreciated...thanks > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Wed Aug 13 20:10:33 2003 From: flima at slb.com (Fernando Gomes) Date: Wed, 13 Aug 2003 15:10:33 -0300 Subject: Sending Mail Message-ID: This probably is most a Linux question than a Nagios question; I'm trying to make Nagios instead to send mails using Linux's mail program, it send them to a Mail Relay server in another Machine. Is it possible? Should I instal a Mail Server as Sendmail on my linux box to do that? Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -------------- next part -------------- An HTML attachment was scrubbed... URL: From shirley at origamipartners.com Wed Aug 13 20:12:09 2003 From: shirley at origamipartners.com (Shirley) Date: Wed, 13 Aug 2003 11:12:09 -0700 (PDT) Subject: status.cgi output outdated In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EA7A@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EA7A@mismail.ena.com> Message-ID: i'm so glad it's that simple - i should've caught that nagios process still running after the stop, but i guess i got a little complacent after the 10,000 times using the init script had worked. i killed off the stray nagios process the init script failed to stop and everything works as expected. thanks for your help marc On Wed, 13 Aug 2003, Marc Powell wrote: > You have multiple nagios processes running. It appears that the nagios > stop didn't kill all of them. > > marc > > > -----Original Message----- > > From: Shirley [mailto:shirley at origamipartners.com] > > Sent: Wednesday, August 13, 2003 12:08 PM > > To: Nagios-users at lists.sourceforge.net > > > > the links giving me often outdated information are all using the > > status.cgi; when i click on 'View Config' and select 'Services' as > object > > type, i get current information each time - but that uses the > config.cgi > > as far as i can tell > > > > i don't know much about cgi, but my problem is definately exhibited > only > > from the status.cgi. i've setup nagios before and have now confirmed > that > > this update problem doesn't occur on a different install (same version > sw, > > slightly diff hw/OS) i didn't find anything in the archives - has > anyone > > else encountered this problem? any help would be appreciated...thanks > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthewwilson at dsl.pipex.com Wed Aug 13 21:12:27 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 13 Aug 2003 20:12:27 +0100 Subject: Ping performance data In-Reply-To: References: Message-ID: <1060801946.4177.1.camel@localhost.localdomain> Thanks very much Marcio, that's exactly what I was looking for. Matthew Wilson DC-Sat.net On Wed, 2003-08-13 at 19:19, Marcio Queiroz wrote: > Did you check apan ? it will save RTA in rrd files and make MRTG like > graphs. It can be found in the download section of the nagios page. I > modifided to use in my network and now i svae RTA and Packet loss. > > Hope it help?s > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Wed Aug 13 21:27:33 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Wed, 13 Aug 2003 16:27:33 -0300 Subject: Nagios / Linux problem Message-ID: Hi all, i have recently upgrade from Nagios1.1/RH 7.3 to Nagios1.1 / RH 9.0. And since that the nagios server started to hang. I have check the linux log and the only error messege is the one below. I don?t think is nagios, but a linux problem. Does anyone know what that messages mean, so i can fix it ?. I have run out of ideias. Thank?s in advanced for any help. Aug 13 15:11:54 Nagios1 kernel: <1>Unable to handle kernel paging request at virtual address 8000003b Aug 13 15:11:54 Nagios1 kernel: printing eip: Aug 13 15:11:54 Nagios1 kernel: c023d331 Aug 13 15:11:54 Nagios1 kernel: *pde = 00000000 Aug 13 15:11:54 Nagios1 kernel: Oops: 0000 Aug 13 15:11:54 Nagios1 kernel: parport_pc lp parport autofs 3c59x sr_mod ide-scsi scsi_mod ide-cd cdrom keybdev mousedev hi d input usb-uhci usbcore ext3 jbd Aug 13 15:11:54 Nagios1 kernel: CPU: 0 Aug 13 15:11:54 Nagios1 kernel: EIP: 0060:[] Not tainted Aug 13 15:11:54 Nagios1 kernel: EFLAGS: 00010282 Aug 13 15:11:54 Nagios1 kernel: Aug 13 15:11:54 Nagios1 kernel: EIP is at unix_stream_data_wait [kernel] 0x61 (2.4.20-8) Aug 13 15:11:54 Nagios1 kernel: eax: 7fffff00 ebx: 00000001 ecx: dcf3337c edx: dcf55ea8 Aug 13 15:11:54 Nagios1 kernel: esi: 7fffffff edi: 0809a97c ebp: dcf54000 esp: dcf55e94 Aug 13 15:11:54 Nagios1 kernel: ds: 0068 es: 0068 ss: 0068 Aug 13 15:11:54 Nagios1 kernel: Process sshd (pid: 1813, stackpage=dcf55000) Aug 13 15:11:54 Nagios1 kernel: Stack: dcf52268 00000000 dcf54000 00000000 00000000 00000000 dcf54000 00000000 Aug 13 15:11:54 Nagios1 kernel: 00000000 7fffffff dcf9f294 dcf33080 c023d76a dcf33080 7fffffff 0809a97c Aug 13 15:11:54 Nagios1 kernel: 00000000 dcf330c8 dcf3337c 7fffffff fffffff5 00000001 00000000 00000000 Aug 13 15:11:54 Nagios1 kernel: Call Trace: [] unix_stream_recvmsg [kernel] 0x3aa (0xdcf55ec4)) Aug 13 15:11:54 Nagios1 kernel: [] sock_recvmsg [kernel] 0x58 (0xdcf55f08)) Aug 13 15:11:54 Nagios1 kernel: [] sock_read [kernel] 0xa7 (0xdcf55f50)) Aug 13 15:11:54 Nagios1 kernel: [] sys_read [kernel] 0xa3 (0xdcf55f94)) Aug 13 15:11:54 Nagios1 kernel: [] system_call [kernel] 0x33 (0xdcf55fc0)) Aug 13 15:11:54 Nagios1 kernel: Aug 13 15:11:54 Nagios1 kernel: Aug 13 15:11:54 Nagios1 kernel: Code: 8b 46 3c e8 17 cc ed ff 8d 46 48 89 04 24 90 c7 45 00 01 00 Aug 13 15:11:54 Nagios1 kernel: <1>Unable to handle kernel paging request at virtual address 8000003b Aug 13 15:11:54 Nagios1 kernel: printing eip: Aug 13 15:11:54 Nagios1 kernel: c023d331 Aug 13 15:11:54 Nagios1 kernel: *pde = 00000000 Aug 13 15:11:54 Nagios1 kernel: Oops: 0000 Aug 13 15:11:54 Nagios1 kernel: parport_pc lp parport autofs 3c59x sr_mod ide-scsi scsi_mod ide-cd cdrom keybdev mousedev hi d input usb-uhci usbcore ext3 jbd Aug 13 15:11:54 Nagios1 kernel: CPU: 0 Aug 13 15:11:54 Nagios1 kernel: EIP: 0060:[] Not tainted Aug 13 15:11:54 Nagios1 kernel: EFLAGS: 00010282 Aug 13 15:11:54 Nagios1 kernel: Aug 13 15:11:54 Nagios1 kernel: EIP is at unix_stream_data_wait [kernel] 0x61 (2.4.20-8) Aug 13 15:11:54 Nagios1 kernel: eax: 7fffff00 ebx: 00000001 ecx: dcfa0d7c edx: dcf31ea8 Aug 13 15:11:54 Nagios1 kernel: esi: 7fffffff edi: dcf33080 ebp: dcf30000 esp: dcf31e94 Aug 13 15:11:54 Nagios1 kernel: ds: 0068 es: 0068 ss: 0068 Aug 13 15:11:54 Nagios1 kernel: Process sshd (pid: 1814, stackpage=dcf31000) Aug 13 15:11:54 Nagios1 kernel: Stack: 000001f0 00000000 dcf30000 00000000 00000000 00000000 dcf30000 00000000 Aug 13 15:11:54 Nagios1 kernel: 00000000 7fffffff dcf9f494 dcfa0a80 c023d76a dcfa0a80 7fffffff dcf33080 Aug 13 15:11:54 Nagios1 kernel: 00000000 dcfa0ac8 dcfa0d7c 7fffffff fffffff5 00000001 00000000 00000000 Aug 13 15:11:54 Nagios1 kernel: Call Trace: [] unix_stream_recvmsg [kernel] 0x3aa (0xdcf31ec4)) Aug 13 15:11:54 Nagios1 kernel: [] sock_recvmsg [kernel] 0x58 (0xdcf31f08)) Aug 13 15:11:54 Nagios1 kernel: [] sock_read [kernel] 0xa7 (0xdcf31f50)) Aug 13 15:11:54 Nagios1 kernel: [] sys_read [kernel] 0xa3 (0xdcf31f94)) Aug 13 15:11:54 Nagios1 kernel: [] system_call [kernel] 0x33 (0xdcf31fc0)) Aug 13 15:11:54 Nagios1 kernel: Aug 13 15:11:54 Nagios1 kernel: Aug 13 15:11:54 Nagios1 kernel: Code: 8b 46 3c e8 17 cc ed ff 8d 46 48 89 04 24 90 c7 45 00 01 00 Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flima at slb.com Wed Aug 13 22:19:04 2003 From: flima at slb.com (Fernando Gomes) Date: Wed, 13 Aug 2003 17:19:04 -0300 Subject: IM message Message-ID: Is anyone configured before Nagios to send messages through MSN Messanger or Yahoo??? I read on documentation that is possible, but doesn't find a how to do... Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) -------------- next part -------------- An HTML attachment was scrubbed... URL: From ckoniecny at thesaginawnews.com Wed Aug 13 22:34:34 2003 From: ckoniecny at thesaginawnews.com (Chris Koniecny) Date: 13 Aug 2003 16:34:34 -0400 Subject: Delay HOST DOWN checks for a few more seconds Message-ID: <1060806873.21688.3.camel@LinuxStation> I played around with "normal_check_interval" and "retry_check_interval" and I still have a retry of 3 seconds even though I set the retry_check_interval variable to 15. And yes, I reloaded the configuration files into Nagios for it to take effect. I'm very stuck here. Thanks, Chris Koniecny On Mon, 2003-08-11 at 17:19, garrick wrote: > On Mon, Aug 11, 2003 at 04:26:27PM -0400, Chris Koniecny alleged: > > > > How can I delay checks when a host goes down? Right now when the host > > is DOWN, the checks are happening every 3 seconds until it reaches the > > max checks when it is determined that the host/service is DOWN. > > > > I want there to be a host/service down check interval of 30 seconds or > > more, rather than 3 seconds. I don't have a clue how to expand this > > See "normal_check_interval" and "retry_check_interval" at > http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service and > http://nagios.sourceforge.net/docs/1_0/configmain.html#interval_length and > http://nagios.sourceforge.net/docs/1_0/checkscheduling.html > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Aug 13 23:32:59 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Wed, 13 Aug 2003 16:32:59 -0500 Subject: Sending Mail Message-ID: http://www.nagios.org/faqs/viewfaq.php?faq_id=150 jc -----Original Message----- From: Fernando Gomes [mailto:flima at slb.com] Sent: Wednesday, August 13, 2003 1:11 PM To: Nagios Subject: [Nagios-users] Sending Mail This probably is most a Linux question than a Nagios question; I'm trying to make Nagios instead to send mails using Linux's mail program, it send them to a Mail Relay server in another Machine. Is it possible? Should I instal a Mail Server as Sendmail on my linux box to do that? Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ericblumenau at techtvcorp.com Wed Aug 13 23:28:07 2003 From: ericblumenau at techtvcorp.com (Eric Blumenau) Date: Wed, 13 Aug 2003 14:28:07 -0700 Subject: notification problem Message-ID: <3F3AAD67.4030308@techtvcorp.com> Greetings all, For a particular service, I have Nagios set up to notify on warn,unknown,critical and recoveries (w,u,c,r). This service's contact group emails and pages our administrators. Well, my problem is that emails and pages go out when the service does a hard critical but only sends emails on a hard recovery. Here are the service notifications from the web page (a critical at 10:14:44, an ok at 1:17:34 and another critical at 10:34:45): adm1 check CRITICAL 08-13-2003 10:34:45 email_unix_admins mail_service Socket timeout after 10 seconds adm1 check CRITICAL 08-13-2003 10:34:44 page_unix_admins page_service Socket timeout after 10 seconds adm1 check OK 08-13-2003 10:17:34 email_unix_admins mail_service HTTP ok: HTTP/1.1 302 Found - 0 second response time adm1 check CRITICAL 08-13-2003 10:14:44 email_unix_admins mail_service Socket timeout after 10 seconds adm1 check CRITICAL 08-13-2003 10:14:44 page_unix_admins page_service Socket timeout after 10 seconds Any ideas on how to get pages as well as emails on the OKs? I'm pasting in snippets of my configs below. Let me know if you need more info. Thanks, Eric ############ hosts.cfg ####################### # Generic host definition template define host{ name 24x7-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 notification_period 24x7 register 0 } # 'adm1' host definition define host { use 24x7-host host_name adm1 alias adm1-hme0.XXXXXX.XXXXXX.com address XX.XXX.X.XX check_command check-host-alive max_check_attempts 3 notification_interval 30 notification_options d,u,r } ############ services.cfg #################### # Generic service definition template define service { name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 1 check_freshness 0 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 register 0 } # 'check_http_host' Service definition define service { use generic-service host_name adm1 service_description HTTP XX.XX.XX.XX is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups defcon5 notification_interval 5 notification_period 24x7 notification_options w,u,c,r check_command check_http_IP!XX.XX.XX.XX!30!45 } ################################################ ########## contacts.cfg ######################## # 'defcon5' contact group definition define contactgroup { contactgroup_name defcon5 alias Pages Oncall Admin and Email SA members email_unix_admins,page_unix_admins } # 'email_unix_admins' contact definition define contact { contact_name email_unix_admins alias email UNIX Group service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands mail_service host_notification_commands mail_host email XXXXXX at adm1.XXXXXX.XXXXXX.com pager XXXXXX at adm1.XXXXXX.XXXXXX.com } # 'page_unix_admins' contact definition define contact { contact_name page_unix_admins alias page UNIX Group service_notification_period 24x7 host_notification_period 24x7 service_notification_options c host_notification_options d,u,r service_notification_commands page_service host_notification_commands page_host email page-XXXXXX at adm1.XXXXXX.XXXXXX.com pager page-XXXXXX at adm1.XXXXXX.XXXXXX.com } ############################################## ############ /etc/aliases #################### unix-XXXXXX: xxx at xxxxxxxxx.com, xxxxxxxxx at xxxxxxxxxx.com, xxxxxxxxxxxx at xxxxxxxxxx.com, xxxxxxxx at xxxxxxxxxx.com page-XXXXXX: xxxxxxxxxx at page.xxxxx.com, xxxxxxxxxx at mobile.xxx.net, xxxxxxxxxx at mobile.xxx.net ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Wed Aug 13 22:45:55 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Wed, 13 Aug 2003 15:45:55 -0500 Subject: Ping performance data Message-ID: What about using SmokePing with RRDtool: http://people.ee.ethz.ch/~oetiker/webtools/smokeping/ jc > -----Original Message----- > From: matthewwilson at dsl.pipex.com [mailto:matthewwilson at dsl.pipex.com] > Sent: Wednesday, August 13, 2003 10:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Ping performance data > > > Hi, > I am experimenting with using Nagios to monitor network hosts > using satelite > net connections. AS we dont currently have any SNMP capable > routers on our > network, we wish to use ping RTA tiems to give a crude > indication of network > traffic. Is there a modificiation available to the > check_ping plugin that I > could use to return the RTA as performance data? I would then > export this data > to a .csv file or something for graphing in Excel. > > Alternatively, can anyone suggest another indicator of > network traffic that I > could use with Nagios (pref without running s/w on our > client's networks) > > Thanks > Matthew Wilson > DC-Sat.net > > -- > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Thu Aug 14 00:02:11 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 13 Aug 2003 18:02:11 -0400 Subject: df -k issue with netsaint_statd Message-ID: <5F29693503507B4FB4032686ADF86267214C68@mtviny25.mtvi.com> Hi All, I have searched the FAQ's and haven't been able to find any posts regarding this issue. Today I had a host reboot itself which has many other hosts mounting it via NFS. I started getting critical alerts for all of these hosts because apparently the netsaint_statd daemon was hanging on the 'df -k' that it was executing on all of the hosts which mount this server that crashed. Question is has anyone come across this issue and edited the daemon to move on to the next check after timing out on the 'df -k' for let's say 10 seconds? If not, I will gladly work on this and share the fix. Thanks! -Keith ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at 1stchina.com Thu Aug 14 03:47:44 2003 From: mike at 1stchina.com (Mike Chang) Date: Thu, 14 Aug 2003 09:47:44 +0800 Subject: can't use check_disk plug Message-ID: <142065364.20030814094744@1stchina.com> Hello all friend, when I use check_disk command, can't pass.why? # ./check_disk -w 20% -c 20% -p /dev/sda1 Disk "/dev/sda1" not mounted or nonexistant - - - - - - Best Regards Mike Zhang ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Thu Aug 14 05:29:09 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 13 Aug 2003 23:29:09 -0400 (EDT) Subject: check_nagios returns WARNING In-Reply-To: References: Message-ID: This looks like the first report of this isue. - Are you sure the log file in question has a current system timestamp and there have been changes in the time system? -sg On Tue, 12 Aug 2003, Anurag Gupta wrote: > OS: Free BSD. > Plugin version: check_nagios (nagios-plugins 1.3.1) 1.1.1.1 > > Usage: > ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C > /usr/local/nagios/bin/nagios > > thanks > -anurag > > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Monday, August 11, 2003 8:24 PM > To: Anurag Gupta > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_nagios returns WARNING > > > On Mon, 11 Aug 2003, Anurag Gupta wrote: > > > Hi, > > > > This is with Nagios-very-alpha 2.0 version. > > > > I am unable to get check_nagios to return an OK state. Nagios daemon is > > running, but check_nagios always returns: > > "Nagios problem: located 1 process, status log updated 1060653644 seconds > > ago" > > > > Even though the status file was update just a few seconds back. Something > to > > note: it is approxiate 1060653644 in current time (system time.) > > > > An issue of check_nagios plugin - plugin version and os version please.. > > -- > -sg > > -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alikhalidi at excite.com Thu Aug 14 10:46:57 2003 From: alikhalidi at excite.com (ali) Date: Thu, 14 Aug 2003 04:46:57 -0400 (EDT) Subject: (no subject) Message-ID: <20030814084657.9BA93B6B9@xmxpita.excite.com> Greetings,I am experiencing a strange behaiviour for nagios and apan.I'de run nagios for a long time, using the standard plugins (check_host_alive for 50 services), and my system(CPU 1GHz, RAM 512, swap 512) was very stable.not untill I've installed apan (155 services) that the server starts chewing memory so fast that the system becomes cloged and the only way to regain control for the system is to REBOOT.I've read and practiced a lot with the tunning paramers of nagios, and reached a level where these parametersmax_concurrent_checks (for concurrency)service_reaper_freqsize of rrd files (to prevent caching of large databse files)added the -m to snmp_get (based on a recommendation of one of the users) to disable the loading of the mib with each callbut all with no help. I can't put my hands on the problem.the system starts memory usage in almost a linear fashion, untill the free section of buffers/cache starts comming down, and the systems goes to swap till it exhast all sys tem Memory.it is only the difference between the concurrency factor (max_concurrent_checks) that slows down the rate at which memory is lost.its a production system, and I really appriciate helpthanks,Ali Al-Khalidi _______________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Thu Aug 14 10:16:52 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Thu, 14 Aug 2003 09:16:52 +0100 Subject: check_nagios returns WARNING Message-ID: Someone else has mentioned this, but there's been no action yet. check_nagios reads the last line of the status.log, but the format of the file has changed with Nagios 2.0. Someone sent a patch in, but then we'd have to try and work out which format the file is in. Maybe just check the last updated time of the file? Ton > -----Original Message----- > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > Sent: Thursday, August 14, 2003 4:29 AM > To: Anurag Gupta > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] check_nagios returns WARNING > > > This looks like the first report of this isue. - Are you sure > the log file > in question has a current system timestamp and there have > been changes > in the time system? > > -sg > > On Tue, 12 Aug 2003, Anurag Gupta wrote: > > > OS: Free BSD. > > Plugin version: check_nagios (nagios-plugins 1.3.1) 1.1.1.1 > > > > Usage: > > ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C > > /usr/local/nagios/bin/nagios > > > > thanks > > -anurag > > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Monday, August 11, 2003 8:24 PM > > To: Anurag Gupta > > Cc: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] check_nagios returns WARNING > > > > > > On Mon, 11 Aug 2003, Anurag Gupta wrote: > > > > > Hi, > > > > > > This is with Nagios-very-alpha 2.0 version. > > > > > > I am unable to get check_nagios to return an OK state. > Nagios daemon is > > > running, but check_nagios always returns: > > > "Nagios problem: located 1 process, status log updated > 1060653644 seconds > > > ago" > > > > > > Even though the status file was update just a few seconds > back. Something > > to > > > note: it is approxiate 1060653644 in current time (system time.) > > > > > > > An issue of check_nagios plugin - plugin version and os > version please.. > > > > -- > > -sg This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Thu Aug 14 11:29:14 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Thu, 14 Aug 2003 10:29:14 +0100 Subject: IM message Message-ID: <1012BD903945D411915500105A48FF5701C73537@nt.man.fwltech.com> http://msnp.sourceforge.net is the place to start for MSN, it's a python library which lets you write simple scripts to send messages to users. I guess there are yahoo+icq+aim equivalents, but I haven't looked. Ewan -----Original Message----- From: Fernando Gomes [mailto:flima at slb.com] Sent: 13 August 2003 21:19 To: Nagios Subject: [Nagios-users] IM message Is anyone configured before Nagios to send messages through MSN Messanger or Yahoo??? I read on documentation that is possible, but doesn't find a how to do... Regards, Fernando Gomes SchlumbergerSema Network & Infrastructure Solutions Security Engineer flima at slb.com Trab: +55 21 3824 6954 Cel. : +55 21 9888 9046 (GMT: -03:00) ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alikhalidi at excite.com Thu Aug 14 11:27:41 2003 From: alikhalidi at excite.com (ali) Date: Thu, 14 Aug 2003 05:27:41 -0400 (EDT) Subject: nagios + apan memory chewing up Message-ID: <20030814092741.5BB99B6B5@xmxpita.excite.com> Greetings,I am experiencing a strange behaiviour for nagios and apan.I'de run nagios for a long time, using the standard plugins (check_host_alive for 50 services), and my system(CPU 1GHz, RAM 512, swap 512) was very stable.not untill I've installed apan (155 services) that the server starts chewing memory so fast that the system becomes cloged and the only way to regain control for the system is to REBOOT.I've read and practiced a lot with the tunning paramers of nagios, and reached a level where these parametersmax_concurrent_checks (for concurrency)service_reaper_freqsize of rrd files (to prevent caching of large databse files)added the -m to snmp_get (based on a recommendation of one of the users) to disable the loading of the mib with each callbut all with no help. I can't put my hands on the problem.the system starts memory usage in almost a linear fashion, untill the free section of buffers/cache starts comming down, and the systems goes to swap till it exhast all sys tem Memory.it is only the difference between the concurrency factor (max_concurrent_checks) that slows down the rate at which memory is lost.its a production system, and I really appriciate helpthanks, _______________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From aless at teleportsv.net Thu Aug 14 12:18:22 2003 From: aless at teleportsv.net (Zatkhey Aleksey) Date: 14 Aug 2003 13:18:22 +0300 Subject: check_bgpstate.pl Message-ID: <1060856301.899.3.camel@tower.teleportsv.net> Hello i'm have a problem with nagios on check_bgpstate.pl. Service State Information Current Status: UNKNOWN Status Information:(No output returned from plugin) Command line: theta# /usr/local/libexec/nagios/check_bgpstate.pl x.x.x.x -c aaaaa OK: host 'x.x.x.x', sessions up: 10, down: 0, shutdown: 1 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbuehler at hekimian.com Thu Aug 14 14:55:55 2003 From: jbuehler at hekimian.com (Joe Buehler) Date: Thu, 14 Aug 2003 08:55:55 -0400 Subject: notification problem In-Reply-To: <3F3AAD67.4030308@techtvcorp.com> References: <3F3AAD67.4030308@techtvcorp.com> Message-ID: <3F3B86DB.2090405@hekimian.com> Eric Blumenau wrote: > For a particular service, I have Nagios set up to notify on > warn,unknown,critical and recoveries (w,u,c,r). This service's contact > group emails and pages our administrators. Well, my problem is that > emails and pages go out when the service does a hard critical but only > sends emails on a hard recovery. Here are the service notifications > from the web page (a critical at 10:14:44, an ok at 1:17:34 and another > critical at 10:34:45): I didn't look at your config in detail, but I am having problems with notifications myself. Perhaps your problem is the same as mine: It turns out that there is something in nagios called "retain_nonstatus_information" that, when enabled, causes nagios to ignore what's in the config files and use what's in the status file instead, for certain configuration parameters (marked as such in the documentation). So I've been merrily changing various parameters in my config files and wondering why the changes have been having no effect... Perhaps the name should be changed to "ignore_config_file". -- Joe Buehler ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alikhalidi at excite.com Thu Aug 14 11:40:16 2003 From: alikhalidi at excite.com (ali) Date: Thu, 14 Aug 2003 05:40:16 -0400 (EDT) Subject: Urgent: nagios + apan memory chewing up Message-ID: <20030814094016.B42C5B6CD@xmxpita.excite.com> Greetings,I am experiencing a strange behaiviour for nagios and apan.I'de run nagios for a long time, using the standard plugins (check_host_alive for 50 services), and my system(CPU 1GHz, RAM 512, swap 512) was very stable.not untill I've installed apan (155 services) that the server starts chewing memory so fast that the system becomes cloged and the only way to regain control for the system is to REBOOT.I've read and practiced a lot with the tunning paramers of nagios, and reached a level where these parametersmax_concurrent_checks (for concurrency)service_reaper_freqsize of rrd files (to prevent caching of large databse files)added the -m to snmp_get (based on a recommendation of one of the users) to disable the loading of the mib with each callbut all with no help. I can't put my hands on the problem.the system starts memory usage in almost a linear fashion, untill the free section of buffers/cache starts comming down, and the systems goes to swap till it exhast all sys tem Memory.it is only the difference between the concurrency factor (max_concurrent_checks) that slows down the rate at which memory is lost.its a production system, and I really appriciate helpthanks, _______________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmahe at jemspartners.com Thu Aug 14 12:11:50 2003 From: fmahe at jemspartners.com (Franck MAHE) Date: Thu, 14 Aug 2003 12:11:50 +0200 Subject: can't use check_disk plug In-Reply-To: <142065364.20030814094744@1stchina.com> References: <142065364.20030814094744@1stchina.com> Message-ID: <000701c3624c$7b5af160$2c00000a@SHADOW> Hello Could U try with the verbose option (ie -v) to see where is the error. I think the plugins don't use the right option for df command. Rgds Franck MAHE Responsable du Pole "Securite" ------------------------------------------- Jems Partners 42, Avenue Montaigne 75008 PARIS T: +33 1 4561 0330 F: +33 1 4225 0633 M: +33 6 6042 7249 E: fmahe at jemspartners.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Chang Sent: Thursday, August 14, 2003 3:48 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] can't use check_disk plug Hello all friend, when I use check_disk command, can't pass.why? # ./check_disk -w 20% -c 20% -p /dev/sda1 Disk "/dev/sda1" not mounted or nonexistant - - - - - - Best Regards Mike Zhang ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Aug 14 16:43:39 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 14 Aug 2003 09:43:39 -0500 Subject: NagMIN setup help needed Message-ID: <16187.40987.580859.480690@montanaro.dyndns.org> I posted this to the NagMIN list yesterday, but haven't heard anything yet and have a manager itching to try this stuff out, so I'm reposting here on the outside chance the NagMIN list is on summer vacation. Any suggestions would be much appreciated. ------------------------- After a couple hours of fiddling around getting NagMIN and all it's friends installed, I am down to this output from the NagMIN setup script: # NagMIN Setup Processing Completed # # 1 - Now access WebMIN and install the NagMIN plugin # 2 - Configure NagMIN Nagios default values clicking Module Config in # WebMIN # 3 - Edit your database tables and run Verification until you get # a clean configuration. This will create NagMIN configuration # files in # /usr/local/nagmin/nagios/ directory # 4 - Modify your nagios.cfg and cgi.cfg files to replace configuration # file settings with new NagMIN configuration files listed below. # This must be done before you can successfully activate your first # NagMIN configuration. # 5 - Run Activate Config. Check the verification output for any errors. # 6 - Remove any unnecessary configuration files from your # /usr/local/nagios/etc directory. I got fumbled around until I found someplace in WebMIN which allowed me to install the NagMIN wbm file. I also stumbled onto the "Module Config" stuff and scanned that page. I haven't seen anything in all my bumbling around in WebMIN which suggests "Verification" or "Activate Config". At the moment I'm looking at https://localhost:9991/nagmin/ Where's that stuff? On a related note, I think a lot of people will be like myself, coming to NagMIN from Nagios, not WebMIN. I think the instructions have to be tailored more to WebMIN novices than they currently are. Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Thu Aug 14 16:40:45 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Thu, 14 Aug 2003 11:40:45 -0300 Subject: RES: nagios + apan memory chewing up Message-ID: I?m having a similar problem, but i have not trace it down to apan. If you find a solution, please let me Know. Thank?s in advanced, Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: ali [SMTP:alikhalidi at excite.com] > Enviada em: quinta-feira, 14 de agosto de 2003 06:28 > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] nagios + apan memory chewing up > > Greetings, > > I am experiencing a strange behaiviour for nagios and apan. > I'de run nagios for a long time, using the standard plugins > (check_host_alive for 50 services), and my system > (CPU 1GHz, RAM 512, swap 512) was very stable. > not untill I've installed apan (155 services) that the server starts > chewing memory so fast that the system becomes cloged and the only way to > regain control for the system is to REBOOT. > I've read and practiced a lot with the tunning paramers of nagios, and > reached a level where these parameters > max_concurrent_checks (for concurrency) > service_reaper_freq > size of rrd files (to prevent caching of large databse files) > added the -m to snmp_get (based on a recommendation of one of the users) > to disable the loading of the mib with each call > > but all with no help. I can't put my hands on the problem. > the system starts memory usage in almost a linear fashion, untill the free > section of buffers/cache starts comming down, and the systems goes to swap > till it exhast all system Memory. > it is only the difference between the concurrency factor > (max_concurrent_checks) that slows down the rate at which memory is lost. > > its a production system, and I really appriciate help > > thanks, > > > > > > > > _____ > > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 okka.org.za Thu Aug 14 16:53:10 2003 From: nagios at okka.org.za (Carlito - nagios user) Date: Thu, 14 Aug 2003 16:53:10 +0200 Subject: notification problem In-Reply-To: <3F3B86DB.2090405@hekimian.com> References: <3F3B86DB.2090405@hekimian.com> Message-ID: <000f01c36273$c752cf80$0214a8c0@bit.co.za> Apologies for the long email , but this is whats enabled by default ! I've pasted this as I'm using 2 Linux boxes ( redhat 7.1 ) with nagios 1.1 installed ( 2 boxes for 2 geographically different locations in South Africa ) To note I use escalation notifications extensively and I offer the advice of ... Do not change this value at all or Nagios WILL NOT send out escalations ... # AGRESSIVE HOST CHECKING OPTION # If you don't want to turn on agressive host checking features, set # this value to 0 (the default). Otherwise set this value to 1 to # enable the agressive check option. Read the docs for more info # on what agressive host check is or check out the source code in # base/checks.c use_agressive_host_checking=0 ( if this is set to 1 , no notifications will be sent out regardless of any other options you may think that works ) I know this , I tried solid for 1 month :-) Below the dump refers to the current question. # RETAIN STATE INFORMATION # This setting determines whether or not Nagios will save state # information for services and hosts before it shuts down. Upon # startup Nagios will reload all saved service and host state # information before starting to monitor. This is useful for # maintaining long-term data on state statistics, etc, but will # slow Nagios down a bit when it (re)starts. Since its only # a one-time penalty, I think its well worth the additional # startup delay. retain_state_information=1 # STATE RETENTION FILE # This is the file that Nagios should use to store host and # service state information before it shuts down. The state # information in this file is also read immediately prior to # starting to monitor the network when Nagios is restarted. # This file is used only if the preserve_state_information # variable is set to 1. state_retention_file=/usr/local/nagios/var/status.sav # RETENTION DATA UPDATE INTERVAL # This setting determines how often (in minutes) that Nagios # will automatically save retention data during normal operation. # If you set this value to 0, Nagios will not save retention # data at regular interval, but it will still save retention # data before shutting down or restarting. If you have disabled # state retention, this option has no effect. retention_update_interval=60 # USE RETAINED PROGRAM STATE # This setting determines whether or not Nagios will set # program status variables based on the values saved in the # retention file. If you want to use retained program status # information, set this value to 1. If not, set this value # to 0. use_retained_program_state=1 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joe Buehler Sent: 14 August 2003 14:56 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: notification problem Eric Blumenau wrote: > For a particular service, I have Nagios set up to notify on > warn,unknown,critical and recoveries (w,u,c,r). This service's contact > group emails and pages our administrators. Well, my problem is that > emails and pages go out when the service does a hard critical but only > sends emails on a hard recovery. Here are the service notifications > from the web page (a critical at 10:14:44, an ok at 1:17:34 and another > critical at 10:34:45): I didn't look at your config in detail, but I am having problems with notifications myself. Perhaps your problem is the same as mine: It turns out that there is something in nagios called "retain_nonstatus_information" that, when enabled, causes nagios to ignore what's in the config files and use what's in the status file instead, for certain configuration parameters (marked as such in the documentation). So I've been merrily changing various parameters in my config files and wondering why the changes have been having no effect... Perhaps the name should be changed to "ignore_config_file". -- Joe Buehler ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Aug 14 17:53:25 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 14 Aug 2003 10:53:25 -0500 Subject: NagMIN setup help needed In-Reply-To: <16187.40987.580859.480690@montanaro.dyndns.org> References: <16187.40987.580859.480690@montanaro.dyndns.org> Message-ID: <16187.45173.774235.615936@montanaro.dyndns.org> Skip> I posted this to the NagMIN list yesterday, but haven't heard Skip> anything yet and have a manager itching to try this stuff out, so Skip> I'm reposting here on the outside chance the NagMIN list is on Skip> summer vacation. Any suggestions would be much appreciated. ... More poking around got me where I needed to be. Now to rectify the differences between the NagMIN and Nagios ideas of where the config files belong... -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chet at rcn.com Thu Aug 14 17:00:13 2003 From: chet at rcn.com (Chet Luther) Date: Thu, 14 Aug 2003 11:00:13 -0400 Subject: Urgent: nagios + apan memory chewing up References: <20030814094016.B42C5B6CD@xmxpita.excite.com> Message-ID: <029401c36274$c3a16ad0$8a18970a@lkprfu98tmhu6x7> Ali, Recompile Nagios without embedded perl or perl caching support. I had this same problem, and it was due to global namespace pollution in the embedded perl cache. The real solution to this problem would be rewriting all the perl plugins/extensions in a mod_perl safe way, but I don't see any initiative to get that done. Hope this helps, Chet Luther chet at rcn.com ----- Original Message ----- From: ali To: nagios-users at lists.sourceforge.net Sent: Thursday, August 14, 2003 5:40 AM Subject: [Nagios-users] Urgent: nagios + apan memory chewing up Greetings, I am experiencing a strange behaiviour for nagios and apan. I'de run nagios for a long time, using the standard plugins (check_host_alive for 50 services), and my system (CPU 1GHz, RAM 512, swap 512) was very stable. not untill I've installed apan (155 services) that the server starts chewing memory so fast that the system becomes cloged and the only way to regain control for the system is to REBOOT. I've read and practiced a lot with the tunning paramers of nagios, and reached a level where these parameters max_concurrent_checks (for concurrency) service_reaper_freq size of rrd files (to prevent caching of large databse files) added the -m to snmp_get (based on a recommendation of one of the users) to disable the loading of the mib with each call but all with no help. I can't put my hands on the problem.the system starts memory usage in almost a linear fashion, untill the free section of buffers/cache starts comming down, and the systems goes to swap till it exhast all system Memory. it is only the difference between the concurrency factor (max_concurrent_checks) that slows down the rate at which memory is lost. its a production system, and I really appriciate help thanks, ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rich.West at wesmo.com Thu Aug 14 20:03:21 2003 From: Rich.West at wesmo.com (Rich West) Date: Thu, 14 Aug 2003 14:03:21 -0400 Subject: Nagios Logos Message-ID: <3F3BCEE9.80607@wesmo.com> I've seen a BUNCH of messages regarding this on the list, but I have yet to be able to get it to work... I have nagios installed and happily monitoring machines, but I have been unable to get the logos to show up properly in any of the status maps. I built Nagios via: ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --target=i386-redhat-linux --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share/nagios --libexecdir=/usr/lib/nagios/plugins --localstatedir=/var/log/nagios --sbindir=/usr/lib/nagios/cgi --sysconfdir=/etc/nagios --with-cgiurl=/nagios/cgi-bin --with-command-user=apache --with-command-grp=apache --with-file-perfdata --with-gd-lib=/usr/lib --with-gd-inc=/usr/include --with-init-dir=/etc/rc.d/init.d --with-htmurl=/nagios --with-lockfile=/var/run/nagios.pid --with-nagios-user=nagios --with-nagios-grp=nagios --with-template-objects --with-template-extinfo I've tried following the info in the cgi.cfg file : hostextinfo[myhost]=/serverinfo/myhost.html;redhat.gif;redhat.jpg;redhat.gd2;RedHat Linux Server;;; I've tried what I have seen on the list: define hostextinfo{ name Switch icon_image switch40.png icon_image_alt switch40.gif vrml_image switch40.png statusmap_image switch40.gd2 register 0 } define hostextinfo{ use Switch host_name bay } I've added the line to point to the hostextinfo file, and even put garbage in that file.. It is as if it is being ignored. I am sure it is something simple.. perhaps someone can point out what I missed? Thanks! -Rich ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Aug 14 23:03:25 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 14 Aug 2003 16:03:25 -0500 Subject: No joy in NagMIN-land - empty System table Message-ID: <16187.63773.639197.304673@montanaro.dyndns.org> I've got stuff loaded into NagMIN. Unfortunately, nothing seems to happen when I try to Activate my current configuration. After a big of debugging I traced it down to the fact that the System table in the nagios database contains no rows. I can't find anything in the nagmin runtime or setup code which populates that database. I can probably make a reasonable stab at the contents of that table (I think it should only have a single row). Still, I think I'm missing something. Any clues? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twelsh at square-box.com Fri Aug 15 02:55:49 2003 From: twelsh at square-box.com (Tom Welsh) Date: Fri, 15 Aug 2003 01:55:49 +0100 Subject: No joy in NagMIN-land - empty System table In-Reply-To: <16187.63773.639197.304673@montanaro.dyndns.org> References: <16187.63773.639197.304673@montanaro.dyndns.org> Message-ID: <000201c362c7$f872c170$0400a8c0@squarebox.com> Hi Skip, I hope you get an answer to this as I have encountered the exact same problems about 2 months ago and was unable to rectify the problem. If possible, can you let me know how you resolve this issue. It may well be worth a faq, as you previously stated not many answers coming from NagMIN land Cheers Tom Welsh twelsh at square-box.com DISCLAIMER: This e-mail contains proprietary information some or all of which may be legally privileged. It is for the intended recipient only. If an addressing or transmission error has misdirected this e-mail, please notify the author by replying to this e-mail. If you are not the intended recipient you must not use, disclose, distribute, copy, print, or rely on this e-mail. Sender accepts no liability for any damage resulting from the use and/or acceptation of the content of this e-mail. Always scan attachments before opening them. The views expressed in this communication may not necessarily be the views held by squareBOX technologies ltd -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Skip Montanaro Sent: 14 August 2003 22:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] No joy in NagMIN-land - empty System table I've got stuff loaded into NagMIN. Unfortunately, nothing seems to happen when I try to Activate my current configuration. After a big of debugging I traced it down to the fact that the System table in the nagios database contains no rows. I can't find anything in the nagmin runtime or setup code which populates that database. I can probably make a reasonable stab at the contents of that table (I think it should only have a single row). Still, I think I'm missing something. Any clues? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 15 07:26:15 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Fri, 15 Aug 2003 07:26:15 +0200 Subject: Check_SMTP - plugin times out - after moving the monitoring pc to other network. Message-ID: Good morning, I have moved our monitoring mashine to our basement. After that the check_smtp times out. All other checks via ping or check_tcp is working Changes ======== >From 10.38.x.x to 10.1.x.x New ethernet structure/hardware... Any suggestions? Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Aug 15 08:40:39 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 15 Aug 2003 02:40:39 -0400 (EDT) Subject: check_nagios returns WARNING In-Reply-To: References: Message-ID: Guess I should catch up on last month list and start installing 2.0 ;) -sg On Thu, 14 Aug 2003, Voon, Ton wrote: > Someone else has mentioned this, but there's been no action yet. > check_nagios reads the last line of the status.log, but the format of the > file has changed with Nagios 2.0. Someone sent a patch in, but then we'd > have to try and work out which format the file is in. Maybe just check the > last updated time of the file? > > Ton > > > -----Original Message----- > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > Sent: Thursday, August 14, 2003 4:29 AM > > To: Anurag Gupta > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] check_nagios returns WARNING > > > > > > This looks like the first report of this isue. - Are you sure > > the log file > > in question has a current system timestamp and there have > > been changes > > in the time system? > > > > -sg > > > > On Tue, 12 Aug 2003, Anurag Gupta wrote: > > > > > OS: Free BSD. > > > Plugin version: check_nagios (nagios-plugins 1.3.1) 1.1.1.1 > > > > > > Usage: > > > ./check_nagios -F /usr/local/nagios/var/status.log -e 5 -C > > > /usr/local/nagios/bin/nagios > > > > > > thanks > > > -anurag > > > > > > -----Original Message----- > > > From: Subhendu Ghosh [mailto:sghosh at sghosh.org] > > > Sent: Monday, August 11, 2003 8:24 PM > > > To: Anurag Gupta > > > Cc: nagios-users at lists.sourceforge.net > > > Subject: Re: [Nagios-users] check_nagios returns WARNING > > > > > > > > > On Mon, 11 Aug 2003, Anurag Gupta wrote: > > > > > > > Hi, > > > > > > > > This is with Nagios-very-alpha 2.0 version. > > > > > > > > I am unable to get check_nagios to return an OK state. > > Nagios daemon is > > > > running, but check_nagios always returns: > > > > "Nagios problem: located 1 process, status log updated > > 1060653644 seconds > > > > ago" > > > > > > > > Even though the status file was update just a few seconds > > back. Something > > > to > > > > note: it is approxiate 1060653644 in current time (system time.) > > > > > > > > > > An issue of check_nagios plugin - plugin version and os > > version please.. > > > > > > -- > > > -sg > > > This private and confidential e-mail has been sent to you by Egg. > The Egg group of companies includes Egg Banking plc > (registered no. 2999842), Egg Financial Products Ltd (registered > no. 3319027) and Egg Investments Ltd (registered no. 3403963) which > carries out investment business on behalf of Egg and is regulated > by the Financial Services Authority. > Registered in England and Wales. Registered offices: 1 Waterhouse Square, > 138-142 Holborn, London EC1N 2NA. > If you are not the intended recipient of this e-mail and have > received it in error, please notify the sender by replying with > 'received in error' as the subject and then delete it from your > mailbox. > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 15 09:57:44 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Fri, 15 Aug 2003 09:57:44 +0200 Subject: Vedr.: RE: Check_SMTP - plugin times out - after moving the monitoring pc to other network. Message-ID: Hi Fred, Could you print me in a more specific direction? I think my problem is some routes missing in the network or from/to the servers... Best regards "Fred Albrecht" iscali.com> cc: Vedr.: RE: [Nagios-users] Check_SMTP - plugin times out - after moving the 15-08-03 08:16 monitoring pc to other network. -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Firewall, Access list, restricteed ip's configured in SMTP server? fred > -----Original Message----- > From: Thomas Jens Lauritsen [mailto:tjl at topdanmark.dk] > Sent: 15 August 2003 07:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_SMTP - plugin times out - after > moving the > monitoring pc to other network. > > > Good morning, > > I have moved our monitoring mashine to our basement. > > After that the check_smtp times out. > > All other checks via ping or check_tcp is working > > Changes > ======== > > From 10.38.x.x to 10.1.x.x > > New ethernet structure/hardware... > > > Any suggestions? > > Thanks! > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at Lastminute.com Fri Aug 15 10:04:45 2003 From: tvilliers at Lastminute.com (Tielman De Villiers) Date: Fri, 15 Aug 2003 09:04:45 +0100 Subject: Nagios Logos Message-ID: Try: xedtemplate_config_file=[path_to_nagios]/etc/hostextinfo.cfg in cgi.cfg Tielman de Villiers Back Office Developer Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com do something lastminute.com > -----Original Message----- > From: Rich West [mailto:Rich.West at wesmo.com] > Sent: 14 August 2003 19:03 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Logos > > > I've seen a BUNCH of messages regarding this on the list, but > I have yet > to be able to get it to work... > > I have nagios installed and happily monitoring machines, but > I have been > unable to get the logos to show up properly in any of the status maps. > > I built Nagios via: > ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu > --target=i386-redhat-linux --program-prefix= --prefix=/usr > --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin > --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include > --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var > --sharedstatedir=/usr/com --mandir=/usr/share/man > --infodir=/usr/share/info --datadir=/usr/share/nagios > --libexecdir=/usr/lib/nagios/plugins --localstatedir=/var/log/nagios > --sbindir=/usr/lib/nagios/cgi --sysconfdir=/etc/nagios > --with-cgiurl=/nagios/cgi-bin --with-command-user=apache > --with-command-grp=apache --with-file-perfdata --with-gd-lib=/usr/lib > --with-gd-inc=/usr/include --with-init-dir=/etc/rc.d/init.d > --with-htmurl=/nagios --with-lockfile=/var/run/nagios.pid > --with-nagios-user=nagios --with-nagios-grp=nagios > --with-template-objects --with-template-extinfo > > I've tried following the info in the cgi.cfg file : > hostextinfo[myhost]=/serverinfo/myhost.html;redhat.gif;redhat. > jpg;redhat.gd2;RedHat > Linux Server;;; > > I've tried what I have seen on the list: > > define hostextinfo{ > name Switch > icon_image switch40.png > icon_image_alt switch40.gif > vrml_image switch40.png > statusmap_image switch40.gd2 > register 0 > } > > define hostextinfo{ > use Switch > host_name bay > } > > I've added the line to point to the hostextinfo file, and even put > garbage in that file.. It is as if it is being ignored. > > I am sure it is something simple.. perhaps someone can point > out what I > missed? > > Thanks! > -Rich > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ______________________________________________________________ > __________ > This e-mail has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ______________________________________________________________ > __________ > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 15 11:57:55 2003 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Fri, 15 Aug 2003 11:57:55 +0200 Subject: Vedr.: Check_SMTP - plugin times out - after moving the monitoring pc to other network.- SOLVED!! Message-ID: Hello List, After inserting the monitoring pc to the rest of our DNS-serveres - the check_smtp works perfect. Specially thanks to our sniffer.... Best regards Thomas "Thomas Jens Lauritsen" Til: nagios-users at lists.sourceforge.net Sendt af: cc: nagios-users-admin at lists.sour Vedr.: [Nagios-users] Check_SMTP - plugin times out - after moving the monitoring pc ceforge.net to other network. 15-08-03 07:26 Good morning, I have moved our monitoring mashine to our basement. After that the check_smtp times out. All other checks via ping or check_tcp is working Changes ======== >From 10.38.x.x to 10.1.x.x New ethernet structure/hardware... Any suggestions? Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.fischer at quadriga.com Fri Aug 15 12:01:53 2003 From: thomas.fischer at quadriga.com (Fischer, Thomas) Date: Fri, 15 Aug 2003 11:01:53 +0100 Subject: Check_SMTP - plugin times out - after moving the monitoring pc to other network. Message-ID: <5D339AE687B0C8438185AE62ED06697D034D6D@ukchmail01.mail.quadriga.com> Yes, try to telnet to the SMTP server on port 25 from the nagios box and see if it is responding. If yes something else is wrong with Nagios or the plugin. If no you have a connectivity problem and need to check your routing/VLANs etc. Tom -----Original Message----- From: Thomas Jens Lauritsen [mailto:tjl at topdanmark.dk] Sent: 15 August 2003 06:26 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_SMTP - plugin times out - after moving the monitoring pc to other network. Good morning, I have moved our monitoring mashine to our basement. After that the check_smtp times out. All other checks via ping or check_tcp is working Changes ======== From 10.38.x.x to 10.1.x.x New ethernet structure/hardware... Any suggestions? Thanks! ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null This e-mail is the property of Quadriga Worldwide Ltd The message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Aug 15 12:38:09 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 15 Aug 2003 20:38:09 +1000 Subject: Urgent: nagios + apan memory chewing up In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Thu, Aug 14, 2003 at 08:19:18PM -0700 References: Message-ID: <20030815203803.A227@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, > From: "Chet Luther" > To: , > > Cc: > Subject: Re: [Nagios-users] Urgent: nagios + apan memory chewing up > Date: Thu, 14 Aug 2003 11:00:13 -0400 > > Ali, > Recompile Nagios without embedded perl or perl caching support. I had > this same problem, and it was due to global namespace pollution in the > embedded perl cache. would you mind providing some more detail about the analysis that lead to this conclusion ? This Nag ($this->nagios) is monitoring more services with less hardware (Dell 350/256 MB, 200 hosts, 340 active services) using ePN and doesn't show the problem reported by Ali. However, Ali's host could have a greater load. (The only problem I think may be ePN related is a Nag process hogs the CPU and needs to be HUP'd, once each 2-4 weeks. The ePN memory leaks are _much_ less dramatic: Nag gets restarted each fortnight or so when the resident size above 60 MB or so) In this case, I am using a lot of local Perl plugins (hemi mod_perl safe) and some of the old 1.2.9 series (with some local mods). The ePN support puts each plugin in it's own Perl package and then calls it as a subroutine in that package; it seems unlikely therefore that other variables are being trampled (impossible if the plugins use lexicals - carefully because of the closure issues). > The real solution to this problem would be rewriting > all the perl plugins/extensions in a mod_perl safe way, but I don't see any > initiative to get that done. > IIRC, Subhendu dealt with the ePN safety issues in the 1.3.x release (ie sometime ago). If there are more than 5 plugins that aren't mod_perl safe would you let me know ? Otherwise, would you write the list with the names of the malefactors ? > Hope this helps, > > Chet Luther > chet at rcn.com Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 cerbernet.co.uk Fri Aug 15 13:04:19 2003 From: nagios at cerbernet.co.uk (Tony) Date: Fri, 15 Aug 2003 12:04:19 +0100 Subject: Parent hosts question Message-ID: <002f01c3631c$fca483a0$f81fc3c1@ts> Hi all I'm having a problem with parent hosts and wonder if someone could clear up a couple of points. It all come about because of an issue we had yesterday, we have a setup in one location that looks like this: Router-----------Switch-----------Server I have specified that the router is the parent host to the switch and that the switch is the parent host to the server. The router suffered and outage and Nagios rightly notified that the host was down (Router). However I kept being alerted that the switch and server were unreachable, which was the case. And I'm assuming the reason for being notified is because the host entry for the switch and server have notification_options d,u,r For parent host dependencies to work do I have to take out the Unreachable option from the notification_options? Does parent host dependences not work otherwise? Thanks Tony ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From airween at amit.hu Fri Aug 15 15:19:40 2003 From: airween at amit.hu (Hegedus, Ervin) Date: Fri, 15 Aug 2003 15:19:40 +0200 Subject: Own check_commands doesn't works Message-ID: <20030815131940.GA7159@amit.hu> Hello Guys, i have a FreeBSD-4.8 machine, i would like to monitoring with Nagios. Most commands works correctly - what nagios_plugins package contains. i try to use that commands trough check_nrpe. some features missing for me, example: i can't monitoring the kern.openfiles. so, i write a shell-script, what do it. i configured my Nagios and remote host (FreeBSD), but there are a very interesting problem: - sometimes the new service coms up, but - sometimes doesn't. at these times i pressing CTRL+R (reload) in my browser, and after 5-6 reload the new service comes again. when i want to see the service's extinfo, i get the message: "Error: Service status not found!" Also pressing 5-6 times CTRL+R, and voila: there is the service state information about this service... what may the problem? please help me! thanks: airween ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chet at rcn.com Fri Aug 15 15:26:38 2003 From: chet at rcn.com (Chet Luther) Date: Fri, 15 Aug 2003 09:26:38 -0400 Subject: Urgent: nagios + apan memory chewing up References: <20030815203803.A227@IPAustralia.Gov.AU> Message-ID: <030d01c36330$db55f710$8a18970a@lkprfu98tmhu6x7> Stanley, I am still running netsaint-plugins-1.2.9-4 under nagios-1.0b6. My analysis wasn't in depth. I just noticed that my Nagios process would grow to upwards of 200mb after a couple of weeks. When I disabled the perl cache and embedded perl support, I no longer had the problem. I once had the same problem with a mod_perl enabled Apache, and it turned out that I had just been putting too much stuff in the global namespace. As far as I'm aware, mod_perl uses the same "put each script in its own package" approach. I would guess (usually meaning I'm wrong) that Ali has less RAM/Swap than you, which is why his memory usage could exhibit more severe problems than yours. Personally I am running with 1GB of RAM plus twice that much swap, so I didn't have the serious problems that Ali is reporting either. Another thing to take into consideration is that he is using APAN. I haven't tried it myself, but I think I read that it uses it's own uber-plugin to do everything. Could it be possible that it isn't ePN safe? I suppose I'm overdue for an upgrade. I'll compile the latest version of Nagios/Plugins with ePN/cache enabled sometime today, and see if I still have the same issues. Chet Luther chet at rcn.com > Dear Sir, > > I am writing to thank you for your letter and say, > > > From: "Chet Luther" > > To: , > > > > Cc: > > Subject: Re: [Nagios-users] Urgent: nagios + apan memory chewing up > > Date: Thu, 14 Aug 2003 11:00:13 -0400 > > > > Ali, > > Recompile Nagios without embedded perl or perl caching support. I had > > this same problem, and it was due to global namespace pollution in the > > embedded perl cache. > > would you mind providing some more detail about the analysis that lead > to this conclusion ? > > This Nag ($this->nagios) is monitoring more services with less hardware > (Dell 350/256 MB, 200 hosts, 340 active services) using ePN and doesn't > show the problem reported by Ali. However, Ali's host could have a > greater load. > > (The only problem I think may be ePN related is a Nag process hogs the > CPU and needs to be HUP'd, once each 2-4 weeks. The ePN memory leaks > are _much_ less dramatic: Nag gets restarted each fortnight or so when > the resident size above 60 MB or so) > > In this case, I am using a lot of local Perl plugins (hemi mod_perl > safe) and some of the old 1.2.9 series (with some local mods). > > The ePN support puts each plugin in it's own Perl package and then calls > it as a subroutine in that package; it seems unlikely therefore that > other variables are being trampled (impossible if the plugins use > lexicals - carefully because of the closure issues). > > > The real solution to this problem would be rewriting > > all the perl plugins/extensions in a mod_perl safe way, but I don't see any > > initiative to get that done. > > > > IIRC, Subhendu dealt with the ePN safety issues in the 1.3.x release (ie > sometime ago). > > If there are more than 5 plugins that aren't mod_perl safe would you let > me know ? > > Otherwise, would you write the list with the names of the malefactors ? > > > Hope this helps, > > > > Chet Luther > > chet at rcn.com > > Yours sincerely. > > -- > ------------------------------------------------------------------------ > Stanley Hopcroft > ------------------------------------------------------------------------ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Aug 15 15:48:10 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 15 Aug 2003 23:48:10 +1000 Subject: Urgent: nagios + apan memory chewing up In-Reply-To: <030d01c36330$db55f710$8a18970a@lkprfu98tmhu6x7>; from chet@rcn.com on Fri, Aug 15, 2003 at 09:26:38AM -0400 References: <20030815203803.A227@IPAustralia.Gov.AU> <030d01c36330$db55f710$8a18970a@lkprfu98tmhu6x7> Message-ID: <20030815234801.B227@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Fri, Aug 15, 2003 at 09:26:38AM -0400, Chet Luther wrote: > Stanley, > I am still running netsaint-plugins-1.2.9-4 under nagios-1.0b6. My > analysis wasn't in depth. I just noticed that my Nagios process would grow > to upwards of 200mb after a couple of weeks. When I disabled the perl cache > and embedded perl support, I no longer had the problem. Some of the 1.2.9-4 (these are the ones that I am mainly using) were definitely b0rked for epN. The only one I recall now is check_rpc (too broken to even run since it used __DATA__ for the RPC program names) > I once had the same problem with a mod_perl enabled Apache, and it > turned out that I had just been putting too much stuff in the global > namespace. As far as I'm aware, mod_perl uses the same "put each script in > its own package" approach. > I would guess (usually meaning I'm wrong) that Ali has less RAM/Swap > than you, which is why his memory usage could exhibit more severe problems > than yours. Personally I am running with 1GB of RAM plus twice that much > swap, so I didn't have the serious problems that Ali is reporting either. The FreeBSD scheduler obligingly starts killing processes (largest RSS first) in such chases. > Another thing to take into consideration is that he is using APAN. I > haven't tried it myself, but I think I read that it uses it's own > uber-plugin to do everything. Could it be possible that it isn't ePN safe? Many people say that it is far too easy to write unsafe unreliable Perl for applications that embed Perl interpreters (mod_perl and friends). Apparently, the state of the art for mod_perl is to have mod_perl enabled apache on another port to your static page apache so that the mod_perl beast can be restarted periodically. Actually, apart from being sure that the plugins run and work Ok, I am not sure how to be confident that they are working correctly. > I suppose I'm overdue for an upgrade. I'll compile the latest version > of Nagios/Plugins with ePN/cache enabled sometime today, and see if I still > have the same issues. Unfortunately, that may not help too much. You probably want to go to the 1.x series for the usual reasons, but the ePN stuff has been largely unchanged apart from . peripheral changes for threaded Perls - this may only be in the CVS . changes to do with quoted args to plugins (and this may have been in your version). > > Chet Luther > chet at rcn.com > > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Aug 15 16:28:05 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 15 Aug 2003 09:28:05 -0500 Subject: Own check_commands doesn't works Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EAA9@mismail.ena.com> You likely have multiple copies of nagios running. Stop them all, verify that they're all stopped and restart the service. -- Marc > -----Original Message----- > From: Hegedus, Ervin [mailto:airween at amit.hu] > Sent: Friday, August 15, 2003 8:20 AM > To: nagios-users at lists.sourceforge.net > > Hello Guys, > > i have a FreeBSD-4.8 machine, i would like to monitoring with > Nagios. Most commands works correctly - what nagios_plugins > package contains. > i try to use that commands trough check_nrpe. > > some features missing for me, example: i can't monitoring the > kern.openfiles. > so, i write a shell-script, what do it. > > i configured my Nagios and remote host (FreeBSD), but there are a > very interesting problem: > - sometimes the new service coms up, but > - sometimes doesn't. at these times i pressing CTRL+R (reload) in > my browser, and after 5-6 reload the new service comes again. > > when i want to see the service's extinfo, i get the message: > "Error: Service status not found!" > > Also pressing 5-6 times CTRL+R, and voila: there is the service > state information about this service... > > what may the problem? > > please help me! > > > thanks: > airween > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfl at webcom.dk Fri Aug 15 16:41:35 2003 From: jfl at webcom.dk (Jacob Friis Larsen) Date: Fri, 15 Aug 2003 16:41:35 +0200 Subject: check_mailq = Use of uninitialized value in concatenation Message-ID: <3F3CF11F.8030806@webcom.dk> When I run "check_mailq -w 50 -c 100" I get this: Use of uninitialized value in concatenation (.) or string at ./check_mailq line 110. Use of uninitialized value in concatenation (.) or string at ./check_mailq line 110. | mailq = Use of uninitialized value in exit at ./check_mailq line 111. Any help would be great. Please reply to my E-Mail address. Regards, Jacob ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.G.Martin at mail.sprint.com Fri Aug 15 16:53:04 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [GMG]) Date: Fri, 15 Aug 2003 09:53:04 -0500 Subject: NagMIN Update Message-ID: <516DA7BE5D87C8469D89F150CA0B4911020858F3@PDAWB02C.ad.sprint.com> Don't know if this is a problem or something I'm seeing incorrectly, but when I go to add a new Service Dependency, the choices for Execution Criteria Failure and Notification Criteria Failure don't seem to be correct based on the Nagios documentation. The choices given are: Up Down Unreachable Critical None The choices are the same for both. >From the Nagios documentation they should be: OK Warning Unknown Critical None define servicedependency{ dependent_host_name host_name dependent_service_description service_description host_name host_name service_description service_description execution_failure_criteria [o,w,u,c,n] notification_failure_criteria [o,w,u,c,n] } Stanley G. Martin System Administrator Sprint - EIS3 Customer Care Stanley.G.Martin at mail.sprint.com -----Original Message----- From: FReimers [mailto:FReimers at infosysinc.com] Sent: Wednesday, April 02, 2003 10:44 AM To: nagios-users Subject: [Nagios-users] NagMIN Update All, I want to thank those of you who have tried NagMIN so far. I've gotten a lot of good feedback and have added many of the features requested. I'm going to release NagMIN 1.0.6 this evening that will be the most stable beta so far. It includes global field updating so that host_name, contact_name and other key fields included in parents, members, etc., gets changed or deleted everywhere and support for hostgroup escalations. NagMIN can learn your network now and do port scans of your hosts and dynamically create your services, amongst other things. Personally, I really like being able to verify a configuration before activating it. There isn't a lot (or any) real documentation yet. I'm shooting for two weeks to have the first stable release and then perform proper release management from that point. I am creating updatennn.sql files for updating the schema for existing databases. Make sure that you run all of the from the point that you first installed it. The biggest problem I've encountered for release control so far was that I initially set some of the field lengths too short. I've made a lot of changes to the database schema and I think 1.0.6 is pretty stable. The port scanning was a bit slow but I sped my own server up dramatically by installing NMAP 3.20 (and rebooting it!!). I have release notes on SourceForge. If you don't know how to find it, you click on the release name on the download page. I'm going to be monitoring SourceForge for bug tracker, feature requests, etc.. There's nothing there now and I'm looking for your input. Check http://nagmin.sourceforge.net for the latest information. ------------------------------------------------- Fred Reimers (CCIE #1469, CCSA) Senior Network Consultant Info Systems, Inc. freimers at infosysinc.com ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Aug 15 17:29:09 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 15 Aug 2003 10:29:09 -0500 Subject: Solved: No joy in NagMIN-land - empty System table In-Reply-To: <000201c362c7$f872c170$0400a8c0@squarebox.com> References: <16187.63773.639197.304673@montanaro.dyndns.org> <000201c362c7$f872c170$0400a8c0@squarebox.com> Message-ID: <16188.64581.277432.856968@montanaro.dyndns.org> Skip> I've got stuff loaded into NagMIN. Unfortunately, nothing seems Skip> to happen when I try to Activate my current configuration. After Skip> a big of debugging I traced it down to the fact that the System Skip> table in the nagios database contains no rows. I can't find Skip> anything in the nagmin runtime or setup code which populates that Skip> database. Skip> I can probably make a reasonable stab at the contents of that Skip> table (I think it should only have a single row). Still, I think Skip> I'm missing something. Tom> I hope you get an answer to this as I have encountered the exact Tom> same problems about 2 months ago and was unable to rectify the Tom> problem. Tom> If possible, can you let me know how you resolve this issue. It may Tom> well be worth a faq, as you previously stated not many answers Tom> coming from NagMIN land It took awhile but I figured it out. There is a System table listed in the Object Tables column for the system database (nagios by default). Poke that link and then poke "Add row". All you need to define is the name, whether or not it's the local host, and an ip address. Once that's added, you should be able to Activate your defined setup. I submitted a bug report on SF with a patch to nagios_write.cgi which aborts an attempt at activation if the System table is empty: http://sourceforge.net/tracker/index.php?func=detail&aid=789296&group_id=77010&atid=548906 -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Fri Aug 15 18:04:03 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Fri, 15 Aug 2003 17:04:03 +0100 Subject: Own check_commands doesn't works Message-ID: <1012BD903945D411915500105A48FF5701C7355E@nt.man.fwltech.com> I don't think that new services always appear immediately in the webpage, they only appear once the first test has been done on the host? This could mean a minute or 2 delay before it appears. Ewan > -----Original Message----- > From: Hegedus, Ervin [mailto:airween at amit.hu] > Sent: 15 August 2003 14:20 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Own check_commands doesn't works > > > Hello Guys, > > i have a FreeBSD-4.8 machine, i would like to monitoring with > Nagios. Most commands works correctly - what nagios_plugins > package contains. > i try to use that commands trough check_nrpe. > > some features missing for me, example: i can't monitoring the > kern.openfiles. > so, i write a shell-script, what do it. > > i configured my Nagios and remote host (FreeBSD), but there are a > very interesting problem: > - sometimes the new service coms up, but > - sometimes doesn't. at these times i pressing CTRL+R (reload) in > my browser, and after 5-6 reload the new service comes again. > > when i want to see the service's extinfo, i get the message: > "Error: Service status not found!" > > Also pressing 5-6 times CTRL+R, and voila: there is the service > state information about this service... > > what may the problem? > > please help me! > > > thanks: > airween > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ejl at man.fwltech.com Fri Aug 15 18:12:45 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Fri, 15 Aug 2003 17:12:45 +0100 Subject: Urgent: nagios + apan memory chewing up Message-ID: <1012BD903945D411915500105A48FF5701C7355F@nt.man.fwltech.com> Apan doesn't use perl, it's purely bash scripts. Noone's developed it in about 6 months anyway, looks like it has died at death. Ewan > -----Original Message----- > From: Chet Luther [mailto:chet at rcn.com] > Sent: 15 August 2003 14:27 > To: Stanley Hopcroft; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Urgent: nagios + apan memory chewing up > > > Stanley, > I am still running netsaint-plugins-1.2.9-4 under > nagios-1.0b6. My > analysis wasn't in depth. I just noticed that my Nagios > process would grow > to upwards of 200mb after a couple of weeks. When I disabled > the perl cache > and embedded perl support, I no longer had the problem. > I once had the same problem with a mod_perl enabled Apache, and it > turned out that I had just been putting too much stuff in the global > namespace. As far as I'm aware, mod_perl uses the same "put > each script in > its own package" approach. > I would guess (usually meaning I'm wrong) that Ali has > less RAM/Swap > than you, which is why his memory usage could exhibit more > severe problems > than yours. Personally I am running with 1GB of RAM plus > twice that much > swap, so I didn't have the serious problems that Ali is > reporting either. > Another thing to take into consideration is that he is > using APAN. I > haven't tried it myself, but I think I read that it uses it's own > uber-plugin to do everything. Could it be possible that it > isn't ePN safe? > I suppose I'm overdue for an upgrade. I'll compile the > latest version > of Nagios/Plugins with ePN/cache enabled sometime today, and > see if I still > have the same issues. > > Chet Luther > chet at rcn.com > > > Dear Sir, > > > > I am writing to thank you for your letter and say, > > > > > From: "Chet Luther" > > > To: , > > > > > > Cc: > > > Subject: Re: [Nagios-users] Urgent: nagios + apan memory > chewing up > > > Date: Thu, 14 Aug 2003 11:00:13 -0400 > > > > > > Ali, > > > Recompile Nagios without embedded perl or perl > caching support. I > had > > > this same problem, and it was due to global namespace > pollution in the > > > embedded perl cache. > > > > would you mind providing some more detail about the > analysis that lead > > to this conclusion ? > > > > This Nag ($this->nagios) is monitoring more services with > less hardware > > (Dell 350/256 MB, 200 hosts, 340 active services) using ePN > and doesn't > > show the problem reported by Ali. However, Ali's host could have a > > greater load. > > > > (The only problem I think may be ePN related is a Nag > process hogs the > > CPU and needs to be HUP'd, once each 2-4 weeks. The ePN memory leaks > > are _much_ less dramatic: Nag gets restarted each fortnight > or so when > > the resident size above 60 MB or so) > > > > In this case, I am using a lot of local Perl plugins (hemi mod_perl > > safe) and some of the old 1.2.9 series (with some local mods). > > > > The ePN support puts each plugin in it's own Perl package > and then calls > > it as a subroutine in that package; it seems unlikely therefore that > > other variables are being trampled (impossible if the plugins use > > lexicals - carefully because of the closure issues). > > > > > The real solution to this problem would be rewriting > > > all the perl plugins/extensions in a mod_perl safe way, > but I don't see > any > > > initiative to get that done. > > > > > > > IIRC, Subhendu dealt with the ePN safety issues in the > 1.3.x release (ie > > sometime ago). > > > > If there are more than 5 plugins that aren't mod_perl safe > would you let > > me know ? > > > > Otherwise, would you write the list with the names of the > malefactors ? > > > > > Hope this helps, > > > > > > Chet Luther > > > chet at rcn.com > > > > Yours sincerely. > > > > -- > > > -------------------------------------------------------------- > ---------- > > Stanley Hopcroft > > > -------------------------------------------------------------- > ---------- > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sghosh at sghosh.org Fri Aug 15 19:02:37 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 15 Aug 2003 13:02:37 -0400 (EDT) Subject: check_bgpstate.pl In-Reply-To: <1060856301.899.3.camel@tower.teleportsv.net> References: <1060856301.899.3.camel@tower.teleportsv.net> Message-ID: What is the command definition? On 14 Aug 2003, Zatkhey Aleksey wrote: > Hello i'm have a problem with nagios on check_bgpstate.pl. > > Service State Information > Current Status: UNKNOWN > Status Information:(No output returned from plugin) > > Command line: > theta# /usr/local/libexec/nagios/check_bgpstate.pl x.x.x.x -c aaaaa > OK: host 'x.x.x.x', sessions up: 10, down: 0, shutdown: 1 > -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jduraisw at smtp.aed.org Fri Aug 15 18:09:16 2003 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Fri, 15 Aug 2003 12:09:16 -0400 Subject: Notification Message-ID: Hello everyone, Our nagios is configured pretty much to check anything in our network, the problem what I run into is when the mail server goes down we don't get any notifications. How do I work around this to send notification to send outside our network. Thanks John Duraiswamy, CCNP Network Engineer Academy for Educational Development Tel. 202-884-8116 Cell. 202-439-5064 Fax. 202-884-8464 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leoh at dcc.ufmg.br Fri Aug 15 19:46:12 2003 From: leoh at dcc.ufmg.br (Leonardo H. Machado) Date: Fri, 15 Aug 2003 14:46:12 -0300 (BRT) Subject: Hollidays Message-ID: Sirs, Is it possible to tell nagios which days of the year no checks should be made? For example, a holliday that just a specific country has and so on. It could be done in a config file or so... //leoh main(){int j=1234;char t[]=":@abcdefghijklmnopqrstuvwxyz.\n" ,*i = "iqgbgxmlvivuc\n:wwnfwsdoi"; char *strchr(char *,int); while(*i){j+=strchr(t,*i++)-t;j%=sizeof t-1;putchar(t[j]);}} ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jduraisw at smtp.aed.org Fri Aug 15 19:33:10 2003 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Fri, 15 Aug 2003 13:33:10 -0400 Subject: Notification Message-ID: Hello everyone, Our nagios is configured pretty much to check anything in our network, the problem what I run into is when the mail server goes down we don't get any notifications. How do I work around this to send notification to send outside our network. Thanks John Duraiswamy, CCNP Network Engineer Academy for Educational Development Tel. 202-884-8116 Cell. 202-439-5064 Fax. 202-884-8464 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Fri Aug 15 20:04:13 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Fri, 15 Aug 2003 13:04:13 -0500 Subject: Hollidays Message-ID: Lets see if I have this straight. So on holidays you don't care if your servers or services crash and burn? Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Leonardo H. Machado [mailto:leoh at dcc.ufmg.br] Sent: Friday, August 15, 2003 12:46 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Hollidays Sirs, Is it possible to tell nagios which days of the year no checks should be made? For example, a holliday that just a specific country has and so on. It could be done in a config file or so... //leoh main(){int j=1234;char t[]=":@abcdefghijklmnopqrstuvwxyz.\n" ,*i = "iqgbgxmlvivuc\n:wwnfwsdoi"; char *strchr(char *,int); while(*i){j+=strchr(t,*i++)-t;j%=sizeof t-1;putchar(t[j]);}} ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Aug 15 20:36:17 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 15 Aug 2003 13:36:17 -0500 Subject: Own check_commands doesn't works Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EABA@mismail.ena.com> Actually, they'll be displayed on the web pages immediately after adding them. They'll just be in a pending state until Nagios is reloaded and the first check is done. -- Marc > -----Original Message----- > From: Ewan Leith [mailto:ejl at man.fwltech.com] > Sent: Friday, August 15, 2003 11:04 AM > To: 'Hegedus, Ervin'; nagios-users at lists.sourceforge.net > > I don't think that new services always appear immediately in the webpage, > they only appear once the first test has been done on the host? > > This could mean a minute or 2 delay before it appears. > > Ewan > > > -----Original Message----- > > From: Hegedus, Ervin [mailto:airween at amit.hu] > > Sent: 15 August 2003 14:20 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Own check_commands doesn't works > > > > > > Hello Guys, > > > > i have a FreeBSD-4.8 machine, i would like to monitoring with > > Nagios. Most commands works correctly - what nagios_plugins > > package contains. > > i try to use that commands trough check_nrpe. > > > > some features missing for me, example: i can't monitoring the > > kern.openfiles. > > so, i write a shell-script, what do it. > > > > i configured my Nagios and remote host (FreeBSD), but there are a > > very interesting problem: > > - sometimes the new service coms up, but > > - sometimes doesn't. at these times i pressing CTRL+R (reload) in > > my browser, and after 5-6 reload the new service comes again. > > > > when i want to see the service's extinfo, i get the message: > > "Error: Service status not found!" > > > > Also pressing 5-6 times CTRL+R, and voila: there is the service > > state information about this service... > > > > what may the problem? > > > > please help me! > > > > > > thanks: > > airween > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > _072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Fri Aug 15 20:30:43 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Fri, 15 Aug 2003 11:30:43 -0700 Subject: Feature request Message-ID: Hello there, I have tried convincing people hard that this feature is "way too cool" to be considered even in an extremely feature-rich Nagios, but still: We send out notifications to pagers. Is there a way to ack problems via pagers? If yes, show me the way. If no, any plans? Dont shoot the messenger! I represent a relatively demanding group of engineers. thanks ====================== Anurag Gupta agupta at yahoo-inc.com ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Fri Aug 15 21:03:24 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Fri, 15 Aug 2003 12:03:24 -0700 Subject: hostescalation - config problem Message-ID: I am running into problems when I try to define 2 hostescalations definitions fo the same hostgroup. When I remove one of the 2 hostescalation definitions, it runs fine. Any clues what has changed between Nagios 1.3 and 2.0 in this regard. I understand hostgroupescalation has been removed in 2.0. Is this a bug or am I missing something? thanks -anurag When I run nagios to check my config: ================ Reading configuration data... Error: Could not allocate memory for hostescalation list to add host 'fs0.qa.geo.scd.yahoo.com' escalation Error: Could not register host escalation (config file '/home/y/conf/nagios/include/alpha.hosts.cfg', line 23) ================ Contents of alpha.hosts.cfg: ================ define host { use generic-host register 0 name alpha-host } define host { use alpha-host host_name fs0.qa.geo.scd.yahoo.com alias fs0.qa.geo.scd.yahoo.com address 66.218.77.98 contact_groups alpha-primary event_handler handle-host-event event_handler_enabled 1 } define hostgroup { hostgroup_name alpha-hosts alias alpha-hosts members fs0.qa.geo.scd.yahoo.com } define hostescalation { hostgroup_name alpha-hosts contact_groups alpha-secondary first_notification 2 last_notification 0 notification_interval 120 } define hostescalation { hostgroup_name alpha-hosts contact_groups alpha-everyone first_notification 3 last_notification 0 notification_interval 0 } ================ +++++++++++++ Anurag Gupta agupta at yahoo-inc.com 408.349.5166 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jduraisw at smtp.aed.org Fri Aug 15 21:12:30 2003 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Fri, 15 Aug 2003 15:12:30 -0400 Subject: Notification Message-ID: May be I did'nt explain it right. What I want to do is, only if the mail server goes down to redirect the notification somewhere else. thanks -john >>> "Marc Powell" 08/15/03 02:33PM >>> http://www.nagios.org/faqs/index.php?section_id=7&expand=false&showdesc= true -- Marc > -----Original Message----- > From: John Duraiswamy [mailto:jduraisw at smtp.aed.org] > Sent: Friday, August 15, 2003 12:33 PM > To: nagios-users at lists.sourceforge.net > > Hello everyone, > > Our nagios is configured pretty much to check anything in our network, the > problem what I run into is when the mail server goes down we don't get any > notifications. How do I work around this to send notification to send > outside our network. > > Thanks > > John Duraiswamy, CCNP > Network Engineer > Academy for Educational Development > Tel. 202-884-8116 Cell. 202-439-5064 > Fax. 202-884-8464 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rich.West at wesmo.com Fri Aug 15 21:15:05 2003 From: Rich.West at wesmo.com (Rich West) Date: Fri, 15 Aug 2003 15:15:05 -0400 Subject: check_ntp In-Reply-To: <3F3D2FE9.8080303@wesmo.com> References: <3F3D2FE9.8080303@wesmo.com> Message-ID: <3F3D3139.5010106@wesmo.com> nevermind.. turned out to be a problem with the check_ntp script.. I didn't realize it was a perl script. I had to update line 65 to point to the plugins directory for it to get the utils.pm perl module. After that, it worked like expected. :) -Rich Rich West wrote: > This might be obvious to some, but the reason/solution escapes me. > > I'm running check_ntp against two hosts, and, although (as the nagios > user) I can run it successfully from the command line: > ./check_ntp -H localhost > NTP OK: Offset 0.000001 secs, jitter 3.797 msec, peer is stratum 1 > > Nagios itself is complaining that it is getting "No output!". > > Thinking that it would be with the way I have it configured in the > nagios config files, I checked them and they _look_ ok: > In checkcommands.cfg: > define command{ > command_name checkntp > command_line /usr/lib/nagios/plugins/check_ntp -H $HOSTADDRESS$ > } > > In services.cfg: > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name myhost > service_description NTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command checkntp > } > > Not that NTP is a critical process (I haven't gotten to the point of > fine tuning the config), but I cannot even get nagios to monitor it. > Now, Nagios is happily monitoring a bunch of other services, though... > > Any ideas as to where to start to debug this? I would be great to see > what command it is acutally executing as it might help in the debugging.. > > -Rich > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Aug 15 20:33:07 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 15 Aug 2003 13:33:07 -0500 Subject: Notification Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EAB9@mismail.ena.com> http://www.nagios.org/faqs/index.php?section_id=7&expand=false&showdesc= true -- Marc > -----Original Message----- > From: John Duraiswamy [mailto:jduraisw at smtp.aed.org] > Sent: Friday, August 15, 2003 12:33 PM > To: nagios-users at lists.sourceforge.net > > Hello everyone, > > Our nagios is configured pretty much to check anything in our network, the > problem what I run into is when the mail server goes down we don't get any > notifications. How do I work around this to send notification to send > outside our network. > > Thanks > > John Duraiswamy, CCNP > Network Engineer > Academy for Educational Development > Tel. 202-884-8116 Cell. 202-439-5064 > Fax. 202-884-8464 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rich.West at wesmo.com Fri Aug 15 21:09:29 2003 From: Rich.West at wesmo.com (Rich West) Date: Fri, 15 Aug 2003 15:09:29 -0400 Subject: check_ntp Message-ID: <3F3D2FE9.8080303@wesmo.com> This might be obvious to some, but the reason/solution escapes me. I'm running check_ntp against two hosts, and, although (as the nagios user) I can run it successfully from the command line: ./check_ntp -H localhost NTP OK: Offset 0.000001 secs, jitter 3.797 msec, peer is stratum 1 Nagios itself is complaining that it is getting "No output!". Thinking that it would be with the way I have it configured in the nagios config files, I checked them and they _look_ ok: In checkcommands.cfg: define command{ command_name checkntp command_line /usr/lib/nagios/plugins/check_ntp -H $HOSTADDRESS$ } In services.cfg: # Service definition define service{ use generic-service ; Name of service template to use host_name myhost service_description NTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command checkntp } Not that NTP is a critical process (I haven't gotten to the point of fine tuning the config), but I cannot even get nagios to monitor it. Now, Nagios is happily monitoring a bunch of other services, though... Any ideas as to where to start to debug this? I would be great to see what command it is acutally executing as it might help in the debugging.. -Rich ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webid at cfl.rr.com Fri Aug 15 21:49:47 2003 From: webid at cfl.rr.com (Scot L. Harris) Date: Fri, 15 Aug 2003 15:49:47 -0400 Subject: Notification In-Reply-To: References: Message-ID: <1060976987.5441.26.camel@lathe> Sounds like you need to have an alternate email server configured and have the appropriate MX record setup in DNS. If the first server is down the message will be routed to the secondary server. On Fri, 2003-08-15 at 15:12, John Duraiswamy wrote: > May be I did'nt explain it right. What I want to do is, only if the mail server goes down to redirect the notification somewhere else. > > thanks > -john > > >>> "Marc Powell" 08/15/03 02:33PM >>> > http://www.nagios.org/faqs/index.php?section_id=7&expand=false&showdesc= > true > > -- > Marc > > > -----Original Message----- > > From: John Duraiswamy [mailto:jduraisw at smtp.aed.org] > > Sent: Friday, August 15, 2003 12:33 PM > > To: nagios-users at lists.sourceforge.net > > > > Hello everyone, > > > > Our nagios is configured pretty much to check anything in our network, > the > > problem what I run into is when the mail server goes down we don't get > any > > notifications. How do I work around this to send notification to send > > outside our network. > > > > Thanks > > > > John Duraiswamy, CCNP > > Network Engineer > > Academy for Educational Development > > Tel. 202-884-8116 Cell. 202-439-5064 > > Fax. 202-884-8464 > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan at longlines.com Fri Aug 15 22:28:48 2003 From: ryan at longlines.com (Ryan Gray) Date: Fri, 15 Aug 2003 15:28:48 -0500 Subject: Problem with check_ping Message-ID: <200308151528.59254.ryan@longlines.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I searched the archives and have only found one post about this, and that was the same question I have. Configuring nagios on a Slack 8.1 box. I get the following in the status information field for various hosts: "check_ping: %s: Warning threshold must be integer or percentage!" Strange thing is is that this will pop up on hosts that were up when I brought nagios online. And it is not always the same hosts that this occurs on, although there are certain hosts that seem to either never have the problem, or seem to always have the problem. I've done some monkey-ing around with the check_ping in the checkcommands.cfg and with the command line for it in services.cfg. Has anyone encountered similar "issues". Thanks. Regards, Ryan Gray -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/PUKAd5mI1CHWpvcRArgQAJ0Tw/t2qMPPdxKAZLL9ht2+tBZAFQCaA9Vy 3oI+dXBJDHKmT7y++8zyhfY= =TIIb -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Fri Aug 15 22:39:30 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Fri, 15 Aug 2003 15:39:30 -0500 Subject: Notification Message-ID: How about: - build out another mail server - in DNS, define it as a lower priority MX record than the first mail server, eg, if the first mail server had a priority of 5, set this one to 10 - let the MX resolver and MTA figure out the rest Alternatively, you could set up a service to montor port 25 of your mail server (check_smtp) and define an event handler to run some predefined script, like send something to Jabber, for example. Yet another possibility is to set up a 2nd Nagios server which strictly monitors your mail server's SMTP port, but has its own MTA configured to point to another mail server (assuming you have this luxury), or to run a script which pumps something into Jabber, or MSN, or Qpage, etc. Food for thought. jc > -----Original Message----- > From: John Duraiswamy [mailto:jduraisw at smtp.aed.org] > Sent: Friday, August 15, 2003 2:13 PM > To: mpowell at ena.com; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Notification > > > May be I did'nt explain it right. What I want to do is, only > if the mail server goes down to redirect the notification > somewhere else. > > thanks > -john > > >>> "Marc Powell" 08/15/03 02:33PM >>> > http://www.nagios.org/faqs/index.php?section_id=7&expand=false > &showdesc= > true > > -- > Marc > > > -----Original Message----- > > From: John Duraiswamy [mailto:jduraisw at smtp.aed.org] > > Sent: Friday, August 15, 2003 12:33 PM > > To: nagios-users at lists.sourceforge.net > > > > Hello everyone, > > > > Our nagios is configured pretty much to check anything in > our network, > the > > problem what I run into is when the mail server goes down > we don't get > any > > notifications. How do I work around this to send > notification to send > > outside our network. > > > > Thanks > > > > John Duraiswamy, CCNP > > Network Engineer > > Academy for Educational Development > > Tel. 202-884-8116 Cell. 202-439-5064 > > Fax. 202-884-8464 > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet _072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiago at ntime.com.br Fri Aug 15 22:15:19 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Fri, 15 Aug 2003 17:15:19 -0300 Subject: Feature request In-Reply-To: References: Message-ID: <20030815171519.18893a24.thiago@ntime.com.br> On Fri, 15 Aug 2003 11:30:43 -0700 "Anurag Gupta" wrote: > We send out notifications to pagers. Is there a way to ack problems > via pagers? If yes, show me the way. If no, any plans? First you must have a 2-way pager. Then, your carrier must assign an ID to the nagios server. And lastly, your carrier must post the message to the server whose ID match the one in the reply. At least that's how it works with SMS messages. But here in Brazil the carriers don't go around assigning short numbers (that's how the ID is called) to client's servers (except, of course, you are willing to pay an expensive fee). Maybe in other countries that service is available and affordable. Just my 2 cents. Regards, -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jduraisw at smtp.aed.org Fri Aug 15 22:45:55 2003 From: jduraisw at smtp.aed.org (John Duraiswamy) Date: Fri, 15 Aug 2003 16:45:55 -0400 Subject: Notification Message-ID: Thanks Scott, Cal, and Jim, My game plan is to setup nagios on another box to only monitor smtp and email it to our phones. Thanks for all your help cheers -john >>> "Scot L. Harris" 08/15/03 03:49PM >>> Sounds like you need to have an alternate email server configured and have the appropriate MX record setup in DNS. If the first server is down the message will be routed to the secondary server. On Fri, 2003-08-15 at 15:12, John Duraiswamy wrote: > May be I did'nt explain it right. What I want to do is, only if the mail server goes down to redirect the notification somewhere else. > > thanks > -john > > >>> "Marc Powell" 08/15/03 02:33PM >>> > http://www.nagios.org/faqs/index.php?section_id=7&expand=false&showdesc= > true > > -- > Marc > > > -----Original Message----- > > From: John Duraiswamy [mailto:jduraisw at smtp.aed.org] > > Sent: Friday, August 15, 2003 12:33 PM > > To: nagios-users at lists.sourceforge.net > > > > Hello everyone, > > > > Our nagios is configured pretty much to check anything in our network, > the > > problem what I run into is when the mail server goes down we don't get > any > > notifications. How do I work around this to send notification to send > > outside our network. > > > > Thanks > > > > John Duraiswamy, CCNP > > Network Engineer > > Academy for Educational Development > > Tel. 202-884-8116 Cell. 202-439-5064 > > Fax. 202-884-8464 > > > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Aug 15 23:10:36 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 15 Aug 2003 16:10:36 -0500 Subject: Big red "P"? Message-ID: <16189.19532.334181.917179@montanaro.dyndns.org> Looking at the service detail page I see a big red "P" next to the HTTP service for one of my machines. What does that mean? I should note that I'm experimenting with a Python script to temporarily enable and disable checks on machines. When I ask it to disable checks (cmd_type 16), it gets the big red "X" I expect, but it also picks up the big red "P". When I reenable checks (cmd_type 15), both disappear. Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Aug 15 23:53:55 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Sat, 16 Aug 2003 09:53:55 +1200 Subject: Feature request In-Reply-To: References: Message-ID: <200308152146.h7FLkv929176@spectre.freeparking.co.nz> Hi There, Paging systems mostly are unidirectional. So you have a layer1/2 limitation that prevents your feature request. As an alternative, how about using the WAP interface of the Nagios system, and treat cellphones like a pager. Your demanding group of engineers should have known this. hth jamie On Sat, 16 Aug 2003 06:30, you wrote: > Hello there, > > I have tried convincing people hard that this feature is "way too cool" to > be considered even in an extremely feature-rich Nagios, but still: > > We send out notifications to pagers. Is there a way to ack problems via > pagers? If yes, show me the way. If no, any plans? > > Dont shoot the messenger! I represent a relatively demanding group of > engineers. > > thanks > ====================== > Anurag Gupta > agupta at yahoo-inc.com > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Sat Aug 16 00:28:52 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 15 Aug 2003 19:28:52 -0300 Subject: RES: Big red "P"? Message-ID: The P means Passive Check?s, this is, the service is no longer on active check. So it appear?s your script is working. Thx Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Skip Montanaro [SMTP:skip at pobox.com] > Enviada em: sexta-feira, 15 de agosto de 2003 18:11 > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] Big red "P"? > > > Looking at the service detail page I see a big red "P" next to the HTTP > service for one of my machines. What does that mean? > > I should note that I'm experimenting with a Python script to temporarily > enable and disable checks on machines. When I ask it to disable checks > (cmd_type 16), it gets the big red "X" I expect, but it also picks up the > big red "P". When I reenable checks (cmd_type 15), both disappear. > > Thx, > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/0 > 1 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Fri Aug 15 23:52:29 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Fri, 15 Aug 2003 14:52:29 -0700 Subject: Big red "P"? In-Reply-To: <16189.19532.334181.917179@montanaro.dyndns.org> References: <16189.19532.334181.917179@montanaro.dyndns.org> Message-ID: If you mouse-over the P, it will say "Active checks of the service have been disabled - only passive checks are being accepted" and thats what it means. thanks -anurag -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Skip Montanaro Sent: Friday, August 15, 2003 2:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Big red "P"? Looking at the service detail page I see a big red "P" next to the HTTP service for one of my machines. What does that mean? I should note that I'm experimenting with a Python script to temporarily enable and disable checks on machines. When I ask it to disable checks (cmd_type 16), it gets the big red "X" I expect, but it also picks up the big red "P". When I reenable checks (cmd_type 15), both disappear. Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_huettner at hotmail.com Sat Aug 16 00:38:47 2003 From: j_huettner at hotmail.com (Johnathan Huettner) Date: Fri, 15 Aug 2003 15:38:47 -0700 Subject: Any way to monitor processes via rsh? Message-ID: Greetings, does anyone know if it's possible to monitor a UNIX process via rsh from Nagios? My company has a legacy Data General machine running DG/UX. Obviously I'd prefer to use NRPE but this machine is very old and plays a critical role for our company. I know rsh isn't secure, but trying to compile or run other processes on this box is too risky for us or our customers. Compiling something is not in the picture. What I'm looking to do is monitor a process in which the PID may change. I simply want to run something like rsh -l nagios system_name "ps -ef | grep process_name" on my Nagios server and have it alert me if the process fails. Is there a way to accomplish this? _________________________________________________________________ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. http://join.msn.com/?page=features/virus ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rich.West at wesmo.com Fri Aug 15 19:13:23 2003 From: Rich.West at wesmo.com (Rich West) Date: Fri, 15 Aug 2003 13:13:23 -0400 Subject: Nagios Logos In-Reply-To: <3F3D09F1.8030308@wesmo.com> References: <3F3D09F1.8030308@wesmo.com> Message-ID: <3F3D14B3.2060603@wesmo.com> Bahhhh! I just went back and checked the xedtemplate_config_file variable, and saw that it _looked_ correct. So, thinking I did something stuipid, I copied and pasted "xedtemplate_config_file" into the cgi.cfg file to make sure I spelled it right (which I did), then I checked to see if the hostextinfo.cfg file existed at the location I had specified (/etc/hostextinfo.cfg). Nope.. it was at /etc/nagios/hostextinfo.cfg. Duh! Now I feel dumb. Once I fixed that, it all worked. I don't know why the extended host information did not work when specified in-line in the cgi.cfg file since the comments within the cgi.cfg file showed ways to do the proper definitions in-line as opposed to a seperate file, but, alas, I am beyond caring since it does work now. :) Thanks for all of the help! And, as expected, it was something simple! I was defining the hostextinfo within the cgi.cfg file instead of in a seperate file, and when I did do it in the seperate file, I had the path to that file wrong. :) -Rich > Tielman De Villiers wrote: > >Rich, > >I've compiled it with postgres support, so my cgi.conf is a bit different, >but by adding: >xedtemplate_config_file=[path_to_nagios]/etc/hostextinfo.cfg >it showed the logos ... > > > > Rich West wrote: > Yup.. All graphics are there, even optional ones I downloaded from the > site, and they are in: > /usr/share/nagios/images/logos > > I did define the hostextinfo.cfg file, and I did put the definition > in. It is almost as if it is completely ignoring it... :( > > Is there any way to tell what options nagios is running with (to > confirm just how it was compiled)? Is there an easy way, without > recompiling, to turn on/off debugging? Also, would there be any place > to find more detailed logs? > > -Rich > > > >> Antone, Nick wrote: >> >> I almost hate to ask, but did you put the graphic files on the >> system? I tripped on that too. >> Then, does your (nagios dir)/etc/hostextinfo.cfg file contain entries >> such as: >> >> define hostextinfo{ >> host_name printer1,printer2 >> icon_image hp-printer40.jpg >> statusmap_image hp-printer40.gd2 >> } >> >> >> >> >> >> -Nick >> > > > Tielman De Villiers wrote: > >> Try: >> >> xedtemplate_config_file=[path_to_nagios]/etc/hostextinfo.cfg >> >> in cgi.cfg >> >> >> >> >>> -----Original Message----- >>> From: Rich West [mailto:Rich.West at wesmo.com] >>> Sent: 14 August 2003 19:03 >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] Nagios Logos >>> >>> >>> I've seen a BUNCH of messages regarding this on the list, but I have >>> yet to be able to get it to work... >>> >>> I have nagios installed and happily monitoring machines, but I have >>> been unable to get the logos to show up properly in any of the >>> status maps. >>> >>> I built Nagios via: >>> ./configure --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu >>> --target=i386-redhat-linux --program-prefix= --prefix=/usr >>> --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin >>> --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include >>> --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var >>> --sharedstatedir=/usr/com --mandir=/usr/share/man >>> --infodir=/usr/share/info --datadir=/usr/share/nagios >>> --libexecdir=/usr/lib/nagios/plugins --localstatedir=/var/log/nagios >>> --sbindir=/usr/lib/nagios/cgi --sysconfdir=/etc/nagios >>> --with-cgiurl=/nagios/cgi-bin --with-command-user=apache >>> --with-command-grp=apache --with-file-perfdata >>> --with-gd-lib=/usr/lib --with-gd-inc=/usr/include >>> --with-init-dir=/etc/rc.d/init.d --with-htmurl=/nagios >>> --with-lockfile=/var/run/nagios.pid --with-nagios-user=nagios >>> --with-nagios-grp=nagios --with-template-objects >>> --with-template-extinfo >>> >>> I've tried following the info in the cgi.cfg file : >>> hostextinfo[myhost]=/serverinfo/myhost.html;redhat.gif;redhat. >>> jpg;redhat.gd2;RedHat Linux Server;;; >>> >>> I've tried what I have seen on the list: >>> >>> define hostextinfo{ >>> name Switch >>> icon_image switch40.png >>> icon_image_alt switch40.gif >>> vrml_image switch40.png >>> statusmap_image switch40.gd2 >>> register 0 >>> } >>> >>> define hostextinfo{ >>> use Switch >>> host_name bay >>> } >>> >>> I've added the line to point to the hostextinfo file, and even put >>> garbage in that file.. It is as if it is being ignored. >>> >>> I am sure it is something simple.. perhaps someone can point out >>> what I missed? >>> >>> Thanks! >>> -Rich >>> >> > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul_bello2000 at zwallet.com Sat Aug 16 04:22:20 2003 From: paul_bello2000 at zwallet.com (VICTOR EGOBIA) Date: Sat, 16 Aug 2003 04:22:20 +0200 Subject: URGENT BUSINESS ASSISTANCE Message-ID: DEAR SIR, Naturally,this proposal will come to you as a surprise since we have not met, permit me however. I am mr.victor egobia, Director of Contract Award Committee with the Federal Ministry of Civil Aviation (FMCA). By the virture of our positions and the power bestowed on us by the government, we carefully and deliberately over invoiced the value of some contracts that we awarded to some foreign contractors to the tune of US$18,500,000.= (Eighteen million, Five hundred thousand US Dollars) between 2001 TO 2002. Now the contracts have been fully executed and commissione