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 commissioned and payment have also been made to all the contractors who have successfully executed their contracts, the over invoiced sum of (US$18,500,000.=) is w hat we want to transfer out of our country for our use. Unfortunately, as Civil Servants, we are not permitted by law to operate foreign accounts, this has constituted a major hindrance to our success in transferring this fund! out of our country and to this end, my colleagues have mandated me to look for a honest and trust worthy foreign partner who will assist us to provide a foreign account to receive the fund on our behalf for our mutual benefit. Here we are seeking your assistance. My colleagues and I have agreed that the owner of the account will be compensated with (25%) of the total sum, if you will stand as the beneficiary of the fund. 65%) for we the officials involved, while (5%) will be used to settle any expenses incurred by both parties in the course of this transaction. Note that we have worked out our homework very well in our country, this transaction is safe and guaranteed 100% risk free. To effectively and efficiently get this fund transferred into the account, you will nominate for us, you are required to send to us by email the following: 1. THE NAME AND ADDRESS OF YOUR BANK 2. NAME OF THE BENEFICIARY OF THE ACCOUNT NUMBER 3. YOUR PRIVATE PHONE AND FAX NUMBER TO REACH YOU AFTER BUSINESS HOURS. With the above information, we will immediately seek approval of the fund on your behalf from the relevant authorities, including the FEDERAL MINISTRY OF FINANCE(FMF) which will allocate you or your company foreign exchange cover US$18,500.000.= for the immediate release of this fund into your Account by the CENTRAL BANK OF NIGERIA (CBN). We will visit you immediately we conclude this transaction to collect and invest part of our share into any viable business you may advise in your country. We will also buy industrial goods for a resale here in Nigeria. Please ensure to treat this matter in strict privacy as we have to protect our job as Civil Servants. I await your urgent responce. Yours faithfull. mr.victor egobia. ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Aug 16 09:30:20 2003 From: alikhalidi at excite.com (ali) Date: Sat, 16 Aug 2003 03:30:20 -0400 (EDT) Subject: Urgent: nagios + apan memory chewing up Message-ID: <20030816073020.52BC83D23@xmxpita.excite.com> Thanks for the reply, and I realy appriciate your input.I have my nagios installed from an RPM, version 1.1I've read somewhere in the posts about this recommendation (compile without embedded per and perl cache), but after I've checed the RPM spec built file, it seems that the person who built the RPM has disabled these two options for RedHat 8 and 9. so I am running a version with these two options off (any other suggestions), but I might have mis-read the sepc file!.So you're telling me that nagios (v 1.1) has this core problem, even without Embeded Perl and Perl Cache, or is it this factor that you eleminated to get around the problem, please clearify the issue pertaining to the nagios plugings (especially check_snmp)?Has the disabling of these two options solved the problem completely in your case (because if so, I can drop the RPMS and go for source)?thanks,--- On Thu 08/14, Chet Luther < chet at rcn.com > wrote: From: Chet Luther [mailto: chet at rcn.com]To: alikhalidi at excite.com, nagios-users at lists.sourceforge.netCc: marcioqueiroz at vicom.com.brDate: Thu, 14 Aug 2003 11:00:13 -0400Subject: Re: [Nagios-users] Urgent: nagios + apan memory chewing upAli,Recompile Nagios without embedded perl or perl caching support. I hadthis same problem, and it was due to global namespace pollution in theembedded perl cache. The real solution to this problem would be rewritingall the perl plugins/extensions in a mod_perl safe way, but I don't see anyinitiative to get that done.Hope this helps,Chet Lutherchet at rcn.com----- Original Message ----- From: aliTo: nagios-users at lists.sourceforge.netSent: Thursday, August 14, 2003 5:40 AMSubject: [Nagios-users] Urgent: nagios + apan memory chewing upGreetings,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 sta ble.not untill I've installed apan (155 services) that the server starts chewingmemory so fast that the system becomes cloged and the only way to regaincontrol for the system is to REBOOT.I've read and practiced a lot with the tunning paramers of nagios, andreached 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) todisable the loading of the mib with each callbut all with no help. I can't put my hands on the problem.the system startsmemory usage in almost a linear fashion, untill the free section ofbuffers/cache starts comming down, and the systems goes to swap till itexhast 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 helpthanks, _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! -------------- next part -------------- An HTML attachment was scrubbed... URL: From fjordan at hcs.net Sat Aug 16 15:11:19 2003 From: fjordan at hcs.net (Fred Jordan) Date: Sat, 16 Aug 2003 09:11:19 -0400 Subject: Web page not showing hosts that are down Message-ID: <3F3E2D77.1070607@hcs.net> Running nagios ver 1.0 with 500 hosts and 540 services. Have been running this for 9 months or so. Problem just started where we get notifications via email/pager that hosts are down; however the web interface still shows the hosts as being up. Seems it recovers in 30 minutes or so on it's own. Seems the process info says something about nagios not running. I have not been in the office to see this but more than one logged in user reported this on two seperate occasions. Seems to occure when 10 or 15 hosts or more all go down at the same time. Has anyone else seen this behavior? Have checked the nagios log files after the fact and seen nothing unusual. Checked the Apache log files as well and have not found anything unusual. Don't know what else to check for or other places to look. Any ideas? Thanks Much, Fred Jordan ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Aug 16 18:36:58 2003 From: ckoniecny at thesaginawnews.com (Chris Koniecny) Date: Sat, 16 Aug 2003 12:36:58 -0400 Subject: HOST DOWN vs. Services DOWN Message-ID: <006f01c36414$9cd47a40$021418ac@thesaginawnews.com> I set the "retry_check_interval" to 1 and a max_check_attempts to 10 to retry the service once every 10 minutes when a service is down. Yet, when a host goes down for some reason or another it checks the host down state every 3 seconds til max_check_attempts. How do I change how often nagios should recheck the host down status? I would like to have it check host down every minute til max_check_attempts. I'm stuck. Thanks, Chris Koniecny -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Sun Aug 17 01:10:10 2003 From: mpowell at ena.com (Marc Powell) Date: Sat, 16 Aug 2003 18:10:10 -0500 Subject: Web page not showing hosts that are down Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EACC@mismail.ena.com> What's likely happening is that nagios is so busy trying to verify the status of the hosts that are down that it stops doing everything else (really, everything). You might want to take a look at your check-host-alive command and tailor it to more suit your environment. A suggestion would be to have it ping the host only once with no retries. -- Marc > -----Original Message----- > From: Fred Jordan [mailto:fjordan at hcs.net] > Sent: Saturday, August 16, 2003 8:11 AM > To: nagios-users at lists.sourceforge.net > > Running nagios ver 1.0 with 500 hosts and 540 services. Have been running > this for 9 months or so. Problem just started where we get > notifications via > email/pager that hosts are down; however the web interface still shows the > hosts as being up. Seems it recovers in 30 minutes or so on it's own. > Seems > the process info says something about nagios not running. I have not been > in > the office to see this but more than one logged in user reported this on > two > seperate occasions. Seems to occure when 10 or 15 hosts or more all go > down at the same time. > > Has anyone else seen this behavior? Have checked the nagios log files > after > the fact and seen nothing unusual. Checked the Apache log files as well > and > have not found anything unusual. Don't know what else to check for or > other > places to look. Any ideas? > > > Thanks Much, > > Fred Jordan > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click- > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Sun Aug 17 01:06:40 2003 From: mpowell at ena.com (Marc Powell) Date: Sat, 16 Aug 2003 18:06:40 -0500 Subject: Any way to monitor processes via rsh? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EACB@mismail.ena.com> Sure... That would actually be a straightforward plugin that you could write yourself. Check out http://nagiosplug.sourceforge.net/developer-guidelines.html. The plugin output and return codes sections will probably be of most interest. I believe there is also documentation with the plugin distribution itself on how to use utils.pm or utils.sh to make things even easier. -- Marc > -----Original Message----- > From: Johnathan Huettner [mailto:j_huettner at hotmail.com] > Sent: Friday, August 15, 2003 5:39 PM > To: nagios-users at lists.sourceforge.net > > 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 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fjordan at hcssun01.hcs.net Sun Aug 17 13:13:09 2003 From: fjordan at hcssun01.hcs.net (Fred Jordan) Date: Sun, 17 Aug 2003 07:13:09 -0400 (EDT) Subject: Web page not showing hosts that are down In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EACC@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EACC@mismail.ena.com> Message-ID: What I do not understand is why we get notifications via email, pager, and jabber as each host; one by one; is found to be down. So nagios is not so busy that it cannot send notifications, it only doesn't update the web page. Is there anywhere I can look to see what nagios is using all of it's cycles doing? Thanks Much, Fred On Sat, 16 Aug 2003, Marc Powell wrote: > What's likely happening is that nagios is so busy trying to verify the > status of the hosts that are down that it stops doing everything else > (really, everything). You might want to take a look at your > check-host-alive command and tailor it to more suit your environment. A > suggestion would be to have it ping the host only once with no retries. > > -- > Marc > > > -----Original Message----- > > From: Fred Jordan [mailto:fjordan at hcs.net] > > Sent: Saturday, August 16, 2003 8:11 AM > > To: nagios-users at lists.sourceforge.net > > > > Running nagios ver 1.0 with 500 hosts and 540 services. Have been > running > > this for 9 months or so. Problem just started where we get > > notifications via > > email/pager that hosts are down; however the web interface still shows > the > > hosts as being up. Seems it recovers in 30 minutes or so on it's own. > > Seems > > the process info says something about nagios not running. I have not > been > > in > > the office to see this but more than one logged in user reported this > on > > two > > seperate occasions. Seems to occure when 10 or 15 hosts or more all go > > down at the same time. > > > > Has anyone else seen this behavior? Have checked the nagios log files > > after > > the fact and seen nothing unusual. Checked the Apache log files as > well > > and > > have not found anything unusual. Don't know what else to check for or > > other > > places to look. Any ideas? > > > > > > Thanks Much, > > > > Fred Jordan > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click- > > url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 teng at dataway.com Mon Aug 18 04:26:09 2003 From: teng at dataway.com (Tedman Eng) Date: Sun, 17 Aug 2003 19:26:09 -0700 Subject: Submitting passive host checks by editing status.sav? Message-ID: I would like to submit passive host checks so that I can reset the status of paused hosts. I can do this via the web gui for services, but I have found no way to submit passive checks for hosts. I know this is planned for version 2.0, but how can I accomplish this using 1.0 or 1.1? I've played around with deleting the entry in status.sav during a nagios restart, but then the host shows up as pending. The status.sav file has one line per host and one line per service, with a lot of comma-delimited fields. My thinking is that I can change a value, and Nagios would think the host's last known state is OK. Nagios is restarted fairly often in my environment, so munging the saved state while Nagios is down is fine. A) If editing status.sav is an acceptable way of submitting passive checks (for paused hosts), does anyone know the fields used in the file? B) If there's an easier way to submit passive host checks, what is it? ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 15 21:17:05 2003 From: tmr at iscream.net (Tristan-Matthieu Robichaud) Date: 15 Aug 2003 15:17:05 -0400 Subject: CGI authentication makes me mad In-Reply-To: <20030813000930.GA22071@polop.usc.edu> References: <1060729464.1087.105.camel@icemobil> <20030813000930.GA22071@polop.usc.edu> Message-ID: <1060975024.1558.41.camel@icemobil> Hi dude, On Tue, 2003-08-12 at 20:09, garrick wrote: > 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). Yes it does work. The browser prompts me with an auth box asking for username/password combo, then accepts it and loads the Nagios interface. > 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. Yes it does. I created 2 similar users with same perms, nagios and nagiosadmin. Both logs in correctly and appears as logged on in the Tactical Overview page. > Does the apache user have read access to the > various files in /usr/share/nagios? Apparently yeah because if it were not, no page would load, neither HTTP or CGI. I really think the problem is somewhere in Nagios config. As i stated previously, I'm really surprised to keep getting this error message even after I squarely disabled CGI auth in cgi.cfg. Anyway, same result, same error message. Thanks a lot TMR > 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 -- 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 sghosh at sghosh.org Mon Aug 18 05:31:38 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 17 Aug 2003 23:31:38 -0400 (EDT) Subject: Feature request In-Reply-To: References: Message-ID: On Fri, 15 Aug 2003, Anurag Gupta 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 > 1. Setup a paging script to include sequence ID 2. Locally store ID with host/service info 3. Create a mail receipt program to receive all acks 4. On receiving an ack, match seqID to t host/service and from info 5. Generate a command to ack the host/service into nagios. -- -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 sghosh at sghosh.org Mon Aug 18 05:27:54 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 17 Aug 2003 23:27:54 -0400 (EDT) Subject: check_mailq = Use of uninitialized value in concatenation In-Reply-To: <3F3CF11F.8030806@webcom.dk> References: <3F3CF11F.8030806@webcom.dk> Message-ID: On Fri, 15 Aug 2003, Jacob Friis Larsen wrote: > 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 > > _______________________________________________ Nagios-users mailing > list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > include Nagios version, plugin version (-v) and OS when reporting any > issue. ::: Messages without supporting info will risk being sent to > /dev/null > Jacob Please include version info from plugin and mailserver -- -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 jfl at webcom.dk Mon Aug 18 07:26:11 2003 From: jfl at webcom.dk (Jacob Friis Larsen) Date: Mon, 18 Aug 2003 07:26:11 +0200 Subject: check_mailq = Use of uninitialized value in concatenation In-Reply-To: References: Message-ID: <3F406373.5070306@webcom.dk> Sorry, I didn't know that check_mailq only worked for Sendmail. I have created a version for Postfix that I will submit when it's ready for that. Regards, Jacob Subhendu Ghosh wrote: > On Fri, 15 Aug 2003, Jacob Friis Larsen wrote: > > >>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 >> >>_______________________________________________ Nagios-users mailing >>list Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please >>include Nagios version, plugin version (-v) and OS when reporting any >>issue. ::: Messages without supporting info will risk being sent to >>/dev/null >> > > > > Jacob > > Please include version info from plugin and mailserver > ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 18 09:24:13 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Mon, 18 Aug 2003 08:24:13 +0100 Subject: Feature request Message-ID: <11720FFB22BED511A66800E07D923B371720B0@prodntsc2.brendata> Not quite pagers, but mobile phones, there's a WAP interface to Nagios, I've never looked to see how functional it is though. Steve -----Original Message----- From: Thiago Conde Figueir? [mailto:thiago at ntime.com.br] Sent: 15 August 2003 21:15 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Feature request 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 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 Fred.Albrecht at za.tiscali.com Mon Aug 18 11:01:25 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Mon, 18 Aug 2003 11:01:25 +0200 Subject: Own check_commands doesn't works Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi I see this often with my setup. Dunno why though, been like that for months, damn irritating. And no, there are not two processes running. Posted about it a while back with no response. BTW, how many services have you got running? :) fred > -----Original Message----- > From: Hegedus, Ervin [mailto:airween at amit.hu] > Sent: 15 August 2003 03:20 PM > 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 g.zorzi at tecom.it Mon Aug 18 11:22:38 2003 From: g.zorzi at tecom.it (Giuliano Zorzi) Date: 18 Aug 2003 11:22:38 +0200 Subject: nagios+mysql: problems when adding new hosts Message-ID: <1061198557.24104.44.camel@giuliano> Hi, I have a working nagios server with mysql support (all mysql-loggable records are enabled). When I add a new host I can see it only on the status map and not on the host list/service list. the status map popup says "host status information not found". The host is not in the scheduling queue. How can I force this host to be monitored ? TIA -- Giuliano Zorzi Tecnico R&S Tecom sas Via Gigli, 3/B - 38033 Cavalese (TN) tel +390471-441111 fax +390471-441133 g.zorzi at tecom.it www.tecom.it This e-mail may contains confidential information and is for the exclusive use of the addressee/s. If you are not the addressee, then any unauthorised distribution, copying or use of this e-mail is prohibited. If received in error, please notify the sender and delete it immediately. We accept no liability for any loss or damage suffered by any person arising from use of this e-mail. Unauthorised diffusion of any kind of personal data, will be prosecuted according the Italian "Privacy Law" no. 675/1996 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 16:32:26 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 18 Aug 2003 10:32:26 -0400 (EDT) Subject: check_mailq = Use of uninitialized value in concatenation In-Reply-To: <3F406373.5070306@webcom.dk> References: <3F406373.5070306@webcom.dk> Message-ID: The latest one supports sendmail, qmail and postfix. use the -M switch to specify which postfix. -sg On Mon, 18 Aug 2003, Jacob Friis Larsen wrote: > Sorry, I didn't know that check_mailq only worked for Sendmail. I have > created a version for Postfix that I will submit when it's ready for that. > > Regards, Jacob > > > Subhendu Ghosh wrote: > > On Fri, 15 Aug 2003, Jacob Friis Larsen wrote: > > > > > >>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 > >> > >>_______________________________________________ Nagios-users mailing > >>list Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please > >>include Nagios version, plugin version (-v) and OS when reporting any > >>issue. ::: Messages without supporting info will risk being sent to > >>/dev/null > >> > > > > > > > > Jacob > > > > Please include version info from plugin and mailserver > > > -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Aug 18 23:25:52 2003 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Mon, 18 Aug 2003 14:25:52 -0700 Subject: Availability reports Message-ID: Okay, I'm finding a rather frustrating issue with Nagios. I activated the "log_initial_states=1" in my nagios.cfg file several months ago. However, I needed to restart the nagios process this morning. Prior to this restart, an availability report showed 100% total "UP" time and 0% total "Undetermined" for a specific server. Now, it is showing (for the past 7 days) 2.3% total "UP" time and 97.6% total "Undetermined" time for the SAME server! Why would restarting the server make it forget all past information? I've checked the disk space and have plenty of room. Also, all of the archive files are available (for the past 4 months). Finally, I've confirmed the "Assume Initial States" option is set to "yes" when generating the report. Ideas? 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 agupta at yahoo-inc.com Tue Aug 19 01:45:40 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Mon, 18 Aug 2003 16:45:40 -0700 Subject: hostescalation - config problem In-Reply-To: References: Message-ID: Hi there, I wasnt very clear in the mail below about the problem: We have a 3 level escalation (primary, secondary, everyone) and I cant get it running with Nagios 2.0. It bails out while giving a "Could not allocate memory for hostescalation ..." error. Does anybody know if this is a bug or is there some problem with my configuration? thanks in advance -anurag -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Anurag Gupta Sent: Friday, August 15, 2003 12:03 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] hostescalation - config problem 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. 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 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 04:29:21 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 18 Aug 2003 22:29:21 -0400 (EDT) Subject: hostescalation - config problem In-Reply-To: References: Message-ID: Umm - Nagios 2.0 is in a state of code flux and not production ready so these might be better reported on the nagios-devel list. Nagios 1.1 or the nagios-1-x-bugfixes CVS branch is the current stable branch. -sg On Mon, 18 Aug 2003, Anurag Gupta wrote: > Hi there, > > I wasnt very clear in the mail below about the problem: > > We have a 3 level escalation (primary, secondary, everyone) and I cant get > it running with Nagios 2.0. It bails out while giving a "Could not allocate > memory for hostescalation ..." error. > > Does anybody know if this is a bug or is there some problem with my > configuration? > > thanks in advance > -anurag > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Anurag > Gupta > Sent: Friday, August 15, 2003 12:03 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostescalation - config problem > > > 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. > > 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 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 nagios at nagios.org Tue Aug 19 06:16:31 2003 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 18 Aug 2003 23:16:31 -0500 Subject: hostescalation - config problem In-Reply-To: References: Message-ID: <3F415E4F.18440.17FF367@localhost> This will be fixed in the CVS commits tonight. Beware that 2.0 is likely full of bugs, has no updated docs, etc., so you will be on your own for a while. :-) On 18 Aug 2003 at 16:45, Anurag Gupta wrote: > Hi there, > > I wasnt very clear in the mail below about the problem: > > We have a 3 level escalation (primary, secondary, everyone) and I cant get > it running with Nagios 2.0. It bails out while giving a "Could not allocate > memory for hostescalation ..." error. > > Does anybody know if this is a bug or is there some problem with my > configuration? > > thanks in advance > -anurag > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Anurag > Gupta > Sent: Friday, August 15, 2003 12:03 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] hostescalation - config problem > > > 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. > > 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 > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 brian.murphy at gmx.net Tue Aug 19 09:25:27 2003 From: brian.murphy at gmx.net (brian.murphy at gmx.net) Date: Tue, 19 Aug 2003 09:25:27 +0200 (MEST) Subject: Feature request, 2 way paging ... Message-ID: <15862.1061277927@www60.gmx.net> Nokia make a thing called a Nokia 30 see under www.nokia.com/m2m which is in essence a GSM phone that can be interfaced with a machine at both ends, or just SMS text messages out and perform actions based on the ones that come in. Must be possible to put something together with this sort of gear, why page, at least in Europe and large tracts of the USA people have GSM phones. At last a use for txting -- 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 g.zorzi at tecom.it Tue Aug 19 10:21:16 2003 From: g.zorzi at tecom.it (Giuliano Zorzi) Date: 19 Aug 2003 10:21:16 +0200 Subject: big problem, please help ! Message-ID: <1061281276.24961.13.camel@giuliano> Hi, I have a nagios box with the 1.1 version on it. the schedule queue is frozen at 2003-08-16. how can I unfreeze it ? If I try to force a check on an host the cgi hangs. I have mysql support enabled for all available dataa. thanks -- Giuliano Zorzi Tecnico R&S Tecom sas Via Gigli, 3/B - 38033 Cavalese (TN) tel +390471-441111 fax +390471-441133 g.zorzi at tecom.it www.tecom.it This e-mail may contains confidential information and is for the exclusive use of the addressee/s. If you are not the addressee, then any unauthorised distribution, copying or use of this e-mail is prohibited. If received in error, please notify the sender and delete it immediately. We accept no liability for any loss or damage suffered by any person arising from use of this e-mail. Unauthorised diffusion of any kind of personal data, will be prosecuted according the Italian "Privacy Law" no. 675/1996 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.verheyen at ampersant.be Tue Aug 19 11:12:31 2003 From: jeff.verheyen at ampersant.be (Jeff Verheyen) Date: 19 Aug 2003 11:12:31 +0200 Subject: Feature request, 2 way paging ... In-Reply-To: <15862.1061277927@www60.gmx.net> References: <15862.1061277927@www60.gmx.net> Message-ID: <1061284350.19722.373.camel@picard.enterprise.be> We are using the SMS servertools (http://www.isis.de/~s.frings/smstools/) with a Siemens GSM Module... Still have to write scripts to handle te incomming SMS tho... On Tue, 2003-08-19 at 09:25, brian.murphy at gmx.net wrote: > Nokia make a thing called a Nokia 30 see under www.nokia.com/m2m which is in > essence a GSM phone that can be interfaced with a machine at both ends, or > just SMS text messages out and perform actions based on the ones that come in. > > Must be possible to put something together with this sort of gear, why page, > at least in Europe and large tracts of the USA people have GSM phones. > > At last a use for txting -- Ampersant bvba - Jeff Verheyen Dr. Jacobsstraat 3 - 2570 DUFFEL - Belgium Tel: +32 15 32 36 19 - Fax: +32 15 32 37 90 Email: jeff.verheyen at ampersant.be Website: http://www.ampersant.be/ ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 11:25:45 2003 From: scott.zawalski at web.de (Scott Zawalski) Date: Tue, 19 Aug 2003 11:25:45 +0200 Subject: Netfinity Servers hardware monitoring Message-ID: <200308190925.h7J9PjQ10117@mailgate5.cinetic.de> Does anyone here have any experience monitoring netfinity servers lm_sensors will not install itself due to the unsupported nature of IBMs hardware chip sets. Does anyone have scripts that interact with director or other programs that probe IBM's Netfinity hardware for temperature / FAN RPMs etc? I have searched google without any real luck so any help is greatly appreciated! Thank you, Scott __________________________________________________________________________ Die sicherste Form der Kommunikation: E-Mails verschluesseln, Spam-Filter, Adressverifizierung, digitale Unterschrift: http://freemail.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 basti at sskm.net Tue Aug 19 11:42:16 2003 From: basti at sskm.net (Sebastian Schubert) Date: 19 Aug 2003 11:42:16 +0200 Subject: Netfinity Servers hardware monitoring In-Reply-To: <200308190925.h7J9PjQ10117@mailgate5.cinetic.de> References: <200308190925.h7J9PjQ10117@mailgate5.cinetic.de> Message-ID: <1061286136.10019.7.camel@lnx024071100.vz.intra.sskm.de> > Does anyone here have any experience monitoring netfinity servers lm_sensors will not install itself due to the unsupported nature of IBMs hardware chip sets. Does anyone have scripts that interact with director or other programs that probe IBM's Netfinity hardware for temperature / FAN RPMs etc? I have searched google without any real luck so any help is greatly appreciated! > > Thank you, > Scott hi scott, what kind of netfinity servers do you use, do they have the netfinity remote boards installed ? we have several x-series machines (successors of the netfinity series) with the ibm remote adapter and watch them with some snmp queries ... for stonith'ing some of our clusters we use the MPcli (Management Processor Commandline Interface) which can also give you the needed informations (fanspeed, temperature etc...) MPCli Sample output (taken from a xSeries 345): mp> getsysstat SUCCESS: getsysstat -state default System State: OS running. SUCCESS: getsysstat -power default Power is on. SUCCESS: getsysstat -restart default The number of system restarts = 36 SUCCESS: getsysstat -uptime default System uptime = 4100 mp> getfan SUCCESS: getfan -speeds type=int default Fan Speeds: 1: 73 2: 56 3: 54 4: 54 5: 70 6: 55 7: 55 8: 53 SUCCESS: getfan -num default Maximum Fans = 8 SUCCESS: getfan -inst default Installed Fans: 1 2 3 4 5 6 7 8 SUCCESS: getfan -run default Running Fans: 1 2 3 4 5 6 7 8 mp> gettemperatures SUCCESS: gettemperatures -cpu type=int default CPU 1 Temperature = 27.0 CPU 2 Temperature = 25.0 SUCCESS: gettemperatures -dasd type=int default DASD 1 Temperature = 19.0 SUCCESS: gettemperatures -systemambient default Ambient Temperature = 22.0 mp> -- "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 cdgpostmaster at dhl.com Tue Aug 19 11:51:13 2003 From: cdgpostmaster at dhl.com (Mail Administrator) Date: Tue, 19 Aug 2003 11:51:13 +0200 Subject: Message rejected by mailing list - cdgit@dhl.com Message-ID: Your message to this group has been rejected. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: InterScan_Disclaimer.txt URL: From cdgpostmaster at dhl.com Tue Aug 19 12:24:28 2003 From: cdgpostmaster at dhl.com (Mail Administrator) Date: Tue, 19 Aug 2003 12:24:28 +0200 Subject: Message rejected by mailing list - cdgit@dhl.com Message-ID: Your message to this group has been rejected. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: InterScan_Disclaimer.txt URL: From matthewwilson at dsl.pipex.com Tue Aug 19 12:35:27 2003 From: matthewwilson at dsl.pipex.com (matthewwilson at dsl.pipex.com) Date: Tue, 19 Aug 2003 11:35:27 +0100 Subject: nagios / apan config prob Message-ID: <1061289327.3f41fd6f4bc21@netmail.pipex.net> Hi I am just getting to grips with Nagios and Apan and am having some config probs. I have run out of ideas. I have one service set up to ping with apan but it keesp returning PING critical - host not found, while the host check is pinging fine. I also keep seeing in apan.debug lines like Tue Aug 19 11:27:37 BST 2003 Args: ping BBI-Hub bbi-ping 1061288857 2000,50% 5000,80% Could not insert ':ping' , '1061288857:' into /usr/share/nagios/rrd/BBI-Hub-ping.rrd nagios is installed by the rpm so html is in /usr/share/nagios, cgis and plugins in /usr/lib/nagios and configs in /etc/nagios apan is in /usr/share/nagios/apan and I have changed all paths accordingly. the rrd file is there and setup correctly as per the 'how to' in apan documentation. config files are below - any suggestions appreciated. Matthew Wilson DCSat.net ----- apan.cfg BBI-Hub;bbi-ping;/usr/share/nagios/rrd/BBI-Hub-ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds ----- extended service info define serviceextinfo{ host_name BBI-Hub service_description bbi-ping notes_url /nagios/cgi-bin/apan.cgi?host=BBI-Hub&service=bbi-ping icon_image graph.png icon_image_alt View graphs } ----- services.cfg efine service{ use generic-service ; Name of service template to use host_name BBI-Hub service_description bbi-ping is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups steve notification_interval 120 notification_period 24x7 notification_options c,r,u,w check_command apan!ping!2000,50%!5000,80% } ------ host.cfg define host{ use generic-host check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r host_name BBI-Hub alias Astra BBI Hub Luxemburg address 212.56.224.20 } ------- command.cfg define command { command_name apan command_line /usr/share/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ "$SERVICEDESC$" $TIMET$ $ARG2$ $ARG3$ } -- ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carole.Hercend at dhl.com Tue Aug 19 12:31:37 2003 From: Carole.Hercend at dhl.com (Carole.Hercend at dhl.com) Date: Tue, 19 Aug 2003 12:31:37 +0200 Subject: Details Message-ID: This is an automatic reply. I am on vacation or otherwise unable to read my email. I will read your message when I return. Thank you. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: InterScan_Disclaimer.txt URL: From mike.simkins at sungard.com Tue Aug 19 12:02:22 2003 From: mike.simkins at sungard.com (mike.simkins at sungard.com) Date: Tue, 19 Aug 2003 11:02:22 +0100 Subject: Feature request, 2 way paging ... Message-ID: <8CDB06CA7F958E4F954699DF820E965406B8E3@e2klon1.internal.sungard.corp> I had a basic interface to an Old Ericsson Mobile that did this a couple of years ago - I will see if I can find the code (in Perl), and post it.... -----Original Message----- From: brian.murphy at gmx.net [mailto:brian.murphy at gmx.net] Sent: Tuesday, August 19, 2003 8:25 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] re: Feature request, 2 way paging ... Nokia make a thing called a Nokia 30 see under www.nokia.com/m2m which is in essence a GSM phone that can be interfaced with a machine at both ends, or just SMS text messages out and perform actions based on the ones that come in. Must be possible to put something together with this sort of gear, why page, at least in Europe and large tracts of the USA people have GSM phones. At last a use for txting -- 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 BSnead at infosysnetworks.com Tue Aug 19 14:02:27 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Tue, 19 Aug 2003 08:02:27 -0400 Subject: Host Check without prior Service Failure ?? Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604CA05@patton.infosysnetworks.com> I try to determine the cause of each of our alerts and I think I understand how they are supposed to work. A service fails and the host is checked. If it is down, a host down alarm is triggered. If the host is up, a service alarm should be triggered. But often, I see in the event log just a host failing up to the max checks I have set at 5. Then the service is set to down hard. A host down alarm is triggered. Why would the host be checked unless the event log showed a Non-OK service check? Any ideas? Here is a section of the log file: [08-19-2003 07:32:35] SERVICE ALERT: WSSC_SENWIN01;Check for SNMP Services;UNKNOWN;HARD;1;SNMP problem - No data recieved from host [08-19-2003 07:30:25] SERVICE ALERT: WSSC_SENWIN01;Generic Ping Response;CRITICAL;HARD;1;PING CRITICAL - Packet loss = 100% [08-19-2003 07:30:25] HOST ALERT: WSSC_SENWIN01;DOWN;HARD;5;CRITICAL - Plugin timed out after 10 seconds [08-19-2003 07:30:15] HOST ALERT: WSSC_SENWIN01;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds [08-19-2003 07:30:05] HOST ALERT: WSSC_SENWIN01;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds [08-19-2003 07:29:55] HOST ALERT: WSSC_SENWIN01;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds [08-19-2003 07:29:45] HOST ALERT: WSSC_SENWIN01;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds There are no prior entries for this host or service. Thank you, 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 jsm at inpro.net Tue Aug 19 14:58:42 2003 From: jsm at inpro.net (Jeff McKeon) Date: 19 Aug 2003 08:58:42 -0400 Subject: Dumb upgrade question Message-ID: <1061297921.1691.18.camel@rh80-jsm.telaurus.net> I currently have ver 1.0 (nov 24, 2002) running. I originally installed this the old fashion way by compiling the binaries myself. I just downloaded the ver 1.1 RPM. Can I do an RPM upgrade over a binary install or will this "screw the pooch?" thanks, -- 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 Fred.Albrecht at za.tiscali.com Tue Aug 19 16:33:10 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Tue, 19 Aug 2003 16:33:10 +0200 Subject: check_fping Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi When I execute the following: /usr/local/nagios/libexec/check_fping -H 196.25.100.91 -w 3000.0,80% -c 5000.0,100% I get: FPING OK - 196.25.100.91 (loss=0.000000%, rta=1.800000 ms) But, when I look at the alert history of the service I see: [19-08-2003 15:57:58] SERVICE ALERT: ADS;PING;WARNING;HARD;2;FPING OK - 196.25.100.91 Why don't I see the "(loss=0.000000%, rta=1.800000 ms)" part? I would like to log that to a DB for later analysis My checkcommands.cfg has: define command { command_name check-host-alive command_line $USER1$/check_fping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% } Check_fping version: check_fping (nagios-plugins 1.3.0) 1.4 Driving me nuts! Thanx for any suggestions. :) fred ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From itamarf at pbh.gov.br Tue Aug 19 19:10:11 2003 From: itamarf at pbh.gov.br (itamarf) Date: Tue, 19 Aug 2003 14:10:11 -0300 Subject: ACESSO_NAGIOS Message-ID: <3F4259F3.7A9B67AC@pbh.gov.br> oi pessoal, tudo bem? estou com uma d?vida e se alguem puder me ajudar. estou utilizando o nagios par fazer a monitoracao de alguns roteadores, circuitos, algumas esta?oes NT na empresa onde trabalho. por?m para acessar o nagios ? ncess?rio que ue emtre como o endere?o normalmente s? q ? necess?rio tamb?m que se ponha / ao final do endere?o. isso ? normal? ou eu poderia fazer alguma modifica?ao para que independente de se colocar / ou nao no fianl, o Internet explorer consiga achhar o index.html? estou utilizando o nagios em um conectiva linux 8.0 valeu!!! ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 19 19:32:52 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: 19 Aug 2003 18:32:52 +0100 Subject: nagios / apan config prob In-Reply-To: <000001c36676$d68d89c0$0501a8c0@chewbacca> References: <000001c36676$d68d89c0$0501a8c0@chewbacca> Message-ID: <1061314372.4156.1.camel@localhost.localdomain> Hmmm, thanks. I guess that would work but it is just one extra step when adding hosts, which I have a lot of (and more are added on a frequent basis) Matthew On Tue, 2003-08-19 at 18:25, David Clack wrote: > Have you put the host in your /etc/hosts file? > I had the same problem and this cured it. > Good luck. > Dave. > ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mp at xmission.com Tue Aug 19 19:50:52 2003 From: mp at xmission.com (Myke Place) Date: Tue, 19 Aug 2003 11:50:52 -0600 Subject: SOCKS? Message-ID: <20030819175052.GE21844@xmission.com> Does anybody have experience trying to monitor a SOCKSv4 proxy? Specfically, I'm trying to use check_tcp, but I'd like to be able to use -s to send a command to the server and I'm hoping there is something that I can send that will return a functional status of the SOCKS proxy. Anybody who has done this before have any tips/suggestions? -mp ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Tue Aug 19 16:16:46 2003 From: jsm at inpro.net (Jeff McKeon) Date: 19 Aug 2003 10:16:46 -0400 Subject: Dumb upgrade question In-Reply-To: <1061299383.3f4224b768e71@netmail.pipex.net> References: <1061297921.1691.18.camel@rh80-jsm.telaurus.net> <1061299383.3f4224b768e71@netmail.pipex.net> Message-ID: <1061302606.1691.21.camel@rh80-jsm.telaurus.net> Mathew, so everything currently in /usr/local/nagios/etc will need to be moved to /etc/nagios? what about the rest of the directories under /usr/local/nagios like libexec and images? What config changes are needed in apache? It's been months since I set this up.. Thanks, Jeff On Tue, 2003-08-19 at 09:23, matthewwilson at dsl.pipex.com wrote: > Hi Jeff, > The RPM puts things in different directories to where you currently have nagios > installed (by default) So you will probably be OK. After the RPM install you > will need to copy your config files to /etc/nagios/ and update your apache config. > > Matthew Wilson > DCSat.net > > Quoting Jeff McKeon : > > > I currently have ver 1.0 (nov 24, 2002) running. I originally installed > > this the old fashion way by compiling the binaries myself. I just > > downloaded the ver 1.1 RPM. Can I do an RPM upgrade over a binary > > install or will this "screw the pooch?" > > > > thanks, > > -- > > Jeff McKeon -- Jeff McKeon ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justin at techadvise.com Tue Aug 19 22:12:41 2003 From: justin at techadvise.com (Justin Ellison) Date: 19 Aug 2003 15:12:41 -0500 Subject: Extinfo not working... Message-ID: <1061323961.5688.10.camel@localhost> Hi all, I can't get extinfo working on my Redhat9 box. I moved the config over from a working gentoo box. It's not just the images, it's the whole shebang - urls don't work either. It's gotta be something simple... Nagios is compiled for default extinfo (template files). In cgi.cfg are two lines: xedtemplate_config_file=/etc/nagios/hostextinfo.cfg xedtemplate_config_file=/etc/nagios/services-extended.cfg and in hostextinfo.cfg: define hostextinfo{ host_name cisco_router icon_image Cisco2600.png icon_image_alt Cisco 2600 Series Router vrml_image Cisco2600.png statusmap_image Cisco2600.png register 0 } define hostextinfo{ hostname BillingsGW use cisco_router notes_url http://www.mydomain.com/cacti/graph.php?local_graph_id=68&rra_id=all } Anyone run into this before??? JE -- Justin Ellison -------------- 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 fzhang at hsc.unt.edu Wed Aug 20 00:32:28 2003 From: fzhang at hsc.unt.edu (Frank Zhang) Date: Tue, 19 Aug 2003 17:32:28 -0500 (CDT) Subject: nrpe Message-ID: Hi: I am new to Nagios. I try to use "nrpe" to monitor remote host, so on nagios host machine, I specify "check_nrpe!check_load", then I got error message "connection refused or time out", where do I need to check. Thank you very much for your help. Frank Zhang ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 20 00:39:22 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 19 Aug 2003 18:39:22 -0400 (EDT) Subject: Dumb upgrade question In-Reply-To: <1061297921.1691.18.camel@rh80-jsm.telaurus.net> References: <1061297921.1691.18.camel@rh80-jsm.telaurus.net> Message-ID: On 19 Aug 2003, Jeff McKeon wrote: > I currently have ver 1.0 (nov 24, 2002) running. I originally installed > this the old fashion way by compiling the binaries myself. I just > downloaded the ver 1.1 RPM. Can I do an RPM upgrade over a binary > install or will this "screw the pooch?" > > thanks, > yes - it will probably screw the pooch as the defaults are quite different. if you still have the old compile dir, check the args used for 1.0 in config.status (first couple of commented lines) and use the same ars and compile 1.1 -- -sg ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From securityguy at ikano.com Wed Aug 20 07:31:19 2003 From: securityguy at ikano.com (Robert S. Galloway) Date: Tue, 19 Aug 2003 23:31:19 -0600 Subject: All Services Up, but Host is Down Message-ID: <002c01c366dc$489d4310$ddd0d0cd@pendleton> I've been having a problem lately with having hosts show down, even when all of the services on it are being actively checked and returning an OK status. The only way I seem to be able to get these to go away is to restart the nagios process. Anyone have any thought? I've verified that there is only one nagios process running. Thanks, Robert S. Galloway Chief Network Security Engineer IKANO Communications ...the Internet branding company Official Data Networking Services Provider for the Salt Lake Olympic Winter Games of 2002 SecurityGuy_AT_ikano.com 801-415-8089 -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Wed Aug 20 05:39:29 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 19 Aug 2003 20:39:29 -0700 Subject: nagios / apan config prob References: <000001c36676$d68d89c0$0501a8c0@chewbacca> <1061314372.4156.1.camel@localhost.localdomain> Message-ID: The default APAN scripts are set up to use HOSTNAME, which requires a DNS lookup every time the plugin is called. I discovered this when our internal DNS server went down, and our apan plugins stopped working. The normal nagios plugins use the host address, so what I did was modify APAN to use the host address as well. Here's what to do: Modify apan.sh to include "HOSTADDRESS": ---------------------------------------------------------------- #Read arguments from the command-line CHECK=$1 HOST=$2 HOSTADDRESS=$3 SVCNAME=$4 TIME=$5 WARN=$6 CRIT=$7 Modify your check_command.cfg definition to include "HOSTADDRESS": ---------------------------------------------------------------- # 'apan' command definition define command { command_name apan command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ $HOSTADDRESS$ $SERVICEDESC$ $TIMET$ $ARG2$ $ARG3$ } Modify each plugin in $NAGIOS/apan/plugs to use HOSTADDRESS instead of HOST ---------------------------------------------------------------- (just search for HOST and replace with HOSTADDRESS in each plugin script) "Matthew Wilson" wrote in message news:1061314372.4156.1.camel at localhost.localdomain... > Hmmm, thanks. I guess that would work but it is just one extra step when > adding hosts, which I have a lot of (and more are added on a frequent > basis) > Matthew > > On Tue, 2003-08-19 at 18:25, David Clack wrote: > > Have you put the host in your /etc/hosts file? > > I had the same problem and this cured it. > > Good luck. > > Dave. > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 09:20:42 2003 From: Matthew.Jurgens at Sensis.com.au (Jurgens, Matthew) Date: Wed, 20 Aug 2003 17:20:42 +1000 Subject: Exit Code 137 using NRPE Message-ID: I am running a simple service check using NRPE: on the Nagios host if I run it manually like: # /usr/local/nagios/libexec/check_nrpe -H pokemon -c check_maj -t 180 Performance Check OK # echo $? 0 It works perfectly The NAgios config to execute it is (basically what I ran manually) command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -t 180 The service definition is # Service definition define service{ use generic-service ; Name of service template to use host_name pokemon service_description MAJ is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups nagios-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_nrpe!check_maj } and yet when it runs under Nagios it always returns Current Status: CRITICAL Status Information: (Return code of 137 is out of bounds) What is exit code 137? Any ideas? The script it is running is nothing special it is simply #!/usr/bin/ksh #echo "Performance Check OK|1:0.8:0.7:0.7" echo "Performance Check OK" exit 0 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 Frank.Langanke at RSBICK.rohde-schwarz.com Wed Aug 20 09:29:39 2003 From: Frank.Langanke at RSBICK.rohde-schwarz.com (Frank.Langanke at RSBICK.rohde-schwarz.com) Date: Wed, 20 Aug 2003 09:29:39 +0200 Subject: nrpe Message-ID: Try to run the check_nrpe command on a console first and see if it works there. 'check_nrpe -H yourhost' should return the version of your nrpe daemon installed on the remote machine. Remember that you got to have a 'check_cpuload' plugin installed and configured in the nrpe.cfg on the checked host. ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Aug 19 21:32:35 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Tue, 19 Aug 2003 16:32:35 -0300 Subject: ACESSO_NAGIOS In-Reply-To: <3F4259F3.7A9B67AC@pbh.gov.br> References: <3F4259F3.7A9B67AC@pbh.gov.br> Message-ID: <20030819163235.77dc02b2.thiago@ntime.com.br> Read the Apache docs. You will find what you need there. Leia o manual do Apache. L? tem o que voc? precisa. []'s -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 On Tue, 19 Aug 2003 14:10:11 -0300 itamarf wrote: > > oi pessoal, > > tudo bem? > > estou com uma d?vida e se alguem puder me ajudar. estou utilizando o > nagios par fazer a monitoracao de alguns roteadores, circuitos, > algumas esta?oes NT na empresa onde trabalho. por?m para acessar o > nagios ? ncess?rio que ue emtre como o endere?o normalmente s? q ? > necess?rio tamb?m que se ponha / ao final do endere?o. isso ? normal? > ou eu poderia fazer alguma modifica?ao para que independente de se > colocar / ou nao no fianl, o Internet explorer consiga achhar o > index.html? > > estou utilizando o nagios em um conectiva linux 8.0 > > valeu!!! ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 20 09:55:09 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 20 Aug 2003 19:55:09 +1200 Subject: EPN, RRDfiles etc In-Reply-To: <002c01c366dc$489d4310$ddd0d0cd@pendleton> References: <002c01c366dc$489d4310$ddd0d0cd@pendleton> Message-ID: <200308200747.h7K7lv931555@spectre.freeparking.co.nz> Hi All, I'm working on getting a new plugin sorted out. Ages ago Daniel Rich posted a plugin to read RRD files generated by Cricket. It's an awesome little plugin designed to read RRD files. This means you can use your favourite rrd based system to go out and get the info from the network, and Nagios can poll the resultant RRD's locally. Nice. A Nice efficient way of doing things. Anyway, I'm testing Daniel's plugin, and I've come up against a problem. The plugin uses perl's IPC::Open3 module to call rrdtool to get the info. Unfortunately there appears to be a problem with Nagios that has EPN compiled and Open3. Ref: http://www.mail-archive.com/embperl at perl.apache.org/msg05441.html When I use the plugin I get nothing but (no output!). Debugging, I'm getting this: Can't locate object method "OPEN" via package "OutputTrap" (perhaps you forgot to load "OutputTrap"?) at /usr/lib/perl5/5.6.1/IPC/Open3.pm line 136. ...when I run Nagios (run in foreground to debug). My question is what do people think are sensible ways around this? - Recompile Nagios without EPN support? - Find_another_way with the plugin? - Discover some other magic fix? I've attached the plugin, as I think it's a great way of doing what a lot of people are trying to do with Apan etc, except that it takes advantage of tried and true time-series trending systems such as cricket or perhaps cacti etc. I'm hesitant to walk away from EPN, as we have the learned Mr Hopcroft often extolling the virtues of EPN. Thoughts? jamie -------------- next part -------------- A non-text attachment was scrubbed... Name: check_cricket_data Type: application/x-perl Size: 3787 bytes Desc: not available URL: From roy at karlsbakk.net Wed Aug 20 11:13:43 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Wed, 20 Aug 2003 11:13:43 +0200 Subject: Inheritable host/service dependencies? Message-ID: <200308201113.43150.roy@karlsbakk.net> hi all I've RTFM and it says dependencies aren't inheritable (yet). Does anyone know if this'll be an upcoming feature in later versions? 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 is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simon.McKay-Mills at corp.percepta-crm.com Wed Aug 20 10:35:46 2003 From: Simon.McKay-Mills at corp.percepta-crm.com (McKay-Mills, Simon) Date: Wed, 20 Aug 2003 09:35:46 +0100 Subject: 3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing) Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've set up Nagios to try and improve on my current Mon setup (improved reporting etc) and like what I have so far after 1 day. 1. The basic http/ping checks are coming back as OK but allocates all the time as undetermined (see below) rather than up. - where am I going wrong? Host % Time Up % Time Down % Time Unreachable % Time Undetermined crazyhorse 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 100.000% 2. I had modified a script under Mon to check for Citrix connectivity by telneting to port 1494 and expecting ICA back as a successful connection. - How could I do this under Nagios? 3 Oracle checking - I see the check_oracle utility, and can run it from the command line with the --login dbname option and the up/down status comes back - how am I supposed to set this up in the host.cfg, hostgroup.cfg set of files etc? I tried, but it kept failing the -v option when loading Nagios. - any help gratefully received. External Commands - how do I run these from the secured website - can't find a reference in the docs Regards SM? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simon McKay-Mills Percepta Technology Manager DDI +44-(0)141-4183648 Mob +44-(0)797-6593462 simon.mckay-mills at corp.percepta-crm.com -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBP0MzI1b1rXjosed5EQI14gCeJHfKcn0L9UlzYT4+X3SOkkjklQYAoJQo P0Kx5RdHM4AyLWxu7tt1n6VH =yIYv -----END PGP SIGNATURE----- ............................................................... This electronic message transmission contains information that is deemed confidential or privileged by the sender. The information is intended to be for the use of the individual or entity named as recipient(s) above, only. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by telephone (303-397-8100) or by electronic mail(Legal at TeleTech.Com) immediately. ............................................................... ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsm at inpro.net Wed Aug 20 14:57:35 2003 From: jsm at inpro.net (Jeff McKeon) Date: 20 Aug 2003 08:57:35 -0400 Subject: Dumb upgrade question In-Reply-To: <1061303284.3f4233f4f169b@netmail.pipex.net> References: <1061297921.1691.18.camel@rh80-jsm.telaurus.net> <1061299383.3f4224b768e71@netmail.pipex.net> <1061302606.1691.21.camel@rh80-jsm.telaurus.net> <1061303284.3f4233f4f169b@netmail.pipex.net> Message-ID: <1061384255.1691.30.camel@rh80-jsm.telaurus.net> Matthew, Thanks for the info!!! On Tue, 2003-08-19 at 10:28, matthewwilson at dsl.pipex.com wrote: > Jeff, > Yes I think that should work... after installing the RPM just copy *.cfg from > the old dir to /etc/nagios/. Everything else will be installed by the rpm to > the new dirs. > In your httpd.conf file you will to change your directory statements to > something like this: > > ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" > ScriptAlias /nagios/cgi-bin/ "/usr/lib/nagios/cgi/" > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /nagios "/usr/share/nagios" > > AllowOverride AuthConfig > > Order allow,deny > Allow from all > > > note I haven't actually done the upgrade... I have just extrapolating from my > experiences installing 1.1 using the rpm > > Matthew. > > Quoting Jeff McKeon : > > > Mathew, > > > > so everything currently in /usr/local/nagios/etc will need to be moved > > to /etc/nagios? > > > > what about the rest of the directories under /usr/local/nagios like > > libexec and images? > > > > What config changes are needed in apache? It's been months since I set > > this up.. > > > > Thanks, > > > > Jeff > > > > On Tue, 2003-08-19 at 09:23, matthewwilson at dsl.pipex.com wrote: > > > Hi Jeff, > > > The RPM puts things in different directories to where you currently have > > nagios > > > installed (by default) So you will probably be OK. After the RPM install > > you > > > will need to copy your config files to /etc/nagios/ and update your apache > > config. > > > > > > Matthew Wilson > > > DCSat.net > > > > > > Quoting Jeff McKeon : > > > > > > > I currently have ver 1.0 (nov 24, 2002) running. I originally installed > > > > this the old fashion way by compiling the binaries myself. I just > > > > downloaded the ver 1.1 RPM. Can I do an RPM upgrade over a binary > > > > install or will this "screw the pooch?" > > > > > > > > thanks, > > > > -- > > > > Jeff McKeon > > -- > > Jeff McKeon > > > > -- Jeff McKeon ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 20 15:35:27 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 20 Aug 2003 23:35:27 +1000 Subject: EPN, RRDfiles etc In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Wed, Aug 20, 2003 at 05:33:16AM -0700 References: Message-ID: <20030820233507.A620@IPAustralia.Gov.AU> > From: Jamie Baddeley > Reply-To: jamie.baddeley at vpc.co.nz > To: nagios-users at lists.sourceforge.net > Date: Wed, 20 Aug 2003 19:55:09 +1200 > Subject: [Nagios-users] EPN, RRDfiles etc > > Aaargh ! Multi-part in the digest .. is indegistible > --------------Boundary-00=_XBRWNLL92J52KZPYCQNI > Content-Type: text/plain; > charset="iso-8859-1" > Content-Transfer-Encoding: 8bit > > Hi All, > > I'm working on getting a new plugin sorted out. Ages ago Daniel Rich > posted a plugin to read RRD files generated by Cricket. It's an awesome > little plugin designed to read RRD files. This means you can use your > favourite rrd based system to go out and get the info from the network, and > Nagios can poll the resultant RRD's locally. Nice. A Nice efficient way of > doing things. > > Anyway, I'm testing Daniel's plugin, and I've come up against a problem. The > plugin uses perl's IPC::Open3 module to call rrdtool to get the info. > Unfortunately there appears to be a problem with Nagios that has EPN compiled > and Open3. > It may not be Open3; try a hello world sort of test program that uses this module - maybe the synopsis from the perldoc Open3. > Ref: > http://www.mail-archive.com/embperl at perl.apache.org/msg05441.html > > When I use the plugin I get nothing but (no output!). > > Debugging, I'm getting this: > Can't locate object method "OPEN" via package "OutputTrap" (perhaps you > forgot to load "OutputTrap"?) at /usr/lib/perl5/5.6.1/IPC/Open3.pm line 136. > > ...when I run Nagios (run in foreground to debug). > > My question is what do people think are sensible ways around this? > - Recompile Nagios without EPN support? > - Find_another_way with the plugin? > - Discover some other magic fix? > > I've attached the plugin, as I think it's a great way of doing what a lot of > people are trying to do with Apan etc, except that it takes advantage of > tried and true time-series trending systems such as cricket or perhaps cacti > etc. > Unfortunately, your mailer has base-64 encoded the plugin (in digest format anyway) so that it's hard to see what is causing ePN to choke. > I'm hesitant to walk away from EPN, as we have the learned Mr Hopcroft often > extolling the virtues of EPN. Noisy and extremely non politically correct, non mixed company raspberry. ePN buys somethings but you lose others; I like it but YMMV. Some modules simply don't work with ePN (eg Parse::HTML); there are some things that cannot be done with an embedded Perl interpreter (there's some notes on the Nag web site about the definitely verboten stuff but Stas Beckmans __book__ [his notes finally ended up as an ORA publication] on mod_perl [the free HTML version of the book is linked on the mod_perl site - thoroughly recommended if you are interested in getting to grips with Perl] is the authority). You may need to hack the plugin and then try it out with the mini_epn.c in the contrib directory (you may need the version in the CVS if you have a threaded Perl) But there is always more than one way to do it. In this case 1 make a C wrapper for your plugin eg /* $Id: check_pams.c,v 1.2 2002-12-04 15:55:23+11 anwsmh Exp anwsmh $ */ /* $Log: check_pams.c,v $ * */ int main(int argc, char *argv) { execv("/usr/local/nagios/libexec/check_pams.pl", argv) ; } 2 s/check_pams\.pl/your_plugin.pl/ 3 gcc -o your_plugin your_plugin_wrapper.c /* also handly for Perl plugins that need to be suid */ > > > Thoughts? > > jamie > -- Stanley Hopcroft DESOLATION ROW (Words and Music by Bob Dylan) They're selling postcards of the hanging They're painting the passports brown The beauty parlor is filled with sailors The circus is in town Here comes the blind commissioner They've got him in a trance One hand is tied to the tight-rope walker The other is in his pants And the riot squad they're restless They need somewhere to go As Lady and I look out tonight >From Desolation Row Cinderella, she seems so easy "It takes one to know one," she smiles And puts her hands in her back pockets Bette Davis style And in comes Romeo, he's moaning "You Belong to Me I Believe" And someone says," You're in the wrong place, my friend You better leave" And the only sound that's left After the ambulances go Is Cinderella sweeping up On Desolation Row ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From albler-b at chello.at Wed Aug 20 14:22:37 2003 From: albler-b at chello.at (Bernhard Albler) Date: Wed, 20 Aug 2003 14:22:37 +0200 Subject: 3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing) In-Reply-To: References: Message-ID: <3F43680D.9080301@chello.at> McKay-Mills, Simon wrote: > > Hi, > > I've set up Nagios to try and improve on my current Mon setup (improved > reporting etc) and like what I have so far after 1 day. > > 1. The basic http/ping checks are coming back as OK but allocates all the > time as undetermined (see below) rather than up. - where am I going wrong? > > Host % Time Up % Time Down % Time Unreachable % Time Undetermined > crazyhorse 0.000% (0.000%) 0.000% (0.000%) 0.000% (0.000%) 100.000% > maybe this can help: http://www.nagios.org/faqs/viewfaq.php?faq_id=136&expand=false&showdesc=true > 2. I had modified a script under Mon to check for Citrix connectivity by > telneting to port 1494 and expecting ICA back as a successful connection. - > How could I do this under Nagios? > you could just use "check_tcp" and connect to port 1494, but there is a actually quite sophisticated plugin for Metaframe servers called check_citrix: get it here http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/nagiosplug/nagiosplug/contrib/ > 3 Oracle checking - I see the check_oracle utility, and can run it from the > command line with the --login dbname option and the up/down status comes > back - how am I supposed to set this up in the host.cfg, hostgroup.cfg set > of files etc? I tried, but it kept failing the -v option when loading > Nagios. - any help gratefully received. > > External Commands - how do I run these from the secured website - can't find > a reference in the docs > > > regards Bernhard Albler > Regards > > SM? > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Simon McKay-Mills > Percepta Technology Manager > DDI +44-(0)141-4183648 > Mob +44-(0)797-6593462 > simon.mckay-mills at corp.percepta-crm.com > -- Es gen?gt nicht, keine Gedanken zu haben. Man muss auch unf?hig sein, sie auszudr?cken. --Karl Kraus ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simon.McKay-Mills at corp.percepta-crm.com Wed Aug 20 16:48:06 2003 From: Simon.McKay-Mills at corp.percepta-crm.com (McKay-Mills, Simon) Date: Wed, 20 Aug 2003 15:48:06 +0100 Subject: 3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing) Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom/All 1 - RTFM - Doh! - thanks for the link :-) 2 - check_citrix, all works great from the shell (nice tool!). So it must be the way I've set up things in Nagios. In the checkcommands.cfg I have set: # 'check_citrix' command defnition Define command{ command_name check_citrix command_line $USER1$/check_citrix $ARG1$ $ARG2$ (SHOULD THIS BE IN A DIFFERENT FORMAT?) And in the hosts.cfg a host definition of voyager-01. In the hostsgroup.cfg hostgroup_name of citrix-servers with voyager-01 as a member. In the services.cfg # Service Definition define service{ use generic-service ;Name of service template to use host_name voyager-01 service_description Citrix (DOES THIS NEED TO BE TIED TO ANOTHER ENTRY?) check_command check_citrix -B=10.10.10.10 -Ppubapp1 Error message from the -v option Service check command 'check_citrix -B=10.10.10.10 -Ppubapp1' specified in service 'Citrix' for host voyager-01 not defined anywhere If I change the check_command in the the services.cfg to the following check_command check_citrix!-B=10.10.10.10!-Ppubapp1 The -v option doesn't detect any errors, BUT, it doesn't appear as a service for the server... 3 Oracle testing... Haven't been able to work out how to define an oracle database RE the host/hostgroup yet... - -----Original Message----- From: Tom DE BLENDE (GCC) [mailto:Tom.DeBlende at dhl.com] Sent: 20 August 2003 12:25 To: McKay-Mills, Simon Cc: 'nagios-users at lists.sourceforge.net' Subject: Re: [Nagios-users] 3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing) McKay-Mills, Simon wrote: >1. The basic http/ping checks are coming back as OK but allocates all >the time as undetermined (see below) rather than up. - where am I going >wrong? > > http://www.nagios.org/faqs/viewfaq.php?faq_id=136 >2. I had modified a script under Mon to check for Citrix connectivity >by telneting to port 1494 and expecting ICA back as a successful >connection. - How could I do this under Nagios? > check_tcp or better: use the check_citrix from the contrib >3 Oracle checking - I see the check_oracle utility, and can run it from >the command line with the --login dbname option and the up/down status >comes back - how am I supposed to set this up in the host.cfg, >hostgroup.cfg set of files etc? I tried, but it kept failing the -v >option when loading Nagios. - any help gratefully received. > an output of the error messages would be helpful! -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBP0OKblb1rXjosed5EQIAwACgsGqIVBRzaEs0ZNpFlLj4tBNsKQ0AnR33 20GDIP3OdlNyv9eSO5YrYN6J =Bu1H -----END PGP SIGNATURE----- ............................................................... This electronic message transmission contains information that is deemed confidential or privileged by the sender. The information is intended to be for the use of the individual or entity named as recipient(s) above, only. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by telephone (303-397-8100) or by electronic mail(Legal at TeleTech.Com) immediately. ............................................................... ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 13:24:55 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Wed, 20 Aug 2003 13:24:55 +0200 Subject: 3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing) In-Reply-To: References: Message-ID: <3F435A87.6040502@dhl.com> McKay-Mills, Simon wrote: >1. The basic http/ping checks are coming back as OK but allocates all the >time as undetermined (see below) rather than up. - where am I going wrong? > > http://www.nagios.org/faqs/viewfaq.php?faq_id=136 >2. I had modified a script under Mon to check for Citrix connectivity by >telneting to port 1494 and expecting ICA back as a successful connection. - >How could I do this under Nagios? > check_tcp or better: use the check_citrix from the contrib >3 Oracle checking - I see the check_oracle utility, and can run it from the >command line with the --login dbname option and the up/down status comes >back - how am I supposed to set this up in the host.cfg, hostgroup.cfg set >of files etc? I tried, but it kept failing the -v option when loading >Nagios. - any help gratefully received. > an output of the error messages would be helpful! ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 20 17:54:26 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 20 Aug 2003 11:54:26 -0400 (EDT) Subject: Exit Code 137 using NRPE In-Reply-To: References: Message-ID: http://www.nagios.org/faqs/viewfaq.php?faq_id=17 On Wed, 20 Aug 2003, Jurgens, Matthew wrote: > > I am running a simple service check using NRPE: > > on the Nagios host if I run it manually like: > # /usr/local/nagios/libexec/check_nrpe -H pokemon -c check_maj -t 180 > Performance Check OK > > # echo $? > 0 > > It works perfectly > > The NAgios config to execute it is (basically what I ran manually) > command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -c > $ARG1$ -t 180 > > The service definition is > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name pokemon > service_description MAJ > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > contact_groups nagios-admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command check_nrpe!check_maj > } > > and yet when it runs under Nagios it always returns > > Current Status: CRITICAL > Status Information: (Return code of 137 is out of bounds) > > What is exit code 137? > Any ideas? > > > > > > The script it is running is nothing special > it is simply > > #!/usr/bin/ksh > #echo "Performance Check OK|1:0.8:0.7:0.7" > echo "Performance Check OK" > exit 0 > > 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] > -- ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Aug 20 19:03:31 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 20 Aug 2003 13:03:31 -0400 Subject: determine state (hard or soft) before submitting OCSP command Message-ID: <00e001c3673c$fc5f5270$f805ff0a@tekniq> Hi everyone, My understanding is that Nagios is meant to perform service retries if a service is found to be down until that service has been determined to be in a hard state. The problem I'm running into is that it appears OCSP commands are submitted when a host is in soft state, therefore results that may be tried again and should not be submitted are. I've had trouble duplicating or testing this but I was hoping someone could either confirm or deny my findings. If I am indeed correct, is there an easy way to modify the existing Nagios to ignore soft states when submitting OCSP commands or future plans to incorporate additional state calculation into 2.0? Thanks, Jason Lancaster ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 20 19:35:04 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 20 Aug 2003 13:35:04 -0400 (EDT) Subject: check_uptime work around... with snmp In-Reply-To: References: Message-ID: On Fri, 20 Jun 2003, Serveur-Faucon Surveillance wrote: > Hi all, > > Someone was looking up a way to be notified when his servers where rebooting. The suggestion at that time was to use the check_uptime check that is in the contrib directory (= means, does not work right now and need some modification). > > A work around for this, using snmp, would be to use the check_snmp check (latest daily release of plugins, with the range option. > > So the command would look like... (in checkcommands.cfg) > BEGIN -------------------- > #snmp > define command{ > command_name snmp_sysuptime > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -c 300:1 -C $ARG1$ -o .1.3.6.1.2.1.1.3.0 > } > ----------------- END > > -o .1.3.6.1.2.1.1.3.0 = This is the OID uptime in seconds (I think) for everything that does SNMP > -c 300:1 = Assuming that theses are seconds, this option would let me know if it is between 300 seconds and 1 second. > > You would have to do some tests to actually see if it is seconds. > > Happy hunting. :) > > Alex > The unit is hundredths of a second ... -- ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlancaster at affinity.com Wed Aug 20 20:26:08 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Wed, 20 Aug 2003 14:26:08 -0400 Subject: determine state (hard or soft) before submitting OCSP command References: <5DB017510818EC468B05BD7BD9EACF8303E7EB2E@mismail.ena.com> Message-ID: <013501c36748$8698e860$f805ff0a@tekniq> I never saw the $STATETYPE$ variable in the docs but it's right there in the State Types doc. Woops. This solves all my problems. Thanks! Jason ----- Original Message ----- From: "Marc Powell" To: "Jason Lancaster" ; Sent: Wednesday, August 20, 2003 13:38 Subject: RE: [Nagios-users] determine state (hard or soft) before submitting OCSP command If you use the example OSCP script, you're exactly right. All states are submitted no matter what. Nagios already knows about the different state types so why don't you just build in some intelligence into your OCSP script that suits your particular needs by passing it the $STATETYPE$ variable and only do something when the statetype is HARD? -- Marc > -----Original Message----- > From: Jason Lancaster [mailto:jlancaster at affinity.com] > Sent: Wednesday, August 20, 2003 12:04 PM > To: nagios-users at lists.sourceforge.net > > Hi everyone, > My understanding is that Nagios is meant to perform service retries if a > service is found to be down until that service has been determined to be > in > a hard state. The problem I'm running into is that it appears OCSP > commands > are submitted when a host is in soft state, therefore results that may be > tried again and should not be submitted are. I've had trouble duplicating > or > testing this but I was hoping someone could either confirm or deny my > findings. > > If I am indeed correct, is there an easy way to modify the existing Nagios > to ignore soft states when submitting OCSP commands or future plans to > incorporate additional state calculation into 2.0? > > Thanks, > Jason Lancaster > > > > ------------------------------------------------------- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 19:38:09 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 20 Aug 2003 12:38:09 -0500 Subject: determine state (hard or soft) before submitting OCSP command Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EB2E@mismail.ena.com> If you use the example OSCP script, you're exactly right. All states are submitted no matter what. Nagios already knows about the different state types so why don't you just build in some intelligence into your OCSP script that suits your particular needs by passing it the $STATETYPE$ variable and only do something when the statetype is HARD? -- Marc > -----Original Message----- > From: Jason Lancaster [mailto:jlancaster at affinity.com] > Sent: Wednesday, August 20, 2003 12:04 PM > To: nagios-users at lists.sourceforge.net > > Hi everyone, > My understanding is that Nagios is meant to perform service retries if a > service is found to be down until that service has been determined to be > in > a hard state. The problem I'm running into is that it appears OCSP > commands > are submitted when a host is in soft state, therefore results that may be > tried again and should not be submitted are. I've had trouble duplicating > or > testing this but I was hoping someone could either confirm or deny my > findings. > > If I am indeed correct, is there an easy way to modify the existing Nagios > to ignore soft states when submitting OCSP commands or future plans to > incorporate additional state calculation into 2.0? > > Thanks, > Jason Lancaster > > > > ------------------------------------------------------- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elfchief at lupine.org Wed Aug 20 20:00:07 2003 From: elfchief at lupine.org (Jay 'Whip' Grizzard) Date: Wed, 20 Aug 2003 11:00:07 -0700 Subject: Processes hung on pipe writes (and other fun) Message-ID: <20030820180007.GP7583@zash.lupine.org> Greetings! My help was enlisted by a coworker recently to track down an issue with his nagios install ... I think I've got a workable solution now, but wanted to toss it out to the mailing list for a bit of a sanity check. The problem: Initially, it appeared that a number of nagios subprocesses were never exiting properly (it was reported to me as 'hung processes'). Turns out the processes weren't -completely- hung, but they were blocking on a write(2) call that was taking a long time (2 to 120 minutes) to complete. IIRC, it was a function called from run_service_check that was actually hanging. The fd being written to is, I believe, the IPC pipe being used to report results back to the parent process. After much investigation, the best conclusion I've been able to draw is that the process scheduling on our system (RedHat 8.0) is behaving in such a way that, after the parent process is able to clear out its pipe a bit (thus freeing some buffer), some processes are always scheduled -last-, giving other (newer) processes a chance to fill up the pipe's buffer again before the 'hung' processes get a chance to run again. Since I didn't feel like rewriting the linux process scheduler, I instead opted to increase the size of the pipe buffer in the kernel (there's a define for PIPE_SIZE that's normally set to PAGE_SIZE -- 4k on x86). I increased it to (8 * PAGE_SIZE) and rebuilt my kernel, under the theory that a larger buffer would give processes a much larger chance of being able to get some data into the buffer before it filled ... and, indeed, the 'hung' processes seem to have gone away -- After 24 hours, the oldest nagios subprocesses on the box are, at worst, one minute old. So my question is ... Is this a sane solution to the problem? I don't immediately see any real possible negative repercussions, but I'd love to get feedback from folks more familiar with both nagios (which I'm fairly unfamiliar with) and linux (I'm a Solaris geek). It seems to work in initial testing, but I'd rather not have my systems start blowing up spectacularly in the future... :) Thanks! -jay ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 21:26:59 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 20 Aug 2003 14:26:59 -0500 Subject: Large updates to Nagios config with NagMIN active? Message-ID: <16195.52099.224988.140690@montanaro.dyndns.org> At the request of my boss I've installed NagMIN and have been playing with it a bit ("if it doesn't have a web admin interface we'll look elsewhere"). Being a Unix weenie I'm not real found of point-n-click stuff when there's a lot to do. Adding a new machine to Nagios generally means adding a host, a hostgroup (we do things weird here - each machine is in its own group), multiple contact groups and one or more service entries. One of my colleagues came to me the other day and asked me to add several new machines (>10) to the monitor, each with from two to four escalating contacts and two or three services. It took me just a few minutes to add them to our existing monitoring system. I defined and executed a couple emacs macros to generate a shell script full of "add(host|service)" commands for our local system and badda bing, badda boom, everything was in place. It wouldn't have been any more difficult working directly with Nagios, but needless to say, with NagMIN running, performing large updates is a more difficult proposition. I wrote a couple Python scripts to insert much of the content directly into MySQL, but I still wound up doing a lot of mousing around and think I may have confused NagMIN in the process (does it cache anything or always use the database for info?). Had I been able to simply edit the config files and tell NagMIN to refresh itself from them, I think I would have been much better off. Is there some way to more efficiently add content to the database in the presence of NagMIN? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CGill at NewWorldApps.com Wed Aug 20 15:35:51 2003 From: CGill at NewWorldApps.com (Chris Gill) Date: Wed, 20 Aug 2003 09:35:51 -0400 Subject: 3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing) Message-ID: <48F26311AF9C9943926CA0CD204BC214BB0A03@nwa-srv-01.newworldapps.com> > 2. I had modified a script under Mon to check for Citrix connectivity by telneting to port 1494 and expecting ICA back as > a successful connection. - How could I do this under Nagios? I can field this one, at least. Just use 'check_tcp'. It lets you check an arbitrary TCP port for connectivity. I'm using it to check availability of the Legato NetWorker backup system. Should work fine for citrix too. Use something like this for your check command: check_command check_tcp!1494 The check_tcp command def is in the checkcommands.cfg sample, as I recall. Hope that helps. ----------------------------------------- Christopher P. Gill, Systems Engineer, New World Apps cgill at newworldapps.com 703-856-7268 ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 23:19:35 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 20 Aug 2003 16:19:35 -0500 Subject: 3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing) In-Reply-To: <48F26311AF9C9943926CA0CD204BC214BB0A03@nwa-srv-01.newworldapps.com> References: <48F26311AF9C9943926CA0CD204BC214BB0A03@nwa-srv-01.newworldapps.com> Message-ID: <16195.58855.11239.551050@montanaro.dyndns.org> Chris> I can field this one, at least. Just use 'check_tcp'. It lets you Chris> check an arbitrary TCP port for connectivity. I'm using it to Chris> check availability of the Legato NetWorker backup system. This reminds me of a problem they had at Northwestern with their homegrown monitor. A check_tcp-like script was used to check that the BackupExpress daemon was available. All it did was verify that something was listening on the desired port. Unfortunately, if you simply connected and then disconnected without having a nice friendly chat, the daemon would sometimes get into a weird state and not work at all. They wound up just not testing that service. Presumably Legato's software is better behaved, but if you're planning on using something like check_tcp, you need to convince yourself that the service is robust in the face of a simple connect/disconnect, or make sure you have a plausible send/expect chat to use (not always possible for proprietary protocols). -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Aug 20 22:33:55 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 20 Aug 2003 16:33:55 -0400 Subject: Host Status Appears As Down When It Is Actually Up Message-ID: <5593DA408212D511B0910002A513501F06558ED7@phsexch20.mgh.harvard.edu> I have a situation where I have several hosts that appear to be down, but they are actually up. Furthermore, the scheduled checks of the services on the hosts in question show that Nagios is connecting to the hosts and they are being updated. Hence, the host is supposedly down, but its services are ok. The hosts are on two separate subnets and all are HP-UX workstations. What is going on? ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsmedley at architelpartners.com Thu Aug 21 00:24:26 2003 From: jsmedley at architelpartners.com (Jason Smedley) Date: Wed, 20 Aug 2003 17:24:26 -0500 Subject: active_checks_enabled Message-ID: <006101c36769$d0dd0ac0$0dc8a8c0@mjs> I've got Distributed Monitoring to work properly. I've also turned on the freshness checking options for the services on the central server. However, the active_checks_enabled option does not work. Its checking my service-is-stale script and sending out down alerts, then turning around and sending out recovered alerts when it processes the passive notifications. If I turn off active checks from the nagios.cfg file, the checks stop, but I need to check local hosts from the central server. Anyone else having this problem? Services.cfg file on Central Server: define service{ use generic-service host_name server service_description check-host-alive is_volatile 0 active_checks_enabled 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups architel notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command service-is-stale } -------------- next part -------------- An HTML attachment was scrubbed... URL: From fzhang at hsc.unt.edu Wed Aug 20 23:16:48 2003 From: fzhang at hsc.unt.edu (Frank Zhang) Date: Wed, 20 Aug 2003 16:16:48 -0500 (CDT) Subject: nrpe In-Reply-To: References: Message-ID: Thanks a lot. I can run "check_nrpe -H myhost", and I also can run "check_nrpe -H myhost -c command" Just the web site still give me error message "critical, connection refused or time out" Frank On Wed, 20 Aug 2003 Frank.Langanke at RSBICK.rohde-schwarz.com wrote: > Try to run the check_nrpe command on a console first and see if it works there. > 'check_nrpe -H yourhost' should return the version of your nrpe daemon installed > on the remote machine. Remember that you got to have a 'check_cpuload' plugin > installed and configured in the nrpe.cfg on the checked host. > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ecejgv at eresmas.com Thu Aug 21 10:40:17 2003 From: ecejgv at eresmas.com (ecejgv at eresmas.com) Date: Thu, 21 Aug 2003 10:40:17 +0200 Subject: statuswrl.cgi does not draw anything Message-ID: Hi: I contact you because the cgi statuswrl.cgi does not work in my system. I click the option 3D-Status Map and the answer is a black screen. I have seen the following message on the console: X Error of failed request: GLXBadDrawable Major opcode of failed request: 144 (GLX) Minor opcode of failed request: 11 (X_GLXSwapBuffers) Serial number of failed request: 1733700 Current serial number in output stream: 1733701 PARSE ERROR: '' XXX ' Extended Information ' I am working with Nagios 1.1 and RedHat 8.0. I have installed the software freewrl 1.0 to see the generated model by the cgi statuswrl. Mozilla is apparently working properly with the plugin frrewrl. I have configured the cgi.cfg with this value: default_statuswrl_layout=4 Could you give me a hand to solve this problem please??? The best regards and thanks in advance for your attention, Javier. ------------------------------------------------------- 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/358/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 From nagios at okka.org.za Thu Aug 21 09:22:07 2003 From: nagios at okka.org.za (Carlito - nagios user) Date: Thu, 21 Aug 2003 09:22:07 +0200 Subject: Erasing old information ... Message-ID: <000601c367b4$eda00f90$0214a8c0@bit.co.za> What option in the nagios.cfg file can I enable to erase all host and service information ( all hostory of uptime and downtime since I've been testing nagios and now want to start running it as my primary monitor ) Any ideas ? ------------------------------------------------------- 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/358/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 From sobrien at ci.bend.or.us Thu Aug 21 16:40:53 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Thu, 21 Aug 2003 07:40:53 -0700 Subject: Errors making Nagios with mysql Message-ID: I am getting errors when I make all after configuring Nagios with mysql support. I have seen references to these errors on google and the fix was to put LDFLAGS= -L/usr/lib/mysql -lmysqlclient in your Makefile, well mine already had it in there. Anyone else had this problem, I already know that DB support is questionable for the future but to me it makes no sense to log this data to flat files. [root at localhost nagios-1.1]# make all cd ./base && make make[1]: Entering directory `/home/system/src/nagios-1.1/base' gcc -g -O2 -I/usr/include/mysql -DHAVE_CONFIG_H -DNSCORE -L/usr/lib/mysql -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios /tmp/cc1pKEPG.o(.text+0x378): In function `xrddb_initialize': ../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/cc1pKEPG.o(.text+0x3f2): In function `xrddb_connect': ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /tmp/cc1pKEPG.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference to `mysql_close' /tmp/cc1pKEPG.o(.text+0x464): In function `xrddb_disconnect': ../xdata/xrddb.c:299: undefined reference to `mysql_close' /tmp/cc1pKEPG.o(.text+0x47c): In function `xrddb_query': ../xdata/xrddb.c:329: undefined reference to `mysql_query' /tmp/cc1pKEPG.o(.text+0xd98): In function `xrddb_read_program_information': ../xdata/xrddb.c:850: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0xdb3):../xdata/xrddb.c:854: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0xe79):../xdata/xrddb.c:867: undefined reference to `mysql_free_result' /tmp/cc1pKEPG.o(.text+0xf38): In function `xrddb_read_host_information': ../xdata/xrddb.c:951: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0xf62):../xdata/xrddb.c:951: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0x1124):../xdata/xrddb.c:1004: undefined reference to `mysql_free_result' /tmp/cc1pKEPG.o(.text+0x11b8): In function `xrddb_read_service_information': ../xdata/xrddb.c:1129: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0x11e2):../xdata/xrddb.c:1129: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0x1431):../xdata/xrddb.c:1195: undefined reference to `mysql_free_result' /tmp/ccTEGl8x.o(.text+0x378): In function `xcddb_initialize': ../xdata/xcddb.c:234: undefined reference to `mysql_init' /tmp/ccTEGl8x.o(.text+0x3ea): In function `xcddb_connect': ../xdata/xcddb.c:259: undefined reference to `mysql_real_connect' /tmp/ccTEGl8x.o(.text+0x405):../xdata/xcddb.c:261: undefined reference to `mysql_close' /tmp/ccTEGl8x.o(.text+0x45c): In function `xcddb_disconnect': ../xdata/xcddb.c:303: undefined reference to `mysql_close' /tmp/ccTEGl8x.o(.text+0x474): In function `xcddb_query': ../xdata/xcddb.c:329: undefined reference to `mysql_query' /tmp/ccTEGl8x.o(.text+0x5c3): In function `xcddb_validate_host_comments': ../xdata/xcddb.c:477: undefined reference to `mysql_store_result' /tmp/ccTEGl8x.o(.text+0x5dd):../xdata/xcddb.c:477: undefined reference to `mysql_fetch_row' /tmp/ccTEGl8x.o(.text+0x673): In function `xcddb_validate_service_comments': ../xdata/xcddb.c:566: undefined reference to `mysql_store_result' /tmp/ccTEGl8x.o(.text+0x68d):../xdata/xcddb.c:566: undefined reference to `mysql_fetch_row' /tmp/ccTEGl8x.o(.text+0x806): In function `xcddb_save_host_comment': ../xdata/xcddb.c:748: undefined reference to `mysql_insert_id' /tmp/ccTEGl8x.o(.text+0x9da): In function `xcddb_save_service_comment': ../xdata/xcddb.c:847: undefined reference to `mysql_insert_id' /tmp/cciRZnh0.o(.text+0x3e4): In function `xsddb_initialize': ../xdata/xsddb.c:253: undefined reference to `mysql_init' /tmp/cciRZnh0.o(.text+0x45e): In function `xsddb_connect': ../xdata/xsddb.c:286: undefined reference to `mysql_real_connect' /tmp/cciRZnh0.o(.text+0x479):../xdata/xsddb.c:288: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x4e0): In function `xsddb_disconnect': ../xdata/xsddb.c:335: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x4f8): In function `xsddb_check_connection': ../xdata/xsddb.c:363: undefined reference to `mysql_errno' /tmp/cciRZnh0.o(.text+0x571):../xdata/xsddb.c:369: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x670): In function `xsddb_query': ../xdata/xsddb.c:463: undefined reference to `mysql_query' /tmp/ccFlpGYl.o(.text+0x378): In function `xdddb_initialize': ../xdata/xdddb.c:234: undefined reference to `mysql_init' /tmp/ccFlpGYl.o(.text+0x3ea): In function `xdddb_connect': ../xdata/xdddb.c:259: undefined reference to `mysql_real_connect' /tmp/ccFlpGYl.o(.text+0x405):../xdata/xdddb.c:261: undefined reference to `mysql_close' /tmp/ccFlpGYl.o(.text+0x45c): In function `xdddb_disconnect': ../xdata/xdddb.c:303: undefined reference to `mysql_close' /tmp/ccFlpGYl.o(.text+0x474): In function `xdddb_query': ../xdata/xdddb.c:329: undefined reference to `mysql_query' /tmp/ccFlpGYl.o(.text+0x574): In function `xdddb_validate_host_downtime': ../xdata/xdddb.c:473: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0x58d):../xdata/xdddb.c:473: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0x64c): In function `xdddb_validate_service_downtime': ../xdata/xdddb.c:587: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0x665):../xdata/xdddb.c:587: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0x80a): In function `xdddb_save_host_downtime': ../xdata/xdddb.c:788: undefined reference to `mysql_insert_id' /tmp/ccFlpGYl.o(.text+0x9e6): In function `xdddb_save_service_downtime': ../xdata/xdddb.c:887: undefined reference to `mysql_insert_id' /tmp/ccFlpGYl.o(.text+0xc1d): In function `xdddb_read_host_downtime': ../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0xc41):../xdata/xdddb.c:1107: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0xd23):../xdata/xdddb.c:1116: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xd40):../xdata/xdddb.c:1149: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xd95): In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0xdb9):../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0xe9f):../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xebc):../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/system/src/nagios-1.1/base' make: *** [all] Error 2 Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From agupta at yahoo-inc.com Thu Aug 21 22:23:26 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Thu, 21 Aug 2003 13:23:26 -0700 Subject: Erasing old information ... In-Reply-To: <000601c367b4$eda00f90$0214a8c0@bit.co.za> References: <000601c367b4$eda00f90$0214a8c0@bit.co.za> Message-ID: Try removing the current status.log file. Search for "status_file" in nagios.cfg to find out which one you have currently. or did I get your question wrong? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Carlito - nagios user Sent: Thursday, August 21, 2003 12:22 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Erasing old information ... What option in the nagios.cfg file can I enable to erase all host and service information ( all hostory of uptime and downtime since I've been testing nagios and now want to start running it as my primary monitor ) Any ideas ? ------------------------------------------------------- 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/358/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 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/358/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 From sobrien at ci.bend.or.us Fri Aug 22 00:26:34 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Thu, 21 Aug 2003 15:26:34 -0700 Subject: Errors making Nagios with mysql In-Reply-To: <002f01c3680e$6499ae90$49e56180@hp1> References: <002f01c3680e$6499ae90$49e56180@hp1> Message-ID: Thanks!! That was it. I couldn't find that anywhere.... Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 "Daniel Tran" 08/21/2003 11:02 AM Please respond to To "'Steve OBrien'" cc Subject RE: [Nagios-users] Errors making Nagios with mysql Run ./configure --with-mysql-xdata --with-mysql-downtime --with-mysql-comments --with-mysql-status --with-mysql-retention --with-mysql-extinfo --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql note: --with-mysql-lib and --with-mysql-inc pointing the right directory where your lib and include are installed. Daniel ps: I can never get nagios to run correctly with mysql. May you can and later on help me. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve OBrien Sent: Thursday, August 21, 2003 7:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Errors making Nagios with mysql I am getting errors when I make all after configuring Nagios with mysql support. I have seen references to these errors on google and the fix was to put LDFLAGS= -L/usr/lib/mysql -lmysqlclient in your Makefile, well mine already had it in there. Anyone else had this problem, I already know that DB support is questionable for the future but to me it makes no sense to log this data to flat files. [root at localhost nagios-1.1]# make all cd ./base && make make[1]: Entering directory `/home/system/src/nagios-1.1/base' gcc -g -O2 -I/usr/include/mysql -DHAVE_CONFIG_H -DNSCORE -L/usr/lib/mysql -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios /tmp/cc1pKEPG.o(.text+0x378): In function `xrddb_initialize': ../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/cc1pKEPG.o(.text+0x3f2): In function `xrddb_connect': ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /tmp/cc1pKEPG.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference to `mysql_close' /tmp/cc1pKEPG.o(.text+0x464): In function `xrddb_disconnect': ../xdata/xrddb.c:299: undefined reference to `mysql_close' /tmp/cc1pKEPG.o(.text+0x47c): In function `xrddb_query': ../xdata/xrddb.c:329: undefined reference to `mysql_query' /tmp/cc1pKEPG.o(.text+0xd98): In function `xrddb_read_program_information': ../xdata/xrddb.c:850: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0xdb3):../xdata/xrddb.c:854: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0xe79):../xdata/xrddb.c:867: undefined reference to `mysql_free_result' /tmp/cc1pKEPG.o(.text+0xf38): In function `xrddb_read_host_information': ../xdata/xrddb.c:951: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0xf62):../xdata/xrddb.c:951: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0x1124):../xdata/xrddb.c:1004: undefined reference to `mysql_free_result' /tmp/cc1pKEPG.o(.text+0x11b8): In function `xrddb_read_service_information': ../xdata/xrddb.c:1129: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0x11e2):../xdata/xrddb.c:1129: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0x1431):../xdata/xrddb.c:1195: undefined reference to `mysql_free_result' /tmp/ccTEGl8x.o(.text+0x378): In function `xcddb_initialize': ../xdata/xcddb.c:234: undefined reference to `mysql_init' /tmp/ccTEGl8x.o(.text+0x3ea): In function `xcddb_connect': ../xdata/xcddb.c:259: undefined reference to `mysql_real_connect' /tmp/ccTEGl8x.o(.text+0x405):../xdata/xcddb.c:261: undefined reference to `mysql_close' /tmp/ccTEGl8x.o(.text+0x45c): In function `xcddb_disconnect': ../xdata/xcddb.c:303: undefined reference to `mysql_close' /tmp/ccTEGl8x.o(.text+0x474): In function `xcddb_query': ../xdata/xcddb.c:329: undefined reference to `mysql_query' /tmp/ccTEGl8x.o(.text+0x5c3): In function `xcddb_validate_host_comments': ../xdata/xcddb.c:477: undefined reference to `mysql_store_result' /tmp/ccTEGl8x.o(.text+0x5dd):../xdata/xcddb.c:477: undefined reference to `mysql_fetch_row' /tmp/ccTEGl8x.o(.text+0x673): In function `xcddb_validate_service_comments': ../xdata/xcddb.c:566: undefined reference to `mysql_store_result' /tmp/ccTEGl8x.o(.text+0x68d):../xdata/xcddb.c:566: undefined reference to `mysql_fetch_row' /tmp/ccTEGl8x.o(.text+0x806): In function `xcddb_save_host_comment': ../xdata/xcddb.c:748: undefined reference to `mysql_insert_id' /tmp/ccTEGl8x.o(.text+0x9da): In function `xcddb_save_service_comment': ../xdata/xcddb.c:847: undefined reference to `mysql_insert_id' /tmp/cciRZnh0.o(.text+0x3e4): In function `xsddb_initialize': ../xdata/xsddb.c:253: undefined reference to `mysql_init' /tmp/cciRZnh0.o(.text+0x45e): In function `xsddb_connect': ../xdata/xsddb.c:286: undefined reference to `mysql_real_connect' /tmp/cciRZnh0.o(.text+0x479):../xdata/xsddb.c:288: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x4e0): In function `xsddb_disconnect': ../xdata/xsddb.c:335: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x4f8): In function `xsddb_check_connection': ../xdata/xsddb.c:363: undefined reference to `mysql_errno' /tmp/cciRZnh0.o(.text+0x571):../xdata/xsddb.c:369: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x670): In function `xsddb_query': ../xdata/xsddb.c:463: undefined reference to `mysql_query' /tmp/ccFlpGYl.o(.text+0x378): In function `xdddb_initialize': ../xdata/xdddb.c:234: undefined reference to `mysql_init' /tmp/ccFlpGYl.o(.text+0x3ea): In function `xdddb_connect': ../xdata/xdddb.c:259: undefined reference to `mysql_real_connect' /tmp/ccFlpGYl.o(.text+0x405):../xdata/xdddb.c:261: undefined reference to `mysql_close' /tmp/ccFlpGYl.o(.text+0x45c): In function `xdddb_disconnect': ../xdata/xdddb.c:303: undefined reference to `mysql_close' /tmp/ccFlpGYl.o(.text+0x474): In function `xdddb_query': ../xdata/xdddb.c:329: undefined reference to `mysql_query' /tmp/ccFlpGYl.o(.text+0x574): In function `xdddb_validate_host_downtime': ../xdata/xdddb.c:473: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0x58d):../xdata/xdddb.c:473: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0x64c): In function `xdddb_validate_service_downtime': ../xdata/xdddb.c:587: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0x665):../xdata/xdddb.c:587: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0x80a): In function `xdddb_save_host_downtime': ../xdata/xdddb.c:788: undefined reference to `mysql_insert_id' /tmp/ccFlpGYl.o(.text+0x9e6): In function `xdddb_save_service_downtime': ../xdata/xdddb.c:887: undefined reference to `mysql_insert_id' /tmp/ccFlpGYl.o(.text+0xc1d): In function `xdddb_read_host_downtime': ../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0xc41):../xdata/xdddb.c:1107: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0xd23):../xdata/xdddb.c:1116: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xd40):../xdata/xdddb.c:1149: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xd95): In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0xdb9):../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0xe9f):../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xebc):../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/system/src/nagios-1.1/base' make: *** [all] Error 2 Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sobrien at ci.bend.or.us Fri Aug 22 00:36:53 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Thu, 21 Aug 2003 15:36:53 -0700 Subject: Errors making Nagios with mysql In-Reply-To: References: Message-ID: Whoops, no this is the solution that worked for me not the last.... Sorry. Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 tnelson at starpoint.com 08/21/2003 11:42 AM To Steve OBrien cc Subject Re: [Nagios-users] Errors making Nagios with mysql I got those same errors.. it has to do w/ the way the makefile is written (at least on slackware 9.0).. find the link lines in the make files.. and add -lmysqlclient -lz jusr before -o .. example.. from my base/Makefile nagios: nagios.c $(OBJS) nagios.h $(SRC_COMMON)/locations.h $(CC) $(CFLAGS) $(LDFLAGS) nagios.c $(OBJS) $(PERLLIBS) $(MATHLIBS) -lmysqlclient -lz -o $@ It seems that the version of ld we have doesn't hang on to the symbols unless the libs are at the end.. Tony Nelson Director of IT Operations Starpoint Solutions 115 Broadway, 2nd Fl. New York, NY 10006 Steve OBrien Sent by: nagios-users-admin at lists.sourceforge.net 08/21/2003 10:40 AM To: cc: Subject: [Nagios-users] Errors making Nagios with mysql I am getting errors when I make all after configuring Nagios with mysql support. I have seen references to these errors on google and the fix was to put LDFLAGS= -L/usr/lib/mysql -lmysqlclient in your Makefile, well mine already had it in there. Anyone else had this problem, I already know that DB support is questionable for the future but to me it makes no sense to log this data to flat files. [root at localhost nagios-1.1]# make all cd ./base && make make[1]: Entering directory `/home/system/src/nagios-1.1/base' gcc -g -O2 -I/usr/include/mysql -DHAVE_CONFIG_H -DNSCORE -L/usr/lib/mysql -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios /tmp/cc1pKEPG.o(.text+0x378): In function `xrddb_initialize': ../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/cc1pKEPG.o(.text+0x3f2): In function `xrddb_connect': ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /tmp/cc1pKEPG.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference to `mysql_close' /tmp/cc1pKEPG.o(.text+0x464): In function `xrddb_disconnect': ../xdata/xrddb.c:299: undefined reference to `mysql_close' /tmp/cc1pKEPG.o(.text+0x47c): In function `xrddb_query': ../xdata/xrddb.c:329: undefined reference to `mysql_query' /tmp/cc1pKEPG.o(.text+0xd98): In function `xrddb_read_program_information': ../xdata/xrddb.c:850: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0xdb3):../xdata/xrddb.c:854: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0xe79):../xdata/xrddb.c:867: undefined reference to `mysql_free_result' /tmp/cc1pKEPG.o(.text+0xf38): In function `xrddb_read_host_information': ../xdata/xrddb.c:951: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0xf62):../xdata/xrddb.c:951: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0x1124):../xdata/xrddb.c:1004: undefined reference to `mysql_free_result' /tmp/cc1pKEPG.o(.text+0x11b8): In function `xrddb_read_service_information': ../xdata/xrddb.c:1129: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0x11e2):../xdata/xrddb.c:1129: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0x1431):../xdata/xrddb.c:1195: undefined reference to `mysql_free_result' /tmp/ccTEGl8x.o(.text+0x378): In function `xcddb_initialize': ../xdata/xcddb.c:234: undefined reference to `mysql_init' /tmp/ccTEGl8x.o(.text+0x3ea): In function `xcddb_connect': ../xdata/xcddb.c:259: undefined reference to `mysql_real_connect' /tmp/ccTEGl8x.o(.text+0x405):../xdata/xcddb.c:261: undefined reference to `mysql_close' /tmp/ccTEGl8x.o(.text+0x45c): In function `xcddb_disconnect': ../xdata/xcddb.c:303: undefined reference to `mysql_close' /tmp/ccTEGl8x.o(.text+0x474): In function `xcddb_query': ../xdata/xcddb.c:329: undefined reference to `mysql_query' /tmp/ccTEGl8x.o(.text+0x5c3): In function `xcddb_validate_host_comments': ../xdata/xcddb.c:477: undefined reference to `mysql_store_result' /tmp/ccTEGl8x.o(.text+0x5dd):../xdata/xcddb.c:477: undefined reference to `mysql_fetch_row' /tmp/ccTEGl8x.o(.text+0x673): In function `xcddb_validate_service_comments': ../xdata/xcddb.c:566: undefined reference to `mysql_store_result' /tmp/ccTEGl8x.o(.text+0x68d):../xdata/xcddb.c:566: undefined reference to `mysql_fetch_row' /tmp/ccTEGl8x.o(.text+0x806): In function `xcddb_save_host_comment': ../xdata/xcddb.c:748: undefined reference to `mysql_insert_id' /tmp/ccTEGl8x.o(.text+0x9da): In function `xcddb_save_service_comment': ../xdata/xcddb.c:847: undefined reference to `mysql_insert_id' /tmp/cciRZnh0.o(.text+0x3e4): In function `xsddb_initialize': ../xdata/xsddb.c:253: undefined reference to `mysql_init' /tmp/cciRZnh0.o(.text+0x45e): In function `xsddb_connect': ../xdata/xsddb.c:286: undefined reference to `mysql_real_connect' /tmp/cciRZnh0.o(.text+0x479):../xdata/xsddb.c:288: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x4e0): In function `xsddb_disconnect': ../xdata/xsddb.c:335: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x4f8): In function `xsddb_check_connection': ../xdata/xsddb.c:363: undefined reference to `mysql_errno' /tmp/cciRZnh0.o(.text+0x571):../xdata/xsddb.c:369: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x670): In function `xsddb_query': ../xdata/xsddb.c:463: undefined reference to `mysql_query' /tmp/ccFlpGYl.o(.text+0x378): In function `xdddb_initialize': ../xdata/xdddb.c:234: undefined reference to `mysql_init' /tmp/ccFlpGYl.o(.text+0x3ea): In function `xdddb_connect': ../xdata/xdddb.c:259: undefined reference to `mysql_real_connect' /tmp/ccFlpGYl.o(.text+0x405):../xdata/xdddb.c:261: undefined reference to `mysql_close' /tmp/ccFlpGYl.o(.text+0x45c): In function `xdddb_disconnect': ../xdata/xdddb.c:303: undefined reference to `mysql_close' /tmp/ccFlpGYl.o(.text+0x474): In function `xdddb_query': ../xdata/xdddb.c:329: undefined reference to `mysql_query' /tmp/ccFlpGYl.o(.text+0x574): In function `xdddb_validate_host_downtime': ../xdata/xdddb.c:473: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0x58d):../xdata/xdddb.c:473: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0x64c): In function `xdddb_validate_service_downtime': ../xdata/xdddb.c:587: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0x665):../xdata/xdddb.c:587: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0x80a): In function `xdddb_save_host_downtime': ../xdata/xdddb.c:788: undefined reference to `mysql_insert_id' /tmp/ccFlpGYl.o(.text+0x9e6): In function `xdddb_save_service_downtime': ../xdata/xdddb.c:887: undefined reference to `mysql_insert_id' /tmp/ccFlpGYl.o(.text+0xc1d): In function `xdddb_read_host_downtime': ../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0xc41):../xdata/xdddb.c:1107: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0xd23):../xdata/xdddb.c:1116: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xd40):../xdata/xdddb.c:1149: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xd95): In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0xdb9):../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0xe9f):../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xebc):../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/system/src/nagios-1.1/base' make: *** [all] Error 2 Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Juliet_Tree at cotyinc.com Fri Aug 22 02:00:52 2003 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Fri, 22 Aug 2003 01:00:52 +0100 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 21/08/2003 and will not return until 26/08/2003. Please contact Paul Seal on 2261 for any urgent issues. Thankyou Thanks. ------------------------------------------------------- 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/358/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 From jasmine.chua at securecirt.com Fri Aug 22 03:21:35 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Fri, 22 Aug 2003 09:21:35 +0800 Subject: Erasing old information ... In-Reply-To: References: Message-ID: <200308220921.39793.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Carlito - > nagios user > Sent: Thursday, August 21, 2003 12:22 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Erasing old information ... > > > What option in the nagios.cfg file can I enable to erase all host and > service information ( all hostory of uptime and downtime since I've been > testing nagios and now want to start running it as my primary monitor ) > > Any ideas ? > If I get your question correctly, there is no option in the nagios.cfg file to allow you to erase all host and service information. But, you can choose to disable state retention. you can remove them from status.sav file if you really want to erase them. Cheers Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/RXAjNgvTa7Hj2AURAoxcAJsGYed1S/5gUgyPzJLGJr0eN2hCFACght7e 8kORTPyojrYvC3gz4p05fJY= =w83n -----END PGP SIGNATURE----- ------------------------------------------------------- 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/358/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 From todd at bsd.uchicago.edu Thu Aug 21 16:51:23 2003 From: todd at bsd.uchicago.edu (Todd Anderson) Date: Thu, 21 Aug 2003 09:51:23 -0500 Subject: distributed monitoring question Message-ID: <3F44DC6B.8060705@bsd.uchicago.edu> I am having trouble getting the central nagios server to report the same thing as the distributed server. The distributed server performs the active check ok, but the central server says the connection timed out. note that the central server is not configured to run active checks. it seems as if the distributed server is not sending the check results to the central server. Below I have some details on my machines configs and a brief summary of how I understand distrubuted monitoring should work Any corrections in my logic or thought on what I might be doing incorrectly are appreciated. so, let me see if i understand this correctly. The dist server actively chesk hosts (using nrpe in this case), and has an ocsp command defined which pipes the information of every check throuch send_nsca and on to the central server. the central server should recieve the information in the external command file var/rw/nagios.cmd, which then will get read every so often according to external command check interval (-1). heres some relavent info on my setup distributed server: in nagios.cfg set ocsp_command=submit_check_result obsess over services =1 configure libexec/eventhandlers/submit_check_result as defined in the docs: http://nagios.sourceforge.net/docs/1_0/distributed.html defined command name submit_check_result in checkcommands.cfg and misscommands.cfg (tried both) central server: config ncsa passive check enabled disable active checks external command check enabled obsess over services =0 (tried 1 here also) if I run submit_check_result manually I get the following output > /opt/nagios/libexec/eventhandlers/submit_check_result 0 data packet(s) sent to host successfully. and telneting to the port on the centeral server works sort of* ( i get garbage for output) thanks Todd ------------------------------------------------------- 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/358/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 From todd at bsd.uchicago.edu Fri Aug 22 06:28:45 2003 From: todd at bsd.uchicago.edu (Todd Anderson) Date: Thu, 21 Aug 2003 23:28:45 -0500 Subject: distributed monitoring question In-Reply-To: <3F44DC6B.8060705@bsd.uchicago.edu> References: <3F44DC6B.8060705@bsd.uchicago.edu> Message-ID: <3F459BFD.8090100@bsd.uchicago.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 So I think I might have track my problem to a previous thread. It seems there are problems with using send_nsca on solaris. My distributed server is a Solaris 8 box and the central server is a redhat box. I set up a distributed redhat box and things work. I am unable to get send_nsca working on the solaris box, it sort of sits there like a dead fish. In a previous thread (nsca-2.3 on Solaris ) it was suggested that ...change in the sourcefiles all u_int32_t into uint32_t The change log for nsca references uint32_t frequently. I'll try the above suggestion with nsca-2.4. In relation to this problem would it benefit me to upgrade the distributed server to Solaris 9? Thanks, Todd Todd Anderson wrote: | I am having trouble getting the central nagios server to report the same thing as the distributed server. The distributed server performs the active check ok, but the central server says the connection timed out. note that the central server is not configured to run active checks. | | it seems as if the distributed server is not sending the check results to the central server. | | Below I have some details on my machines configs and a brief summary of how I understand distrubuted monitoring should work Any corrections in my logic or thought on what I might be doing incorrectly are appreciated. | | so, let me see if i understand this correctly. The dist server actively chesk hosts (using nrpe in this case), and has an ocsp command defined which pipes the information of every check throuch send_nsca and on to the central server. | | the central server should recieve the information in the external command file var/rw/nagios.cmd, which then will get read every so often according to external command check interval (-1). | | heres some relavent info on my setup | distributed server: | in nagios.cfg set | ocsp_command=submit_check_result | obsess over services =1 | | configure libexec/eventhandlers/submit_check_result as defined in the docs: http://nagios.sourceforge.net/docs/1_0/distributed.html | defined command name submit_check_result in checkcommands.cfg and misscommands.cfg (tried both) | | | central server: | config ncsa | passive check enabled | disable active checks | external command check enabled | obsess over services =0 (tried 1 here also) | | | if I run submit_check_result manually I get the following output | > /opt/nagios/libexec/eventhandlers/submit_check_result | 0 data packet(s) sent to host successfully. | | and telneting to the port on the centeral server works sort of* ( i get garbage for output) | | | | thanks | Todd | | | | | | ------------------------------------------------------- | 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/358/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 | | - -- Todd Anderson Security Administrator Biological Sciences Division, The University of Chicago Phone: 773.834.2563 PGP Key: http://pgp.mit.edu (search string: "todd at bsd.uchicago.edu") -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (MingW32) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQE/RZv8vyLQBGnvNz4RAtjQAJ0RHq3G/5kxd9w1pBa5T54cpAEp4wCgp3Z7 uMSHwuLwybqTyC1iB8R3vOc= =aJzJ -----END PGP SIGNATURE----- ------------------------------------------------------- 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/358/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 From fzhang at hsc.unt.edu Thu Aug 21 00:01:00 2003 From: fzhang at hsc.unt.edu (Frank Zhang) Date: Wed, 20 Aug 2003 17:01:00 -0500 (CDT) Subject: nrpe In-Reply-To: References: Message-ID: It is working now. Thank you very much I corrected one error: check_nrpe -H hostipaddress -c argv1 ( it was -p argv1, ) Thanks Frank Zhang On Wed, 20 Aug 2003 Frank.Langanke at RSBICK.rohde-schwarz.com wrote: > Try to run the check_nrpe command on a console first and see if it works there. > 'check_nrpe -H yourhost' should return the version of your nrpe daemon installed > on the remote machine. Remember that you got to have a 'check_cpuload' plugin > installed and configured in the nrpe.cfg on the checked host. > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by Dice.com. > Did you know that Dice has over 25,000 tech jobs available today? From > careers in IT to Engineering to Tech Sales, Dice has tech jobs from the > best hiring companies. http://www.dice.com/index.epl?rel_code=104 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 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/358/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 From skip at pobox.com Wed Aug 20 21:35:06 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 20 Aug 2003 14:35:06 -0500 Subject: Big red "P"? In-Reply-To: References: <16189.19532.334181.917179@montanaro.dyndns.org> Message-ID: <16195.52586.927598.812049@montanaro.dyndns.org> Skip> Looking at the service detail page I see a big red "P" next to the Skip> HTTP service for one of my machines. What does that mean? Anurag> If you mouse-over the P, it will say "Active checks of the Anurag> service have been disabled - only passive checks are being Anurag> accepted" Thanks. I don't see any mouse over action in Safari. I guess it doesn't hover the alt text. Skip ------------------------------------------------------- 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/358/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 From itamarf at pbh.gov.br Thu Aug 21 22:50:47 2003 From: itamarf at pbh.gov.br (itamarf) Date: Thu, 21 Aug 2003 17:50:47 -0300 Subject: Problema Nagios Message-ID: <3F4530A7.61CB5C50@pbh.gov.br> pessoal, estou com um problema aqui o nagios est? registrando as notifica?oes normalmente, est? as enviando como deveria, por?m a mensagem vem vazia. est? acontecendo tamb?m que alguns arquivos est?o presos . nao consigo manipul? - los, tal como hosts. cfg, services.cfg, alguem j? viu acontecer isto? se puderem me ajudar valeu!! ------------------------------------------------------- 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/358/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 From scott.zawalski at web.de Fri Aug 22 08:41:13 2003 From: scott.zawalski at web.de (Scott Zawalski) Date: Fri, 22 Aug 2003 08:41:13 +0200 Subject: NRPE Client worthwhile? Message-ID: <3F45BB09.4070900@web.de> I have been playing with the question of if the NRPE is worth while. I still cannot make a case against it, but i'm leaning towards the answer of no and any imput would be appreciated. NRPE not only opens another port on your systems, but also requires you to install a daemon that has to be configured on every host you install it. SSH on the other hand only requires that you have the requested plugins on that machine and a passphraseless key. This does however grant people access to every machine if your "nagios.key" is compromised, but in many enviroments every system's credentials is run with nis or ldap so if you crack someone's password the same applies. SSH is encrypted natively and NRPE can be compiled with SSL so they are the same from that point of view. The fact that you do not have to configure a seperate config file for ssh like you do for nrpe is a big plus IMHO. I know you can make a standard nrpe.cfg and put args in it, but something just doesn't make me to happy when the config says HUGE SECURITY RISK if I enable the option. It is kind of back and forth any suggestions as to why NRPE could be superior in remote checking please let me know if I am missing out on a cool feature when nrpe is deployed! Thank you, Scott ------------------------------------------------------- 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/358/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 From itamarf at pbh.gov.br Thu Aug 21 19:01:49 2003 From: itamarf at pbh.gov.br (itamarf) Date: Thu, 21 Aug 2003 14:01:49 -0300 Subject: =?iso-8859-1?Q?Problema=5FNotifica=E7oes=5Fnagios?= Message-ID: <3F44FAFC.8A6A8DC9@pbh.gov.br> pessoal, tudo bem? aconteceu algo muito estranho comigo, talvez vcs possam me ajudar. eu ja estou utilizando o nagios h? uns 2 meses, ele vinha monitorando muito bem tudo que lhe era definido. por?m , agora, ele monitora mas no momento em que ele manda as notifica?oes de alerta de algum servi?o, a msg vem vazia , sem informa?ao alguma. se alguem soube o que ? isso, por favor me avise valeu!! ------------------------------------------------------- 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/358/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 From frans at essentkabel.com Thu Aug 21 16:04:17 2003 From: frans at essentkabel.com (Frans Hetterscheid) Date: Thu, 21 Aug 2003 16:04:17 +0200 Subject: Apan screenshots show separation of the "service detail " Message-ID: <3F44D161.4030508@essentkabel.com> Hello, Can anyone tell me how they seperated the "service detail" in the screenshots of Apan? (http://apan.sourceforge.net/) I can't find anything in the documentation. Thank You, ------------------------------------------------------- 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/358/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 From itamarf at pbh.gov.br Tue Aug 19 21:05:31 2003 From: itamarf at pbh.gov.br (itamarf) Date: Tue, 19 Aug 2003 16:05:31 -0300 Subject: Entrada _Nagios Message-ID: <3F4274FB.A8F2053C@pbh.gov.br> Pessoal, tudo bem? Estou querendo fazer uma mudan?a no nagios mas nao se ? poss?vel., estou querendo que ap?s logar no nagios, ele v? direto para a p?gina status summary, se algu?m puder me dar umas dicas valeu!! Itamar. ------------------------------------------------------- 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/358/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 From AHKAPLAN at PARTNERS.ORG Thu Aug 21 20:53:19 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 21 Aug 2003 14:53:19 -0400 Subject: Host Status Appears As Down When It Is Actually Up Message-ID: <5593DA408212D511B0910002A513501F06558EDE@phsexch20.mgh.harvard.edu> I have a situation where I have several hosts that appear to be down, but they are actually up. Furthermore, the scheduled checks of the services on the hosts in question show that Nagios is connecting to the hosts and they are being updated. Hence, the host is supposedly down, but its services are ok. The hosts are on two separate subnets and all are HP-UX workstations. What is going on? ------------------------------------------------------- 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/358/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 From creator at mindcreations.com Fri Aug 22 11:24:10 2003 From: creator at mindcreations.com (Stefano Coletta) Date: Fri, 22 Aug 2003 11:24:10 +0200 Subject: Look at this people... Message-ID: <3F45E13A.3000501@mindcreations.com> http://www.redundant.com/24_7_support/custom_reporting_panel/ :) ------------------------------------------------------- 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/358/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 From carlo at uganet.com.br Wed Aug 20 16:24:38 2003 From: carlo at uganet.com.br (Carlo Pires) Date: Wed, 20 Aug 2003 11:24:38 -0300 Subject: Newbie question: changes in hosts.cfg not works after restarting nagios Message-ID: <3F4384A6.6090100@uganet.com.br> Hello folks, After compile and installing nagios, everything works fine. But, after nagios is loaded and running, I found a error in a host configuration. Such host will not has notification. Then I opened the host.cfg and changed the hostnotification property to 0 and restarted nagios. After this, the notifications are not being sent really, but the icon beside host int host detail not shows. Then I stopped the nagios and deleted the nagios.log and status.sav in var directory of nagios e started it again and the icon now appeared ok. I don't know if this is bug or a normal behavior of nagios. Any ideas? []s Carlo ------------------------------------------------------- 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/358/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 From Tom.DeBlende at dhl.com Thu Aug 21 09:12:07 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Thu, 21 Aug 2003 09:12:07 +0200 Subject: 3 Newbie Nagios questions (undetermined time, Citrix testing, Ora cle testing) In-Reply-To: References: Message-ID: <3F4470C7.8050402@dhl.com> McKay-Mills, Simon wrote: >1 - RTFM - Doh! - thanks for the link :-) > Didn't want to put it that explicit... but yes :-) >2 - check_citrix, all works great from the shell (nice tool!). So it must be >the way I've set up things in Nagios. In the checkcommands.cfg I have set: > ># 'check_citrix' command defnition >Define command{ > command_name check_citrix > command_line $USER1$/check_citrix $ARG1$ $ARG2$ (SHOULD THIS >BE IN A DIFFERENT FORMAT?) > Well, what I do is putting the parameters in here. Like this: # 'check_citrix_apps' command definition define command{ command_name check_citrix_apps command_line $USER1$/check_cit -W $ARG1$ -P $ARG2$ -L -C server1 -C server2 -C server3 } But it should work like you do it too. >And in the hosts.cfg a host definition of voyager-01. In the hostsgroup.cfg >hostgroup_name of citrix-servers with voyager-01 as a member. > >In the services.cfg > ># Service Definition >define service{ > use generic-service ;Name of service >template to use > > host_name voyager-01 > service_description Citrix (DOES THIS NEED TO BE TIED >TO ANOTHER ENTRY?) > No. > > check_command check_citrix -B=10.10.10.10 -Ppubapp1 > >Error message from the -v option > >Service check command 'check_citrix -B=10.10.10.10 -Ppubapp1' specified in >service 'Citrix' for host voyager-01 not defined anywhere > This is normal, it needs the splitting ! signs. >If I change the check_command in the the services.cfg to the following > > check_command check_citrix!-B=10.10.10.10!-Ppubapp1 > >The -v option doesn't detect any errors, BUT, it doesn't appear as a service >for the server... > Could you verify that you don't have multiple Nagios processes running? Shut down Nagios. Wait a sec and do a "ps -ef" to see whether all Nagios procs are truely gone. ------------------------------------------------------- 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/358/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 From jamie.baddeley at vpc.co.nz Fri Aug 22 11:52:23 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Fri, 22 Aug 2003 21:52:23 +1200 Subject: EPN, RRDfiles etc SOLVED In-Reply-To: <20030820233507.A620@IPAustralia.Gov.AU> References: <20030820233507.A620@IPAustralia.Gov.AU> Message-ID: <200308220945.h7M9j6f05207@spectre.freeparking.co.nz> Nagiosers, C wrapper worked perfectly. All good. *very* happy. Thanks Stanley. Thanks Daniel. incidentally tried perlcc but that failed miserably. (screen sat blankly looking at me after a compile) I will submit a modded version that passes plugin response descriptions & units (good for nagios UI) plus also deals with an rrd nan response. jamie p.s. plugin now inline. watch out for linebreaks. #!/usr/bin/perl # # Nagios check script to check data in cricket rrd files # Written by Dan Rich (drich at employees.org) # # usage: # check_cricket_data -R rrdfile -i dsindex -c crit -w warn # # Read a cricket-generated rrd file and return the status of the queried # data # # License: GPL # $Id: check_cricket_data,v 1.2 2003/06/05 15:27:20 drich Exp $ use strict; use Getopt::Long; use IPC::Open3; use Symbol; use vars qw($opt_V $opt_h $opt_H $opt_c $opt_w $opt_R $opt_i $verbose $host $sta te $PROGNAME); use lib "/var/nagios/libexec" ; use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); # rrdtool path my $rrdtool = "/var/cricket/bin/rrdtool"; $PROGNAME = "check_cricket_data"; Getopt::Long::Configure('bundling'); GetOptions ("V" => \$opt_V, "version" => \$opt_V, "c=s" => \$opt_c, "critical=s" => \$opt_c, "w=s" => \$opt_w, "warning=s" => \$opt_w, "h" => \$opt_h, "help" => \$opt_h, "R=s" => \$opt_R, "rrdfile=s" => \$opt_R, "i=s" => \$opt_i, "index=s" => \$opt_i, "v" => \$verbose, "verbose" => \$verbose); if ($opt_V) { print_revision($PROGNAME,'$Revision: 1.2 $'); exit $ERRORS{'OK'}; } if ($opt_h) {print_help(); exit $ERRORS{'OK'};} unless ($opt_c and $opt_w and $opt_R and $opt_i) { &print_usage; exit $ERRORS{'UNKNOWN'}; } # Just in case of problems, let's not hang Nagios $SIG{'ALRM'} = sub { print "No Answer from Client\n"; exit 2; }; alarm($TIMEOUT); # Set default return my $status = $ERRORS{"UNKNOWN"}; # Get data from rrd file my $RDR = gensym(); my $ERR = gensym(); my $WTR = gensym(); # Get the timestamp of the last data in the rrd file #print "$rrdtool last $opt_R\n"; open3($WTR, $RDR, $ERR, "$rrdtool last $opt_R"); close($WTR); my $last = <$RDR>; chomp($last); if ($last <= 0) { printf "CRITICAL: ". <$ERR>; exit $ERRORS{'CRITICAL'}; } close($RDR); close($ERR); # Get data #print "$rrdtool fetch $opt_R AVERAGE -s $last -e $last\n"; open3($WTR, $RDR, $ERR, "$rrdtool fetch $opt_R AVERAGE -s $last -e $last"); close($WTR); my @data; while (<$RDR>) { chomp; my ($timestamp,$data) = split(/:/,$_,2); next unless ($timestamp =~ /^\d+$/); # We only want data line @data = split(/\s+/,$data); last; } close($RDR); close($ERR); # Convert from exp format to integer my $result = $data[$opt_i]; if ($result =~ /\d+/) { #print $result ."\n"; my ($int,$exp) = split(/e/,$result); #print "$int * 10^$exp\n"; $result = $int * 10**$exp; #print $data[$opt_i] ." - $result\n"; } # Check for warning/crit if ( $result > $opt_c ) { print "CRITICAL: rrdtool returned ". $result ."\n"; exit $ERRORS{'CRITICAL'}; } elsif ( $result > $opt_w or $result !~ /\d+/) { print "WARNING: rrdtool returned ". $result ."\n"; exit $ERRORS{'WARNING'}; } else { print "rrdtool returned ". $result ."\n"; exit $ERRORS{'OK'}; } sub print_usage () { print "Usage: $PROGNAME [--verbose] $PROGNAME --help $PROGNAME --version $PROGNAME -R rrdfile -i dsindex -c critical -w warning "; } sub print_help () { print_revision($PROGNAME,'$Revision: 1.2 $'); print "Copyright (c) 2002 Daniel Rich Read data from an rrd file and return the result "; print_usage(); print " -v, --verbose Print some extra debugging information (not advised for normal operation) -V, --version Show version and license information -h, --help Show this help screen -w, --warning=INTEGER load / performance level at which a warning message will be gererated. -c, --critical=INTEGER load / performance level at which a critical message will be gererated. -R, --rrdfile=FILE RRD file to read -i, --index=INTEGER index of data set to check "; support(); } On Thu, 21 Aug 2003 01:35, Stanley Hopcroft wrote: > > From: Jamie Baddeley > > Reply-To: jamie.baddeley at vpc.co.nz > > To: nagios-users at lists.sourceforge.net > > Date: Wed, 20 Aug 2003 19:55:09 +1200 > > Subject: [Nagios-users] EPN, RRDfiles etc > > > Aaargh ! Multi-part in the digest .. is indegistible > > > --------------Boundary-00=_XBRWNLL92J52KZPYCQNI > > Content-Type: text/plain; > > charset="iso-8859-1" > > Content-Transfer-Encoding: 8bit > > > > > Hi All, > > > > I'm working on getting a new plugin sorted out. Ages ago Daniel Rich > > posted a plugin to read RRD files generated by Cricket. It's an awesome > > little plugin designed to read RRD files. This means you can use your > > favourite rrd based system to go out and get the info from the network, > > and Nagios can poll the resultant RRD's locally. Nice. A Nice efficient > > way of doing things. > > > > Anyway, I'm testing Daniel's plugin, and I've come up against a problem. > > The plugin uses perl's IPC::Open3 module to call rrdtool to get the info. > > Unfortunately there appears to be a problem with Nagios that has EPN > > compiled and Open3. > > It may not be Open3; try a hello world sort of test program that uses > this module - maybe the synopsis from the perldoc Open3. > > > Ref: > > http://www.mail-archive.com/embperl at perl.apache.org/msg05441.html > > > > When I use the plugin I get nothing but (no output!). > > > > Debugging, I'm getting this: > > Can't locate object method "OPEN" via package "OutputTrap" (perhaps you > > forgot to load "OutputTrap"?) at /usr/lib/perl5/5.6.1/IPC/Open3.pm line > > 136. > > > > ...when I run Nagios (run in foreground to debug). > > > > My question is what do people think are sensible ways around this? > > - Recompile Nagios without EPN support? > > - Find_another_way with the plugin? > > - Discover some other magic fix? > > > > I've attached the plugin, as I think it's a great way of doing what a lot > > of people are trying to do with Apan etc, except that it takes advantage > > of tried and true time-series trending systems such as cricket or perhaps > > cacti etc. > > Unfortunately, your mailer has base-64 encoded the plugin (in digest > format anyway) so that it's hard to see what is causing ePN to choke. > > > I'm hesitant to walk away from EPN, as we have the learned Mr Hopcroft > > often extolling the virtues of EPN. > > Noisy and extremely non politically correct, non mixed company > raspberry. ePN buys somethings but you lose others; I like it but YMMV. > > Some modules simply don't work with ePN (eg Parse::HTML); there are some > things that cannot be done with an embedded Perl interpreter (there's > some notes on the Nag web site about the definitely verboten stuff but > Stas Beckmans __book__ [his notes finally ended up as an ORA > publication] on mod_perl [the free HTML version of the book is linked on > the mod_perl site - thoroughly recommended if you are interested in > getting to grips with Perl] is the authority). > > You may need to hack the plugin and then try it out with the mini_epn.c > in the contrib directory (you may need the version in the CVS if you > have a threaded Perl) > > But there is always more than one way to do it. > > In this case > > 1 make a C wrapper for your plugin eg > > /* $Id: check_pams.c,v 1.2 2002-12-04 15:55:23+11 anwsmh Exp anwsmh $ */ > > /* $Log: check_pams.c,v $ > * */ > > int > main(int argc, char *argv) { > execv("/usr/local/nagios/libexec/check_pams.pl", argv) ; > } > > > 2 s/check_pams\.pl/your_plugin.pl/ > > 3 gcc -o your_plugin your_plugin_wrapper.c > > /* also handly for Perl plugins that need to be suid */ > > > Thoughts? > > > > jamie ------------------------------------------------------- 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/358/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 From scott.zawalski at bundestag.de Fri Aug 22 10:31:20 2003 From: scott.zawalski at bundestag.de (Scott Zawalski) Date: Fri, 22 Aug 2003 10:31:20 +0200 Subject: Allowing users only to see certain hosts Message-ID: <3F45D4D8.70708@bundestag.de> Is there anyway to define user access control down to the host level? Or a way to have someone logon with the name database and he will then only see the servers that are in this specific group or is there a feature currently in nagios that implements something along those lines? Thanks in advance. ------------------------------------------------------- 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/358/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 From securityguy at ikano.com Thu Aug 21 03:29:31 2003 From: securityguy at ikano.com (Robert S. Galloway) Date: Wed, 20 Aug 2003 19:29:31 -0600 Subject: Host Status Appears As Down When It Is Actually Up In-Reply-To: <5593DA408212D511B0910002A513501F06558ED7@phsexch20.mgh.harvard.edu> References: <5593DA408212D511B0910002A513501F06558ED7@phsexch20.mgh.harvard.edu> Message-ID: <004401c36783$abf65490$ddd0d0cd@pendleton> Hi Andrew, I reported the same problem to the list last night. I haven't gotten anything back yet. Let me know if you get anything. Robert S. Galloway Chief Network Security Engineer IKANO Communications ...the Internet branding company Official Data Networking Services Provider for the Salt Lake Olympic Winter Games of 2002 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kaplan, Andrew H. Sent: Wednesday, August 20, 2003 2:34 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Host Status Appears As Down When It Is Actually Up I have a situation where I have several hosts that appear to be down, but they are actually up. Furthermore, the scheduled checks of the services on the hosts in question show that Nagios is connecting to the hosts and they are being updated. Hence, the host is supposedly down, but its services are ok. The hosts are on two separate subnets and all are HP-UX workstations. What is going on? ------------------------------------------------------- This SF.net email is sponsored by Dice.com. Did you know that Dice has over 25,000 tech jobs available today? From careers in IT to Engineering to Tech Sales, Dice has tech jobs from the best hiring companies. http://www.dice.com/index.epl?rel_code=104 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 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/358/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 From nagios at okka.org.za Thu Aug 21 09:56:09 2003 From: nagios at okka.org.za (Carlito - nagios user) Date: Thu, 21 Aug 2003 09:56:09 +0200 Subject: Erasing old information ... Message-ID: <001101c367b9$aee093b0$0214a8c0@bit.co.za> Seem to have gotten it right ... Answered my own question. Went to /usr/local/nagios/var and erased everything including my old log files in /usr/local/nagios/var/archives/ All correct now under Duration in service / host details ------------------------------------------------------- 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/358/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 From anders.holm at criticalpath.net Thu Aug 21 14:15:40 2003 From: anders.holm at criticalpath.net (Anders Holm) Date: Thu, 21 Aug 2003 13:15:40 +0100 Subject: Network Bandwidth Utilisation question Message-ID: <3F44B7EC.2060701@criticalpath.net> Hi Folks. Is it possible to check for a device reaching it's maximum bandwidth limits? I do know what the network speed is, but can't figure out how to check a device to see if it is reaching it's max. Having a problem where I'm thinking it could be related to network being saturated, but need to be able to show that to be the case, if indeed it is... New to Nagios so am not sure if this is possible or not, so apologies in case this is basic, or known to not be supported. TIA! -- Anders Holm - Critical Path Technical Support Contact Details: http://support.criticalpath.net/contact.jsp New Issues: technical.support at criticalpath.net Ongoing Issues: messaging.support at criticalpath.net Support Site: http://support.criticalpath.net/ Corporate Site: http://www.criticalpath.net/ ------------------------------------------------------- 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/358/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 From AHKAPLAN at PARTNERS.ORG Thu Aug 21 14:52:38 2003 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 21 Aug 2003 08:52:38 -0400 Subject: FW: Host Status Appears As Down When It Is Actually Up Message-ID: <5593DA408212D511B0910002A513501F06558EDA@phsexch20.mgh.harvard.edu> > -----Original Message----- > From: Kaplan, Andrew H. > Sent: Wednesday, August 20, 2003 4:34 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: Host Status Appears As Down When It Is Actually Up > > I have a situation where I have several hosts that appear to be down, but > they are actually up. Furthermore, the scheduled checks of > the services on the hosts in question show that Nagios is connecting to > the hosts and they are being updated. Hence, the host is supposedly > down, but its services are ok. > > The hosts are on two separate subnets and all are HP-UX workstations. What > is going on? ------------------------------------------------------- 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/358/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 From RLAdams at Kelsey-Seybold.com Fri Aug 22 16:25:06 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Fri, 22 Aug 2003 09:25:06 -0500 Subject: Look at this people... In-Reply-To: <3F45E13A.3000501@mindcreations.com> References: <3F45E13A.3000501@mindcreations.com> Message-ID: <15686.9497885511$1061563094@news.gmane.org> See also: http://www.oss.redundant.com/ Though I find their lack of credit on the screenshot disturbing. Russell On Fri, Aug 22, 2003 at 11:24:10AM +0200, Stefano Coletta wrote: > http://www.redundant.com/24_7_support/custom_reporting_panel/ > > :) > > > > > ------------------------------------------------------- > 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/358/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 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/358/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 From skip at pobox.com Fri Aug 22 16:48:13 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 22 Aug 2003 09:48:13 -0500 Subject: acknowledgements are not persistent Message-ID: <16198.11565.82196.780714@montanaro.dyndns.org> I'm running Nagios 1.1. Acknowledgements are not persistent across restarts, even though when I acknowledge a service problem the "Persistent" box is checked. This causes problems with NagMIN, which seems to like to restart Nagios instead of simply reloading the config files when the "Activate" button is punched Is this a known bug? -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- 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/358/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 From agupta at yahoo-inc.com Wed Aug 20 21:14:26 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Wed, 20 Aug 2003 12:14:26 -0700 Subject: scheduling downtimes and event-handlers Message-ID: Hi, Is there a way for me to know if the event-handler has been called during a scheduled downtime for a service/host? I am logging information through the handler and would like to mark this particular downtime differently than one that occurs out of a scheduled downtime. To exemplify: A service s1 on host h1 has been scheduled to be down from 8:00-10:00. s1 is shutdown around 8:30. Now, I know notifications dont go out. But event handler does get called when Nagios detects that s1 is not available. I want to enable one of these things: a) Scheduled disabling of checks in future. b) An indication to the event handler that this check was done during a scheduled downtime. Of course, a) is preferable. ideas? ====================== Anurag Gupta agupta at yahoo-inc.com ------------------------------------------------------- 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/358/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 From mpowell at ena.com Fri Aug 22 14:36:55 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 22 Aug 2003 07:36:55 -0500 Subject: Allowing users only to see certain hosts Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D48D2@mismail.ena.com> Yes, certainly. Check out the documentation on cgi authentication, contacts and contactgroups. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Scott Zawalski To: nagios-users at lists.sourceforge.net Sent: Fri Aug 22 03:31:20 2003 Subject: [Nagios-users] Allowing users only to see certain hosts Is there anyway to define user access control down to the host level? Or a way to have someone logon with the name database and he will then only see the servers that are in this specific group or is there a feature currently in nagios that implements something along those lines? Thanks in advance. ------------------------------------------------------- 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/358/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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From itamarf at pbh.gov.br Fri Aug 22 19:25:36 2003 From: itamarf at pbh.gov.br (itamarf) Date: Fri, 22 Aug 2003 14:25:36 -0300 Subject: Problem_Autentication_Nagios Message-ID: <3F46520F.1D2E22C4@pbh.gov.br> hi, I am using nagios and the notifications are send with no information. i am using nagios in a conectiva linux 8.0, my configurations are ok, the nagios is registering the notications normally. the files hosts.cfg, services.cfg, nagios.cfg, are saying that they are ocupied when i try to enter. if someone could help me, Thanks. Itamar ------------------------------------------------------- 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/358/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 From Samba at guidemail.com Fri Aug 22 19:40:32 2003 From: Samba at guidemail.com (Samba) Date: Fri, 22 Aug 2003 12:40:32 -0500 Subject: Many Orphaned checkeds Message-ID: I'm using Nagios 1.1 to check 180 Services on 86 hosts. The problem I'm having is there about 20 service checks (mostly pings and check_nt checks) that usually don't return statuses on the first check. If I run them manually as the Nagios user they work fine, every time. I'm getting errors in the nagios.log file like: [1061572439] Warning: The check of service 'CPU Load' on host 'marketsrv' looks like it was orphaned (results never came back). I'm scheduling an immediate check of the service... If I watch the Scheduling Queue CGI page I can see that most of the services run on time, but these 20 appear to just hang. Does anyone have any ideas on what I can do to fix this? Is it because I have too many service checks? Nagios is running on a dedicated P4 with 256 RAM. I really don't think this is a hardware issue. Another thing I've noticed is that there are a lot of Nagios processes running. I restartred Nagios 1 hour and 41 minutes ago and there are over 100 Nagios processes right now: nagios:/usr/local/nagios/var # ps -ae | grep nagios | wc -l 118 Any help is appreciated! Josh Konkol, CNE MCSE Technical Research Specialist .~. GuideOne Insurance /V\ /( )\ ^^-^^ samba at guidemail.com This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- 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/358/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 From jontte at home.se Fri Aug 22 20:55:24 2003 From: jontte at home.se (Jonas Kalliokoski) Date: Fri, 22 Aug 2003 20:55:24 +0200 Subject: (no subject) Message-ID: <003e01c368de$f2129b80$0500a8c0@bamse> Hi! I?m using nagios 1.1 on two servers. They have the same config-files, one of the servers writes everything (notifications,..,...) in the nagios.log file but the other one doesn=B4t do it. I can get it to write to the syslog by editing the nagios.cfg but not to the nagios.log. Anyone who knows why ? Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: From blj at thermoanalytics.com Fri Aug 22 21:03:19 2003 From: blj at thermoanalytics.com (Brian Johnson) Date: Fri, 22 Aug 2003 15:03:19 -0400 Subject: check_disk output problem... Message-ID: <200308221503.19536.blj@thermoanalytics.com> Hi all. I'm having a problem with some of the nagios plugins, check_disk in particular. I have a system running redhat 7.3 that I check remotely. One of the things I check is the disk usage of several drives. But, I was getting an error of "Unable to read ouput:". So, I went to the machine and ran the check_disk command by hand and got the same thing. Here is what I did and got as output: First time I ran: 15:00:39 root > ./check_disk 90 99 /dev/hdb2 Unable to read output: /bin/df -Pk /dev/hdb2 /dev/hdb2 6158916 3330920 2515132 57% Second time I thought it might have been a command line argument problem so i ran: 14:52:50 root > ./check_disk -c 90% -w 99% -p /dev/hdb2 Unable to read output: /bin/df -Pk /dev/hdb2 /dev/hdb2 6158916 3330920 2515132 57% Same thing both times. Any ideas would be appreciated. Thanks in advance! -- Brian Johnson ThermoAnalytics, Inc. http://www.thermoanalytics.com Systems Administrator If it doesn't fit, force it. If it still doesn't fit, get a bigger hammer. If it breaks, it needed replacing anyway. ------------------------------------------------------- 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/358/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 From consalus at students.uiuc.edu Fri Aug 22 21:36:11 2003 From: consalus at students.uiuc.edu (Kyle Consalus) Date: Fri, 22 Aug 2003 14:36:11 -0500 (CDT) Subject: Configuring of non-essential hosts Message-ID: I have a fair number of machines on my network that for various reasons aren't and don't need to be connected at all times. I have them currently set to not to notify, but I don't like having them listed as critical, since it really doesn't matter too much. Has anybody else dealt with a similar situation? I'm interested in your suggestions. Thanks, Kyle Consalus ------------------------------------------------------- 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/358/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 From jontte at home.se Fri Aug 22 22:47:18 2003 From: jontte at home.se (Jonas Kalliokoski) Date: Fri, 22 Aug 2003 22:47:18 +0200 Subject: nagios - gnokii Message-ID: <008101c368ee$937ffe90$0500a8c0@bamse> Hi! Now I have read all information I could find and test my system a couple of days but it?s one problem I can?t find any help for. how should the misccommands.cfg and contacts.cfg look like if the gnokii will work nice with nagios. I can send sms through the command: /usr/bin/printf "TEXT" | /usr/bin/gnokii --sendsms xxxxxxxxxx -C0 Please anyone ! /Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: From jlancaster at affinity.com Fri Aug 22 15:53:59 2003 From: jlancaster at affinity.com (Jason Lancaster) Date: Fri, 22 Aug 2003 09:53:59 -0400 Subject: Allowing users only to see certain hosts References: <3F45D4D8.70708@bundestag.de> Message-ID: <018d01c368b4$d6442ce0$f805ff0a@tekniq> The only way to allow a user access to specific hosts is to create a new hostgroup with the hosts you want him to have access to (or to use existing ones). Your 'name database' method you describe below could be as simple as creating a new hostgroup named 'Contact X' for the contact name 'X' I think a new method of authorization was discussed here or on the devel list about a month ago... but I can't seem to find anything on it. Good luck, Jason ----- Original Message ----- From: "Scott Zawalski" To: Sent: Friday, August 22, 2003 4:31 Subject: [Nagios-users] Allowing users only to see certain hosts > Is there anyway to define user access control down to the host level? Or > a way to have someone logon with the name database and he will then only > see the servers that are in this specific group or is there a feature > currently in nagios that implements something along those lines? > > > Thanks in advance. > > > > > ------------------------------------------------------- > 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/358/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 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/358/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 From creator at mindcreations.com Fri Aug 22 12:23:14 2003 From: creator at mindcreations.com (Stefano Coletta) Date: Fri, 22 Aug 2003 12:23:14 +0200 Subject: Look at this people... In-Reply-To: <3F45E48D.8000702@dhl.com> References: <3F45E13A.3000501@mindcreations.com> <3F45E48D.8000702@dhl.com> Message-ID: <3F45EF12.5030406@mindcreations.com> No, just for the other to know :) Tom DE BLENDE (GCC) wrote: > Is it just me, or does this violate the EULA? > > Stefano Coletta wrote: > >> http://www.redundant.com/24_7_support/custom_reporting_panel/ >> >> :) >> >> >> >> >> ------------------------------------------------------- >> 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/358/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 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/358/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 From probert at cesart.com Thu Aug 21 17:12:44 2003 From: probert at cesart.com (Pascal Robert) Date: Thu, 21 Aug 2003 11:12:44 -0400 Subject: RH 7.1 and nrpe Message-ID: <3F44E16C.9010008@cesart.com> Hi, I get some problems with nrpe when the server try to contact RH 7.1 machines. Server setup: - RH Linux 8 - Nagios 1.1 - Nagios Plugins 1.3.1 Client setup: - RH Linux 7.1 - NRPE 1.9 - Nagios Plugins 1.3.1 Nagios is working fine with anything higher than RH 7.1, it's only the 7.1 machines that's giving me headaches. On one client, I can contact it from the server but the connection is close immediately: $ libexec/check_nrpe -H xxx.xxxx.xxx -c check_disk CHECK_NRPE: Error receiving data from host. $ telnet xxx.xxxx.xxx 5666 Trying 192.168.1.10... Connected to devgen.cesart.local. Escape character is '^]'. Connection closed by foreign host. In the clien't log (/var/log/messages), the only reason I get is this: Aug 21 10:30:43 devgen nrpe[11501]: Could not read request from client, bailing out... If I connect to localhost:5666 on the client, I get an answer. And on the two other 7.1 machines, if I start nrpe with xinetd, I can't connect to port 5666, even from localhost. The only way to get to this port is by running nrpe as a daemon instead of by xinetd. But in this case, I get the same problem as the first machine. I don't have any firewall rules in place, and all other clients (either RH 7.2, 7.3 or 8.0) are working fine. I did recompile nrpe and the plugins on each client so it's not a binary problem either. ------------------------------------------------------- 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/358/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 From Tom.DeBlende at dhl.com Fri Aug 22 11:38:21 2003 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Fri, 22 Aug 2003 11:38:21 +0200 Subject: Look at this people... In-Reply-To: <3F45E13A.3000501@mindcreations.com> References: <3F45E13A.3000501@mindcreations.com> Message-ID: <3F45E48D.8000702@dhl.com> Is it just me, or does this violate the EULA? Stefano Coletta wrote: > http://www.redundant.com/24_7_support/custom_reporting_panel/ > > :) > > > > > ------------------------------------------------------- > 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/358/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 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/358/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 From jontte at home.se Sat Aug 23 01:17:58 2003 From: jontte at home.se (Jonas Kalliokoski) Date: Sat, 23 Aug 2003 01:17:58 +0200 Subject: nagios - gnokii References: <008101c368ee$937ffe90$0500a8c0@bamse> Message-ID: <015601c36903$a02b8190$0500a8c0@bamse> ahh...after litle more work I find this .. From: Giulius To: , Subject: [netsaint] HOW TO USE SMS NOTIFICATION + GNOKII This is a little HOWTO that help who try to run gnokii with netsaint on unix systems for sms notification: TO use gnokii with netasint you "must" know 3 things: 1)Netsaint cannot understand any replay output/error given by gnokii; 2)Netsaint user (process owner) must have the ability to read/write on the serial (or any other device like irda) connected to the gsm sender 3)Netsaint user (process owner) must read/write on lock directory 1) add this command to netsaint host.cfg command[sms]=/path/to/printf "MESSAGE+VARIABLE" | /path/to/gnokii --sendsms [gsm number] -C0 2>/dev/null add olso the contact information about sms like this: contact[netsaint]=Netsaint User;24x7;24x7;1;1;1;1;1;1;notify-by-email,notify-by-epager,notify-by-sms; host-notify-by-email,host-notify-by-epager,host-notify-by-sms;netsaint;netsaint Remember: if you forget to add "2>/dev/null" on the end of the command line, the result was a broken pipe and netsaint cannot go over, freezing all the netsaint process. 2)Remember to set permission RW on serial (or any other device like irda) device to user netsaint (or process owner). This to permit Read Write on device attached to gsm cel. There are differently method to do this based on type of unix you own. You must find this on yourself. 3)Now you must configure gnokii in order to use lock files (to avoid conflict with other devices that use serial/usb). On gnokii/etc directory un can find a file called gnokiirc. Make sure that contain this: port = /dev/ (device attached to gsm) model = (the model number of your nokia gsm like 6210) connection = serial (or you connection to gsm cel. like irda, ecc.) use_locking = yes Now you are ready to receive sms about notification of netsaint. Bye. Giulius. So there was not so big thing to get it working with nagios :) Thanks Giulius !!!! /Jonas ----- Original Message ----- From: Jonas Kalliokoski To: nagios-users at lists.sourceforge.net Sent: Friday, August 22, 2003 10:47 PM Subject: [Nagios-users] nagios - gnokii Hi! Now I have read all information I could find and test my system a couple of days but it?s one problem I can?t find any help for. how should the misccommands.cfg and contacts.cfg look like if the gnokii will work nice with nagios. I can send sms through the command: /usr/bin/printf "TEXT" | /usr/bin/gnokii --sendsms xxxxxxxxxx -C0 Please anyone ! /Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: From WBRITO at eeppm.com Sat Aug 23 01:19:49 2003 From: WBRITO at eeppm.com (William Alexander Brito Mejia) Date: Fri, 22 Aug 2003 18:19:49 -0500 Subject: Nagios SNMP Message-ID: <49F4022CB9D7674B88976776394C98211ABFF7@EPM-VMS01A.corp.epm.com.co> I?m trying something similar (see original message), everything seems to be right, but the service isn?t show for that host. My question is. I need to define check_none in checkcommands.cfg? config: define service{ use generic-service ; Name of service template to use host_name ame4001 service_description snmp_passport is_volatile 1 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 check_period 24x7 contact_groups passport_service check_freshness 0 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 } (send_nsca, nsca daemon and trap config files seems to be O.K) Thanks WILLIAM ALEXANDER BRITO M. Ingeniero ?rea Operaci?n Nuevos Servicios Telec. Subgerencia Desarrollo Servicios y Soluciones Tel. Cr. 77 No 39B-16 Medell?n-Colombia e-mail: wbrito at eeppm.com -----Mensaje original----- De: Tielman De Villiers [mailto:tvilliers at Lastminute.com] Enviado el: Mi?rcoles, 13 de Agosto de 2003 10:14 a.m. Para: 'Priegue, Ramiro (Ramiro)' CC: nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] Passive checks 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 Este mensaje y/o sus anexos son para uso exclusivo de su destinatario intencional y puede contener informaci?n legalmente protegida por ser privilegiada o confidencial. Si usted no es el destinatario intencional del mensaje por favor inf?rmenos de inmediato y elimine el mensaje y sus anexos de su computador y sistema de comunicaciones. Igualmente, le comunicamos que cualquier retenci?n, revisi?n no autorizada, distribuci?n, divulgaci?n, reenv?o, copia, impresi?n, reproducci?n, o uso indebido de este mensaje y/o sus anexos, est? estrictamente prohibida y sancionada legalmente. Agradecemos su atenci?n. Empresas P?blicas de Medellin E.S.P. Este mensaje y/o sus anexos son para uso exclusivo de su destinatario intencional y puede contener informaci?n legalmente protegida por ser privilegiada o confidencial. Si usted no es el destinatario intencional del mensaje por favor inf?rmenos de inmediato y elimine el mensaje y sus anexos de su computador y sistema de comunicaciones. Igualmente, le comunicamos que cualquier retenci?n, revisi?n no autorizada, distribuci?n, divulgaci?n, reenv?o, copia, impresi?n, reproducci?n, o uso indebido de este mensaje y/o sus anexos, est? estrictamente prohibida y sancionada legalmente. Agradecemos su atenci?n. Empresas P?blicas de Medellin E.S.P. ------------------------------------------------------- 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/358/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 From henry at solcon.nl Thu Aug 21 11:51:02 2003 From: henry at solcon.nl (Henry Langendoen) Date: Thu, 21 Aug 2003 11:51:02 +0200 Subject: Inlcude seperate config file Message-ID: <70A180F483A4D611B18600E0810285C49B73C2@EXCHANGE> Hi, I've got a question regarding the nagios config files. We have 2 nagios machines (redundant) and every night the config from the first nagios machine is being copied to the second nagios machine, so we only have to update the first nagios config files. But the first nagios machine has 2 network interfaces to check external and internal machines. The second nagios machine has only one interface to our external network. My problem is that the configuration for the internal machines must be in a seperate config file wich then can be included on the first nagios machine but not on the second nagios machine, is that possible? Greetings, Henry Langendoen Solcon Internetdiensten BV The Netherlands ------------------------------------------------------- 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/358/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 From mpowell at ena.com Sat Aug 23 03:19:37 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 22 Aug 2003 20:19:37 -0500 Subject: Inlcude seperate config file Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D48DE@mismail.ena.com> Use multiple cfg_file directives in nagios.cfg. The file names are arbitrary. You would have a directive for the file with the internal hosts on one machine and not the other. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Henry Langendoen To: nagios-users at lists.sourceforge.net Sent: Thu Aug 21 04:51:02 2003 Subject: [Nagios-users] Inlcude seperate config file Hi, I've got a question regarding the nagios config files. We have 2 nagios machines (redundant) and every night the config from the first nagios machine is being copied to the second nagios machine, so we only have to update the first nagios config files. But the first nagios machine has 2 network interfaces to check external and internal machines. The second nagios machine has only one interface to our external network. My problem is that the configuration for the internal machines must be in a seperate config file wich then can be included on the first nagios machine but not on the second nagios machine, is that possible? Greetings, Henry Langendoen Solcon Internetdiensten BV The Netherlands ------------------------------------------------------- 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/358/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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From anders.holm at elivefree.net Fri Aug 22 12:29:58 2003 From: anders.holm at elivefree.net (Anders Holm) Date: Fri, 22 Aug 2003 11:29:58 +0100 Subject: Network Badnwidth utilization question Message-ID: <3F45F0A6.6090400@elivefree.net> Hi Folks. I'm wondering, being new to Nagios and all, is there a way to check a network device to see if it is reaching it's maximum network bandwidth? I.e. to see if a network device is getting saturated.... RTFM response are just fine.. ;) I'm quite new to Nagios but have fiddled with other network monitoring tools. Just not quite sure how to do this with nagios, which I'd like to recommend to a customer... TIA! //Anders// -- What you see depends on from what angle you're viewing it, your perception may be different from another being and yet you are both right and still, you are both wrong, so which angle holds the truth ...? -- It said "Insert disk #3 but only two would fit" ------------------------------------------------------- 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/358/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 From pedro.rebelo at tagus.ist.utl.pt Sat Aug 23 01:51:23 2003 From: pedro.rebelo at tagus.ist.utl.pt (Pedro Rebelo) Date: Sat, 23 Aug 2003 01:51:23 WEST Subject: (no subject) Message-ID: Hello there. I have the following information on the host details on nagios: box1 DOWN 11-08-2003 14:18:13 17d 2h 41m 40s CRITICAL - Plugin timed out after 10 seconds box2 UP 10-08-2003 20:40:06 17d 2h 43m 21s (Host assumed to be up) box3 UP 11-08-2003 07:17:27 17d 2h 47m 7s PING OK - Packet loss = 0%, RTA = 0.57 ms The options/configuration of these boxes are the same under the template generic-host. I enabled the check_alive command so that they could be checked. Why the difference between box2 and box3? Why doesn't box1 have info like: "Critical: Host down" instead of the supplied critical message above ? Thank you. ------------------------------------------------------- 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/358/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 From karl at debisschop.net Sat Aug 23 05:09:55 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Fri, 22 Aug 2003 23:09:55 -0400 Subject: Network Badnwidth utilization question In-Reply-To: <3F45F0A6.6090400@elivefree.net> References: <3F45F0A6.6090400@elivefree.net> Message-ID: <1061608195.1103.5.camel@miles.debisschop.net> On Fri, 2003-08-22 at 06:29, Anders Holm wrote: > Hi Folks. > > I'm wondering, being new to Nagios and all, is there a way to check a network > device to see if it is reaching it's maximum network bandwidth? I.e. to see if a > network device is getting saturated.... > > RTFM response are just fine.. ;) I'm quite new to Nagios but have fiddled with > other network monitoring tools. Just not quite sure how to do this with nagios, > which I'd like to recommend to a customer... I believe the standard approch is to deploy MRTG or something like it. If you want, there is a plugin to check the MRTG data for a threshold. -- Karl ------------------------------------------------------- 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/358/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 From nagios at acmecargo.com Sat Aug 23 19:09:01 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Sat, 23 Aug 2003 13:09:01 -0400 Subject: notifications Message-ID: <6.0.0.9.2.20030823130400.02cfe8c8@mail.hamptonin.com> I am having problems with Nagios (1.1) not sending out emails. This was all working fine but not it's now. I'm using notify-by-email in my contacts.cfg file and exim as the local smtp daemon. I can tail the log file for exim and I never get nagios submitting the notifications. Like I said, this was working and suddenly stopped. Is there a nagios log I can look at to see if the notifications are working on the nagios end of the process? I've looked but can't seem to find what I'm looking for. Thanks! Dylan ------------------------------------------------------- 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/358/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 From dylan at acmecargo.com Sat Aug 23 20:07:14 2003 From: dylan at acmecargo.com (dylan at acmecargo.com) Date: Sat, 23 Aug 2003 14:07:14 -0400 Subject: notifications In-Reply-To: <001101c3699a$a974f3c0$0300a8c0@optiplex> References: <6.0.0.9.2.20030823130400.02cfe8c8@mail.hamptonin.com> <001101c3699a$a974f3c0$0300a8c0@optiplex> Message-ID: <6.0.0.9.2.20030823140219.02da7488@mail.acmecargo.com> I have all the logging options set. All I get in the nagios.log is the following in my test: [1061660617] SERVICE ALERT: holstein;IMAP;CRITICAL;SOFT;1;Connection refused by host [1061660677] SERVICE ALERT: holstein;IMAP;CRITICAL;SOFT;2;Connection refused by host [1061660737] SERVICE ALERT: holstein;IMAP;CRITICAL;HARD;3;Connection refused by host [1061660737] SERVICE NOTIFICATION: dylan;holstein;IMAP;CRITICAL;notify-by-email;Connection refused by host [1061661637] SERVICE NOTIFICATION: dylan;holstein;IMAP;CRITICAL;notify-by-email;Connection refused by host I know the first 3 are the alerts for the service (IMAP) that's down, and the "connection refused by host" is because I stopped the IMAP service. In the last 2, does the "Connection refused by host" mean it can't connect to port 25? The user dylan actually emails two different addresses both on different mail servers, but I'm guessing exim handles that. Any thoughts? Dylan At 01:19 PM 8/23/2003, you wrote: >Hi Dylan, >There is a nagios.log whose path you can find in the main nagios.cfg file, >along with an option to switch logging on. see: >http://nagios.sourceforge.net/docs/1_0/configmain.html#log_file > >The log should show the notificiation occuring and probably the output from >exim. > >Matthew Wilson >DCSat.net > >----- Original Message ----- >From: >To: >Sent: Saturday, August 23, 2003 6:09 PM >Subject: [Nagios-users] notifications > > > > I am having problems with Nagios (1.1) not sending out emails. This was >all > > working fine but not it's now. I'm using notify-by-email in my >contacts.cfg > > file and exim as the local smtp daemon. I can tail the log file for exim > > and I never get nagios submitting the notifications. Like I said, this was > > working and suddenly stopped. Is there a nagios log I can look at to see >if > > the notifications are working on the nagios end of the process? I've >looked > > but can't seem to find what I'm looking for. Thanks! > > > > Dylan ------------------------------------------------------- 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/358/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 From matthewwilson at dsl.pipex.com Sat Aug 23 19:19:07 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Sat, 23 Aug 2003 18:19:07 +0100 Subject: notifications References: <6.0.0.9.2.20030823130400.02cfe8c8@mail.hamptonin.com> Message-ID: <001101c3699a$a974f3c0$0300a8c0@optiplex> Hi Dylan, There is a nagios.log whose path you can find in the main nagios.cfg file, along with an option to switch logging on. see: http://nagios.sourceforge.net/docs/1_0/configmain.html#log_file The log should show the notificiation occuring and probably the output from exim. Matthew Wilson DCSat.net ----- Original Message ----- From: To: Sent: Saturday, August 23, 2003 6:09 PM Subject: [Nagios-users] notifications > I am having problems with Nagios (1.1) not sending out emails. This was all > working fine but not it's now. I'm using notify-by-email in my contacts.cfg > file and exim as the local smtp daemon. I can tail the log file for exim > and I never get nagios submitting the notifications. Like I said, this was > working and suddenly stopped. Is there a nagios log I can look at to see if > the notifications are working on the nagios end of the process? I've looked > but can't seem to find what I'm looking for. Thanks! > > Dylan ------------------------------------------------------- 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/358/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 From matthewwilson at dsl.pipex.com Sat Aug 23 21:05:26 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Sat, 23 Aug 2003 20:05:26 +0100 Subject: notifications References: <6.0.0.9.2.20030823130400.02cfe8c8@mail.hamptonin.com> <6.0.0.9.2.20030823140219.02da7488@mail.acmecargo.com> Message-ID: <002001c369a9$8356d000$0300a8c0@optiplex> You are correct about the first 3 items being the service down state. I think that the 'connection refused by host' in the notification events is just the message being passed to be e-mailed to the relevant contact. Can you post the relevant sections of your contacts.cfg and misccommands.cfg (or wherever notify-by-email is defined) Matthew Wilson DCSat.net ----- Original Message ----- From: To: Sent: Saturday, August 23, 2003 7:07 PM Subject: Re: [Nagios-users] notifications > I have all the logging options set. All I get in the nagios.log is the > following in my test: > > [1061660617] SERVICE ALERT: holstein;IMAP;CRITICAL;SOFT;1;Connection > refused by host > [1061660677] SERVICE ALERT: holstein;IMAP;CRITICAL;SOFT;2;Connection > refused by host > [1061660737] SERVICE ALERT: holstein;IMAP;CRITICAL;HARD;3;Connection > refused by host > [1061660737] SERVICE NOTIFICATION: > dylan;holstein;IMAP;CRITICAL;notify-by-email;Connection refused by host > [1061661637] SERVICE NOTIFICATION: > dylan;holstein;IMAP;CRITICAL;notify-by-email;Connection refused by host > > ------------------------------------------------------- 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/358/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 From nagios at acmecargo.com Sat Aug 23 21:30:45 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Sat, 23 Aug 2003 15:30:45 -0400 Subject: notifications In-Reply-To: <002001c369a9$8356d000$0300a8c0@optiplex> References: <6.0.0.9.2.20030823130400.02cfe8c8@mail.hamptonin.com> <6.0.0.9.2.20030823140219.02da7488@mail.acmecargo.com> <002001c369a9$8356d000$0300a8c0@optiplex> Message-ID: <6.0.0.9.2.20030823152721.02db4820@mail.acmecargo.com> from misccommands.cfg # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b"+"Type:$NOTIFICATIONTYPE$+SRVC:$SERVICEDESC$+HOST:$HOSTALIAS$+STATE:$SERVICESTATE$+Date/Time:$DATETIME$+IP:$ HOSTADDRESS$+AddInfo:$OUTPUT$ | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b"+"Type:$NOTIFICATIONTYPE$+Host:$HOSTNAME$+State:$HOSTSTATE$+Date/Time:$DATETIME$+ADDR:$HOSTADDRESS$+Info:$OU TPUT$+" | /usr/bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } from contacts.cfg # 'dylan' contact definition define contact{ contact_name dylan alias Admin 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 host_notification_commands host-notify-by-email email user at domain1.com,user at domain2.com } At 03:05 PM 8/23/2003, you wrote: >You are correct about the first 3 items being the service down state. I >think that the 'connection refused by host' in the notification events is >just the message being passed to be e-mailed to the relevant contact. Can >you post the relevant sections of your contacts.cfg and misccommands.cfg (or >wherever notify-by-email is defined) > >Matthew Wilson >DCSat.net >----- Original Message ----- >From: >To: >Sent: Saturday, August 23, 2003 7:07 PM >Subject: Re: [Nagios-users] notifications > > > > I have all the logging options set. All I get in the nagios.log is the > > following in my test: > > > > [1061660617] SERVICE ALERT: holstein;IMAP;CRITICAL;SOFT;1;Connection > > refused by host > > [1061660677] SERVICE ALERT: holstein;IMAP;CRITICAL;SOFT;2;Connection > > refused by host > > [1061660737] SERVICE ALERT: holstein;IMAP;CRITICAL;HARD;3;Connection > > refused by host > > [1061660737] SERVICE NOTIFICATION: > > dylan;holstein;IMAP;CRITICAL;notify-by-email;Connection refused by host > > [1061661637] SERVICE NOTIFICATION: > > dylan;holstein;IMAP;CRITICAL;notify-by-email;Connection refused by host > > > > > > > >------------------------------------------------------- >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/358/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 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/358/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 From matthewwilson at dsl.pipex.com Sat Aug 23 21:58:36 2003 From: matthewwilson at dsl.pipex.com (Matthew Wilson) Date: Sat, 23 Aug 2003 20:58:36 +0100 Subject: notifications References: <6.0.0.9.2.20030823130400.02cfe8c8@mail.hamptonin.com> <6.0.0.9.2.20030823140219.02da7488@mail.acmecargo.com> <6.0.0.9.2.20030823152721.02db4820@mail.acmecargo.com> Message-ID: <002901c369b0$f0ef96e0$0300a8c0@optiplex> I think your problem is having two e-mail addresses defined for the contact. AFAIK, you can't do it this way and will need two seperate contacts. There is a file in the nagios log dir called lost.letters or something like that (I'm not in the office right now so can't check) which should tell you about any returned mail. Take a look at this, and try removing one of the e-mails addresses from the contact def. If it works after a restart that's your prob Matthew Wilson DCSat.net ----- Original Message ----- From: To: Sent: Saturday, August 23, 2003 8:30 PM Subject: Re: [Nagios-users] notifications > from contacts.cfg > > # 'dylan' contact definition > define contact{ > contact_name dylan > alias Admin > 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 > host_notification_commands host-notify-by-email > email user at domain1.com,user at domain2.com > } > ------------------------------------------------------- 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/358/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 From nagios at acmecargo.com Sat Aug 23 23:55:39 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Sat, 23 Aug 2003 17:55:39 -0400 Subject: notifications In-Reply-To: <002901c369b0$f0ef96e0$0300a8c0@optiplex> References: <6.0.0.9.2.20030823130400.02cfe8c8@mail.hamptonin.com> <6.0.0.9.2.20030823140219.02da7488@mail.acmecargo.com> <6.0.0.9.2.20030823152721.02db4820@mail.acmecargo.com> <002901c369b0$f0ef96e0$0300a8c0@optiplex> Message-ID: <6.0.0.9.2.20030823175511.02db8850@mail.acmecargo.com> Oh, and I also could not find anything like lost.letters in the var dir. Dylan At 03:58 PM 8/23/2003, you wrote: >I think your problem is having two e-mail addresses defined for the contact. >AFAIK, you can't do it this way and will need two seperate contacts. There >is a file in the nagios log dir called lost.letters or something like that >(I'm not in the office right now so can't check) which should tell you about >any returned mail. Take a look at this, and try removing one of the >e-mails addresses from the contact def. If it works after a restart that's >your prob > >Matthew Wilson >DCSat.net >----- Original Message ----- >From: >To: >Sent: Saturday, August 23, 2003 8:30 PM >Subject: Re: [Nagios-users] notifications > > > > from contacts.cfg > > > > # 'dylan' contact definition > > define contact{ > > contact_name dylan > > alias Admin > > 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 > > host_notification_commands host-notify-by-email > > email user at domain1.com,user at domain2.com > > } > > > > > >------------------------------------------------------- >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/358/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 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/358/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 From nagios at acmecargo.com Sat Aug 23 23:54:07 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Sat, 23 Aug 2003 17:54:07 -0400 Subject: notifications In-Reply-To: <002901c369b0$f0ef96e0$0300a8c0@optiplex> References: <6.0.0.9.2.20030823130400.02cfe8c8@mail.hamptonin.com> <6.0.0.9.2.20030823140219.02da7488@mail.acmecargo.com> <6.0.0.9.2.20030823152721.02db4820@mail.acmecargo.com> <002901c369b0$f0ef96e0$0300a8c0@optiplex> Message-ID: <6.0.0.9.2.20030823171640.02d5d6b0@mail.acmecargo.com> This was working fine before. Either way, I added another contact for the extra email address and updated the groups config file and I now get the following in the nagios.log file: [1061674332] SERVICE NOTIFICATION: dylanphone;holstein;IMAP;CRITICAL;notify-by-email;Connection refused by host [1061674332] SERVICE NOTIFICATION: dylanemail;holstein;IMAP;CRITICAL;notify-by-email;Connection refused by host Still no log in the exim log and no emails to either address have been delivered. Any other ideas? Dylan At 03:58 PM 8/23/2003, you wrote: >I think your problem is having two e-mail addresses defined for the contact. >AFAIK, you can't do it this way and will need two seperate contacts. There >is a file in the nagios log dir called lost.letters or something like that >(I'm not in the office right now so can't check) which should tell you about >any returned mail. Take a look at this, and try removing one of the >e-mails addresses from the contact def. If it works after a restart that's >your prob > >Matthew Wilson >DCSat.net >----- Original Message ----- >From: >To: >Sent: Saturday, August 23, 2003 8:30 PM >Subject: Re: [Nagios-users] notifications > > > > from contacts.cfg > > > > # 'dylan' contact definition > > define contact{ > > contact_name dylan > > alias Admin > > 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 > > host_notification_commands host-notify-by-email > > email user at domain1.com,user at domain2.com > > } > > > > > >------------------------------------------------------- >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/358/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 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/358/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 From cpurn at cpurn.net Mon Aug 25 04:33:31 2003 From: cpurn at cpurn.net (Christian Purnomo) Date: Mon, 25 Aug 2003 12:33:31 +1000 Subject: Nagios client? question. Message-ID: <20030825023331.GJ696@monhost.curriculum.edu.au> HI folks I'm 1 day old in using Nagios. I have been previously using Big Brother monitoring and quite happy with that. I recently decided to look around and found Nagios, I notice there are quite a few of features that I like from Nagios that I'm lacking with big brother (I haven't upgraded my BB for a while, BB team may have added more features that I'm not aware of). I have a question about the way nagios external plugin, since I can't see nagios runs a client side on remote server, I wonder how I can monitor such services on a remote server, which service is only connect-able from the machine itself, hence no remote type connection. Let's take a remote server running mysql database running with --bind-address=127.0.0.1 , how can I monitor this mysql database from a seperate nagios server? I can use 'ssh' to login into the remote server and perform some tests. Is this how you do it? With big brother, since big brother has a client end, all I need to do is to write a module for that server, this module will talk to the BB client on the remote server, the client program will then talk to the BB main server. Many thanks Christian. ------------------------------------------------------- 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/358/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 From pem at icdc.com Mon Aug 25 06:44:01 2003 From: pem at icdc.com (Patrick McShane) Date: Mon, 25 Aug 2003 00:44:01 -0400 Subject: New Nagios installation Message-ID: <00bf01c36ac3$8191aa40$0200a8c0@bullit> Hi all, I recently built a new Nagios 1.1 system and loaded up quite a few hosts/services including the check_nrpe plugin. Very slick indeed!!! Icons/logos/notes oh my.... The VRML screen is cool too when combined with the "parents" attribute. Shorlty I'll build the MySQL DB connection for more comprehensive state data. One quick question since starting and watching the Nagios service with a fews days of data (no DB backend yet, just file-based). When viewing items like Trends/Availability in the "Reporting" section of the main web page, what particular set of service checks should be defined for EACH host (or any TCPIP entity for that matter) to insure that the trend/availability data has "sane" information? Right now I see most of the hosts showing " 100% Time Undetermined " (gray column). I have one host that is showing some percentage numbers in the " % Time Up" but I don't know why its showing data and all the others show "100% undetermined". Can someone help a newby out with this? Thanks, Pat McShane ICDC.COM -------------- next part -------------- An HTML attachment was scrubbed... URL: From james at lovedthanlost.net Mon Aug 25 08:39:25 2003 From: james at lovedthanlost.net (James Turnbull) Date: Mon, 25 Aug 2003 16:39:25 +1000 Subject: New Nagios installation References: <00bf01c36ac3$8191aa40$0200a8c0@bullit> Message-ID: <013701c36ad3$a050cf00$4600a8c0@iih.usyd.edu.au> > When viewing items like Trends/Availability in the "Reporting" > section of the main web page, what particular set of service checks > should be defined for EACH host (or any TCPIP entity for that matter) > to insure that the trend/availability data has "sane" information? > Right now I see most of the hosts showing " 100% Time Undetermined " > (gray column). I have one host that is showing some percentage > numbers in the " % Time Up" but I don't know why its showing data and > all the others show "100% undetermined". Can someone help a newby > out with this? Have a look at the FAQ :- http://www.nagios.org/faqs/viewfaq.php?faq_id=136 Regards James ------------------------------------------------------- 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/358/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 From jamie.baddeley at vpc.co.nz Mon Aug 25 09:27:00 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Mon, 25 Aug 2003 19:27:00 +1200 Subject: Segfault In-Reply-To: <00bf01c36ac3$8191aa40$0200a8c0@bullit> References: <00bf01c36ac3$8191aa40$0200a8c0@bullit> Message-ID: <200308250719.h7P7JZf11682@spectre.freeparking.co.nz> Hi All, I've just finished a new nagios install. checking configs, it gets to: ....Checking for circular paths between hosts... and segfaults. I've got about 200 hosts and about 600 services, with a moderately complex parent/child setup. I'm not doing anything blatantly silly, so is it possible that I've simply done something wrong with my parents definitions, and instead of Nagios telling me so, it just hangs? Lemme know if an strace (or insert favourite debug approach here) will help. Cheers jamie ------------------------------------------------------- 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/358/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 From Fred.Albrecht at za.tiscali.com Mon Aug 25 16:01:42 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Mon, 25 Aug 2003 16:01:42 +0200 Subject: Network Badnwidth utilization question Message-ID: -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi I'm using RTG to get my interface stats out of the routers and into a DB. I then use RTG's graphing tools to draw my bandwidth graphs (which is very fast). No MRTG/APAN/CRICKET needed. Also linked the graphs onto my nagios pages using the extended info config files. Part of the info I pull out of the router is the bandwidth statement (which I assume my network guys keep up to date when they change an interfaces BW). Nagios then uses a custom check to compare the current traffic with it's bandwidth and logs if it reaches my specified thresholds. Easy. ;) fred > -----Original Message----- > From: Anders Holm [mailto:anders.holm at elivefree.net] > Sent: 22 August 2003 12:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Network Badnwidth utilization question > > > Hi Folks. > > I'm wondering, being new to Nagios and all, is there a way to > check a network > device to see if it is reaching it's maximum network > bandwidth? I.e. to see if a > network device is getting saturated.... > > RTFM response are just fine.. ;) I'm quite new to Nagios but > have fiddled with > other network monitoring tools. Just not quite sure how to do > this with nagios, > which I'd like to recommend to a customer... > > TIA! > > //Anders// > > -- > What you see depends on from what angle you're viewing it, > your perception may be different from another being and yet > you are both right and still, you are both wrong, so which > angle holds the truth ...? > -- > It said "Insert disk #3 but only two would fit" > > > > ------------------------------------------------------- > 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/358/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 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/358/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 From scott.zawalski at bundestag.de Mon Aug 25 12:03:39 2003 From: scott.zawalski at bundestag.de (Scott Zawalski) Date: Mon, 25 Aug 2003 12:03:39 +0200 Subject: RH 7.1 and nrpe In-Reply-To: <3F44E16C.9010008@cesart.com> References: <3F44E16C.9010008@cesart.com> Message-ID: <3F49DEFB.2040805@bundestag.de> Pascal Robert wrote: > Hi, > > I get some problems with nrpe when the server try to contact RH 7.1 > machines. > > Server setup: > > - RH Linux 8 > - Nagios 1.1 > - Nagios Plugins 1.3.1 > > Client setup: > > - RH Linux 7.1 > - NRPE 1.9 > - Nagios Plugins 1.3.1 > > Nagios is working fine with anything higher than RH 7.1, it's only the > 7.1 machines that's giving me headaches. > On one client, I can contact it from the server but the connection is > close immediately: > > $ libexec/check_nrpe -H xxx.xxxx.xxx -c check_disk > CHECK_NRPE: Error receiving data from host. > > $ telnet xxx.xxxx.xxx 5666 > Trying 192.168.1.10... > Connected to devgen.cesart.local. > Escape character is '^]'. > Connection closed by foreign host. > > In the clien't log (/var/log/messages), the only reason I get is this: > > Aug 21 10:30:43 devgen nrpe[11501]: Could not read request from > client, bailing out... > > If I connect to localhost:5666 on the client, I get an answer. > > And on the two other 7.1 machines, if I start nrpe with xinetd, I > can't connect to port 5666, even from localhost. The only way to get > to this port is by running nrpe as a daemon instead of by xinetd. But > in this case, I get the same problem as the first machine. > > I don't have any firewall rules in place, and all other clients > (either RH 7.2, 7.3 or 8.0) are working fine. I did recompile nrpe > and the plugins on each client so it's not a binary problem either. > > > > > > ------------------------------------------------------- > 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/358/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 > > What do you have under allowed hosts? look in the nrpe.cfg and check and see if the host you are trying to contact your nagios client with is on this line. Mine looks like: allowed_hosts=1.2.3.1 Good luck, Scott ------------------------------------------------------- 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/358/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 From todd at bsd.uchicago.edu Mon Aug 25 17:46:39 2003 From: todd at bsd.uchicago.edu (Todd Anderson) Date: Mon, 25 Aug 2003 10:46:39 -0500 Subject: send_nsca on solaris 8/9 Message-ID: <3F4A2F5F.30103@bsd.uchicago.edu> send_nsca on Solaris 8 and 9 seems to compile correctly. It fails to work however, the binary never really seems to execute when called by the ocsp command despite it having been given the correct permissions and ownership. I have it working fine on redhat, but the solaris installs refuse to work. Has anyone had similar problems with send_nsca on solaris? thanks, Todd ------------------------------------------------------- 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/358/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 From jcarro10 at sprintspectrum.com Mon Aug 25 19:22:24 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Mon, 25 Aug 2003 12:22:24 -0500 Subject: CGI authentication puzzle Message-ID: Greets all, While logged into the web interface for Nagios as myself, I only recently discovered (as it's not somewhere I go to frequently) that if I click on "Network Outages", I get the dreaded message: "It appears as though you do not have permission to view information 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." Just for fun, I tried it as guest. No such problem. I tried it as nagiosadmin. No such problem. outages.cgi has mode 755. The parent directory has mode 775. Here are the relevant snippets from my cgi.cfg: use_authentication=1 authorized_for_system_information=* authorized_for_configuration_information=* authorized_for_system_commands=nagiosadmin,jcarro10 authorized_for_all_services=nagiosadmin,guest authorized_for_all_hosts=nagiosadmin,guest authorized_for_all_service_commands=* authorized_for_all_host_commands=* (NB: I'm logged in as jcarro10.) Can anyone offer a possible reason why this is happening? jc ------------------------------------------------------- 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/358/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 From Phu at uui.com Tue Aug 26 01:49:27 2003 From: Phu at uui.com (Phu Nguyen) Date: Mon, 25 Aug 2003 16:49:27 -0700 Subject: nrpe_nt plugin for check cpu temperature Message-ID: <001301c36b63$8606e900$140a0a0a@phu> Hi everyone, I'm curious if the plug-in for checking system temperature exists any where? Thank you, Phu Nguyen. -------------- next part -------------- An HTML attachment was scrubbed... URL: From brian at unearthed.org Tue Aug 26 03:12:55 2003 From: brian at unearthed.org (Brian May) Date: Mon, 25 Aug 2003 18:12:55 -0700 Subject: check-host-alive ping substitute... Message-ID: <00d701c36b6f$57a2e120$9701020a@brianmay> Is there a good substitute for ping to see if a host is up or down? my hosting facility is dropping all ICMP echo requests. Should I just have a check that randomly checks services that they box has instead? or does anyone have a better solution? ------------------------------------------------------- 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/358/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 From jcarro10 at sprintspectrum.com Mon Aug 25 18:58:09 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Mon, 25 Aug 2003 11:58:09 -0500 Subject: singular notification puzzle Message-ID: Greets all, Strange problem which I've only recently become aware of. Summary: - host check of router fails - single failure notification is sent out - status is never acknowledged - subsequent notifications are never sent - host recovers - recovery notification sent out - host fails again - single failure notification - status is never acknowledged - subsequent notifications are never sent I'm sure you can see a pattern to this. The definition for this host belongs to a hostgroup. That hostgroup belongs to an escalation where first_notification is set to 1 and last_notification is set to 0. Thoughts? jc ------------------------------------------------------- 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/358/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 From marco.ciullini at datamar.it Mon Aug 25 08:33:30 2003 From: marco.ciullini at datamar.it (Marco Ciullini) Date: Mon, 25 Aug 2003 08:33:30 +0200 Subject: Nagios client? question. In-Reply-To: <20030825023331.GJ696@monhost.curriculum.edu.au> References: <20030825023331.GJ696@monhost.curriculum.edu.au> Message-ID: <3F49ADBA.8010303@datamar.it> nrpe and nsca are your friends. Nrpe (Nagios remote plugin executor) is a server that runs on the remote machine you want to monitor: the nagios server tells nrpe to execute the checks... Nsca (Nagios Service Check Acceptor) is a server that runs on the nagios machine, and accepts "Passive services results" sent by remote hosts. It's very useful when the host you have to monitor is behind a firewall, and NRPE could not be reached. http://nagios.sourceforge.net/docs/1_0/addons.html#nrpe http://nagios.sourceforge.net/docs/1_0/addons.html#nsca Bye Christian Purnomo ha scritto: > HI folks > > I'm 1 day old in using Nagios. I have been previously using Big Brother > monitoring and quite happy with that. I recently decided to look around and > found Nagios, I notice there are quite a few of features that I like from > Nagios that I'm lacking with big brother (I haven't upgraded my BB for a while, > BB team may have added more features that I'm not aware of). > > I have a question about the way nagios external plugin, since I can't see nagios runs a client side on remote server, I wonder how I can monitor such services on a remote server, which service is only connect-able from the machine itself, hence no remote type connection. > > Let's take a remote server running mysql database running with > --bind-address=127.0.0.1 , how can I monitor this mysql database from a > seperate nagios server? I can use 'ssh' to login into the remote server and > perform some tests. Is this how you do it? > > With big brother, since big brother has a client end, all I need to do is to > write a module for that server, this module will talk to the BB client on the > remote server, the client program will then talk to the BB main server. > > Many thanks > > Christian. > > > > ------------------------------------------------------- > 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/358/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 -- 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 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/358/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 From rob at capband.net Mon Aug 25 17:17:15 2003 From: rob at capband.net (Rob Nelson) Date: Mon, 25 Aug 2003 11:17:15 -0400 Subject: Small HTML page Message-ID: <5.2.1.1.0.20030825111601.00b79670@mail.capband.net> Is there any included HTML page, or a plugin/patch/mod to Nagios, that would allow us to view Nagios from our Pocket PC handhelds? All of the current pages, specifically "Service Problems", are too wide to be of use. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- 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/358/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 From ryan.mooney at pnl.gov Mon Aug 25 18:05:55 2003 From: ryan.mooney at pnl.gov (Mooney, Ryan) Date: Mon, 25 Aug 2003 09:05:55 -0700 Subject: Number of Nagios Processes Distributed Monitoring Message-ID: No official fix that I've seen, although I haven't been tracking CVS. At least on other solution was proposed, this may be a "better" solution, I don't know (both are a bit ugly IMHO, but hey can't argue to hard w/ success). Jay 'Whip' Grizzard [elfchief at lupine.org] explained the problem thusly: After much investigation, the best conclusion I've been able to draw is that the process scheduling on our system (RedHat 8.0) is behaving in such a way that, after the parent process is able to clear out its pipe a bit (thus freeing some buffer), some processes are always scheduled -last-, giving other (newer) processes a chance to fill up the pipe's buffer again before the 'hung' processes get a chance to run again. Since I didn't feel like rewriting the linux process scheduler, I instead opted to increase the size of the pipe buffer in the kernel (there's a define for PIPE_SIZE that's normally set to PAGE_SIZE -- 4k on x86). I increased it to (8 * PAGE_SIZE) and rebuilt my kernel, under the theory that a larger buffer would give processes a much larger chance of being able to get some data into the buffer before it filled ... and, indeed, the 'hung' processes seem to have gone away -- After 24 hours, the oldest nagios subprocesses on the box are, at worst, one minute old. > -----Original Message----- > From: Mike Benoit [mailto:mikeb at netnation.com] > Sent: Monday, August 25, 2003 8:59 AM > To: Mooney, Ryan > Cc: nagios-users; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Number of Nagios Processes Distributed > Monitoring > > > I'm having the exact same problem with Nagios 1.1. There > hasn't been any > official fix for this released yet correct? It sure makes > using passive > checks difficult. :( > > On Fri, 2003-07-25 at 09:56, Mooney, Ryan wrote: > > I had a simular problem when doing lots of external checks. > The sub process that > > gets forked to read the results from the .cmd pipe and then > write them to the shared > > fd to the master process would block (forever) on the write > call. I never did figure > > out why, since the code appeared to be correct. I ended up > putting an alarm around > > the write call and timing it out if it hung to long. I > figured that loosing a few > > passive checks was worth not having memory fill up & having > the machine die. Based on > > the behavior I saw, I'm not really convinced that the > problem is 100% limited to the > > passive checks though, as a very simular set of routines is > used by the active checks > > code. > > > > If you compile nagios with debugging (export "CFLAGS=-g"; > ./configure --whatever-options-you-use; make; make install) > and then watch the "ps aux" output you'll notice > > that there is one really long running process that takes a > fair bit of CPU (which is > > the good master) and then over time you'll start seeing > some other processes that have > > a start time a fair bit in the past that never die. If you > attach to one of these with > > a debugger (say "cd /wherever/you/compiled/nagios/; gdb > base/nagios [pid]" where [pid] > > is the process ID of one of the processes with a start time > > 1hr ago that is not the > > master process) and do a "bt" to get a call trace out of it > that would likely help > > determine where the processes are getting stuck. > > > > If you are having the same problem I was you will likely > see "process_passive_service_checks" and/or > "check_for_external_commands" in the call trace > > (sometimes the stack looks munged so the call stack may not > be 100% accurate, leading me > > to believe that some corruption is whats causing the write > to hang, but I wasn't able to > > figure out what was causing the corruption easily and had > to "get things working"). > > > > I'd be curious to see if its the same problem. > > > > > >Jasmine > > > I am pretty sure, not nagios itself, but memory ran out > and the server > > > stood. > > > At the moment I have a nagios uptime of : > > > > > > Total Running Time: 0d 6h 6m 15s > > > And this... > > > Check Command Output: Nagios ok: located 1677 processes, > status log > > > updated 170 seconds ago > > > > > > I am pretty sure this is mot ok, > > > > > > Any Ideas ? > > > > > > I will let the server run over the weekend, when it > crashes again, I > > > give detailed information to the list. > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET > sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > > > _072303_01/01 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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 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/358/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 From Basile.Mathieu at siris.sorbonne.fr Tue Aug 26 09:30:44 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Tue, 26 Aug 2003 09:30:44 +0200 Subject: nrpe on solaris Message-ID: <5.0.2.1.2.20030826093035.0215aad0@195.220.107.3> have somebody experience of nrpe on SOLARIS i compiled nrpe without ssl ( i have many errors when i compile with ssl ) i can start nrpe but i have check_nrpe socket timeout after 10 second as a result ------------------------------------------------------- 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/358/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 From scott.zawalski at bundestag.de Tue Aug 26 10:52:20 2003 From: scott.zawalski at bundestag.de (Scott Zawalski) Date: Tue, 26 Aug 2003 10:52:20 +0200 Subject: Allowing users only to see certain hosts In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D48D2@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D48D2@mismail.ena.com> Message-ID: <3F4B1FC4.7000608@bundestag.de> Marc Powell wrote: > Yes, certainly. Check out the documentation on cgi authentication, > contacts and contactgroups. > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > > -----Original Message----- > From: Scott Zawalski > To: nagios-users at lists.sourceforge.net > > Sent: Fri Aug 22 03:31:20 2003 > Subject: [Nagios-users] Allowing users only to see certain hosts > > Is there anyway to define user access control down to the host level? Or > a way to have someone logon with the name database and he will then only > see the servers that are in this specific group or is there a feature > currently in nagios that implements something along those lines? > > > Thanks in advance. > > > > > ------------------------------------------------------- > 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/358/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 > I do not mean only get notification for certain hosts. I want the people to be able to login to the web-interface and only see those specific hosts I read over the suggested documentation and did not find anything of this sort. Did I miss it? Thanks, Scott ------------------------------------------------------- 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/358/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 From scott.zawalski at web.de Mon Aug 25 11:20:58 2003 From: scott.zawalski at web.de (Scott Zawalski) Date: Mon, 25 Aug 2003 11:20:58 +0200 Subject: Allowing users only to see certain hosts Message-ID: <3F49D4FA.6070107@web.de> Is there anyway to define user access control down to the host level? Or a way to have someone logon with the name database and he will then only see the servers that are in this specific group or is there a feature currently in nagios that implements something along those lines? Thanks in advance. ------------------------------------------------------- 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/358/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 From Basile.Mathieu at siris.sorbonne.fr Tue Aug 26 10:23:15 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Tue, 26 Aug 2003 10:23:15 +0200 Subject: nrpe on solaris Message-ID: <5.0.2.1.2.20030826102239.0215a0a0@195.220.107.3> nagios 1.1 OS redhat 7.3 have somebody experience of nrpe on SOLARIS i compiled nrpe without ssl ( i have many errors when i compile with ssl ) i can start nrpe but i have check_nrpe socket timeout after 10 second as a result ------------------------------------------------------- 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/358/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 From roy at karlsbakk.net Tue Aug 26 15:09:50 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: Tue, 26 Aug 2003 15:09:50 +0200 Subject: [REPOST] Inheritable host/service dependencies? Message-ID: <200308261509.50252.roy@karlsbakk.net> hi all I've RTFM and it says dependencies aren't inheritable (yet). Does anyone know if this'll be an upcoming feature in later versions? 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 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/358/0 From itamarf at pbh.gov.br Mon Aug 25 22:05:49 2003 From: itamarf at pbh.gov.br (itamarf) Date: Mon, 25 Aug 2003 17:05:49 -0300 Subject: Problema_Nagios Message-ID: <3F4A6C1C.3568BF2B@pbh.gov.br> Pessoal, > >Tudo bem? > >estou precisando de uma ajuda, talvez voce saiba algo que possa me >auxil.iar. O nagios estava funcionando aqui muito bem at? a quarta feira >desta semana, por?m quinta as 3 e meia da madrgada aconteceu algo muito >estranho, o nagios continuou a mandar notifica??es normalmente mas esta >vem vazia, nao informa o host , o problema, nada. eu j? andei olhando a >configura??o e est? tudo ok. s? que alguns arquivos .cfg tais como >hosts.cfg, services.cfg,nagios.cfg est?o bloqueados, se voce tenta >acess? - los, o linux , que ? onde o nagios et? rodando, diz que estes >arquivos est?o ocupados. j? viu algo parecido? > > >se souber de algo, > >Obrigado. > >Itamar ------------------------------------------------------- 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/358/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 From jean_mourao at hotmail.com Tue Aug 26 15:48:19 2003 From: jean_mourao at hotmail.com (Jean Carlos Marques Mourao) Date: Tue, 26 Aug 2003 13:48:19 +0000 Subject: linux syslog server X Nagios Message-ID: An HTML attachment was scrubbed... URL: From GGaiote at visanet.com.br Tue Aug 26 16:37:08 2003 From: GGaiote at visanet.com.br (Gustavo Gaiote) Date: Tue, 26 Aug 2003 11:37:08 -0300 Subject: Monitoring a specific TPC Port Message-ID: Hello, How can I configure my Nagios to monitoring a specific TCP port? Here, we have a specific equipment that I need to check the TCP port 4167, if is available or not available. I believe that is a service configuration... ok? Regards, Gustavo Gaiote -----Mensagem original----- De: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Enviada em: ter?a-feira, 26 de agosto de 2003 00:35 Para: nagios-users at lists.sourceforge.net Assunto: Nagios-users digest, Vol 1 #1630 - 11 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. New Nagios installation (Patrick McShane) 2. Re: New Nagios installation (James Turnbull) 3. Segfault (Jamie Baddeley) 4. RE: Network Badnwidth utilization question (Fred Albrecht) 5. Re: RH 7.1 and nrpe (Scott Zawalski) 6. send_nsca on solaris 8/9 (Todd Anderson) 7. CGI authentication puzzle (Carroll, Jim P [PCS]) 8. nrpe_nt plugin for check cpu temperature (Phu Nguyen) 9. check-host-alive ping substitute... (Brian May) 10. singular notification puzzle (Carroll, Jim P [PCS]) 11. Re: Nagios client? question. (Marco Ciullini) --__--__-- Message: 1 From: "Patrick McShane" To: Date: Mon, 25 Aug 2003 00:44:01 -0400 Subject: [Nagios-users] New Nagios installation This is a multi-part message in MIME format. ------=_NextPart_000_00BC_01C36AA1.FA36A530 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I recently built a new Nagios 1.1 system and loaded up quite a few = hosts/services including the check_nrpe plugin. Very slick indeed!!! = Icons/logos/notes oh my.... The VRML screen is cool too when = combined with the "parents" attribute. Shorlty I'll build the MySQL DB connection for more comprehensive state = data.=20 One quick question since starting and watching the Nagios service with a = fews days of data (no DB backend yet, just file-based). When viewing items like Trends/Availability in the "Reporting" section = of the main web page, what particular set of service checks should be = defined for EACH host (or any TCPIP entity for that matter) to insure = that the trend/availability data has "sane" information? Right now I = see most of the hosts showing " 100% Time Undetermined " (gray column). = I have one host that is showing some percentage numbers in the " % Time = Up" but I don't know why its showing data and all the others show "100% = undetermined". Can someone help a newby out with this? Thanks, Pat McShane ICDC.COM ------=_NextPart_000_00BC_01C36AA1.FA36A530 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Hi all,
 
I recently built a new Nagios 1.1 system and = loaded up=20 quite a few hosts/services including the check_nrpe plugin.   = Very=20 slick indeed!!!   Icons/logos/notes oh = my....    =20 The VRML screen is cool too when combined with the "parents"=20 attribute.
 
Shorlty I'll build the MySQL DB connection for = more=20 comprehensive state data.
 
One quick question since starting and watching = the Nagios=20 service with a fews days of data (no DB backend yet, just=20 file-based).
 
When viewing items like = Trends/Availability in the=20 "Reporting" section of the main web page, what particular set of service = checks=20 should be defined for EACH host (or any TCPIP entity for that matter) to = insure=20 that the trend/availability data has "sane" information?   = Right now I=20 see most of the hosts showing " 100% Time Undetermined " (gray=20 column).   I have one host that is showing some = percentage=20 numbers in the " % = Time=20 Up" but I don't know why its showing data and all the = others show "100% undetermined".   Can someone help a = newby out=20 with this?
 
Thanks,
Pat McShane
ICDC.COM
 
------=_NextPart_000_00BC_01C36AA1.FA36A530-- --__--__-- Message: 2 From: "James Turnbull" To: "Patrick McShane" , Subject: Re: [Nagios-users] New Nagios installation Date: Mon, 25 Aug 2003 16:39:25 +1000 > When viewing items like Trends/Availability in the "Reporting" > section of the main web page, what particular set of service checks > should be defined for EACH host (or any TCPIP entity for that matter) > to insure that the trend/availability data has "sane" information? > Right now I see most of the hosts showing " 100% Time Undetermined " > (gray column). I have one host that is showing some percentage > numbers in the " % Time Up" but I don't know why its showing data and > all the others show "100% undetermined". Can someone help a newby > out with this? Have a look at the FAQ :- http://www.nagios.org/faqs/viewfaq.php?faq_id=136 Regards James --__--__-- Message: 3 From: Jamie Baddeley Reply-To: jamie.baddeley at vpc.co.nz To: nagios-users at lists.sourceforge.net Date: Mon, 25 Aug 2003 19:27:00 +1200 Subject: [Nagios-users] Segfault Hi All, I've just finished a new nagios install. checking configs, it gets to: ....Checking for circular paths between hosts... and segfaults. I've got about 200 hosts and about 600 services, with a moderately complex parent/child setup. I'm not doing anything blatantly silly, so is it possible that I've simply done something wrong with my parents definitions, and instead of Nagios telling me so, it just hangs? Lemme know if an strace (or insert favourite debug approach here) will help. Cheers jamie --__--__-- Message: 4 Subject: RE: [Nagios-users] Network Badnwidth utilization question Date: Mon, 25 Aug 2003 16:01:42 +0200 From: "Fred Albrecht" To: "Anders Holm" , -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi I'm using RTG to get my interface stats out of the routers and into a DB. I then use RTG's graphing tools to draw my bandwidth graphs (which is very fast). No MRTG/APAN/CRICKET needed. Also linked the graphs onto my nagios pages using the extended info config files. Part of the info I pull out of the router is the bandwidth statement (which I assume my network guys keep up to date when they change an interfaces BW). Nagios then uses a custom check to compare the current traffic with it's bandwidth and logs if it reaches my specified thresholds. Easy. ;) fred > -----Original Message----- > From: Anders Holm [mailto:anders.holm at elivefree.net] > Sent: 22 August 2003 12:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Network Badnwidth utilization question > > > Hi Folks. > > I'm wondering, being new to Nagios and all, is there a way to > check a network > device to see if it is reaching it's maximum network > bandwidth? I.e. to see if a > network device is getting saturated.... > > RTFM response are just fine.. ;) I'm quite new to Nagios but > have fiddled with > other network monitoring tools. Just not quite sure how to do > this with nagios, > which I'd like to recommend to a customer... > > TIA! > > //Anders// > > -- > What you see depends on from what angle you're viewing it, > your perception may be different from another being and yet > you are both right and still, you are both wrong, so which > angle holds the truth ...? > -- > It said "Insert disk #3 but only two would fit" > > > > ------------------------------------------------------- > 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/358/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 > --__--__-- Message: 5 Date: Mon, 25 Aug 2003 12:03:39 +0200 From: Scott Zawalski To: Pascal Robert , nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RH 7.1 and nrpe Pascal Robert wrote: > Hi, > > I get some problems with nrpe when the server try to contact RH 7.1 > machines. > > Server setup: > > - RH Linux 8 > - Nagios 1.1 > - Nagios Plugins 1.3.1 > > Client setup: > > - RH Linux 7.1 > - NRPE 1.9 > - Nagios Plugins 1.3.1 > > Nagios is working fine with anything higher than RH 7.1, it's only the > 7.1 machines that's giving me headaches. > On one client, I can contact it from the server but the connection is > close immediately: > > $ libexec/check_nrpe -H xxx.xxxx.xxx -c check_disk > CHECK_NRPE: Error receiving data from host. > > $ telnet xxx.xxxx.xxx 5666 > Trying 192.168.1.10... > Connected to devgen.cesart.local. > Escape character is '^]'. > Connection closed by foreign host. > > In the clien't log (/var/log/messages), the only reason I get is this: > > Aug 21 10:30:43 devgen nrpe[11501]: Could not read request from > client, bailing out... > > If I connect to localhost:5666 on the client, I get an answer. > > And on the two other 7.1 machines, if I start nrpe with xinetd, I > can't connect to port 5666, even from localhost. The only way to get > to this port is by running nrpe as a daemon instead of by xinetd. But > in this case, I get the same problem as the first machine. > > I don't have any firewall rules in place, and all other clients > (either RH 7.2, 7.3 or 8.0) are working fine. I did recompile nrpe > and the plugins on each client so it's not a binary problem either. > > > > > > ------------------------------------------------------- > 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/358/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 > > What do you have under allowed hosts? look in the nrpe.cfg and check and see if the host you are trying to contact your nagios client with is on this line. Mine looks like: allowed_hosts=1.2.3.1 Good luck, Scott --__--__-- Message: 6 Date: Mon, 25 Aug 2003 10:46:39 -0500 From: Todd Anderson To: "nagios-users at lists.sourceforge.net" Subject: [Nagios-users] send_nsca on solaris 8/9 send_nsca on Solaris 8 and 9 seems to compile correctly. It fails to work however, the binary never really seems to execute when called by the ocsp command despite it having been given the correct permissions and ownership. I have it working fine on redhat, but the solaris installs refuse to work. Has anyone had similar problems with send_nsca on solaris? thanks, Todd --__--__-- Message: 7 Date: Mon, 25 Aug 2003 12:22:24 -0500 From: "Carroll, Jim P [PCS]" To: Subject: [Nagios-users] CGI authentication puzzle Greets all, While logged into the web interface for Nagios as myself, I only recently discovered (as it's not somewhere I go to frequently) that if I click on "Network Outages", I get the dreaded message: "It appears as though you do not have permission to view information=20 you requested... If you believe this is an error, check the HTTP server authentication=20 requirements for accessing this CGI and check the authorization options in your CGI configuration file." Just for fun, I tried it as guest. No such problem. I tried it as nagiosadmin. No such problem. outages.cgi has mode 755. The parent directory has mode 775. Here are the relevant snippets from my cgi.cfg: use_authentication=3D1 authorized_for_system_information=3D* authorized_for_configuration_information=3D* authorized_for_system_commands=3Dnagiosadmin,jcarro10 authorized_for_all_services=3Dnagiosadmin,guest authorized_for_all_hosts=3Dnagiosadmin,guest authorized_for_all_service_commands=3D* authorized_for_all_host_commands=3D* (NB: I'm logged in as jcarro10.) Can anyone offer a possible reason why this is happening? jc --__--__-- Message: 8 From: "Phu Nguyen" To: Date: Mon, 25 Aug 2003 16:49:27 -0700 Subject: [Nagios-users] nrpe_nt plugin for check cpu temperature This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C36B28.D9AE2B80 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi everyone, I'm curious if the plug-in for checking system temperature exists any where? Thank you, Phu Nguyen. ------=_NextPart_000_0014_01C36B28.D9AE2B80 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi everyone,

 

I’m curious if the plug-in for checking system = temperature exists any where?

 

Thank you,

Phu Nguyen.

------=_NextPart_000_0014_01C36B28.D9AE2B80-- --__--__-- Message: 9 From: "Brian May" To: Date: Mon, 25 Aug 2003 18:12:55 -0700 Subject: [Nagios-users] check-host-alive ping substitute... Is there a good substitute for ping to see if a host is up or down? my hosting facility is dropping all ICMP echo requests. Should I just have a check that randomly checks services that they box has instead? or does anyone have a better solution? --__--__-- Message: 10 Date: Mon, 25 Aug 2003 11:58:09 -0500 From: "Carroll, Jim P [PCS]" To: Subject: [Nagios-users] singular notification puzzle Greets all, Strange problem which I've only recently become aware of. Summary: - host check of router fails - single failure notification is sent out - status is never acknowledged - subsequent notifications are never sent - host recovers - recovery notification sent out - host fails again - single failure notification - status is never acknowledged - subsequent notifications are never sent I'm sure you can see a pattern to this. The definition for this host belongs to a hostgroup. That=20 hostgroup belongs to an escalation where first_notification=20 is set to 1 and last_notification is set to 0. Thoughts? jc --__--__-- Message: 11 Date: Mon, 25 Aug 2003 08:33:30 +0200 From: Marco Ciullini To: nagios Users List Subject: Re: [Nagios-users] Nagios client? question. nrpe and nsca are your friends. Nrpe (Nagios remote plugin executor) is a server that runs on the remote machine you want to monitor: the nagios server tells nrpe to execute the checks... Nsca (Nagios Service Check Acceptor) is a server that runs on the nagios machine, and accepts "Passive services results" sent by remote hosts. It's very useful when the host you have to monitor is behind a firewall, and NRPE could not be reached. http://nagios.sourceforge.net/docs/1_0/addons.html#nrpe http://nagios.sourceforge.net/docs/1_0/addons.html#nsca Bye Christian Purnomo ha scritto: > HI folks > > I'm 1 day old in using Nagios. I have been previously using Big Brother > monitoring and quite happy with that. I recently decided to look around and > found Nagios, I notice there are quite a few of features that I like from > Nagios that I'm lacking with big brother (I haven't upgraded my BB for a while, > BB team may have added more features that I'm not aware of). > > I have a question about the way nagios external plugin, since I can't see nagios runs a client side on remote server, I wonder how I can monitor such services on a remote server, which service is only connect-able from the machine itself, hence no remote type connection. > > Let's take a remote server running mysql database running with > --bind-address=127.0.0.1 , how can I monitor this mysql database from a > seperate nagios server? I can use 'ssh' to login into the remote server and > perform some tests. Is this how you do it? > > With big brother, since big brother has a client end, all I need to do is to > write a module for that server, this module will talk to the BB client on the > remote server, the client program will then talk to the BB main server. > > Many thanks > > Christian. > > > > ------------------------------------------------------- > 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/358/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 -- 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 --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest -------------- next part -------------- An HTML attachment was scrubbed... URL: From GGaiote at visanet.com.br Tue Aug 26 16:41:23 2003 From: GGaiote at visanet.com.br (Gustavo Gaiote) Date: Tue, 26 Aug 2003 11:41:23 -0300 Subject: Monitoring a specific TPC Port Message-ID: Hello, How can I configure my Nagios to monitoring a specific TCP port? Here, we have a specific equipment that I need to check the TCP port 4167, if is available or not available. I believe that is a service configuration... Ok? Regards, Gustavo Gaiote -------------- next part -------------- An HTML attachment was scrubbed... URL: From sobrien at ci.bend.or.us Tue Aug 26 17:23:07 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Tue, 26 Aug 2003 08:23:07 -0700 Subject: Rebuild of Nagios looks different Message-ID: I rebuilt Nagios on a Redhat box from a Solaris box and now everything looks different. The only difference in the compile was that now I am using mysql. Configure found gd, libjpeg, and libpng. Here is the new look: Sorry for the screen shot but it's the only way you would get the picture. Any ideas? Steve O'Brien -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 60272 bytes Desc: not available URL: From matthewwilson at dsl.pipex.com Tue Aug 26 17:32:59 2003 From: matthewwilson at dsl.pipex.com (matthewwilson at dsl.pipex.com) Date: Tue, 26 Aug 2003 16:32:59 +0100 Subject: securing nagios and apan Message-ID: <1061911979.3f4b7dab4e60f@netmail.pipex.net> I am securing my nagios server before it gets a public IP. What I am wondering is, which users should have access to which files with what privelleges (apache user, nagios user) (config files, log files, rrd files [apan]) Thanks Matthew Wilson DCSat.net -- ------------------------------------------------------- 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/358/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 From Keith.Hochberg at mtvi.com Tue Aug 26 17:36:19 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Tue, 26 Aug 2003 11:36:19 -0400 Subject: Monitoring a specific TPC Port Message-ID: <5F29693503507B4FB4032686ADF862673B5861@mtviny25.mtvi.com> [root at nagios-slave libexec]# ./check_tcp Usage: check_tcp -H host -p port [-w warn_time] [-c crit_time] [-s send_string] [-e expect_string] [-q quit_string] [-m maxbytes] [-d delay] [-t to_sec] [-v] so... nagios/path/libexec/check_tcp -H -p 4167 -----Original Message----- From: Gustavo Gaiote [mailto:GGaiote at visanet.com.br] Sent: Tuesday, August 26, 2003 10:37 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring a specific TPC Port Hello, How can I configure my Nagios to monitoring a specific TCP port? Here, we have a specific equipment that I need to check the TCP port 4167, if is available or not available. I believe that is a service configuration... ok? Regards, Gustavo Gaiote -----Mensagem original----- De: nagios-users-request at lists.sourceforge.net [mailto:nagios-users-request at lists.sourceforge.net] Enviada em: ter?a-feira, 26 de agosto de 2003 00:35 Para: nagios-users at lists.sourceforge.net Assunto: Nagios-users digest, Vol 1 #1630 - 11 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. New Nagios installation (Patrick McShane) 2. Re: New Nagios installation (James Turnbull) 3. Segfault (Jamie Baddeley) 4. RE: Network Badnwidth utilization question (Fred Albrecht) 5. Re: RH 7.1 and nrpe (Scott Zawalski) 6. send_nsca on solaris 8/9 (Todd Anderson) 7. CGI authentication puzzle (Carroll, Jim P [PCS]) 8. nrpe_nt plugin for check cpu temperature (Phu Nguyen) 9. check-host-alive ping substitute... (Brian May) 10. singular notification puzzle (Carroll, Jim P [PCS]) 11. Re: Nagios client? question. (Marco Ciullini) --__--__-- Message: 1 From: "Patrick McShane" To: Date: Mon, 25 Aug 2003 00:44:01 -0400 Subject: [Nagios-users] New Nagios installation This is a multi-part message in MIME format. ------=_NextPart_000_00BC_01C36AA1.FA36A530 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi all, I recently built a new Nagios 1.1 system and loaded up quite a few = hosts/services including the check_nrpe plugin. Very slick indeed!!! = Icons/logos/notes oh my.... The VRML screen is cool too when = combined with the "parents" attribute. Shorlty I'll build the MySQL DB connection for more comprehensive state = data.=20 One quick question since starting and watching the Nagios service with a = fews days of data (no DB backend yet, just file-based). When viewing items like Trends/Availability in the "Reporting" section = of the main web page, what particular set of service checks should be = defined for EACH host (or any TCPIP entity for that matter) to insure = that the trend/availability data has "sane" information? Right now I = see most of the hosts showing " 100% Time Undetermined " (gray column). = I have one host that is showing some percentage numbers in the " % Time = Up" but I don't know why its showing data and all the others show "100% = undetermined". Can someone help a newby out with this? Thanks, Pat McShane ICDC.COM ------=_NextPart_000_00BC_01C36AA1.FA36A530 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
 
Hi all,
 
I recently built a new Nagios 1.1 system and = loaded up=20 quite a few hosts/services including the check_nrpe plugin.   = Very=20 slick indeed!!!   Icons/logos/notes oh = my....    =20 The VRML screen is cool too when combined with the "parents"=20 attribute.
 
Shorlty I'll build the MySQL DB connection for = more=20 comprehensive state data.
 
One quick question since starting and watching = the Nagios=20 service with a fews days of data (no DB backend yet, just=20 file-based).
 
When viewing items like = Trends/Availability in the=20 "Reporting" section of the main web page, what particular set of service = checks=20 should be defined for EACH host (or any TCPIP entity for that matter) to = insure=20 that the trend/availability data has "sane" information?   = Right now I=20 see most of the hosts showing " 100% Time Undetermined " (gray=20 column).   I have one host that is showing some = percentage=20 numbers in the " % = Time=20 Up" but I don't know why its showing data and all the = others show "100% undetermined".   Can someone help a = newby out=20 with this?
 
Thanks,
Pat McShane
ICDC.COM
 
------=_NextPart_000_00BC_01C36AA1.FA36A530-- --__--__-- Message: 2 From: "James Turnbull" To: "Patrick McShane" , Subject: Re: [Nagios-users] New Nagios installation Date: Mon, 25 Aug 2003 16:39:25 +1000 > When viewing items like Trends/Availability in the "Reporting" > section of the main web page, what particular set of service checks > should be defined for EACH host (or any TCPIP entity for that matter) > to insure that the trend/availability data has "sane" information? > Right now I see most of the hosts showing " 100% Time Undetermined " > (gray column). I have one host that is showing some percentage > numbers in the " % Time Up" but I don't know why its showing data and > all the others show "100% undetermined". Can someone help a newby > out with this? Have a look at the FAQ :- http://www.nagios.org/faqs/viewfaq.php?faq_id=136 Regards James --__--__-- Message: 3 From: Jamie Baddeley Reply-To: jamie.baddeley at vpc.co.nz To: nagios-users at lists.sourceforge.net Date: Mon, 25 Aug 2003 19:27:00 +1200 Subject: [Nagios-users] Segfault Hi All, I've just finished a new nagios install. checking configs, it gets to: ....Checking for circular paths between hosts... and segfaults. I've got about 200 hosts and about 600 services, with a moderately complex parent/child setup. I'm not doing anything blatantly silly, so is it possible that I've simply done something wrong with my parents definitions, and instead of Nagios telling me so, it just hangs? Lemme know if an strace (or insert favourite debug approach here) will help. Cheers jamie --__--__-- Message: 4 Subject: RE: [Nagios-users] Network Badnwidth utilization question Date: Mon, 25 Aug 2003 16:01:42 +0200 From: "Fred Albrecht" To: "Anders Holm" , -------------------------------------- Please visit www.tiscali.co.za -------------------------------------- Hi I'm using RTG to get my interface stats out of the routers and into a DB. I then use RTG's graphing tools to draw my bandwidth graphs (which is very fast). No MRTG/APAN/CRICKET needed. Also linked the graphs onto my nagios pages using the extended info config files. Part of the info I pull out of the router is the bandwidth statement (which I assume my network guys keep up to date when they change an interfaces BW). Nagios then uses a custom check to compare the current traffic with it's bandwidth and logs if it reaches my specified thresholds. Easy. ;) fred > -----Original Message----- > From: Anders Holm [mailto:anders.holm at elivefree.net] > Sent: 22 August 2003 12:30 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Network Badnwidth utilization question > > > Hi Folks. > > I'm wondering, being new to Nagios and all, is there a way to > check a network > device to see if it is reaching it's maximum network > bandwidth? I.e. to see if a > network device is getting saturated.... > > RTFM response are just fine.. ;) I'm quite new to Nagios but > have fiddled with > other network monitoring tools. Just not quite sure how to do > this with nagios, > which I'd like to recommend to a customer... > > TIA! > > //Anders// > > -- > What you see depends on from what angle you're viewing it, > your perception may be different from another being and yet > you are both right and still, you are both wrong, so which > angle holds the truth ...? > -- > It said "Insert disk #3 but only two would fit" > > > > ------------------------------------------------------- > 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/358/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 > --__--__-- Message: 5 Date: Mon, 25 Aug 2003 12:03:39 +0200 From: Scott Zawalski To: Pascal Robert , nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RH 7.1 and nrpe Pascal Robert wrote: > Hi, > > I get some problems with nrpe when the server try to contact RH 7.1 > machines. > > Server setup: > > - RH Linux 8 > - Nagios 1.1 > - Nagios Plugins 1.3.1 > > Client setup: > > - RH Linux 7.1 > - NRPE 1.9 > - Nagios Plugins 1.3.1 > > Nagios is working fine with anything higher than RH 7.1, it's only the > 7.1 machines that's giving me headaches. > On one client, I can contact it from the server but the connection is > close immediately: > > $ libexec/check_nrpe -H xxx.xxxx.xxx -c check_disk > CHECK_NRPE: Error receiving data from host. > > $ telnet xxx.xxxx.xxx 5666 > Trying 192.168.1.10... > Connected to devgen.cesart.local. > Escape character is '^]'. > Connection closed by foreign host. > > In the clien't log (/var/log/messages), the only reason I get is this: > > Aug 21 10:30:43 devgen nrpe[11501]: Could not read request from > client, bailing out... > > If I connect to localhost:5666 on the client, I get an answer. > > And on the two other 7.1 machines, if I start nrpe with xinetd, I > can't connect to port 5666, even from localhost. The only way to get > to this port is by running nrpe as a daemon instead of by xinetd. But > in this case, I get the same problem as the first machine. > > I don't have any firewall rules in place, and all other clients > (either RH 7.2, 7.3 or 8.0) are working fine. I did recompile nrpe > and the plugins on each client so it's not a binary problem either. > > > > > > ------------------------------------------------------- > 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/358/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 > > What do you have under allowed hosts? look in the nrpe.cfg and check and see if the host you are trying to contact your nagios client with is on this line. Mine looks like: allowed_hosts=1.2.3.1 Good luck, Scott --__--__-- Message: 6 Date: Mon, 25 Aug 2003 10:46:39 -0500 From: Todd Anderson To: "nagios-users at lists.sourceforge.net" Subject: [Nagios-users] send_nsca on solaris 8/9 send_nsca on Solaris 8 and 9 seems to compile correctly. It fails to work however, the binary never really seems to execute when called by the ocsp command despite it having been given the correct permissions and ownership. I have it working fine on redhat, but the solaris installs refuse to work. Has anyone had similar problems with send_nsca on solaris? thanks, Todd --__--__-- Message: 7 Date: Mon, 25 Aug 2003 12:22:24 -0500 From: "Carroll, Jim P [PCS]" To: Subject: [Nagios-users] CGI authentication puzzle Greets all, While logged into the web interface for Nagios as myself, I only recently discovered (as it's not somewhere I go to frequently) that if I click on "Network Outages", I get the dreaded message: "It appears as though you do not have permission to view information=20 you requested... If you believe this is an error, check the HTTP server authentication=20 requirements for accessing this CGI and check the authorization options in your CGI configuration file." Just for fun, I tried it as guest. No such problem. I tried it as nagiosadmin. No such problem. outages.cgi has mode 755. The parent directory has mode 775. Here are the relevant snippets from my cgi.cfg: use_authentication=3D1 authorized_for_system_information=3D* authorized_for_configuration_information=3D* authorized_for_system_commands=3Dnagiosadmin,jcarro10 authorized_for_all_services=3Dnagiosadmin,guest authorized_for_all_hosts=3Dnagiosadmin,guest authorized_for_all_service_commands=3D* authorized_for_all_host_commands=3D* (NB: I'm logged in as jcarro10.) Can anyone offer a possible reason why this is happening? jc --__--__-- Message: 8 From: "Phu Nguyen" To: Date: Mon, 25 Aug 2003 16:49:27 -0700 Subject: [Nagios-users] nrpe_nt plugin for check cpu temperature This is a multi-part message in MIME format. ------=_NextPart_000_0014_01C36B28.D9AE2B80 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Hi everyone, I'm curious if the plug-in for checking system temperature exists any where? Thank you, Phu Nguyen. ------=_NextPart_000_0014_01C36B28.D9AE2B80 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable

Hi everyone,

 

I’m curious if the plug-in for checking system = temperature exists any where?

 

Thank you,

Phu Nguyen.

------=_NextPart_000_0014_01C36B28.D9AE2B80-- --__--__-- Message: 9 From: "Brian May" To: Date: Mon, 25 Aug 2003 18:12:55 -0700 Subject: [Nagios-users] check-host-alive ping substitute... Is there a good substitute for ping to see if a host is up or down? my hosting facility is dropping all ICMP echo requests. Should I just have a check that randomly checks services that they box has instead? or does anyone have a better solution? --__--__-- Message: 10 Date: Mon, 25 Aug 2003 11:58:09 -0500 From: "Carroll, Jim P [PCS]" To: Subject: [Nagios-users] singular notification puzzle Greets all, Strange problem which I've only recently become aware of. Summary: - host check of router fails - single failure notification is sent out - status is never acknowledged - subsequent notifications are never sent - host recovers - recovery notification sent out - host fails again - single failure notification - status is never acknowledged - subsequent notifications are never sent I'm sure you can see a pattern to this. The definition for this host belongs to a hostgroup. That=20 hostgroup belongs to an escalation where first_notification=20 is set to 1 and last_notification is set to 0. Thoughts? jc --__--__-- Message: 11 Date: Mon, 25 Aug 2003 08:33:30 +0200 From: Marco Ciullini To: nagios Users List Subject: Re: [Nagios-users] Nagios client? question. nrpe and nsca are your friends. Nrpe (Nagios remote plugin executor) is a server that runs on the remote machine you want to monitor: the nagios server tells nrpe to execute the checks... Nsca (Nagios Service Check Acceptor) is a server that runs on the nagios machine, and accepts "Passive services results" sent by remote hosts. It's very useful when the host you have to monitor is behind a firewall, and NRPE could not be reached. http://nagios.sourceforge.net/docs/1_0/addons.html#nrpe http://nagios.sourceforge.net/docs/1_0/addons.html#nsca Bye Christian Purnomo ha scritto: > HI folks > > I'm 1 day old in using Nagios. I have been previously using Big Brother > monitoring and quite happy with that. I recently decided to look around and > found Nagios, I notice there are quite a few of features that I like from > Nagios that I'm lacking with big brother (I haven't upgraded my BB for a while, > BB team may have added more features that I'm not aware of). > > I have a question about the way nagios external plugin, since I can't see nagios runs a client side on remote server, I wonder how I can monitor such services on a remote server, which service is only connect-able from the machine itself, hence no remote type connection. > > Let's take a remote server running mysql database running with > --bind-address=127.0.0.1 , how can I monitor this mysql database from a > seperate nagios server? I can use 'ssh' to login into the remote server and > perform some tests. Is this how you do it? > > With big brother, since big brother has a client end, all I need to do is to > write a module for that server, this module will talk to the BB client on the > remote server, the client program will then talk to the BB main server. > > Many thanks > > Christian. > > > > ------------------------------------------------------- > 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/358/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 -- 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 --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Aug 26 17:51:24 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 26 Aug 2003 10:51:24 -0500 Subject: Rebuild of Nagios looks different Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EBB9@mismail.ena.com> It looks like you're missing the stylesheet status.css in ~nagios/share/stylesheets or else that directory isn't readable by your webserver. -- Marc ________________________________________ From: Steve OBrien [mailto:sobrien at ci.bend.or.us] Sent: Tuesday, August 26, 2003 10:23 AM To: nagios-users at lists.sourceforge.net I rebuilt Nagios on a Redhat box from a Solaris box and now everything looks different. ?The only difference in the compile was that now I am using mysql. ?Configure found gd, libjpeg, and libpng. ?Here is the new look: Sorry for the screen shot but it's the only way you would get the picture. Any ideas? Steve O'Brien ------------------------------------------------------- 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/358/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 From basti at sskm.net Tue Aug 26 17:49:19 2003 From: basti at sskm.net (Sebastian Schubert) Date: 26 Aug 2003 17:49:19 +0200 Subject: Rebuild of Nagios looks different In-Reply-To: References: Message-ID: <1061912958.6411.7.camel@lnx024071100.vz.intra.sskm.de> hi steve, looks like you've lost the css files that are responsible for formatting the html output :-/ > I rebuilt Nagios on a Redhat box from a Solaris box and now everything > looks different. The only difference in the compile was that now I am > using mysql. Configure found gd, libjpeg, and libpng. Here is the > new look: > [image] > > > > Sorry for the screen shot but it's the only way you would get the > picture. > > Any ideas? > > > Steve O'Brien -- "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 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/358/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 From mikeb at netnation.com Mon Aug 25 17:58:37 2003 From: mikeb at netnation.com (Mike Benoit) Date: Mon, 25 Aug 2003 08:58:37 -0700 Subject: Number of Nagios Processes Distributed Monitoring In-Reply-To: References: Message-ID: <1061827117.16540.3.camel@mikeb.staff.netnation.com> I'm having the exact same problem with Nagios 1.1. There hasn't been any official fix for this released yet correct? It sure makes using passive checks difficult. :( On Fri, 2003-07-25 at 09:56, Mooney, Ryan wrote: > I had a simular problem when doing lots of external checks. The sub process that > gets forked to read the results from the .cmd pipe and then write them to the shared > fd to the master process would block (forever) on the write call. I never did figure > out why, since the code appeared to be correct. I ended up putting an alarm around > the write call and timing it out if it hung to long. I figured that loosing a few > passive checks was worth not having memory fill up & having the machine die. Based on > the behavior I saw, I'm not really convinced that the problem is 100% limited to the > passive checks though, as a very simular set of routines is used by the active checks > code. > > If you compile nagios with debugging (export "CFLAGS=-g"; ./configure --whatever-options-you-use; make; make install) and then watch the "ps aux" output you'll notice > that there is one really long running process that takes a fair bit of CPU (which is > the good master) and then over time you'll start seeing some other processes that have > a start time a fair bit in the past that never die. If you attach to one of these with > a debugger (say "cd /wherever/you/compiled/nagios/; gdb base/nagios [pid]" where [pid] > is the process ID of one of the processes with a start time > 1hr ago that is not the > master process) and do a "bt" to get a call trace out of it that would likely help > determine where the processes are getting stuck. > > If you are having the same problem I was you will likely see "process_passive_service_checks" and/or "check_for_external_commands" in the call trace > (sometimes the stack looks munged so the call stack may not be 100% accurate, leading me > to believe that some corruption is whats causing the write to hang, but I wasn't able to > figure out what was causing the corruption easily and had to "get things working"). > > I'd be curious to see if its the same problem. > > > >Jasmine > > I am pretty sure, not nagios itself, but memory ran out and the server > > stood. > > At the moment I have a nagios uptime of : > > > > Total Running Time: 0d 6h 6m 15s > > And this... > > Check Command Output: Nagios ok: located 1677 processes, status log > > updated 170 seconds ago > > > > I am pretty sure this is mot ok, > > > > Any Ideas ? > > > > I will let the server run over the weekend, when it crashes again, I > > give detailed information to the list. > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet > > _072303_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 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/358/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 From jfitzhugh at macromedia.com Tue Aug 26 18:12:15 2003 From: jfitzhugh at macromedia.com (Justin Fitzhugh) Date: Tue, 26 Aug 2003 09:12:15 -0700 Subject: Service alerts for a host that is down Message-ID: Hello, I have a requirement where I need the service alerts to be sent out (hopefully as an unreachable alert) for a host even when that host is down. As I understand it, no service alerts will be sent for a host that is deemed to be down. Is this possible? Thanks, -Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: From Basile.Mathieu at siris.sorbonne.fr Mon Aug 25 12:49:29 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Mon, 25 Aug 2003 12:49:29 +0200 Subject: nrpe on solaris Message-ID: <5.0.2.1.2.20030825124715.020ee2c0@195.220.107.3> have somebody experience of nrpe on SOLARIS i compiled nrpe without ssl ( i have many errors when i compile with ssl ) i can start nrpe but i have check_nrpe socket timeout after 10 second as a result ------------------------------------------------------- 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/358/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 From spam at procesgruppen.dk Tue Aug 26 19:30:27 2003 From: spam at procesgruppen.dk (Henrik W. Hansen) Date: Tue, 26 Aug 2003 19:30:27 +0200 Subject: check_http problem Message-ID: <3F4B9932.8080503@procesgruppen.dk> Hi all I am not able to get check_http to work with any parameters from the services.cfg file! If i want to check different urls, I have to hard code different check commmands in checkcommands.cfg. Why is that? My checkcommand.cfg looks like # 'check_http_url' command definition THAT DOES NOT WORK define command{ command_name check_http_url command_line $USER1$/check_http -H $ARG1$ -u $ARG2$ -s $ARG3$ } # 'check_http' command definition #THAT WORKS!!!! define command{ command_name check_http command_line $USER1$/check_http -H localhost -u /index.jsp -s Hello } and from the service.cfg looks like # Service definition define service{ use generic-service ; Name of servi\ ce template to use host_name gandalf service_description Portal is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_http_url!localhost!/index.jsp!Hello } The command works fine from the command line: ./check_http -H localhost -u /index.jsp -s Hello Why is that?? Please advice. /Henrik ------------------------------------------------------- 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/358/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 From mpowell at ena.com Tue Aug 26 14:38:59 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 26 Aug 2003 07:38:59 -0500 Subject: Allowing users only to see certain hosts Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D48F7@mismail.ena.com> Yes, you did. With cgi auth enabled users are only able to see services, hosts and hostgroups for which they are listed as contacts. If you do not wish them to get notifications then set their notification period to none. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Scott Zawalski To: Marc Powell CC: nagios-users at lists.sourceforge.net Sent: Tue Aug 26 03:52:20 2003 Subject: Re: [Nagios-users] Allowing users only to see certain hosts Marc Powell wrote: > Yes, certainly. Check out the documentation on cgi authentication, > contacts and contactgroups. > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > > -----Original Message----- > From: Scott Zawalski > To: nagios-users at lists.sourceforge.net > > Sent: Fri Aug 22 03:31:20 2003 > Subject: [Nagios-users] Allowing users only to see certain hosts > > Is there anyway to define user access control down to the host level? Or > a way to have someone logon with the name database and he will then only > see the servers that are in this specific group or is there a feature > currently in nagios that implements something along those lines? > > > Thanks in advance. > > > > > ------------------------------------------------------- > 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/358/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 > I do not mean only get notification for certain hosts. I want the people to be able to login to the web-interface and only see those specific hosts I read over the suggested documentation and did not find anything of this sort. Did I miss it? Thanks, Scott -------------- next part -------------- An HTML attachment was scrubbed... URL: From thiago at ntime.com.br Tue Aug 26 21:01:27 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Tue, 26 Aug 2003 16:01:27 -0300 Subject: Service alerts for a host that is down In-Reply-To: References: Message-ID: <20030826160127.4f46cc0c.thiago@ntime.com.br> On Tue, 26 Aug 2003 09:12:15 -0700 Justin Fitzhugh wrote: > I have a requirement where I need the service alerts to be sent out > (hopefully as an unreachable alert) for a host even when that host is > down. As I understand it, no service alerts will be sent for a host > that is deemed to be down. Is this possible? Do you really need this? If you send out an alert for host isn't that enough? Cause if the host is down all services on it are down as well. Of course you can always edit the source code and change it. There's no other way to do it, at least that I know of. If I'm wrong, someone please correct me. Regards, -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- 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/358/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 From skip at pobox.com Tue Aug 26 21:51:24 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 26 Aug 2003 14:51:24 -0500 Subject: disabled service checks don't stay disabled Message-ID: <16203.47676.611477.286768@montanaro.dyndns.org> I must be missing something fundamental. If I disable a single service check, then reload or restart nagios I find it's enabled again. What's the purpose of disabling checks if they don't stay disabled? In a large environment there is always going to be some churn (new machines arrive, old machines die, new services are started) which will require frequent reloads or restarts. Is there some way to make them really disabled until they are explicitly reenabled? I'm running 1.1 on Solaris, in case that makes any difference. Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- 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/358/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 From jfitzhugh at macromedia.com Tue Aug 26 21:58:54 2003 From: jfitzhugh at macromedia.com (Justin Fitzhugh) Date: Tue, 26 Aug 2003 12:58:54 -0700 Subject: Service alerts for a host that is down Message-ID: The reason this is needed is that I will have different contact groups associated with a service on a host than the actual host itself. For example, if the application group is responsible for an app, but the UNIX team is responsible for the machine - The app team wants to know their app went down, but they want to know it went down because the server is down (like dependencies) and of course the UNIX team wants to know the server is down. Without code modifications, I don't know if this is possible, but I thought I would ask :) -Justin -----Original Message----- From: Thiago Conde Figueir? [mailto:thiago at ntime.com.br] Sent: Tuesday, August 26, 2003 12:01 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Service alerts for a host that is down On Tue, 26 Aug 2003 09:12:15 -0700 Justin Fitzhugh wrote: > I have a requirement where I need the service alerts to be sent out > (hopefully as an unreachable alert) for a host even when that host is > down. As I understand it, no service alerts will be sent for a host > that is deemed to be down. Is this possible? Do you really need this? If you send out an alert for host isn't that enough? Cause if the host is down all services on it are down as well. Of course you can always edit the source code and change it. There's no other way to do it, at least that I know of. If I'm wrong, someone please correct me. Regards, -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- 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/358/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 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/358/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 From jcarro10 at sprintspectrum.com Tue Aug 26 22:16:54 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Tue, 26 Aug 2003 15:16:54 -0500 Subject: linux syslog server X Nagios Message-ID: I think this question needs to be rephrased. Let me attempt a couple variations: Q1: Out of the box, can Nagios produce graphical reports based on any sort of syslog output? A1: Not as far as I know. (If you discover otherwise, let me know, as I would be both curious and interested in such a solution.) Or, maybe you meant something slightly different: Q2: Can Nagios be tweaked, with the help of some programming and addition of something useful like RRDTool, to produce some graphical reports? A2: Yes. Let us know when you've finished writing this. ;) Out of curiosity, what sort of graphical output were you looking for? Did you want it to create and constantly update a table which reports on the number of times each 'bucket' (however you care to define that) gets a 'hit'? If by 'graphic' you were thinking of RRDTool, I'm not quite sure how you'd represent non-numeric values. Or what numeric values you'd be trying to track which cannot be had with the currently available plugins. Keep in mind that syslog output can contain pretty much any string, so if you didn't have a template to build from, you would have to create your own template and add strings to report on. This carries the risk that you may end up reporting on something you weren't interested in, or overlooking something you're interested in. Over time, there would be some convergence towards what you would consider to be 'satisfactory' reporting. As an alternative or adjunct to what you're trying to accomplish, you might want to check otu Epylog: http://linux.duke.edu/projects/epylog/ Food for thought. Hope this helps. jc -----Original Message----- From: Jean Carlos Marques Mourao [mailto:jean_mourao at hotmail.com] Sent: Tuesday, August 26, 2003 8:48 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] linux syslog server X Nagios Hi Folks, I have a linux syslog server (syslogng) configured and I would like to know if the nagios can gets this information (linux syslog file) and generates a graphic report view. Thank you very much, Jean Carlos ------------------------------------------------------- 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/358/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 From lambert at lambertfam.org Tue Aug 26 22:20:01 2003 From: lambert at lambertfam.org (Scott Lambert) Date: Tue, 26 Aug 2003 16:20:01 -0400 Subject: Service alerts for a host that is down In-Reply-To: References: Message-ID: <20030826202001.GB16191@laptop.lambertfam.org> On Tue, Aug 26, 2003 at 12:58:54PM -0700, Justin Fitzhugh wrote: > The reason this is needed is that I will have different contact groups > associated with a service on a host than the actual host itself. For > example, if the application group is responsible for an app, but the UNIX > team is responsible for the machine - The app team wants to know their app > went down, but they want to know it went down because the server is down > (like dependencies) and of course the UNIX team wants to know the server is > down. Without code modifications, I don't know if this is possible, but I > thought I would ask :) List the service as a service on a dummy host with an IP of 127.0.0.1. You will have to specify the IP address of the real host in the service check arguments. Your dummy host will be up anytime your nagios box is functional. > -----Original Message----- > From: Thiago Conde Figueir? [mailto:thiago at ntime.com.br] > Sent: Tuesday, August 26, 2003 12:01 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service alerts for a host that is down > > On Tue, 26 Aug 2003 09:12:15 -0700 > Justin Fitzhugh wrote: > > > I have a requirement where I need the service alerts to be sent out > > (hopefully as an unreachable alert) for a host even when that host is > > down. As I understand it, no service alerts will be sent for a host > > that is deemed to be down. Is this possible? > > Do you really need this? If you send out an alert for host isn't > that > enough? Cause if the host is down all services on it are down as well. > > Of course you can always edit the source code and change it. > There's > no other way to do it, at least that I know of. If I'm wrong, someone > please correct me. > > Regards, > > -- > Thiago Figueir? Ger?ncia de Opera??es > thiago at ntime.com.br Cel.: (21) 8817-3632 > > > ------------------------------------------------------- > 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/358/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 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/358/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 -- Scott Lambert KC5MLE Unix SysAdmin lambert at lambertfam.org ------------------------------------------------------- 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/358/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 From jcarro10 at sprintspectrum.com Tue Aug 26 22:30:23 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Tue, 26 Aug 2003 15:30:23 -0500 Subject: Service alerts for a host that is down Message-ID: I believe your requirement can be met. Consider the following: Change your host check to use check_dummy, such that you use: ./check_dummy 0 and your host check will always return OK. This way, when your host nosedives, all the services will go offline and the relevant service checks will go critical, the relevant parties notified, etc. If you're still interested in having some sort of ICMP check, just define a service which uses check_ping. Having said that, this is a bit of a kludge, or at the very least, a bit confusing to the PHB types, because when they look at Nagios, they'll point at it and say, "But wait, Nagios says that the host is still up," no matter how many times you try to tell him otherwise. You might find that a more direct approach would be to add all the folks to the host notification list who would ordinarily be getting notifications for failed services. For example, if a DBA wants to be notified that his instance of Oracle is down, even if it's the host which is hard down, he should be able to surmise that if he's getting notified that the host which has his instance of Oracle on it is down, there's a pretty good chance that Oracle itself is down. ;) There might be other approaches, but none which spring to mind at this time. HTH, jc -----Original Message----- From: Justin Fitzhugh [mailto:jfitzhugh at macromedia.com] Sent: Tuesday, August 26, 2003 11:12 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service alerts for a host that is down Hello, I have a requirement where I need the service alerts to be sent out (hopefully as an unreachable alert) for a host even when that host is down. As I understand it, no service alerts will be sent for a host that is deemed to be down. Is this possible? Thanks, -Justin ------------------------------------------------------- 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/358/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 From sghosh at sghosh.org Tue Aug 26 23:19:53 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 26 Aug 2003 17:19:53 -0400 (EDT) Subject: check_http problem In-Reply-To: <3F4B9932.8080503@procesgruppen.dk> References: <3F4B9932.8080503@procesgruppen.dk> Message-ID: On Tue, 26 Aug 2003, Henrik W. Hansen wrote: > Hi all > I am not able to get check_http to work with any parameters from the > services.cfg file! If i want to check different urls, I have to hard > code different check commmands in checkcommands.cfg. Why is that? > My checkcommand.cfg looks like > # 'check_http_url' command definition THAT DOES NOT WORK > define command{ > command_name check_http_url > command_line $USER1$/check_http -H $ARG1$ -u $ARG2$ -s $ARG3$ > } > # 'check_http' command definition #THAT WORKS!!!! > define command{ > command_name check_http > command_line $USER1$/check_http -H localhost -u /index.jsp -s > Hello > } > > and from the service.cfg looks like > # Service definition > define service{ > use generic-service ; Name > of servi\ > ce template to use > > host_name gandalf > service_description Portal > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 2 > retry_check_interval 1 > contact_groups linux-admins > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r > check_command > check_http_url!localhost!/index.jsp!Hello > } The definition for check_command should be on the same line (unless this is an artifact of the mail program) Also if including non-alphanumeric characters as in the url - best to use quotes. -sg > > The command works fine from the command line: > ./check_http -H localhost -u /index.jsp -s Hello > > Why is that?? > > Please advice. > /Henrik > > > > > ------------------------------------------------------- > 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/358/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 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/358/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 From sobrien at ci.bend.or.us Wed Aug 27 00:16:40 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Tue, 26 Aug 2003 15:16:40 -0700 Subject: Rebuild of Nagios looks different In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EBB9@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EBB9@mismail.ena.com> Message-ID: The file is there and it is readable by the webserver. I even recompiled the cgi's with no avail. Any other ideas? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 "Marc Powell" Sent by: nagios-users-admin at lists.sourceforge.net 08/26/2003 08:51 AM To "Steve OBrien" , cc Subject RE: [Nagios-users] Rebuild of Nagios looks different It looks like you're missing the stylesheet status.css in ~nagios/share/stylesheets or else that directory isn't readable by your webserver. -- Marc ________________________________________ From: Steve OBrien [mailto:sobrien at ci.bend.or.us] Sent: Tuesday, August 26, 2003 10:23 AM To: nagios-users at lists.sourceforge.net I rebuilt Nagios on a Redhat box from a Solaris box and now everything looks different. The only difference in the compile was that now I am using mysql. Configure found gd, libjpeg, and libpng. Here is the new look: Sorry for the screen shot but it's the only way you would get the picture. Any ideas? Steve O'Brien ------------------------------------------------------- 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/358/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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jchall at mtntel.com Wed Aug 27 01:12:23 2003 From: jchall at mtntel.com (J.C. Hall) Date: Tue, 26 Aug 2003 16:12:23 -0700 Subject: server performance severely degraded Message-ID: <137874D5DA6FD511864E0090279C2BE1AE70C5@exchange.mtntel.com> Hello list. Forgive me, this is my first post and I am a newbie to Nagios. In the past couple of days, my server's performance seems to have severely decreased to the point that my web interface does not fully load between refreshes. This is something that has suddenly happened and I can't think of any recent changes which may have affected it. I currently monitor approximately 75 hosts with the "check-host-alive" command and not much else. I run Nagios on a Dell server P4 3.0GHZ 512MB RAM. Can anyone provide any suggestions as to why my server may be experiencing the described symptoms? Thanks, Nagios newbie ~j.c. jchall at mtntel.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.mozley at exponential-e.com Tue Aug 26 15:43:00 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Tue, 26 Aug 2003 14:43:00 +0100 Subject: nrpe on solaris References: <5.0.2.1.2.20030826102239.0215a0a0@195.220.107.3> Message-ID: <05fd01c36bd7$f74cc4d0$03bff40a@Exponentiale.com> > have somebody experience of nrpe on SOLARIS > i compiled nrpe without ssl ( i have many errors when i compile with ssl ) > i can start nrpe but i have check_nrpe socket timeout after 10 second as a > result What do you have in your nrpe.cfg file? ------------------------------------------------------- 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/358/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 From eread at optusnet.com.au Wed Aug 27 03:11:30 2003 From: eread at optusnet.com.au (Evan Read) Date: Wed, 27 Aug 2003 11:11:30 +1000 Subject: Question about a "Nagios Foundation" Message-ID: <3F4C0542.9040006@optusnet.com.au> Hello, I am currently on a project team that is evaluating options for monitoring student laboratories and, of course, Nagios is a major contender. We have done much of the evaluation but a few questions remain on the long term future of Nagios. The Apache Foundation is a body that represents the open source project in a legal and organisational sense and, most importantly to our clients: "ensure that the Apache projects continue to exist beyond the participation of individual volunteers, to enable contributions of intellectual property and funds on a sound basis, and to provide a vehicle for limiting legal exposure while participating in open-source software projects" Although development is roaring ahead now and the future of the software looks good, we wondered whether any discussion has taken place regarding the possible formation of a Nagios Foundation to support the code similar to the Apache Foundation supports their projects? Any comments from the authors of the software or links to discussion are appreciated. I haven't been able to find much in my searches. Thank you. -- ------------------------------------ Evan Read "We are not final because we are infallible, but infallible only because we are final" -- Supreme Court Justice Robert Jackson ------------------------------------ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 27 04:26:23 2003 From: lambert at lambertfam.org (Scott Lambert) Date: Tue, 26 Aug 2003 22:26:23 -0400 Subject: server performance severely degraded In-Reply-To: <137874D5DA6FD511864E0090279C2BE1AE70C5@exchange.mtntel.com> References: <137874D5DA6FD511864E0090279C2BE1AE70C5@exchange.mtntel.com> Message-ID: <20030827022623.GA18179@laptop.lambertfam.org> On Tue, Aug 26, 2003 at 04:12:23PM -0700, J.C. Hall wrote: > Hello list. Forgive me, this is my first post and I am a newbie to Nagios. > > In the past couple of days, my server's performance seems to have severely > decreased to the point that my web interface does not fully load between > refreshes. This is something that has suddenly happened and I can't think > of any recent changes which may have affected it. I currently monitor > approximately 75 hosts with the "check-host-alive" command and not much > else. I run Nagios on a Dell server P4 3.0GHZ 512MB RAM. Can anyone > provide any suggestions as to why my server may be experiencing the > described symptoms? You haven't described much. You said "My nagios is slow. What's wrong?" That's like saying "I have a Porche 911. It won't start. What's wrong?" Now, maybe someone on the list has psychic powers, but the rest of us need you to do at least some basic troubleshooting and data gathering. You need to at least run "top". Run "man top" to figure out what all that information means. That will probably tip you off to what the actual problem is. If not, you may want to look at "iostat". -- Scott Lambert KC5MLE Unix SysAdmin lambert at lambertfam.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Aug 27 07:19:07 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 26 Aug 2003 22:19:07 -0700 Subject: Small HTML page References: <5.2.1.1.0.20030825111601.00b79670@mail.capband.net> Message-ID: You might try using the WAP interface, though I've not tried it myself. Internet Explorer for Pocket PC 2002 is capable of browsing WAP sites, as well as web pages, so you won't need a separate WAP browser if you're using that version. For standalone WAP browsers for PocketPC, try Klondike or EZOS. "Rob Nelson" wrote in message news:5.2.1.1.0.20030825111601.00b79670 at mail.capband.net... > Is there any included HTML page, or a plugin/patch/mod to Nagios, that > would allow us to view Nagios from our Pocket PC handhelds? All of the > current pages, specifically "Service Problems", are too wide to be of use. > > Rob Nelson > Network Administrator, Capitol Broadband > C: 919-369-1874 > rob at capband.net > > > > ------------------------------------------------------- > 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/358/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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anders.holm at criticalpath.net Wed Aug 27 08:45:37 2003 From: anders.holm at criticalpath.net (Anders Holm) Date: Wed, 27 Aug 2003 08:45:37 +0200 Subject: Service alerts for a host that is down In-Reply-To: References: Message-ID: <3F4C5391.2040101@criticalpath.net> Justin, why not alert *all* groups that have a service on that host, plus the sysadmin team when the _box_ goes down? I mean, if the box goes down, then so does the services, so it might be the easies way just to alert everyone then that the *box* is down. If they then don't understand that it means their service is down as well, then at least you've done what you can.. ;) //Anders// Justin Fitzhugh wrote: > The reason this is needed is that I will have different contact groups > associated with a service on a host than the actual host itself. For > example, if the application group is responsible for an app, but the UNIX > team is responsible for the machine - The app team wants to know their app > went down, but they want to know it went down because the server is down > (like dependencies) and of course the UNIX team wants to know the server is > down. Without code modifications, I don't know if this is possible, but I > thought I would ask :) > > -Justin > > -----Original Message----- > From: Thiago Conde Figueir? [mailto:thiago at ntime.com.br] > Sent: Tuesday, August 26, 2003 12:01 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Service alerts for a host that is down > > On Tue, 26 Aug 2003 09:12:15 -0700 > Justin Fitzhugh wrote: > > >>I have a requirement where I need the service alerts to be sent out >>(hopefully as an unreachable alert) for a host even when that host is >>down. As I understand it, no service alerts will be sent for a host >>that is deemed to be down. Is this possible? > > > Do you really need this? If you send out an alert for host isn't > that > enough? Cause if the host is down all services on it are down as well. > > Of course you can always edit the source code and change it. > There's > no other way to do it, at least that I know of. If I'm wrong, someone > please correct me. > > Regards, > -- Anders Holm - Critical Path Technical Support Contact Details: http://support.criticalpath.net/contact.jsp New Issues: technical.support at criticalpath.net Ongoing Issues: messaging.support at criticalpath.net Support Site: http://support.criticalpath.net/ Corporate Site: http://www.criticalpath.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 11:13:38 2003 From: nagios at okka.org.za (Carlito - nagios user) Date: Wed, 27 Aug 2003 11:13:38 +0200 Subject: FW: Host DOWN alert for shlcpt-rtr! Message-ID: <003701c36c7b$804db7a0$0214a8c0@bit.co.za> All of a sudden nagios is sending me notifications / escalations of a host being down and in the text body of the email is the problem , it's also included as an attachment , anyone have ideas ? -----Original Message----- From: nagios at host.somewhere Sent: 27 August 2003 10:27 To: support at domain.com Subject: Host DOWN alert for router ***** Nagios 1.0 ***** Notification Type: PROBLEM Host: shlcpt-rtr State: DOWN Address:ipaddress Info: CRITICAL - Plugin timed out after 33 seconds Date/Time: Wed Aug 27 10:26:45 SAST 2003 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: Host DOWN alert for shlcpt-rtr!.txt URL: From skip at pobox.com Wed Aug 27 14:53:41 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 27 Aug 2003 07:53:41 -0500 Subject: services in host availability report don't match known status Message-ID: <16204.43477.61353.466737@montanaro.dyndns.org> I'm using Nagios 1.1 on Solaris. I'm confused about the availability report. On the general page I have one machine among many which looks like this: Host Serv % OK % Warn % Unk % Crit % Undet sheridan HTTP 100.000% 0.000% 0.000% 0.000% 0.000% PING 100.000% 0.000% 0.000% 0.000% 0.000% When I click the hostname to view the status details, under "State Breakdowns For Host Services" it lists: Serv % OK % Warn % Unk % Crit % Undet HTTP 0.000% 0.000% 0.000% 0.000% 100.000% PING 0.000% 0.000% 0.000% 0.000% 100.000% There seems to be no way to control the first assumed service state on this page, making the service state breakdowns useless. The parameters for the first (general) page are Assume initial states: yes First assumed service state: Service Ok Report period: [ Current time range ] Assume state retention: yes Backtraced archives: 4 and for the second (specific host) page are: Assume initial states: yes First assumed host state: Host Up Report period: [ Current time range ] Assume state retention: yes Backtraced archives: 4 Is there no way to control the first assumed service state for the host display page? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Aug 27 16:41:04 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Wed, 27 Aug 2003 15:41:04 +0100 Subject: services in host availability report don't mat ch known status Message-ID: <1012BD903945D411915500105A48FF5701C73626@nt.man.fwltech.com> Because the host checks are never run unless one of the service checks fails, it really is a case of the host state being "unknown". I've never tested it, but setting First assumed service state: Service down First assumed host state: Host down might set off a host check the first time nagios starts, thus setting it to "Up"? Ewan > -----Original Message----- > From: Skip Montanaro [mailto:skip at pobox.com] > Sent: 27 August 2003 13:54 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] services in host availability report > don't match > known status > > > I'm using Nagios 1.1 on Solaris. > > I'm confused about the availability report. On the general > page I have one > machine among many which looks like this: > > Host Serv % OK % Warn % Unk % Crit % Undet > sheridan HTTP 100.000% 0.000% 0.000% 0.000% 0.000% > PING 100.000% 0.000% 0.000% 0.000% 0.000% > > When I click the hostname to view the status details, under "State > Breakdowns For Host Services" it lists: > > Serv % OK % Warn % Unk % Crit % Undet > HTTP 0.000% 0.000% 0.000% 0.000% 100.000% > PING 0.000% 0.000% 0.000% 0.000% 100.000% > > There seems to be no way to control the first assumed service > state on this > page, making the service state breakdowns useless. > > The parameters for the first (general) page are > > Assume initial states: yes > First assumed service state: Service Ok > Report period: [ Current time range ] > Assume state retention: yes > Backtraced archives: 4 > > and for the second (specific host) page are: > > Assume initial states: yes > First assumed host state: Host Up > Report period: [ Current time range ] > Assume state retention: yes > Backtraced archives: 4 > > Is there no way to control the first assumed service state > for the host > display page? > > Thanks, > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GGaiote at visanet.com.br Wed Aug 27 17:30:15 2003 From: GGaiote at visanet.com.br (Gustavo Gaiote) Date: Wed, 27 Aug 2003 12:30:15 -0300 Subject: RES: Monitoring a specific TPC Port Message-ID: Ok... I have other question. We have an application that uses a specific TCP port in a remote host. This is a problem for us when the application loses this connection with TCP port. So, when the TCP port is listen this is must be indicate like a bad situation (Critical) on Nagios, and when the TCP port is establish a connection, this is must be indicate like a good situation (OK - green). This configuration is possible on Nagios??? If it?s possible, how can I do??? Regards, Gustavo Gaiote -----Mensagem original----- De: Gustavo Gaiote Enviada em: ter?a-feira, 26 de agosto de 2003 11:42 Para: 'nagios-users at lists.sourceforge.net' Assunto: Monitoring a specific TPC Port Hello, How can I configure my Nagios to monitoring a specific TCP port? Here, we have a specific equipment that I need to check the TCP port 4167, if is available or not available. I believe that is a service configuration... Ok? Regards, Gustavo Gaiote -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.garrett at shell.com Wed Aug 27 18:00:54 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Wed, 27 Aug 2003 17:00:54 +0100 Subject: RES: Monitoring a specific TPC Port Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51C7F@abe-s-039.europe.shell.com> Gustavo I would have thought the check_tcp plugin would do what you want ? e.g check_tcp -H HOST -p 4167 If port is connectable then all is OK returned If port is not connectable then CRITICAL State returned 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: Gustavo Gaiote [mailto:GGaiote at visanet.com.br] Sent: 27 August 2003 16:30 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RES: Monitoring a specific TPC Port Ok... I have other question. We have an application that uses a specific TCP port in a remote host. This is a problem for us when the application loses this connection with TCP port. So, when the TCP port is listen this is must be indicate like a bad situation (Critical) on Nagios, and when the TCP port is establish a connection, this is must be indicate like a good situation (OK - green). This configuration is possible on Nagios??? If it?s possible, how can I do??? Regards, Gustavo Gaiote -----Mensagem original----- De: Gustavo Gaiote Enviada em: ter?a-feira, 26 de agosto de 2003 11:42 Para: 'nagios-users at lists.sourceforge.net' Assunto: Monitoring a specific TPC Port Hello, How can I configure my Nagios to monitoring a specific TCP port? Here, we have a specific equipment that I need to check the TCP port 4167, if is available or not available. I believe that is a service configuration... Ok? Regards, Gustavo Gaiote -------------- next part -------------- An HTML attachment was scrubbed... URL: From christophe.belmont at c-s.fr Wed Aug 27 18:02:55 2003 From: christophe.belmont at c-s.fr (BELMONT Christophe) Date: Wed, 27 Aug 2003 18:02:55 +0200 Subject: Client visual access to web interface Message-ID: <000901c36cb4$adba59d0$a53702c2@CLEOPATRE> Hi all, I'm trying to configure Nagios's CGI to get a client front end access to the web interface. I created an http user which I added to the contact & contactgroups files. The problem is that this user is able to execute passive commands on the hosts and services while he should not be able to do this. I don't want to disable passive command either because I access the web interface as well as an administrator, thus, I must have access to the passive commands. I will be glad to hear any configuration trick to be able to do this, Thanks in advance, Christophe. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Madea at mdl.com Wed Aug 27 19:26:25 2003 From: J.Madea at mdl.com (Jeremy Madea) Date: Wed, 27 Aug 2003 10:26:25 -0700 Subject: Hostgroups for convenience, not display? Message-ID: Is it possible to define a hostgroup which is not displayed on the status pages? Maybe I'm just approaching it wrong. I'd like to display hostgroups for each of our networks in different geographical locations such as Japan, Germany, and the UK. I'd also like to have a hostgroup containing just our vpn servers so I can use it in a service definition but I don't want to display it because it would just duplicate information in the other hostgroups anyway. How is that best done? -j -- Jeremy Madea Senior Systems Engineer MDL Information Systems ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 19:36:02 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 27 Aug 2003 12:36:02 -0500 Subject: Hostgroups for convenience, not display? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EBE6@mismail.ena.com> Yep. The most straightforward approach (if you're using cgi authentication) is just set the contactgroup for the hostgroup to something that has a null contact or a contact that no one ever logs in as (like nobody). -- Marc > -----Original Message----- > From: Jeremy Madea [mailto:J.Madea at mdl.com] > Sent: Wednesday, August 27, 2003 12:26 PM > To: 'nagios-users at lists.sourceforge.net' > > > Is it possible to define a hostgroup which is not displayed on the status > pages? > > Maybe I'm just approaching it wrong. I'd like to display hostgroups for > each > of our networks in different geographical locations such as Japan, > Germany, > and the UK. I'd also like to have a hostgroup containing just our vpn > servers so I can use it in a service definition but I don't want to > display > it because it would just duplicate information in the other hostgroups > anyway. > > How is that best done? > > -j > > -- > Jeremy Madea > Senior Systems Engineer > MDL Information Systems > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at visionxtreme.net Wed Aug 27 20:03:12 2003 From: jason at visionxtreme.net (Jason Whitson) Date: Wed, 27 Aug 2003 13:03:12 -0500 Subject: Change "email from" for alert to pager Message-ID: <3F4CF260.7000307@visionxtreme.net> I have some DNS issues that are not letting nagios send as "nagios at ..." Can I change this somewhere? -- Jason Whitson VisionXtreme Computers www.visionxtreme.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 21:27:28 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Wed, 27 Aug 2003 14:27:28 -0500 Subject: linux syslog server X Nagios Message-ID: [Please follow-up to the list in the future.] Interesting to see the Syslog-ng Integration Tool. Noted for future reference. You're still describing two somewhat different things. Let me take another shot at it: 1) Syslog-ng Integration Tool will pump the syslog output into Nagios. However, other than the usual Nagios functionality I don't think you can expect to see any gee-whiz colours or symbols. Still, this looks to be a good alternative to using check_log, if that's what you plan to do. 2) Here are some ideas for cranking out syslog with html/colour: http://freshmeat.net/projects/php-syslog-ng/ This one has explicit support for syslog-ng. Other possibilities might be found here: http://freshmeat.net/search/?q=syslog§ion=projects&x=0&y=0 Hope this gives you some ideas. jc -----Original Message----- From: Jean Carlos Marques Mourao [mailto:jean_mourao at hotmail.com] Sent: Tuesday, August 26, 2003 3:53 PM To: Carroll, Jim P [PCS] Subject: RE: [Nagios-users] linux syslog server X Nagios Hi Jim, Thank you for your information but just want to force nagios get or receive an information from one syslog server, linux syslog-ng for example, and show me this information in html format (color and symbols). I found a tool and I hop it can help me to resolve this problem. I found at http://www.nagios.org/download/extras.php, it was made by Mr. Merlyn Pease (Syslog-ng Integration Tool). Ps. sorry for my english... Thank you very much once again, JC >From: "Carroll, Jim P [PCS]" >To: >Subject: RE: [Nagios-users] linux syslog server X Nagios >Date: Tue, 26 Aug 2003 15:16:54 -0500 > >I think this question needs to be rephrased. Let me attempt a couple >variations: > >Q1: Out of the box, can Nagios produce graphical reports based on any > sort of syslog output? > >A1: Not as far as I know. (If you discover otherwise, let me know, as > I would be both curious and interested in such a solution.) > >Or, maybe you meant something slightly different: > >Q2: Can Nagios be tweaked, with the help of some programming and > addition of something useful like RRDTool, to produce some > graphical reports? > >A2: Yes. Let us know when you've finished writing this. ;) > >Out of curiosity, what sort of graphical output were you looking for? >Did you want it to create and constantly update a table which reports >on the number of times each 'bucket' (however you care to define that) >gets a 'hit'? If by 'graphic' you were thinking of RRDTool, I'm not >quite sure how you'd represent non-numeric values. Or what numeric >values you'd be trying to track which cannot be had with the currently >available plugins. > >Keep in mind that syslog output can contain pretty much >any string, so if you didn't have a template to build from, you would >have to create your own template and add strings to report on. This >carries the risk that you may end up reporting on something you weren't >interested in, or overlooking something you're interested in. Over >time, there would be some convergence towards what you would consider >to be 'satisfactory' reporting. > >As an alternative or adjunct to what you're trying to accomplish, you >might want to check otu Epylog: > >http://linux.duke.edu/projects/epylog/ > >Food for thought. Hope this helps. > >jc > > >-----Original Message----- >From: Jean Carlos Marques Mourao [mailto:jean_mourao at hotmail.com] >Sent: Tuesday, August 26, 2003 8:48 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] linux syslog server X Nagios > > >Hi Folks, > > I have a linux syslog server (syslogng) configured and I would like to know if the nagios can gets this information (linux syslog file) and generates a graphic report view. > >Thank you very much, > >Jean Carlos > > > >------------------------------------------------------- >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/358/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 MSN Messenger: converse com os seus amigos online. Instale gr?tis. Clique aqui. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Madea at mdl.com Wed Aug 27 21:31:48 2003 From: J.Madea at mdl.com (Jeremy Madea) Date: Wed, 27 Aug 2003 12:31:48 -0700 Subject: Hostgroups for convenience, not display? Message-ID: Thanks. That's less than intuitive... :-) I wasn't able to get a "null contact" to work, so I created a 'nobody' contact. Also, I found what I think is a documentation bug. Nagios reported errors in the configuration when I left out the email address, and then again when I left out the host and service notification commands (even after I set the timeperiods to 'none' and the options to 'n' for both hosts and service notifications.) If I read the docs right, those properties are -supposed- to be optional. Can someone confirm that? Anyway, many thanks for the quick response. -j -- Jeremy Madea Senior Systems Engineer MDL Information Systems > -----Original Message----- > From: Marc Powell [mailto:mpowell at ena.com] > Sent: Wednesday, August 27, 2003 10:36 AM > To: Jeremy Madea; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Hostgroups for convenience, not display? > > > Yep. The most straightforward approach (if you're using cgi > authentication) is just set the contactgroup for the hostgroup to > something that has a null contact or a contact that no one > ever logs in > as (like nobody). > > -- > Marc > > > -----Original Message----- > > From: Jeremy Madea [mailto:J.Madea at mdl.com] > > Sent: Wednesday, August 27, 2003 12:26 PM > > To: 'nagios-users at lists.sourceforge.net' > > > > > > Is it possible to define a hostgroup which is not displayed on the > status > > pages? > > > > Maybe I'm just approaching it wrong. I'd like to display hostgroups > for > > each > > of our networks in different geographical locations such as Japan, > > Germany, > > and the UK. I'd also like to have a hostgroup containing > just our vpn > > servers so I can use it in a service definition but I don't want to > > display > > it because it would just duplicate information in the other > hostgroups > > anyway. > > > > How is that best done? > > > > -j > > > > -- > > Jeremy Madea > > Senior Systems Engineer > > MDL Information Systems > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 21:33:03 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Wed, 27 Aug 2003 14:33:03 -0500 Subject: Change "email from" for alert to pager Message-ID: One way is to tweak your MTA. If you're not comfy munging sendmail.cf, check this: http://www.nagios.org/faqs/viewfaq.php?faq_id=150 jc > -----Original Message----- > From: Jason Whitson [mailto:jason at visionxtreme.net] > Sent: Wednesday, August 27, 2003 1:03 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Change "email from" for alert to pager > > > I have some DNS issues that are not letting nagios send as > "nagios at ..." > > Can I change this somewhere? > > -- > Jason Whitson > VisionXtreme Computers > www.visionxtreme.net > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pedro.rebelo at tagus.ist.utl.pt Wed Aug 27 21:45:31 2003 From: pedro.rebelo at tagus.ist.utl.pt (Pedro Rebelo) Date: Wed, 27 Aug 2003 21:45:31 WEST Subject: (no subject) Message-ID: Hello there! I am testing some cluster information gathering, and i am having some trouble. I have 10 hosts ( linux1,linux2,linux3, linuxN ) that have the "check_command check-host-alive" option under its host configuration. Then, i've configured a service like this: define service{ use generic-service host_name VirtualCluster service_description Linux Cluster Status is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 2 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_options w,u,c,r notification_period 24x7 check_command check_host_cluster!5!9!/usr/local/nagios/etc/linuxhostcluster.cfg } The host VirtualCluster is a host i "virtually created" that represents the system where nagios is running from and has the option "check_command check-dummy" activated. The problem is that at the Service Details on the web frontend of nagios i get this: VirtualCluster Linux Cluster Status OK 27-08-2003 21:41:00 0d 0h 5m 58s 1/10 Host cluster ok: 0 up, 0 down, 0 unreachable ( First of all...its not OK....) Then, on the host details: linux1 PENDING N/A 0d 0h 7m 7s+ (Not enough data to determine host status yet) This line repeats on all of the linuxN boxes. Whats the problem ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Wed Aug 27 22:42:42 2003 From: damian at sentex.net (Damian Gerow) Date: Wed, 27 Aug 2003 16:42:42 -0400 Subject: site-wide planned outages Message-ID: <20030827204242.GB6965@sentex.net> Is there any way to configure a site-wide planned outage? We need to do some work on the switch/cage that our Nagios system is in, and it'd be much easier if we could just tell the system that everything might be going down in one fell swoop, instead of system by system. I tried giving a hostname of '*', but it told me I wasn't authorized to do that command (but I can do it for single hosts). - Damian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 22:57:08 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 27 Aug 2003 16:57:08 -0400 Subject: site-wide planned outages Message-ID: <5F29693503507B4FB4032686ADF862673B5881@mtviny25.mtvi.com> Why don't you go into 'Process Info' right before doing the maintenance and stop executing service checks or disable notifications on a global basis? -Keith -----Original Message----- From: Damian Gerow [mailto:damian at sentex.net] Sent: Wednesday, August 27, 2003 4:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] site-wide planned outages Is there any way to configure a site-wide planned outage? We need to do some work on the switch/cage that our Nagios system is in, and it'd be much easier if we could just tell the system that everything might be going down in one fell swoop, instead of system by system. I tried giving a hostname of '*', but it told me I wasn't authorized to do that command (but I can do it for single hosts). - Damian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 22:55:39 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Wed, 27 Aug 2003 13:55:39 -0700 Subject: site-wide planned outages In-Reply-To: <20030827204242.GB6965@sentex.net> References: <20030827204242.GB6965@sentex.net> Message-ID: One way would be Scheduling downtime for each hostgroup at a time. Not in one go, but few should do ... -anurag -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Damian Gerow Sent: Wednesday, August 27, 2003 1:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] site-wide planned outages Is there any way to configure a site-wide planned outage? We need to do some work on the switch/cage that our Nagios system is in, and it'd be much easier if we could just tell the system that everything might be going down in one fell swoop, instead of system by system. I tried giving a hostname of '*', but it told me I wasn't authorized to do that command (but I can do it for single hosts). - Damian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Wed Aug 27 23:20:08 2003 From: damian at sentex.net (Damian Gerow) Date: Wed, 27 Aug 2003 17:20:08 -0400 Subject: site-wide planned outages In-Reply-To: References: <20030827204242.GB6965@sentex.net> Message-ID: <20030827212008.GG6965@sentex.net> Thus spake Anurag Gupta (agupta at yahoo-inc.com) [27/08/03 16:57]: > One way would be Scheduling downtime for each hostgroup at a time. Not in > one go, but few should do ... Yeah.... I have the new-toy jitters though -- we just installed Nagios about a month ago, and put it into use (we're moving from another monitoring system for various reasons). I was hoping to use as many features as possible as soon as possible... :) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Wed Aug 27 23:20:52 2003 From: damian at sentex.net (Damian Gerow) Date: Wed, 27 Aug 2003 17:20:52 -0400 Subject: site-wide planned outages In-Reply-To: <5F29693503507B4FB4032686ADF862673B5881@mtviny25.mtvi.com> References: <5F29693503507B4FB4032686ADF862673B5881@mtviny25.mtvi.com> Message-ID: <20030827212052.GH6965@sentex.net> Thus spake Hochberg, Keith (Keith.Hochberg at mtvi.com) [27/08/03 16:58]: > Why don't you go into 'Process Info' right before doing the maintenance > and stop executing service checks or disable notifications on a global > basis? The outage is at 3:00AM. And it means that afterwards, we need to remember to turn /on/ the service checks/notifications. But this is a good idea. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 27 23:23:53 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 27 Aug 2003 17:23:53 -0400 Subject: site-wide planned outages Message-ID: <5F29693503507B4FB4032686ADF862673B5886@mtviny25.mtvi.com> If I were you I would then disable notifications only (leave service checks executing) and you can use nagios at the end of your maitnenance to ensure everything in your network has come up properly, then enable notifications... That's how I do it at least... -----Original Message----- From: Damian Gerow [mailto:damian at sentex.net] Sent: Wednesday, August 27, 2003 5:21 PM To: Hochberg, Keith Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] site-wide planned outages Thus spake Hochberg, Keith (Keith.Hochberg at mtvi.com) [27/08/03 16:58]: > Why don't you go into 'Process Info' right before doing the maintenance > and stop executing service checks or disable notifications on a global > basis? The outage is at 3:00AM. And it means that afterwards, we need to remember to turn /on/ the service checks/notifications. But this is a good idea. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Wed Aug 27 23:27:25 2003 From: damian at sentex.net (Damian Gerow) Date: Wed, 27 Aug 2003 17:27:25 -0400 Subject: site-wide planned outages In-Reply-To: <5F29693503507B4FB4032686ADF862673B5886@mtviny25.mtvi.com> References: <5F29693503507B4FB4032686ADF862673B5886@mtviny25.mtvi.com> Message-ID: <20030827212725.GJ6965@sentex.net> Thus spake Hochberg, Keith (Keith.Hochberg at mtvi.com) [27/08/03 17:24]: > If I were you I would then disable notifications only (leave service > checks executing) and you can use nagios at the end of your maitnenance > to ensure everything in your network has come up properly, then enable > notifications... That's how I do it at least... Yep, that's what I was going to do. I'll send this off to the guy who's actually doing the outage. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Wed Aug 27 23:40:06 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Wed, 27 Aug 2003 16:40:06 -0500 Subject: Nagios & Apache Configuration Message-ID: <29241.0146481872$1062021233@news.gmane.org> I'm trying to configure Apache to allow me to run Nagios on a VirtualHost. Perhaps someone has some input into this process. I have a webserver, (ie: webserver.mydomain.com), with Nagios currently running on it at http://webserver.mydomain.com/nagios/. I've created a DNS alias for the webserver called nagios.mydomain.com, and am trying to setup a virtual host to have nagios on http://nagios.mydomain.com/. I have been unsuccessful so far at using url rewriting to redirect queries, and not much luck with trying the direct approach. My ultimate goal is to have Nagios available on http://webserver.mydomain.com/nagios/ and http://nagios.mydomain.com/. Any input would be appreciated. Russell ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 01:03:37 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 27 Aug 2003 19:03:37 -0400 (EDT) Subject: Nagios & Apache Configuration In-Reply-To: <20030827214006.GA4611@soja.ksnet.com.> References: <20030827214006.GA4611@soja.ksnet.com.> Message-ID: Need to recompile the Nagios with new Configure paramters and install the new cgis. The relative URL between CGIs are currently hard coded. There was a patch earlier from the folks at Quadrix (another Russell) to use environment info inside Apache - that patch is not in the main code base at the moment and probably won't make it given the pending rewrite of the UI. -sg On Wed, 27 Aug 2003, Russell Adams wrote: > I'm trying to configure Apache to allow me to run Nagios on a > VirtualHost. Perhaps someone has some input into this process. > > I have a webserver, (ie: webserver.mydomain.com), with Nagios > currently running on it at http://webserver.mydomain.com/nagios/. I've > created a DNS alias for the webserver called nagios.mydomain.com, and > am trying to setup a virtual host to have nagios on > http://nagios.mydomain.com/. > > I have been unsuccessful so far at using url rewriting to redirect > queries, and not much luck with trying the direct approach. > > My ultimate goal is to have Nagios available on > http://webserver.mydomain.com/nagios/ and http://nagios.mydomain.com/. > > Any input would be appreciated. > > Russell > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 01:18:00 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 27 Aug 2003 19:18:00 -0400 (EDT) Subject: Change "email from" for alert to pager In-Reply-To: <3F4CF260.7000307@visionxtreme.net> References: <3F4CF260.7000307@visionxtreme.net> Message-ID: your MTA configuration... for sendmail - look for the Masquerade functionality.. -sg On Wed, 27 Aug 2003, Jason Whitson wrote: > I have some DNS issues that are not letting nagios send as "nagios at ..." > > Can I change this somewhere? > > -- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 28 02:00:55 2003 From: amen at oreilly.com (Bob Amen) Date: Wed, 27 Aug 2003 17:00:55 -0700 Subject: Nagios & Apache Configuration References: <20030827214006.GA4611@soja.ksnet.com.> Message-ID: <3F4D4637.6050209@oreilly.com> Russell Adams wrote: > I'm trying to configure Apache to allow me to run Nagios on a > VirtualHost. Perhaps someone has some input into this process. Here's mine: ServerName nagios.west.ora.com DocumentRoot "/home/httpd/html/nagios" It's been working for quite some time. It's a lot simpler than URL rewrites! Cheers, Bob -- Bob Amen O'Reilly & Associates, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 28 02:51:33 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 27 Aug 2003 20:51:33 -0400 Subject: Nagios & Apache Configuration In-Reply-To: References: Message-ID: <1062031892.14667.7.camel@miles.debisschop.net> On Wed, 2003-08-27 at 19:03, Subhendu Ghosh wrote: > Need to recompile the Nagios with new Configure paramters and install the > new cgis. The relative URL between CGIs are currently hard coded. Unless I misunderstand the request, this is untrue. The following works for me with an unmodified RPM install: ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ Alias /nagios/ /usr/share/nagios/ ServerName nagios.example.com ServerAlias nagios Options ExecCGI order deny,allow allow from aaa.bbb.ccc.ddd AuthType Basic AuthUserFile /site/cfg/passwd AuthGroupFile /site/cfg/group AuthName "user" require group user Satisfy Any Options None order deny,allow allow from aaa.bbb.ccc.ddd AuthType Basic AuthUserFile /site/cfg/passwd AuthGroupFile /site/cfg/group AuthName "user" require group user Satisfy Any > There was a patch earlier from the folks at Quadrix (another Russell) to > use environment info inside Apache - that patch is not in the main code > base at the moment and probably won't make it given the pending rewrite of > the UI. > > -sg > > On Wed, 27 Aug 2003, Russell Adams wrote: > > > I'm trying to configure Apache to allow me to run Nagios on a > > VirtualHost. Perhaps someone has some input into this process. > > > > I have a webserver, (ie: webserver.mydomain.com), with Nagios > > currently running on it at http://webserver.mydomain.com/nagios/. I've > > created a DNS alias for the webserver called nagios.mydomain.com, and > > am trying to setup a virtual host to have nagios on > > http://nagios.mydomain.com/. > > > > I have been unsuccessful so far at using url rewriting to redirect > > queries, and not much luck with trying the direct approach. > > > > My ultimate goal is to have Nagios available on > > http://webserver.mydomain.com/nagios/ and http://nagios.mydomain.com/. > > > > Any input would be appreciated. > > > > Russell > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pem at icdc.com Thu Aug 28 08:23:18 2003 From: pem at icdc.com (Patrick McShane) Date: 28 Aug 2003 02:23:18 -0400 Subject: How to make the best use of reports with no DB backend running In-Reply-To: References: Message-ID: <1062051797.4684.61.camel@torque> Hi all, I am running Nagios 1.1 on a Redhat 9.0 server. Apache auth and cgi's seem fine (using pam_ldap and Apache mod_pam modules for .htaccess for group auth). I am not yet collecting state data using MySQL but I am noticing that when I go to the "trends" report, when I specify "first assumed state" (or any other state for that matter), Nagios reports 100% for whatever state I choose. Is there a recommended mix of form options that would show some more trustworthy information? "Assume initial state" and "Assume state retention" are always "yes". I have nagios.cfg set to "retain_state_information=1". Any feedback in how to better use the reports section would be helpful. Does this all become more clear when storing data to MySQL? In other words, do the reports show more meaning full data when a DB backend is in use? (How to interpret 41.94% and (99.746%))??? nticdc02 41.974% (99.746%)0.107% (0.254%)0.000% (0.000%)57.919% (Why is this system shown 100% Undetermined?) nticdc03 0.000% (0.000%)0.000% (0.000%)0.000% (0.000%)100.000% They are both running check_host_alive, check_ping, and check_nt. Thanks, Pat -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Thu Aug 28 08:48:06 2003 From: teng at dataway.com (Tedman Eng) Date: Wed, 27 Aug 2003 23:48:06 -0700 Subject: disabled service checks don't stay disabled References: <16203.47676.611477.286768@montanaro.dyndns.org> Message-ID: Make sure you've got state retention turned on: http://nagios.sourceforge.net/docs/1_0/configmain.html#retain_state_information http://nagios.sourceforge.net/docs/1_0/configmain.html#use_retained_program_state You will have to put into your definitions the following as well: retain_status_information 1 retain_nonstatus_information 1 http://nagios.sourceforge.net/docs/1_0/xodtemplate.html Everything (except flapping status) should thereafter be retained between restarts. "Skip Montanaro" wrote in message news:16203.47676.611477.286768 at montanaro.dyndns.org... > > I must be missing something fundamental. If I disable a single service > check, then reload or restart nagios I find it's enabled again. What's the > purpose of disabling checks if they don't stay disabled? In a large > environment there is always going to be some churn (new machines arrive, old > machines die, new services are started) which will require frequent reloads > or restarts. Is there some way to make them really disabled until they are > explicitly reenabled? > > I'm running 1.1 on Solaris, in case that makes any difference. > > Thanks, > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > 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/358/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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sum at outblaze.com Thu Aug 28 09:39:51 2003 From: sum at outblaze.com (sum) Date: Thu, 28 Aug 2003 15:39:51 +0800 Subject: Question : To specify one kind service displaying on all hosts Message-ID: <3F4DB1C7.90005@outblaze.com> Dear sir My company is using nagios to monitor the servers. Each server has many services checking. I found that te nagios only can display all service. If we want to specify one kind of service to display of all hosts, it cannot do it. Could you give me some help on it ? because i really need this function. Thanks a lot ! Sum ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cpurn at cpurn.net Thu Aug 28 10:02:41 2003 From: cpurn at cpurn.net (Christian Purnomo) Date: Thu, 28 Aug 2003 18:02:41 +1000 Subject: nsca setting Message-ID: <20030828080241.GW696@monhost.curriculum.edu.au> HI All, I have a running nagios and a couple of hosts with NRPE setup, happy to see the results. Today I have been trying to fiddle with NSCA, but I'm quet stucked at the moment. I have configured send_nsca to run and send the relevant information I need from the remote server, this message appears to be successfully delivered to nagios server and written to file '$NAGIOSHOME/var/rw/nagios.cmd'. What should happen from this point? is Nagios supposed to read the content of this file? or is it the job of NSCA daemon? I also read that the file nagios.cmd is supposed to be created a named pipe when nagios is started (read this from nsca.cfg), but it doesn't appear so. I start nagios and there's no such file as var/rw/nagios.cmd. Are there any other documentation for NSCA? is it stable to use (if it is still in beta development) Many thanks Christian. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Basile.Mathieu at siris.sorbonne.fr Thu Aug 28 12:50:44 2003 From: Basile.Mathieu at siris.sorbonne.fr (Basile Mathieu) Date: Thu, 28 Aug 2003 12:50:44 +0200 Subject: eventhandler remote Message-ID: <5.0.2.1.2.20030828124846.02170c70@195.220.107.3> i read all the documentation and don t find anything about restart remote services with eventhandler . do i miss something ? is it possible with nrpe ( with a check who restart the services ) thanks for help ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simon.McKay-Mills at corp.percepta-crm.com Thu Aug 28 13:02:07 2003 From: Simon.McKay-Mills at corp.percepta-crm.com (McKay-Mills, Simon) Date: Thu, 28 Aug 2003 12:02:07 +0100 Subject: Multiple notifications Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I've been watching the notifications thread, and have a question regarding notfication of multiple contacts (i.e. I would like to notify all members of the NT team instead of 1 contact) I have defined distinct contacts (each with 1 email address) I have put the contacts in distinct groups (some are in 2 or 3 groups) I have tested the system by "downing" boxes, and only 1 email seems to be sent (or at least arrive in my mailbox) The nagios.log says it has sent all the emails to all appropriate members. The miscommands.cfg file is unchanged from the shipped version with the mail command. I am stumped! Regards SM? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Simon McKay-Mills Percepta Technology Manager DDI +44-(0)141-4183648 Mob +44-(0)797-6593462 simon.mckay-mills at corp.percepta-crm.com -----BEGIN PGP SIGNATURE----- Version: PGP 8.0 iQA/AwUBP03gr1b1rXjosed5EQIvyQCfQOOg5stQt12ZinSE1gB1gbxKQfkAn2j3 X+HJGiR/+0AEWxn8DgFsnpVg =XhWG -----END PGP SIGNATURE----- ............................................................... This electronic message transmission contains information that is deemed confidential or privileged by the sender. The information is intended to be for the use of the individual or entity named as recipient(s) above, only. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by telephone (303-397-8100) or by electronic mail(Legal at TeleTech.Com) immediately. ............................................................... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Rectanus at vt.edu Thu Aug 28 15:11:03 2003 From: Brian.Rectanus at vt.edu (Brian Rectanus) Date: Thu, 28 Aug 2003 09:11:03 -0400 Subject: Apan screenshots show separation of the "service detail " In-Reply-To: <3F44D161.4030508@essentkabel.com> References: <3F44D161.4030508@essentkabel.com> Message-ID: <1062076263.27462.17.camel@brectanu.cc.vt.edu> On Thu, 2003-08-21 at 10:04, Frans Hetterscheid wrote: > Hello, > > Can anyone tell me how they seperated the "service detail" in the > screenshots of > Apan? (http://apan.sourceforge.net/) > I can't find anything in the documentation. > I assume you mean the links under the service detail menu? They probably just edited the side.html file to include links like this: /nagios/cgi-bin/status.cgi?hostgroup=yourhostgroupname&style=detail in the case of the screenshot, the hostgroup is 'Mail'. -Brian > Thank You, -------------- 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 danb at mojolin.com Thu Aug 28 15:35:36 2003 From: danb at mojolin.com (Dan Barber) Date: Thu, 28 Aug 2003 09:35:36 -0400 (EDT) Subject: displaying status of service in statusmap.cgi Message-ID: Hello, Perhaps a simple question, but I couldn't find any reference in the docs or mailing list archives. I have the statusmap up and working. It displays an icon with the status of the host as green or red. The problem is, the icon will display green even if its primary service (smtp or http) is down. I know that the service status is displayed on the mouse-over, but I would like it to change color if the primary service is down, perhaps to yellow denoting that connectivity is good, but a service is down. Any help? Thanks, Dan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeff.vier at tradingtechnologies.com Thu Aug 28 15:47:40 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 28 Aug 2003 08:47:40 -0500 Subject: Multiple notifications In-Reply-To: References: Message-ID: <1062078452.2155.6.camel@linbox-boinger> On Thu, 2003-08-28 at 06:02, McKay-Mills, Simon wrote: > I've been watching the notifications thread, and have a question regarding > notfication of multiple contacts (i.e. I would like to notify all members of > the NT team instead of 1 contact) The way we do it is, we define each team member in the contacts.cfg (each having their own entry) with their pager email addresses, and as well there is an entry for a team-wide mailing list. then, in the contactgroups.cfg, we have: define contactgroup{ contactgroup_name netadm alias Administrators members netadm,brian,chris,jeff,john,julie,oliver,patrick,ruth } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 15:54:48 2003 From: nagios at okka.org.za (Carlito ) Date: Thu, 28 Aug 2003 15:54:48 +0200 Subject: Drop down service list Message-ID: <00ce01c36d6b$f25f3580$0214a8c0@bit.co.za> How do I get my service detail to appear like those in this picture attached , I'm talking of the links on the left ? -------------- next part -------------- A non-text attachment was scrubbed... Name: scr1_big.jpg Type: image/jpeg Size: 166657 bytes Desc: not available URL: From dan.sargent at webgravity.co.uk Thu Aug 28 16:14:38 2003 From: dan.sargent at webgravity.co.uk (Dan Sargent) Date: Thu, 28 Aug 2003 15:14:38 +0100 Subject: Services Message-ID: <003901c36d6e$b85f0150$7d65000a@ibnetplc.com> Is there anyway that i can group up just services, and have them showing, in the same way as a hostgroup? Or, is there anyway, within a hostgroup to hide the unwanted services? The only way i'm doing this at the moment is adding loads of hosts, with one service each, but really this isnt the way forward. Cheers Dan Dan Sargent Systems Administrator Webgravity Edan.sargent at webgravity.co.uk T+44 (0)20 8987 6700 F+44 (0)20 8987 6701 Wwww.webgravity.co.uk "Webgravity have proved that good listings on popular phrases are possible. Within the first five months our cost per acquired user was reduced by over 50 percent." Simon Cattermole, E-Commerce Developer The Derbyshire Building Society The information in this email is confidential. If you are not the intended recipient, you must not read, use or disseminate the information contained in this message and must delete it. Although Webgravity believe this email and any attachments to be free from any virus or other defect, which may effect a computer, it is the responsibility of the recipient to ensure that it is virus free and Webgravity does not accept any responsibility for any loss or damage arising in anyway from its use. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JFountain at rbinc.com Thu Aug 28 16:29:54 2003 From: JFountain at rbinc.com (Jennifer Fountain) Date: Thu, 28 Aug 2003 10:29:54 -0400 Subject: script to nofity admins of scheduled downtime Message-ID: <4986B9AA97C37D4D91E554CA8D84415B02003B35@rbnt1.rb.net> has anyone written a script that emails admins or contacts, if a contact or admin schedules downtime for a host or service? Cheers, Jenn ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 17:33:37 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 28 Aug 2003 11:33:37 -0400 (EDT) Subject: Drop down service list In-Reply-To: <00ce01c36d6b$f25f3580$0214a8c0@bit.co.za> References: <00ce01c36d6b$f25f3580$0214a8c0@bit.co.za> Message-ID: On Thu, 28 Aug 2003, Carlito wrote: > How do I get my service detail to appear like those in this picture attached > , I'm talking of the links on the left ? > modify side.html to add your group info. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lena__m at hotmail.com Thu Aug 28 17:46:54 2003 From: lena__m at hotmail.com (Lena M) Date: Thu, 28 Aug 2003 08:46:54 -0700 Subject: ssh and output Message-ID: Hello, All, My name is Lena, and I'm new to the list. I'm having a problem with nagios displaying output of the commands it runs over ssh. I hope you can help me solve it. For instance, when I run the following from a command prompt of my monitoring host, I get an output: -bash-2.05b$ /usr/bin/ssh redhat1 /usr/local/nagios/check_disk -w 3 -c 1 /dev/hda1 DISK OK [1058016 kB (20%) free on /dev/hda1] However, nagios displays "Current Status: Unknown" and "Status information: No output!" in its web page when it runs the same command. I tried using different ssh commands but..the same result. Both hosts have redhat 8.0 and nagios 1.1 installed. Your help will be greatly appreciated. Here is configuration info from nagios files: checkcommands.cfg define command{ command_name ssh-2check-users command_line /usr/bin/ssh redhat1 /usr/local/nagios/check_users -w 3 -c 1 } services.cfg define service{ use generic-service ; Name of service template to use host_name redhat1 service_description FREE DISK SPACE is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 contact_groups redhat-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command ssh-2check-disk!80%!90%!/dev/hda1 Web Output: Service State Information Current Status: UNKNOWN Status Information: (No output!) Current Attempt: 3/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 08-28-2003 11:16:23 Status Data Age: 0d 0h 0m 32s Next Scheduled Active Check: 08-28-2003 11:21:23 Latency: < 1 second Check Duration: 1 second Last State Change: 08-28-2003 10:43:52 Current State Duration: 0d 0h 33m 3s Last Service Notification: 08-28-2003 10:43:52 Current Notification Number: 1 Is This Service Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 08-28-2003 11:16:43 Service Checks: ENABLED Passive Checks: ENABLED Service Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Thu Aug 28 17:59:26 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 28 Aug 2003 10:59:26 -0500 (CDT) Subject: ssh and output In-Reply-To: References: Message-ID: Lena, You should look at the check_by_ssh command. It will do exactly what you want. Here's an example: # 'check_remote_disk' command definition define command{ command_name check_remote_disk command_line $USER1$/check_by_ssh -t 60 -H $HOSTADDRESS$ -l \ nagios -i $USER5$ -C "$USER6$/check_disk -w $ARG1$ -c $ARG2$" } # from resource.cfg $USER5$=/home/nagios/.ssh/id_dsa $USER6$=/home/nagios/bin Also, check our ssh-keygen to create a public/private keypair for the nagios user to permit passwordless logins. Finally, take a look at keychain, http://www.gentoo.org/proj/en/keychain.xml, for non-blank ssh passphrases. HTH. On Thu, 28 Aug 2003, Lena M wrote: > Hello, All, > > My name is Lena, and I'm new to the list. > > I'm having a problem with nagios displaying output of the commands it runs over ssh. I hope you can help me solve it. > > For instance, when I run the following from a command prompt of my monitoring host, I get an output: > -bash-2.05b$ /usr/bin/ssh redhat1 /usr/local/nagios/check_disk -w 3 -c 1 /dev/hda1 > > DISK OK [1058016 kB (20%) free on /dev/hda1] > > However, nagios displays "Current Status: Unknown" and "Status information: No output!" in its web page when it runs the same command. > > I tried using different ssh commands but..the same result. Both hosts have redhat 8.0 and nagios 1.1 installed. Your help will be greatly appreciated. > > Here is configuration info from nagios files: > > checkcommands.cfg > > define command{ > > command_name ssh-2check-users > > command_line /usr/bin/ssh redhat1 /usr/local/nagios/check_users -w 3 -c 1 > > } > > services.cfg > > define service{ > > use generic-service ; Name of service template to use > > > > host_name redhat1 > > service_description FREE DISK SPACE > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 2 > > contact_groups redhat-admins > > notification_interval 240 > > notification_period 24x7 > > notification_options w,u,c,r > > check_command ssh-2check-disk!80%!90%!/dev/hda1 > > > > Web Output: > > Service State Information > > Current Status: > UNKNOWN > > Status Information: > (No output!) > > Current Attempt: > 3/3 > > State Type: > HARD > > Last Check Type: > ACTIVE > > Last Check Time: > 08-28-2003 11:16:23 > > Status Data Age: > 0d 0h 0m 32s > > Next Scheduled Active Check: > 08-28-2003 11:21:23 > > Latency: > < 1 second > > Check Duration: > 1 second > > Last State Change: > 08-28-2003 10:43:52 > > Current State Duration: > 0d 0h 33m 3s > > Last Service Notification: > 08-28-2003 10:43:52 > > Current Notification Number: > 1 > > Is This Service Flapping? > N/A > > Percent State Change: > N/A > > In Scheduled Downtime? > NO > > Last Update: > 08-28-2003 11:16:43 > > > > > > Service Checks: > ENABLED > > Passive Checks: > ENABLED > > Service Notifications: > ENABLED > > Event Handler: > ENABLED > > Flap Detection: > ENABLED > > > > > > > > > > > > > --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lena__m at hotmail.com Thu Aug 28 18:06:15 2003 From: lena__m at hotmail.com (Lena M) Date: Thu, 28 Aug 2003 09:06:15 -0700 Subject: ssh and output References: Message-ID: Demetri, I already have keychain(ssh-agent) running on the server to retain my password protected dsa key. ssh works great..no password prompt However, I get prompted for a password using check_by_ssh command. Thank you very much for your reply. Lena ----- Original Message ----- From: "Demetri Mouratis" To: "Lena M" Cc: Sent: Thursday, August 28, 2003 8:59 AM Subject: Re: [Nagios-users] ssh and output > Lena, > > You should look at the check_by_ssh command. It will do exactly what you > want. > > Here's an example: > > # 'check_remote_disk' command definition > define command{ > command_name check_remote_disk > command_line $USER1$/check_by_ssh -t 60 -H $HOSTADDRESS$ -l \ > nagios -i $USER5$ -C "$USER6$/check_disk -w $ARG1$ -c $ARG2$" > } > > # from resource.cfg > $USER5$=/home/nagios/.ssh/id_dsa > $USER6$=/home/nagios/bin > > Also, check our ssh-keygen to create a public/private keypair for the > nagios user to permit passwordless logins. > > Finally, take a look at keychain, > http://www.gentoo.org/proj/en/keychain.xml, for non-blank ssh passphrases. > > HTH. > > On Thu, 28 Aug 2003, Lena M wrote: > > > Hello, All, > > > > My name is Lena, and I'm new to the list. > > > > I'm having a problem with nagios displaying output of the commands it runs over ssh. I hope you can help me solve it. > > > > For instance, when I run the following from a command prompt of my monitoring host, I get an output: > > -bash-2.05b$ /usr/bin/ssh redhat1 /usr/local/nagios/check_disk -w 3 -c 1 /dev/hda1 > > > > DISK OK [1058016 kB (20%) free on /dev/hda1] > > > > However, nagios displays "Current Status: Unknown" and "Status information: No output!" in its web page when it runs the same command. > > > > I tried using different ssh commands but..the same result. Both hosts have redhat 8.0 and nagios 1.1 installed. Your help will be greatly appreciated. > > > > Here is configuration info from nagios files: > > > > checkcommands.cfg > > > > define command{ > > > > command_name ssh-2check-users > > > > command_line /usr/bin/ssh redhat1 /usr/local/nagios/check_users -w 3 -c 1 > > > > } > > > > services.cfg > > > > define service{ > > > > use generic-service ; Name of service template to use > > > > > > > > host_name redhat1 > > > > service_description FREE DISK SPACE > > > > is_volatile 0 > > > > check_period 24x7 > > > > max_check_attempts 3 > > > > normal_check_interval 5 > > > > retry_check_interval 2 > > > > contact_groups redhat-admins > > > > notification_interval 240 > > > > notification_period 24x7 > > > > notification_options w,u,c,r > > > > check_command ssh-2check-disk!80%!90%!/dev/hda1 > > > > > > > > Web Output: > > > > Service State Information > > > > Current Status: > > UNKNOWN > > > > Status Information: > > (No output!) > > > > Current Attempt: > > 3/3 > > > > State Type: > > HARD > > > > Last Check Type: > > ACTIVE > > > > Last Check Time: > > 08-28-2003 11:16:23 > > > > Status Data Age: > > 0d 0h 0m 32s > > > > Next Scheduled Active Check: > > 08-28-2003 11:21:23 > > > > Latency: > > < 1 second > > > > Check Duration: > > 1 second > > > > Last State Change: > > 08-28-2003 10:43:52 > > > > Current State Duration: > > 0d 0h 33m 3s > > > > Last Service Notification: > > 08-28-2003 10:43:52 > > > > Current Notification Number: > > 1 > > > > Is This Service Flapping? > > N/A > > > > Percent State Change: > > N/A > > > > In Scheduled Downtime? > > NO > > > > Last Update: > > 08-28-2003 11:16:43 > > > > > > > > > > > > Service Checks: > > ENABLED > > > > Passive Checks: > > ENABLED > > > > Service Notifications: > > ENABLED > > > > Event Handler: > > ENABLED > > > > Flap Detection: > > ENABLED > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > Demetri Mouratis > dmourati at linfactory.com > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 28 18:19:31 2003 From: creator at mindcreations.com (Stefano Coletta) Date: Thu, 28 Aug 2003 18:19:31 +0200 Subject: displaying status of service in statusmap.cgi In-Reply-To: References: Message-ID: <3F4E2B93.6010907@mindcreations.com> If you are able to change the sourcecode you can simply edit the file statusmap.c and make an host for example "orange" if you have one or more services down. If you like this an idea can be to raise the orange level towards red if you have many services down. Dan Barber wrote: >Hello, > >Perhaps a simple question, but I couldn't find any reference in the docs >or mailing list archives. > >I have the statusmap up and working. It displays an icon with the status >of the host as green or red. The problem is, the icon will display green >even if its primary service (smtp or http) is down. I know that the >service status is displayed on the mouse-over, but I would like it to >change color if the primary service is down, perhaps to yellow denoting >that connectivity is good, but a service is down. > >Any help? > >Thanks, > >Dan > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pedro.rebelo at tagus.ist.utl.pt Thu Aug 28 17:23:02 2003 From: pedro.rebelo at tagus.ist.utl.pt (Pedro Rebelo) Date: Thu, 28 Aug 2003 17:23:02 WEST Subject: Managing Clusters with nagios Message-ID: Hello there! I am testing some cluster information gathering, and i am having some trouble. I have 10 hosts ( linux1,linux2,linux3, linuxN ) that have the "check_command check-host-alive" option under its host configuration. Then, i've configured a service like this: define service{ use generic-service host_name VirtualCluster service_description Linux Cluster Status is_volatile 0 check_period 24x7 max_check_attempts 10 normal_check_interval 2 retry_check_interval 1 contact_groups linux-admins notification_interval 240 notification_options w,u,c,r notification_period 24x7 check_command check_host_cluster!5!9!/usr/local/nagios/etc/linuxhostcluster.cfg } The host VirtualCluster is a host i "virtually created" that represents the system where nagios is running from and has the option "check_command check-dummy" activated. The problem is that at the Service Details on the web frontend of nagios i get this: VirtualCluster Linux Cluster Status OK 27-08-2003 21:41:00 0d 0h 5m 58s 1/10 Host cluster ok: 0 up, 0 down, 0 unreachable ( First of all...its not OK....) Then, on the host details: linux1 PENDING N/A 0d 0h 7m 7s+ (Not enough data to determine host status yet) This line repeats on all of the linuxN boxes. Whats the problem ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Aug 28 18:43:35 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Thu, 28 Aug 2003 09:43:35 -0700 Subject: Services In-Reply-To: <003901c36d6e$b85f0150$7d65000a@ibnetplc.com> References: <003901c36d6e$b85f0150$7d65000a@ibnetplc.com> Message-ID: Nagios 2.0 has Service Groups to enable this. I could not find an elegant way to do this in Nagios 1.1 thanks -anurag -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Dan Sargent Sent: Thursday, August 28, 2003 7:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Services Is there anyway that i can group up just services, and have them showing, in the same way as a hostgroup? Or, is there anyway, within a hostgroup to hide the unwanted services? The only way i'm doing this at the moment is adding loads of hosts, with one service each, but really this isnt the way forward. Cheers Dan Dan Sargent Systems Administrator Webgravity Edan.sargent at webgravity.co.uk T+44 (0)20 8987 6700 F+44 (0)20 8987 6701 Wwww.webgravity.co.uk "Webgravity have proved that good listings on popular phrases are possible. Within the first five months our cost per acquired user was reduced by over 50 percent." Simon Cattermole, E-Commerce Developer The Derbyshire Building Society The information in this email is confidential. If you are not the intended recipient, you must not read, use or disseminate the information contained in this message and must delete it. Although Webgravity believe this email and any attachments to be free from any virus or other defect, which may effect a computer, it is the responsibility of the recipient to ensure that it is virus free and Webgravity does not accept any responsibility for any loss or damage arising in anyway from its use. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 28 19:07:37 2003 From: ejl at man.fwltech.com (Ewan Leith) Date: Thu, 28 Aug 2003 18:07:37 +0100 Subject: script to nofity admins of scheduled downtime Message-ID: <1012BD903945D411915500105A48FF5701C7365A@nt.man.fwltech.com> It's a good idea, but short of editting the nagios code to fire off an event when it happens, the only way I can think of is to do some automated task every 5 minutes or so and do a grep for DOWNTIME in /usr/local/nagios/var/downtime.log - then you'd have the task of figuring out if you'd already sent a notification about what's in there. You could grep nagios.log instead for the start and stop messages, but since it's pretty big I'd want to stay out of there. The attached perl script is ugly and nasty and definitely buggy, but it does work kinda. Run it every so often from a cronjob and it should work. maybe :) Ewan > -----Original Message----- > From: Jennifer Fountain [mailto:JFountain at rbinc.com] > Sent: 28 August 2003 15:30 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] script to nofity admins of scheduled downtime > > > has anyone written a script that emails admins or contacts, if a > contact or admin schedules downtime for a host or service? > > > Cheers, > Jenn > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: down.pl Type: application/octet-stream Size: 879 bytes Desc: not available URL: From ben at nextcarrier.com Thu Aug 28 21:29:16 2003 From: ben at nextcarrier.com (Ben.Uretsky) Date: Thu, 28 Aug 2003 15:29:16 -0400 Subject: Notifications sent on first state change not after MAX CHECK ATTEMPTS Message-ID: <004001c36d9a$ab576b10$0701a8c0@lan.nextcarrier> I was hoping to have an email sent only after 3 attempts (MAX CHECK ATTEMPTS) spaced 5 minutes apart (RETRY_CHECK_INTERVAL) have failed. However what seems to happen is that as soon as this host stops pinging I get a notification sent, this is not worthwhile as the link is not very steady and I want to be notified after 15 minutes of continuous downtime. Service setup: define service { host_name nq-ir46 service_description ping check_command check_ping max_check_attempts 3 normal_check_interval 5 retry_check_interval 5 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options u,c,r notifications_enabled 1 contact_groups noc } Best regards, Ben Uretsky NextCarrier -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at capband.net Thu Aug 28 22:44:38 2003 From: rob at capband.net (Rob Nelson) Date: Thu, 28 Aug 2003 16:44:38 -0400 Subject: site-wide planned outages In-Reply-To: <20030827204242.GB6965@sentex.net> References: <20030827204242.GB6965@sentex.net> Message-ID: <5.2.1.1.0.20030828164354.01bb7b18@mail.capband.net> At 04:42 PM 8/27/2003 -0400, Damian Gerow wrote: >Is there any way to configure a site-wide planned outage? We need to do >some work on the switch/cage that our Nagios system is in, and it'd be much >easier if we could just tell the system that everything might be going down >in one fell swoop, instead of system by system. Site-wide? "service nagios stop; at 5pm service nagios start" Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Aug 29 00:19:55 2003 From: teng at dataway.com (Tedman Eng) Date: Thu, 28 Aug 2003 15:19:55 -0700 Subject: Drop down service list References: <00ce01c36d6b$f25f3580$0214a8c0@bit.co.za> Message-ID: There's a dynamic version available at: http://apan.sourceforge.net/ (look in the downloads section) "Grouplist is a small hack that will show all hostgroups in a 'treewiev' in the left frame in Nagios web-interface." The small cgi script automatically reflects any new configs added to your .CFG files without additional HTMl editing. "Subhendu Ghosh" wrote in message news:Pine.LNX.4.44.0308281133020.23804-100000 at calcutta.sghosh.org... > On Thu, 28 Aug 2003, Carlito wrote: > > > How do I get my service detail to appear like those in this picture attached > > , I'm talking of the links on the left ? > > > > modify side.html to add your group info. > > -- > -sg > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Aug 29 00:33:19 2003 From: teng at dataway.com (Tedman Eng) Date: Thu, 28 Aug 2003 15:33:19 -0700 Subject: script to nofity admins of scheduled downtime References: <4986B9AA97C37D4D91E554CA8D84415B02003B35@rbnt1.rb.net> Message-ID: Check out the "Scheduled Downtime via Cron" script. http://www.nagios.org/download/extras.php You can easily enough add an email notification to it, and if your users are squeamish about command line, it can be wrapped in a pretty CGI. "Jennifer Fountain" wrote in message news:4986B9AA97C37D4D91E554CA8D84415B02003B35 at rbnt1.rb.net... has anyone written a script that emails admins or contacts, if a contact or admin schedules downtime for a host or service? Cheers, Jenn ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Madea at mdl.com Fri Aug 29 00:42:31 2003 From: J.Madea at mdl.com (Jeremy Madea) Date: Thu, 28 Aug 2003 15:42:31 -0700 Subject: Undocumented feature? Message-ID: I'm using 1.1. I've found that putting a "register" property with a value of 0 in a hostgroup suppresses the hostgroup from display via the various CGIs. However, the hostgroup appears to work normally when used in other configuration files. I think this is a -very- useful feature. Does it work in 2.0? Is it documented? (I didn't find anything.) Was it intentional? (Can I count on it working.) -j -- Jeremy Madea Senior Systems Engineer MDL Information Systems ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 05:06:06 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Thu, 28 Aug 2003 23:06:06 -0400 (EDT) Subject: Undocumented feature? In-Reply-To: References: Message-ID: On Thu, 28 Aug 2003, Jeremy Madea wrote: > > I'm using 1.1. > > I've found that putting a "register" property with a value of 0 in a > hostgroup suppresses the hostgroup from display via the various CGIs. > However, the hostgroup appears to work normally when used in other > configuration files. > > I think this is a -very- useful feature. Does it work in 2.0? Is it > documented? (I didn't find anything.) > > Was it intentional? (Can I count on it working.) > register=0 makes the definition into a template ... -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.rojo at q-linux.com Fri Aug 29 07:43:32 2003 From: oliver.rojo at q-linux.com (Oliver A. Rojo) Date: 29 Aug 2003 13:43:32 +0800 Subject: nagios notification via sms doesn't work Message-ID: <1062135811.30808.13.camel@traxx.qlinux.com.ph> Hi guys! I've just setup nagios on my Redhat 9.0 server and everything's working just fine including its notification via sms. Now I want to configure nagios to notify me via sms since i'm not always available to check my emails. Using the gnokii software, when I type printf "TEXT MESSAGE" | gnokii --sendsms -c0 from the console, I sucessfully receive messages. What I did to nagios to work with this feature are the following: At /usr/local/nagios/etc/contacts.cfg I added the following: service_notification_commands notify-by-email,notify-by-epager,notify-by-sms host_notification_commands host-notify-by-email,host-notify-by-epager,host-notify-by-sms then at /usr/local/nagios/etc/miscommands.cfg I added: define command{ command_name notify-by-sms command_line printf "TEST" | gnokii --sendsms +639196918038 -c0 2 > /dev/null } define command{ command_name host-notify-by-sms command_line printf "TEST" | gnokii --sendsms -c0 2 > /dev/null } But this configuration doesn't seem to work at all... could you tell me what i missed here? thanks! -- Oliver A. Rojo Linux Technical Engineer Q-Linux Solutions -----BEGIN PGP MESSAGE----- Version: GNUPG v0.4.0 (GNU/Linux) Comment: Get GNUPG from ftp://ftp.guug.de/pub/gcrypt/ ibxH/34oeT+0yFF0qQYqSp1AXTOfKV1Khw6GXgyxrnAbUozYFHuNaSU1uI2VlezTosb+ZFpu 03+PUoiyGbq/YPgcsoZOv65TSd8q3b2JbbMDsp9SAMq3WyIRffw2YBHwCu3Jxw/lQjGEkw8r Q5Nea1Ph2cFby6f7abIauEKWcdBxb7Nk5VOBN7yVPcp4dNBPIOijB8v/EeMz8a16YXQVYxk5 FmXuh4PzLJ09woaJRbYAJPVtLXiAHANYrqonfJ8tvM3ziP6mC20CRQebV9YWguMXJTYEC6An hQIOAx1s/MTwZKdhEAf/WZnNy7RILDVxKJperR3k2xOPy5rNxRXxSVFvboXEQf/B01zvE8Fn udEgGwqE808X6sbxVZ7JWiOG7k0uk+M1Dxsi7ujzZdL6rWYq830DnC/LmtWs/XM2V9HwnoRo CUlEsXi7zPykSxhAm5TAMhn2Al5iFrF/y3ROLf2DK+xUflZxs+uvnLLl2vRRKYmy0DXdE0z1 EKB2KNMPFVruuphzspH1wrNGxKs3WU0THEp/GvVj6WR0fCjQ9n5qBaKuT8kknbXbgm5zJCTC J+KNOw2VwOCI7lKeKvzrr/p7tg8gasRnca3a9u3cTXXWk3cWYKcw/mdghwUUwmOUCvTeZI2k MwgA5520XYbuDi2HX0LeOKf7DEVXOPixRrrnydJcnjoAYLYO3/xpQqh0IzJ1P1HwZbVnJVNl z+yXNvfzAVedlkQ+98G/yraLtzASWNwbpaQZ =xYcK -----END PGP MESSAGE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.avvisano at mail.regione.toscana.it Fri Aug 29 10:55:31 2003 From: m.avvisano at mail.regione.toscana.it (Marco Avvisano) Date: Fri, 29 Aug 2003 10:55:31 +0200 Subject: Monitoring one particular process Message-ID: <005b01c36e0b$4d9f7fa0$2b01d59f@regione.toscana.it> Where i could download the plugin check_named_proc.pl ? There are other plugin to monitor a specific process? Marco ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oliver.rojo at q-linux.com Fri Aug 29 11:47:13 2003 From: oliver.rojo at q-linux.com (Oliver A. Rojo) Date: 29 Aug 2003 17:47:13 +0800 Subject: nagios plugin help Message-ID: <1062150431.7702.4.camel@traxx.qlinux.com.ph> My check_local_users doesn't exists on my /usr/local/nagios/libexec plugin directory. Anyone knows where to get it? thanks! -- Oliver A. Rojo Linux Technical Engineer Q-Linux Solutions -----BEGIN PGP MESSAGE----- Version: GNUPG v0.4.0 (GNU/Linux) Comment: Get GNUPG from ftp://ftp.guug.de/pub/gcrypt/ ibxH/34oeT+0yFF0qQYqSp1AXTOfKV1Khw6GXgyxrnAbUozYFHuNaSU1uI2VlezTosb+ZFpu 03+PUoiyGbq/YPgcsoZOv65TSd8q3b2JbbMDsp9SAMq3WyIRffw2YBHwCu3Jxw/lQjGEkw8r Q5Nea1Ph2cFby6f7abIauEKWcdBxb7Nk5VOBN7yVPcp4dNBPIOijB8v/EeMz8a16YXQVYxk5 FmXuh4PzLJ09woaJRbYAJPVtLXiAHANYrqonfJ8tvM3ziP6mC20CRQebV9YWguMXJTYEC6An hQIOAx1s/MTwZKdhEAf/WZnNy7RILDVxKJperR3k2xOPy5rNxRXxSVFvboXEQf/B01zvE8Fn udEgGwqE808X6sbxVZ7JWiOG7k0uk+M1Dxsi7ujzZdL6rWYq830DnC/LmtWs/XM2V9HwnoRo CUlEsXi7zPykSxhAm5TAMhn2Al5iFrF/y3ROLf2DK+xUflZxs+uvnLLl2vRRKYmy0DXdE0z1 EKB2KNMPFVruuphzspH1wrNGxKs3WU0THEp/GvVj6WR0fCjQ9n5qBaKuT8kknbXbgm5zJCTC J+KNOw2VwOCI7lKeKvzrr/p7tg8gasRnca3a9u3cTXXWk3cWYKcw/mdghwUUwmOUCvTeZI2k MwgA5520XYbuDi2HX0LeOKf7DEVXOPixRrrnydJcnjoAYLYO3/xpQqh0IzJ1P1HwZbVnJVNl z+yXNvfzAVedlkQ+98G/yraLtzASWNwbpaQZ =xYcK -----END PGP MESSAGE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kalle at kontilint.se Fri Aug 29 12:44:46 2003 From: kalle at kontilint.se (Kalle Andersson) Date: Fri, 29 Aug 2003 12:44:46 +0200 Subject: check_http times out eventhough website is accessible Message-ID: <3F4F2E9E.2020603@kontilint.se> Hi everyone! I'm having a strange problem with my nagios setup. I'm running nagios 1.0 on top of FreeBSD 4.7. Earlier this week I recieved alerts regarding two websites that I'm monitoring, strange thing was that I could reach them from the survelliance server by using telnet (against port 80) and lynx. check_http returned with "Socket timeout after 10 seconds" and State: Critical This has happened three times, all during tuesday and wednesday this week. I'd be very happy to hear about any ideas regarding this problem. Thanks in advance. -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at Luna.nl Fri Aug 29 14:11:57 2003 From: Sam at Luna.nl (Sam Terburg) Date: Fri, 29 Aug 2003 14:11:57 +0200 Subject: multiple different notifications Message-ID: <404FDD57B6C6D2119E0700902735F524019F9BC7@lavazza.office.luna.net> Is it possible to have 2 different notifications for 1 alert? what i want is: 1) alert the owner every 1 hour 2) alert noc every 24 hours greetings, Sam Terburg Operations @ Luna.nl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 14:35:02 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 29 Aug 2003 07:35:02 -0500 Subject: check_http times out eventhough website is accessible Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D491C@mismail.ena.com> It seems that it might be taking longer than 10 seconds for the plugin to make the request and receive the response. Is that what you are seeung during those times? You might consider extending you plugin timeout value. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Kalle Andersson To: nagios-users at lists.sourceforge.net Sent: Fri Aug 29 05:44:46 2003 Subject: [Nagios-users] check_http times out eventhough website is accessible Hi everyone! I'm having a strange problem with my nagios setup. I'm running nagios 1.0 on top of FreeBSD 4.7. Earlier this week I recieved alerts regarding two websites that I'm monitoring, strange thing was that I could reach them from the survelliance server by using telnet (against port 80) and lynx. check_http returned with "Socket timeout after 10 seconds" and State: Critical This has happened three times, all during tuesday and wednesday this week. I'd be very happy to hear about any ideas regarding this problem. Thanks in advance. -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 kalle at kontilint.se Fri Aug 29 14:48:09 2003 From: kalle at kontilint.se (Kalle Andersson) Date: Fri, 29 Aug 2003 14:48:09 +0200 Subject: check_http times out eventhough website is accessible In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D491C@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D491C@mismail.ena.com> Message-ID: <3F4F4B89.6070009@kontilint.se> But I should've noticed that when using telnet/lynx? There couldn't be that much difference between check_http and telnet. I can't recall if there was a slight delay when trying to connect to those sites, but I'm certain that it didn't take 10 seconds, using lynx that is. By the way, I'm using IP-addresses when connecting, DNS is not an issue here. Once I get the error again I'll try and se if I can get some additional information by tracking the syscalls done by check_http. Marc Powell wrote: > It seems that it might be taking longer than 10 seconds for the plugin > to make the request and receive the response. Is that what you are > seeung during those times? You might consider extending you plugin > timeout value. > > > -- > Marc > > Sent from a very tiny wireless device with a very tiny unlit keyboard. > > > -----Original Message----- > From: Kalle Andersson > To: nagios-users at lists.sourceforge.net > Sent: Fri Aug 29 05:44:46 2003 > Subject: [Nagios-users] check_http times out eventhough website is > accessible > > Hi everyone! > > I'm having a strange problem with my nagios setup. I'm running nagios > 1.0 on top of FreeBSD 4.7. > > Earlier this week I recieved alerts regarding two websites that I'm > monitoring, strange thing was that I could reach them from the > survelliance server by using telnet (against port 80) and lynx. > > check_http returned with "Socket timeout after 10 seconds" and State: > Critical > > This has happened three times, all during tuesday and wednesday this > week. I'd be very happy to hear about any ideas regarding this problem. > > Thanks in advance. > > -- > Best regards / Med v?nlig h?lsning > Kalle Andersson, CISSP > S?kerhetskonsult / Kontilint Data AB > Mail: kalle at kontilint.se > Tel: +46-702-420659 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 29 15:31:49 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Fri, 29 Aug 2003 07:31:49 -0600 Subject: multiple different notifications Message-ID: Read the 'Object Configuration Data' docs at http://nagios.sourceforge.net/docs/1_0/configobject.html. There are sections for Service Escalations, Host Escalations, and Hostgroup Escalations, depending on the type of alert that you need to set this up for. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Sam Terburg [mailto:Sam at Luna.nl] > Sent: Friday, August 29, 2003 6:12 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] multiple different notifications > > > Is it possible to have 2 different notifications for 1 alert? > what i want is: > 1) alert the owner every 1 hour > 2) alert noc every 24 hours > > greetings, > > Sam Terburg > Operations @ Luna.nl > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmeehan at ctbr.com Fri Aug 29 14:15:56 2003 From: fmeehan at ctbr.com (Francois Meehan) Date: Fri, 29 Aug 2003 08:15:56 -0400 Subject: Checking Nagios... Message-ID: Hi all, Is there a script or utility to check if Nagios is running from another PC? That would send me an e-mail if Nagios would be down. I know the best way would be to have a second instance of Nagios but I am looking for something simple. Regards, Francois ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 29 16:23:38 2003 From: nagios at okka.org.za (Carlito ) Date: Fri, 29 Aug 2003 16:23:38 +0200 Subject: multiple different notifications In-Reply-To: References: Message-ID: <007601c36e39$235a0840$0214a8c0@bit.co.za> Here you go .. # Hostgroup 'ctswitches' escalation definition define hostgroupescalation{ hostgroup_name ctswitches first_notification 1 last_notification 1 contact_groups request-tracker notification_interval 5 } # Hostgroup 'ctswitches' escalation definition define hostgroupescalation{ hostgroup_name ctswitches first_notification 2 last_notification 2 contact_groups cttech notification_interval 10 } # Hostgroup 'ctswitches' escalation definition define hostgroupescalation{ hostgroup_name ctswitches first_notification 3 last_notification 3 contact_groups cttech, gptech notification_interval 20 } # Hostgroup 'ctswitches' escalation definition define hostgroupescalation{ hostgroup_name ctswitches first_notification 4 last_notification 4 contact_groups management, cttech, gptech notification_interval 90 } # Hostgroup 'ctswitches' escalation definition define hostgroupescalation{ hostgroup_name ctswitches first_notification 5 last_notification 5 contact_groups management, cttech, gptech notification_interval 60 } -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Cook, Garry Sent: 29 August 2003 15:32 To: Sam Terburg; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] multiple different notifications Read the 'Object Configuration Data' docs at http://nagios.sourceforge.net/docs/1_0/configobject.html. There are sections for Service Escalations, Host Escalations, and Hostgroup Escalations, depending on the type of alert that you need to set this up for. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Sam Terburg [mailto:Sam at Luna.nl] > Sent: Friday, August 29, 2003 6:12 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] multiple different notifications > > > Is it possible to have 2 different notifications for 1 alert? > what i want is: > 1) alert the owner every 1 hour > 2) alert noc every 24 hours > > greetings, > > Sam Terburg > Operations @ Luna.nl > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kalle at kontilint.se Fri Aug 29 16:34:28 2003 From: kalle at kontilint.se (Kalle Andersson) Date: Fri, 29 Aug 2003 16:34:28 +0200 Subject: Checking Nagios... In-Reply-To: References: Message-ID: <3F4F6474.1000309@kontilint.se> Francois Meehan wrote: > Hi all, > > Is there a script or utility to check if Nagios is running from another > PC? That would send me an e-mail if Nagios would be down. > > I know the best way would be to have a second instance of Nagios but I > am looking for something simple. > > > Regards, > > Francois > Francois, If both machines are unixes you could use ssh/rsh in order to run 'ps' on the nagios-system and if there is no nagios-process active send an e-mail. Such script would be trivial and you could run it through crontab at whatever interval you'd like. -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Aug 29 16:29:45 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Fri, 29 Aug 2003 09:29:45 -0500 Subject: NetWare / Files in a Folder Message-ID: Is there anyway to use check_nwstat to count the number of files in a directory on a Netware server? Running NetWare 6.0 SP2, latest mrtgext.nlm 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. This messages and/or attachments have been tested for viruses by Guinevere and Symantec AntiVirus. Although reasonable precautions are taken to assure this e-mail is virusfree, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dshurett at alphaomegahosting.com Fri Aug 29 16:37:33 2003 From: dshurett at alphaomegahosting.com (Danny Shurett) Date: Fri, 29 Aug 2003 10:37:33 -0400 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. Message-ID: <025a01c36e3b$16c52310$6401a8c0@homexp> Just installed nagios on a new RH9 box and now having SSL errors when checking all servers. Any suggestions? -------------- next part -------------- An HTML attachment was scrubbed... URL: From phasenjager at fzacpa.com Fri Aug 29 17:07:17 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Fri, 29 Aug 2003 10:07:17 -0500 Subject: NetWare / Files in a Folder **RESEND Message-ID: I'm don't think this made it the first time, so here goes again. Is there anyway to use check_nwstat to count the number of files in a directory on a Netware server? Running NetWare 6.0 SP2, latest mrtgext.nlm 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. This messages and/or attachments have been tested for viruses by Guinevere and Symantec AntiVirus. Although reasonable precautions are taken to assure this e-mail is virusfree, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dan.sargent at webgravity.co.uk Fri Aug 29 18:07:26 2003 From: dan.sargent at webgravity.co.uk (Dan Sargent) Date: Fri, 29 Aug 2003 17:07:26 +0100 Subject: Checking Nagios... In-Reply-To: <3F4F6474.1000309@kontilint.se> References: <3F4F6474.1000309@kontilint.se> Message-ID: <007801c36e47$a6880010$7d65000a@ibnetplc.com> You could use the nrpe plugin to run the check_nagios plugin on the remote PC -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Kalle Andersson Sent: 29 August 2003 15:34 To: Francois Meehan Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Checking Nagios... Francois Meehan wrote: > Hi all, > > Is there a script or utility to check if Nagios is running from another > PC? That would send me an e-mail if Nagios would be down. > > I know the best way would be to have a second instance of Nagios but I > am looking for something simple. > > > Regards, > > Francois > Francois, If both machines are unixes you could use ssh/rsh in order to run 'ps' on the nagios-system and if there is no nagios-process active send an e-mail. Such script would be trivial and you could run it through crontab at whatever interval you'd like. -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 inbound email has been scanned for all viruses by the MessageLabs SkyScan service. For more information, visit http://www.messagelabs.com ________________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spam at nospam.com Fri Aug 29 19:11:42 2003 From: spam at nospam.com (Sto Rage!) Date: Fri, 29 Aug 2003 10:11:42 -0700 Subject: monitoring win2k processes References: <1057609277.17239.49.camel@elvis> Message-ID: How does on use Nagios to restart the failed service being monitored? I have NSClient configured, that lets Nagios know if a service is stopped. But we are unable to figure out how to restart the service remotely from the Nagios server( Linux). Any help? Thanks in advance -G "Francois Meehan" wrote in message news:behglt$qrk$1 at main.gmane.org... > Hi, > > I use a product (freeware) called procmon: http://www.ncomtech.com/download.htm > > When a given process is not running, a trap is sent out. > > From there, on my nagios server, I use snmptrapd/passive check as per Nagios Doc. > > Works like a charm. > > Francois > > > > Bryan Irvine wrote: > > > I have a windows 2000 box (ugh!) running a pretty critical app that is > > also very buggy. The company obviously followed the "Fast, Reliable, > > and cheap, pick any two" track. Anyway, the program dies occasionally. > > No errors no nothing it just vanishes. It's as easy as just double > > clicking it's icon to get it back up and running. Is there a way to > > check if the app is running, and if not either alert me or start the > > program? > > > > I have checked the archives but the sourceforge search thing isn't > > working right now. I think I'm supposed to use the nrpe_nt but does it > > matter that I'm on 2k? and the software is listed as beta, is anyone > > else using it without any problems? > > > > --Bryan > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 19:50:10 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 29 Aug 2003 12:50:10 -0500 Subject: monitoring win2k processes Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EC36@mismail.ena.com> You would need to write an event handler that would be called when the service when down to perform whatever action was necessary to restart the failed service. In your case you would need to devise a way of connecting to your remote windows machine and executing whatever command was necessary to restart the failed service(s). Your method would need to able to be called from a script and require no human interaction to complete. I suppose that it _might_ be possible to use nrpe_nt to accomplish this with your restart script in the plugins directory but YMMV. You wouldn't be using nrpe the way it was designed but rather only as the transport mechanism used by your event handler. -- Marc > -----Original Message----- > From: Sto Rage! [mailto:spam at nospam.com] > Sent: Friday, August 29, 2003 12:12 PM > To: nagios-users at lists.sourceforge.net > > How does on use Nagios to restart the failed service being monitored? > I have NSClient configured, that lets Nagios know if a service is > stopped. > But we are unable to figure out how to restart the service remotely from > the > Nagios server( Linux). > Any help? > Thanks in advance > -G > > > "Francois Meehan" wrote in message > news:behglt$qrk$1 at main.gmane.org... > > Hi, > > > > I use a product (freeware) called procmon: > http://www.ncomtech.com/download.htm > > > > When a given process is not running, a trap is sent out. > > > > From there, on my nagios server, I use snmptrapd/passive check as per > Nagios Doc. > > > > Works like a charm. > > > > Francois > > > > > > > > Bryan Irvine wrote: > > > > > I have a windows 2000 box (ugh!) running a pretty critical app that is > > > also very buggy. The company obviously followed the "Fast, Reliable, > > > and cheap, pick any two" track. Anyway, the program dies > occasionally. > > > No errors no nothing it just vanishes. It's as easy as just double > > > clicking it's icon to get it back up and running. Is there a way to > > > check if the app is running, and if not either alert me or start the > > > program? > > > > > > I have checked the archives but the sourceforge search thing isn't > > > working right now. I think I'm supposed to use the nrpe_nt but does > it > > > matter that I'm on 2k? and the software is listed as beta, is anyone > > > else using it without any problems? > > > > > > --Bryan > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > > Data Reports, E-commerce, Portals, and Forums are available now. > > > Download today and enter to win an XBOX or Visual Studio .NET. > > > http://aspnet.click- > url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: Parasoft > > Error proof Web apps, automate testing & more. > > Download & eval WebKing and get a free book. > > www.parasoft.com/bulletproofapps > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Madea at mdl.com Fri Aug 29 19:55:21 2003 From: J.Madea at mdl.com (Jeremy Madea) Date: Fri, 29 Aug 2003 10:55:21 -0700 Subject: Undocumented feature? Message-ID: Subhendu Ghosh wrote: > On Thu, 28 Aug 2003, Jeremy Madea wrote: > > > > > I'm using 1.1. > > > > I've found that putting a "register" property with a value > of 0 in a > > hostgroup suppresses the hostgroup from display via the > various CGIs. > > However, the hostgroup appears to work normally when used in other > > configuration files. > > > > I think this is a -very- useful feature. Does it work in 2.0? Is it > > documented? (I didn't find anything.) > > > > Was it intentional? (Can I count on it working.) > > > > register=0 makes the definition into a template ... Yes, I know that. Maybe I could have been clearer. The hostgroup -template- still seems to work in, for instance, a service definition even though it isn't registered. It does not, however, show up in the web interface. To see what I mean, create a test host that you don't use elsewhere, a test hostgroup template (i.e. register property is 0) whose only member is the test host, and a test service for that hostgroup. When you restart nagios, the host and service will show up in the "services detail" page but the hostgroup will -not- show up in the "services overview" or other pages. That's the "feature" I'm talking about... and I'm wondering if it continues to work in 2.0 and if I can count on it. -j -- Jeremy Madea Senior Systems Engineer MDL Information Systems ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 29 20:35:12 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Fri, 29 Aug 2003 13:35:12 -0500 Subject: Date options in notifications Message-ID: Shoot me if this is in the manual, I spent 5 minutes looking, but couldn't find it. I am trying to shorten my pager notifications by eliminating extra characters. Currently my notification contains $DATETIME$ which sends me something similar to this Thu Aug 28 08:06:29 CDT 2003 Where can I find formatting options in order to display similar to 08/28/03 08:06:29? Thanks for you help and sorry I didn't rtfm longer. Tim Van Zee ITS Network Specialist Governors State University -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Fri Aug 29 21:06:38 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Fri, 29 Aug 2003 14:06:38 -0500 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. Message-ID: Which version of NRPE are you running on your Nagios server? And which version of NRPE are you running on the monitored hosts? jc -----Original Message----- From: Danny Shurett [mailto:dshurett at alphaomegahosting.com] Sent: Friday, August 29, 2003 9:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake. Just installed nagios on a new RH9 box and now having SSL errors when checking all servers. Any suggestions? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dshurett at alphaomegahosting.com Fri Aug 29 21:10:27 2003 From: dshurett at alphaomegahosting.com (Danny Shurett) Date: Fri, 29 Aug 2003 15:10:27 -0400 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. References: Message-ID: <03b301c36e61$366cd110$6401a8c0@homexp> I recompiled both at 2.0b5 ----- Original Message ----- From: "Carroll, Jim P [PCS]" To: "Danny Shurett" ; Sent: Friday, August 29, 2003 3:06 PM Subject: RE: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake. Which version of NRPE are you running on your Nagios server? And which version of NRPE are you running on the monitored hosts? jc -----Original Message----- From: Danny Shurett [mailto:dshurett at alphaomegahosting.com] Sent: Friday, August 29, 2003 9:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake. Just installed nagios on a new RH9 box and now having SSL errors when checking all servers. Any suggestions? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_White at millipore.com Fri Aug 29 23:50:01 2003 From: Keith_White at millipore.com (Keith_White at millipore.com) Date: Fri, 29 Aug 2003 17:50:01 -0400 Subject: Audible alarms on passive checks Message-ID: Is it normal behavior for there not to be an audible alarm when a passive check goes into a warning or critical state? Is there any way to enable audible alarms for passive checks? Thanks, Keith White -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Sat Aug 30 02:09:04 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 29 Aug 2003 19:09:04 -0500 Subject: nagios server schizophrenia Message-ID: <1062202144.9521.3.camel@localhost> My nagios server wants to send out ALL of its various checks at once (crushing itself under load) - then once the OS finally cleans itself up, it sits near-idle waiting for the next go 'round. Is there a way to encourage it to stagger the checks a little more logically? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Aug 30 02:28:42 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Fri, 29 Aug 2003 17:28:42 -0700 Subject: nagios server schizophrenia In-Reply-To: <1062202144.9521.3.camel@localhost> References: <1062202144.9521.3.camel@localhost> Message-ID: try putting parallelize_check 1 in your service definition. Putting it in the highest level of service definition and deriving all your services from that service. Read here if you havent already. http://nagios.sourceforge.net/docs/1_0/parallelization.html -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of jeff vier Sent: Friday, August 29, 2003 5:09 PM To: nagios-users Subject: [Nagios-users] nagios server schizophrenia My nagios server wants to send out ALL of its various checks at once (crushing itself under load) - then once the OS finally cleans itself up, it sits near-idle waiting for the next go 'round. Is there a way to encourage it to stagger the checks a little more logically? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 02:44:10 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 29 Aug 2003 19:44:10 -0500 Subject: nagios server schizophrenia Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4928@mismail.ena.com> What is your service interleave set to? If you use smart it should spread them out over your normal check interval. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: jeff vier To: nagios-users Sent: Fri Aug 29 19:09:04 2003 Subject: [Nagios-users] nagios server schizophrenia My nagios server wants to send out ALL of its various checks at once (crushing itself under load) - then once the OS finally cleans itself up, it sits near-idle waiting for the next go 'round. Is there a way to encourage it to stagger the checks a little more logically? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jeff.vier at tradingtechnologies.com Sat Aug 30 03:28:44 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 29 Aug 2003 20:28:44 -0500 Subject: nagios server schizophrenia In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D4928@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D4928@mismail.ena.com> Message-ID: <1062206924.9547.58.camel@localhost> On Fri, 2003-08-29 at 19:44, Marc Powell wrote: > What is your service interleave set to? If you use smart it should > spread them out over your normal check interval. It is (and was) set to s(mart). I'm doing like a thousand checks (and needing to add a bunch more), and I think it was just too much for it to handle with unlimited max_concurrent_checks, so I set it to 100 (which I think is very reasonable). It seems happier, now. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From consalus at students.uiuc.edu Sat Aug 30 04:01:57 2003 From: consalus at students.uiuc.edu (Kyle Consalus) Date: Fri, 29 Aug 2003 21:01:57 -0500 (CDT) Subject: inactive IP Message-ID: I just got Nagios all installed and configured with the intention of replacing Big Brother Network Monitor for it. Nagios is quite an impressive piece of software, but I see one big issue affecting it's usefulness to me. I have a good number of IPs that aren't always in use, and I'd like to know when they were last used and various other information. However, if I enter them all in, it clogs up all the diagrams and makes a big pile of red ugliness. Big brother has a 'dialup' setting available for hosts to mark hosts that needn't always be up. Is there a similar setting in Nagios? I was looking through the source code to determine the ease in implementing such a feature. It looks mildly beyond my ability considering my current time constraints. :) The way I envision it: Another area of hosts, we'll call it the 'IP Pool' exists away from the main pages. If one becomes active, it joins the list of normal ones, the statusmap, etc. Once it disconnnects, it goes away, but it is logged. Anyone know if such a feature exists and I'm missing it, or if it's in the works? Just trying to help make a better product. Nagios rules. Kyle ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 30 07:06:40 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sat, 30 Aug 2003 13:06:40 +0800 Subject: Audible alarms on passive checks In-Reply-To: References: Message-ID: <200308301306.44276.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Saturday 30 August 2003 05:50, Keith_White at millipore.com wrote: > Is it normal behavior for there not to be an audible alarm when a passive > check goes into a warning or critical state? Is there any way to enable > audible alarms for passive checks? > > Thanks, > > Keith White You can set the service to be an active and passive service at the same time but have the check_period set to none on the central server to receive the audible alarm. Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/UDDjNgvTa7Hj2AURAqaKAKCET79mpACu5wQl4YpKhcCVFWytLwCgxmOU 3Vlahj/Ed66WCmxf734q618= =y04v -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jburkhardt at a1.net Sat Aug 30 18:57:32 2003 From: jburkhardt at a1.net (=?ISO-8859-1?Q?J=FCrgen_Burkhardt?=) Date: Sat, 30 Aug 2003 18:57:32 +0200 Subject: radius checks and dialin connections Message-ID: <3F50D77C.80906@a1.net> Hi all I?m working for an ISP and I?m looking for a monitoring tool to check the radius servers and also to check dialin connections by a modem . Is it possible to monitor a radius server and the dial in with nagios? thanks for your help J?rgen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null