[Nagios-users] Nagios 3.0 French Documentation
Hi list, Just a quick note to let you know that the Nagios 3.x French Documentation has been released today. There is a html and pdf editions generated from the docbook xml version. It's far from perfect but the french nagios community will support this edition and necessary corrections will be made. You can find those versions and also an english pdf version (generated from docbook xml) at http://doc.nagios-fr.org/ Links are under the "docs disponibles" menu in the right corner The docbook xml code source can be found at http://forge.nagios-fr.org/ Share and enjoy ! -- Olivier JAN http://www.nagios-fr.org/ -- Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] check for the absence of a service
You also have the possibility to use the negate plugin (in offcial plugins). This is an already written wrapper to swap OK and CRITICAL return values ;-) Olivier Jan http://nagios-fr.org Richard Remington a écrit : > Dear Mr. Dippery, The method I use is the check_nmap_scan plug-in by > Serg Belokamen, which I've attached to this email. It is written in > perl and requires that you have nmap installed on your nagios host. > Basically, you define what ports should be open (and not open) on a > given host and then it runs a regular check to see if the ports you > define as open or closed really are open or closed and reports on > discrepancies. Very handy. > > Regards, Richard Remington > Unix Systems Administrator > > Kyle Dippery wrote: >> Is there an easy way to use nagios to check for the absence of a >> service? >> >> I want to have nagios monitor SMTP and a few other services on hosts >> that aren't supposed to be running them, and tell me if they >> suddenly get turned on. >> >> Is there a plugin for this, or a way to trick an existing plugin to >> make it work? I suppose if nothing else I can write a wrapper for >> check_smtp or check_tcp to swap the OK and CRITICAL return values, >> but it'd be much easier if someone else has already done it... >> >> Cheers, >> Kyle -- Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] monitoring temp - cheap and simple
Hi list, pcmeasure.com are the most affordable sensors i've found and they have a open source driver. Olivier http://www.nagios-fr.org Tobias Exner a écrit : > Hi list, > > I'm very new to nagios and I hope someone may give me an advice. > > I'm searching for a cheap solution to monitoring the temperatur of a > room using an ip-sensor. > Of course, it should be usable with existing plugin of nagios. > > Cheap is good enough 'cause it's just to educate myself. > > > Cheers, > > Tobias > > > -- > Crystal Reports - New Free Runtime and 30 Day Trial > Check out the new simplified licensign option that enables unlimited > royalty-free distribution of the report engine for externally facing > server and web deployment. > http://p.sf.net/sfu/businessobjects > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensign option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] RE Nagios and Inventory Application
Hi list, There's also a project called onecmdb (http://www.onecmdb.org/wiki/index.php/Main_Page) that i haven't tried yet. It seems to have a nagios integration Olivier Jan http://nagios-fr.org frank.bourd...@dga.defense.gouv.fr a écrit : > Hi, > > I don't know an inventoring addon/plugin for Nagios. OCS Inventory is > opensource iinventory and deployement software for Windows and Unix like > computers. Try this application, if it's what your search. > > Greetings > > [ENVOYE PAR INTERNET] > > frank.bourd...@dga.defense.gouv.fr > > > > Gonçalo Almeida > 24/03/2009 11:46 > > A > nagios-users@lists.sourceforge.net > cc > > Objet > [Nagios-users] Nagios and Inventory Application > > > > > > > Hi people, > I would like to know if there is some addon/plugin to integrate some > inventory application with nagios. > > Thanks. > > -- > Greetings, > Gonçalo Almeida > -- > Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are > powering Web 2.0 with engaging, cross-platform capabilities. Quickly and > easily build your RIAs with Flex Builder, the Eclipse(TM)based development > software that enables intelligent coding and step-through debugging. > Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are powering Web 2.0 with engaging, cross-platform capabilities. Quickly and easily build your RIAs with Flex Builder, the Eclipse(TM)based development software that enables intelligent coding and step-through debugging. Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Where does nagios keeps data for Reporting/trend/availabiility/...
Hello, You have to backup the nagios logfiles stored by default in /usr/local/nagios/var/archives. Olivier Jan http://nagios-fr.org Jaime Ventura a écrit : > Hello, > Nagios can give you precious information about host/service > trend,availability... > So, I need to backup the files were the data used for reporting is. > Does any one knows which files should I backup? > > Thanks > > Jaime > > > -- > This SF.net email is sponsored by: > SourcForge Community > SourceForge wants to tell your story. > http://p.sf.net/sfu/sf-spreadtheword > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] OpMon.org
Hi list, Same for me on a ubuntu 8.0.4 and nagios 3.0.4. Same version of Apache, MySQL, PHP 5 as Mathieu Olivier Jan Mathieu Gagné <[EMAIL PROTECTED]> a écrit : > I can't load OpCfg's interface. I'm getting those PHP errors: > > Fatal error: Call to a member function isSideBarIncluded() on a > non-object in /usr/local/nagios/share/opcfg/output/output.php on line 535 > > Fatal error: Call to a member function isSideBarIncluded() on a > non-object in /usr/local/nagios/share/opcfg/home.php on line 27 > > $fruity seems to be undefined. In fact, this variable is defined nowhere > except here: > > export.php:28:$fruity = new Fruity(); > includes/sessions.inc:64: $fruity = $_SESSION['fruity']; > includes/sessions.inc:86: $fruity = $_SESSION['fruity']; > templates_import.php:28: $fruity = new Fruity(); > > > Here is some version informations if required: > > Nagios 3.0.4 > PHP 5.2.6 > Apache 2.2.9 > MySQL 5.0.51a > OpCfg 1.0 > > Mathieu > > Dario B. Bestetti (OpServices) wrote: >> Sorry, the website is http://www.opmon.org > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] (no subject)
Joshua, You have to configure the MTA on the nagios box to send the notifications to your exchange server. There's nothing to do in Nagios except having a mail command available to the notification script (mailx on ubuntu). Olivier JAN joshua pereira <[EMAIL PROTECTED]> a écrit : > dear all, > > First i would like to appolagize if this is a repeated ques. Im a > beginer at nagios and linux for that matter. I have a question on > how to setup the notification via email for nagios. Im using nagios > 3.03 on ubuntu 7.04. > > Since i already have an exchange server and have already allow relay > access to that server from my nagios machine, can some wan guide me > on how to configure the notification using sendmail. > > Any help would be much apreciated > > regards > > > Get your new Email address! > Grab the Email name you've always wanted before someone else does! > http://mail.promotions.yahoo.com/newdomains/aa/ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Advanced authentication
I have achieved something like you describe with a Reverse Proxy SSO called Vulture NG (http://vulture.open-source.fr/wiki/). It works really well when you need to authenticate on differents nagios servers (like in a distributed setup). Maybe this can help you Olivier Jan Marc Powell <[EMAIL PROTECTED]> a écrit : > > On Oct 29, 2008, at 10:37 AM, Phillips, Dustin B (DBphillips) wrote: > >> >> Thanks for the replies. >> >> Ultimately what we would like to do is authenticate the user via >> another >> website that we already use as a "single sign-on" portal for other web >> applications. Once they're logged in there, we would pass their >> username >> over to Nagios via URL querystring or hidden form value, etc (not >> going for >> maximum security). On the Nagios server we would use PHP to >> populate the >> REMOTE_USER Apache ENV variable with the passed username so that >> Nagios can >> compare that to the contacts and provide them with their applicable >> views. > > > You can pass htaccess authentication as part of the URL but I don't > know if it's sticky for links accessed from that page -- > > http://username:[EMAIL PROTECTED] > > I'm not aware of other methods to transparently pass it but they may > exist. htaccess has been around for quite a long time. > > -- > Marc > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] latency problem
Andreas, I've just finished the tests :-) The standard configuration doesn't work for me as i told in previous message. So i've tried the send_nsca you provide with the module and it works fine. The only drawback i see (correct me if i'm wrong) is that the module doesn't send performance data for services (so i can't use it for now). What is really cool in my case is that the latency has gone (0.219 sec for now compare to the 5000 sec before). So the problem is solved. So, for the moment, i'm using the OCP_daemon to handle the oc[hs]p commands (and it seems to just work fine) but i would rather use your module in the long term. The approach is by far more elegant than using performance configuration for the commands. So if you want to go ahead and developp it further, i would gladly help you release a production ready version of it. pnsca would be a must have in large environments like mine. Thanks for you kind help and thanks to Hendrik for pointing me in the right direction. Olivier Jan Andreas Ericsson <[EMAIL PROTECTED]> a écrit : > Olivier, did you get anywhere with this, or haven't you had time to > look at it yet? > > If you want, I could log into the system and see if I can find out > what's wrong. If that's not an option, contact me off-list and I'll > arrange for some faster-feedback medium through which I can better > help you resolve your problems. > > I'm rather anxious to see how the broker module works in such a > large environment :-) > > Andreas Ericsson wrote: >> Olivier JAN wrote: >>> I'm surely missing a point because the master server doesn't >>> receive checks results. i put this line in nagios.cfg without >>> quote. >>> >>> broker_module=/usr/local/nagios/lib/pnsca.so >>> /usr/local/nagios/libexec/send_nsca -H 10.10.10.10 -c >>> /usr/local/nagios/etc/send_nsca.cfg >>> >>> I also tried with quotes without success. Any idea ? >>> >> >> "grep pnsca nagios.log" should produce: >> [1222364357] Event broker module '/usr/local/nagios/lib/pnsca.so' >> initialized successfully. >> >> If you don't have that, decipher the error messages in >> the log until you get it. >> >> If you're already getting that, but it doesn't work >> anyway, you can try using the shipped send_nsca script >> instead of the one on your system. If you change the >> third line of it to say "cat > /tmp/pnsca.out", all the >> host and service check results the module receives from >> Nagios will be dumped to /tmp/pnsca.out (worst case >> scenario, you could actually do >> tail -f /tmp/pnsca.out | send_nsca -f send_nsca.cfg >> and get pretty much the same benefit, but Nagios will >> crash when /tmp/pnsca.out gets larger than 4GB). >> >> It's also a rather good idea to make sure that send_nsca >> is always running (use Nagios and check_procs for this). >> With pnsca in place, you should always have exactly one >> send_nsca process running on your system. If that one dies, >> you need to restart Nagios (until I've got time to add some >> sort of clever process control in the module, anyways). If >> you have too many, something else is going wrong, so you'll >> need to check that up manually. >> >> Thanks for testing, and good luck :) >> > > > -- > Andreas Ericsson [EMAIL PROTECTED] > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] latency problem
I'm surely missing a point because the master server doesn't receive checks results. i put this line in nagios.cfg without quote. broker_module=/usr/local/nagios/lib/pnsca.so /usr/local/nagios/libexec/send_nsca -H 10.10.10.10 -c /usr/local/nagios/etc/send_nsca.cfg I also tried with quotes without success. Any idea ? Thanks Olivier Jan Hendrik Bäcker <[EMAIL PROTECTED]> a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Olivier JAN schrieb: >> It seems that oc[hs]p is the one to blame for performance issue i >> related. I've restarted nagios without those two commands >> activated. Nagios has done so far about 10 000 checks and has now a >> latency of 0.055 sec. >> >> So i'm decided to give pnsca module a try. It's already compiled >> and installed in /usr/local/nagios/lib but i would like some >> precisions about how to configure it in nagios.cfg. >> >> Below is what i've already done in it. >> >> obsess_over_services=0 obsess_over_hosts=0 event_broker_options=-1 >> broker_module=/usr/local/nagios/lib/pnsca.so >> > You should leave the global broker_options to "-1" cause sometimes in > the future there might come another module that wants to have more. > The pnsca.so is smooth enough to register only the needed things to > the core. >> Looks correct for you ? Maybe there is a setting more accurate for >> the broker options rather than everything ? >> >> For now, i'm calling send_nsca like that submit_check_result >> "$HOSTNAME$" "$SERVICEDESC$" "$SERVICESTATEID$" "$SERVICEOUTPUT$ | >> $SERVICEPERFDATA$" The submit_check_result script is the usual one >> with the pipe to send_nsca. With those infos, could you give me an >> example of what is expected in . I'd be ready to >> go with pnsca after that and will give the conclusion of the test >> here. >> > = /path/to/send_nsca > > broker_module=/usr/local/nagios/lib/pnsca.so > /usr/local/nagios/bin/send_nsca -H /central_server/ -c > /usr/local/nagios/etc/send_nsca.cfg > > The rest of needed information is gathered by the pnsca module but I > am not sure if the whole command should be within " " or not. Just > give it a try without quotes. > > - - > Hendrik > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFI2543lI0PwfxLQjkRAs9yAJ9BrcpWX4LHrniON8oUaxs0SS40mQCfVY8R > he5LYEPyZBRMPQNtuQ9VOUk= > =ltwL > -END PGP SIGNATURE- > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] latency problem
It seems that oc[hs]p is the one to blame for performance issue i related. I've restarted nagios without those two commands activated. Nagios has done so far about 10 000 checks and has now a latency of 0.055 sec. So i'm decided to give pnsca module a try. It's already compiled and installed in /usr/local/nagios/lib but i would like some precisions about how to configure it in nagios.cfg. Below is what i've already done in it. obsess_over_services=0 obsess_over_hosts=0 event_broker_options=-1 broker_module=/usr/local/nagios/lib/pnsca.so Looks correct for you ? Maybe there is a setting more accurate for the broker options rather than everything ? For now, i'm calling send_nsca like that submit_check_result "$HOSTNAME$" "$SERVICEDESC$" "$SERVICESTATEID$" "$SERVICEOUTPUT$ | $SERVICEPERFDATA$" The submit_check_result script is the usual one with the pipe to send_nsca. With those infos, could you give me an example of what is expected in . I'd be ready to go with pnsca after that and will give the conclusion of the test here. Thanks for your help and support. Olivier Jan Andreas Ericsson <[EMAIL PROTECTED]> a écrit : > Hendrik Bäcker wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Olivier JAN schrieb: >>> Hi list, >>> >>> I get some latency problems i can't explain. Here's the story. >>> >>> Nagios 3.0.3 on Ubuntu 8.0.4. Hardware is an intel quad core with >>> 10 Go Ram and fast disks. I get 24524 services on 1654 hosts to >>> check. Services are mostly active-passive with a check intervall of >>> 6 hours. check_intervall for hosts is 0 so Nagios make them only on >>> demand. No broker module activated. ocsp and ochp are activated >>> because this server is part of a distributed system. Nagios debug >>> is activated. Some configuration options i have. >> OS[C/H]P in such a big environment might be a bottle neck. The givven >> commands are executed after every single atomic check. It might be an >> alternative to build an eventbroker that can do the same job a little >> bit faster. >> There was a first step for that on www.op5.org - but actual I can't >> find it. Please have a look at the nagios-devel archive for a post >> from Andreas Ericsson past the last 3 or 4 weeks. > > You're looking for http://www.op5.org/nagios/merlin.git, which is > far from ready for production. > > In the mean-time, try using the pnsca module. Please note that the > module is extremely careless with error checking. It was written as > an example only, but it will most likely reduce your check latency > to near-zero when it works properly. > > You'll find the git repository for the pnsca module at > git://www.op5.org/nagios/pnsca.git. There are no snapshots for now, > but at http://www.op5.org/git you'll find instructions for how to > download the latest code using git. > > Once the module is built (just type 'make'), you need to tell > Nagios about it. Do so by adding this to your nagios.cfg file: > >event_broker_module=/path/to/pnsca.so > > Where is what you'd run to get send_nsca > to accept check-results as input on stdin and send them to > your master server. You also need to disable your OSCP and > OHCP commands, as pnsca will take care of sending the results > instead, thereby reducing the workload of the Nagios server > and (hopefully) eliminating your latency issues. > > Let me know if you run into problems and I'll try to help you as > best I can. > > -- > Andreas Ericsson [EMAIL PROTECTED] > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications wi
Re: [Nagios-users] latency problem
Thanks Hendrik for response. The large installation tweaks are on. The macros are disabled. auto_reschedule_checks is off. Retention state and scheduling are on. The average check_interval is about 4 hours because services are both active-passive. They were before only passive but freshness checking was a problem because they are not balanced like active ones. So i use now active checks for freshness checking of services that are mostly passive. (they can receive events at any time). Not to confusing i hope ;-) But what's really strange is the average latency value shown in performance screen. In the debug log, latency given for each service checked indicates only one to ten seconds. And like i told in first message, it looks that they are checked in time according to the scheduling queue screen. I'm going to test things you mentioned in your reply. Olivier Jan Hendrik Bäcker <[EMAIL PROTECTED]> a écrit : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Olivier JAN schrieb: >> Hi list, >> >> I get some latency problems i can't explain. Here's the story. >> >> Nagios 3.0.3 on Ubuntu 8.0.4. Hardware is an intel quad core with >> 10 Go Ram and fast disks. I get 24524 services on 1654 hosts to >> check. Services are mostly active-passive with a check intervall of >> 6 hours. check_intervall for hosts is 0 so Nagios make them only on >> demand. No broker module activated. ocsp and ochp are activated >> because this server is part of a distributed system. Nagios debug >> is activated. Some configuration options i have. > OS[C/H]P in such a big environment might be a bottle neck. The givven > commands are executed after every single atomic check. It might be an > alternative to build an eventbroker that can do the same job a little > bit faster. > There was a first step for that on www.op5.org - but actual I can't > find it. Please have a look at the nagios-devel archive for a post > from Andreas Ericsson past the last 3 or 4 weeks. >> >> service_inter_check_delay_method=s service_interleave_factor=s >> host_inter_check_delay_method=s max_concurrent_checks=0 >> max_service_check_spread=240 check_result_reaper_frequency=2 >> max_check_result_reaper_time=30 >> > What about "use_large_installation_tweaks" ? > Do you have disabled env_macro processing? >> I tried to "play" with those options without success. Latency keeps >> growing whatever i tried. What is strange is the fact that in the >> performance screen i see that MetricMin.Max.Average Check >> Execution Time: 0.00 sec15.01 sec0.888 sec Check > Latency:0.00 >> sec10191.24 sec4924.060 sec Percent State Change:0.00% > 18.36% >> 0.24% >> > Ouch! 82 Minutes average Latency? This means an object becomes checked > 82 minutes later than it should be checked - your monitoring is > disaffected. >> and that in the scheduling queue, i see that at 9:45. SERVER >> PRINT_ERROR25-09-2008 03:45:3225-09-2008 09:45:32Normal ENABLED >> Disable Active Checks Of This Service Re-schedule This Service >> Check >> >> It seems that services are corrrectly scheduled despite the latency >> i see in the performance screen. /usr/local/nagios/bin/nagios -s >> /usr/local/nagios/etc/nagios.cfg tells me that everything is fine >> and have no suggestion for me. >> >> > >> So i'm a bit lost. Which screen is right ? The performance one that >> indicates the 4924 sec latency or the scheduling one that tells me >> the checks are made in time. What do you think of that ? How can >> the latency be so high when nagios needs to make only 1 or 2 >> checks/seconds ? Is there anything wrong in my setup ? >> > Have a look at "/path/to/nagios/bin/nagiostats | grep Latency" and you > now the ugly truth about the runtime latency. > But indeed with an average service checkinterval (17333 seconds) there > are not so many checks in parallel but the first thing nagios wants > to: check anything configured and after having a actual status > re-schedule checks as the should be. > What about nagios.cfg directives like: > > retain_state_information > use_retained_scheduling_info > auto_reschedule_checks > auto_rescheduling_interval > auto_rescheduling_window > (The auto rescheduling windows should performe a better balance of the > scheduling queue) > > Why do you have such a big average check interval (~ 4 hours) ? > > Regards, > Hendrik > > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.7 (MingW32) > > iD8DBQFI23CqlI0PwfxLQjkRAsLhAJ47AIovBh3BJegfu5wV/M5lYUrxzACdG
[Nagios-users] latency problem
Hi list, I get some latency problems i can't explain. Here's the story. Nagios 3.0.3 on Ubuntu 8.0.4. Hardware is an intel quad core with 10 Go Ram and fast disks. I get 24524 services on 1654 hosts to check. Services are mostly active-passive with a check intervall of 6 hours. check_intervall for hosts is 0 so Nagios make them only on demand. No broker module activated. ocsp and ochp are activated because this server is part of a distributed system. Nagios debug is activated. Some configuration options i have. service_inter_check_delay_method=s service_interleave_factor=s host_inter_check_delay_method=s max_concurrent_checks=0 max_service_check_spread=240 check_result_reaper_frequency=2 max_check_result_reaper_time=30 I tried to "play" with those options without success. Latency keeps growing whatever i tried. What is strange is the fact that in the performance screen i see that Metric Min.Max.Average Check Execution Time: 0.00 sec15.01 sec 0.888 sec Check Latency: 0.00 sec10191.24 sec4924.060 sec Percent State Change: 0.00% 18.36% 0.24% and that in the scheduling queue, i see that at 9:45. SERVER PRINT_ERROR 25-09-2008 03:45:32 25-09-2008 09:45:32 Normal ENABLED Disable Active Checks Of This Service Re-schedule This Service Check It seems that services are corrrectly scheduled despite the latency i see in the performance screen. /usr/local/nagios/bin/nagios -s /usr/local/nagios/etc/nagios.cfg tells me that everything is fine and have no suggestion for me. HOST SCHEDULING INFORMATION --- Total hosts: 1654 Total scheduled hosts: 0 Host inter-check delay method: SMART Average host check interval: 0.00 sec Host inter-check delay: 0.00 sec Max host check spread: 360 min First scheduled check: N/A Last scheduled check:N/A SERVICE SCHEDULING INFORMATION --- Total services: 24524 Total scheduled services: 23739 Service inter-check delay method: SMART Average service check interval: 17331.08 sec Inter-check delay: 0.61 sec Interleave factor method: SMART Average services per host: 14.83 Service interleave factor: 15 Max service check spread: 240 min First scheduled check: Thu Sep 25 10:07:13 2008 Last scheduled check: Thu Sep 25 14:07:15 2008 CHECK PROCESSING INFORMATION Check result reaper interval: 2 sec Max concurrent service checks: Unlimited PERFORMANCE SUGGESTIONS --- I have no suggestions - things look okay. So i'm a bit lost. Which screen is right ? The performance one that indicates the 4924 sec latency or the scheduling one that tells me the checks are made in time. What do you think of that ? How can the latency be so high when nagios needs to make only 1 or 2 checks/seconds ? Is there anything wrong in my setup ? Thanks in advance for any advice or info you could give. Olivier Jan - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Is there any way to know who are logged in ?
Hi, The command "last" is also pretty cool to know who's connected at a time but also who was connected. Olivier JAN "J. Bakshi" <[EMAIL PROTECTED]> a écrit : > Assaf Flatto wrote: >> you can use the check_with_ssh to execute the `who ` or `w` command >> - those will show you who is >> logged on to the machine at the time . >> >> Assaf >> > > Hi Assaf, > Great. > yes that will also work. Thanks for the clue. I'll do it. But still I > would be good if nrpe could do that. > anyways thanks for the practical solution. > have a nice time >> >> On Friday 05 September 2008 07:08:12 [EMAIL PROTECTED] wrote: >> >>> Good question! I have the same question in my mind and need to know the >>> answer for it. >>> >>> Thanks >>> -Shankar >>> >>> On Fri, Sep 5, 2008 at 12:23 PM, J. Bakshi <[EMAIL PROTECTED]> wrote: >>> >>>> Good morning, >>>> >>>> Hope all are well. >>>> I am using check_users to see the total logged in users. But I am very >>>> eager to know any possibility to check the >>>> logged in users too [ who are presently logged in ]. >>>> Any way to do that ? >>>> many thanks >>>> >>>> -- >>>> ~~ >>>> Joydeep Bakshi, Linux System Admin >>>> Kolkatainfoservices Pvt Ltd, >>>> 23A Royd Street, Kolkata 700016, India >>>> Work Phone 91 033 40014784 >>>> http://infoservices.in/ >>>> ~~~ >>>> >>>> >>>> - >>>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>>> challenge >>>> Build the coolest Linux based applications with Moblin SDK & win great >>>> prizes >>>> Grand prize is a trip for two to an Open Source event anywhere in the >>>> world http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>>> ___ >>>> Nagios-users mailing list >>>> Nagios-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> >>>> ::: Please include Nagios version, plugin version (-v) and OS when >>>> >>>> reporting any issue. >>>> >>>> ::: Messages without supporting info will risk being sent to /dev/null >>>> >> >> >> >> >> >> >> IMPORTANT . this email and the information in it may be >> confidential, legally >> privileged and/or protected by law. It is intended solely for the use of the >> person to whom it is addressed. If you are not the intended >> recipient, please >> notify the sender immediately and do not disclose the contents to any other >> person, use it for any purpose, or store or copy the information in >> any medium. >> Please also delete all copies of this email and any attachments from your >> system. >> >> We cannot guarantee the security or confidentiality of email >> communications. We >> do not accept any liability for losses or damages that you may suffer as a >> result of your receipt of this email including but not limited to computer >> service or system failure, access delays or interruption, data >> non-delivery or >> mis-delivery, computer viruses or other harmful components. >> >> Copyright in this email and any attachments belong to Select >> Service Partner UK >> Limited. Should you communicate with anyone at Select Service >> Partner UK Limited by >> email, you consent to us monitoring and reading any such correspondence. >> >> Nothing in this email shall be taken or read as suggesting, proposing or >> relating to any agreement concerted practice or other practice that could >> infringe UK or EC competition legislation. >> >> Select Service Partner UK Limited is a company registered in >> England and Wales >> (company number 05687183) whose registered office is at 1 The >> Heights, Brooklands, Weybridge. Surrey. KT13 0NY >> >> >> >> - >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win >> great prizes >> Grand prize is a trip f
Re: [Nagios-users] collectd or cacti
Hi, I think those are not quite the same. Collectd is rahter a collection of metrics tool and cacti intends to be a complete solution for rrdtool. Collectd is based on the push (passive) model where each node push its data to at least one central server. Collectd doesn't have any decent frontend. You must use drraw or cacti to graph the datas collected. Also rrd databases are just a option to store the data among others (e.g csv). You can have collects frequencies you can't achieve with an active model (every 10 seconds or less if you want) Cacti is based on a polling model (active pull). It collects, store and graph the datas. Conclusion : you can use both rather than one or one. Olivier http://nagios-fr.org "Marcelo M. Garcia" <[EMAIL PROTECTED]> a écrit : > Hi > > Is anybody using collectd or cacti? I would like some feedback about on > why choose one or another. Maybe in a not so near future use with Nagios. > > I tried Ganglia but it doesn't seems very easy to configure or that it > must runs in a separated network, like a cluster. > > Regards > > Marcelo > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] nrpe/nsca or check_by_ssh
Hi all, NRPE is for active checks and NSCA for passive ones. So you can use NRPE instead of SSH. Olivier Jan http://nagios-fr.org "J. Bakshi" <[EMAIL PROTECTED]> a écrit : > Dear list, > > I really need some suggestions/guideline regarding monitoring remote > server by nagios. > > I have found three different ways to monitor remote hosts > > 1> NRPE > 2> NSCA > 3> check_by_ssh > > As I have already read at the manual that check_by_ssh gives load on > the monitoring machine's CPU > So the other alternative is either NRPE or NSCA. What is the difference > between these two ? > There are some manuals which may have some in depth details on these but > I am locking for a direction/hints > based on which my study will continue. > Any hints/links/suggestion are always welcome. > > with best regards, > > -- > ~~ > Joydeep Bakshi, Linux System Admin > Kolkatainfoservices Pvt Ltd, > 23A Royd Street, Kolkata 700016, India > Work Phone 91 033 40014784 > http://infoservices.in/ > ~~~ > > > - > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] question about active and passive logic
Hi list, What is the difference, if any between, a active check that can also receive passive controls and a passive check with freshness_threshold ? Example : active check check_period24x7 max_check_attempts 5 normal_check_interval 240 retry_check_interval1 active_checks_enabled 1 passive_check_enabled 1 check_command check_dummy!0!No messages in last 6 hours passive check check_period24x7 normal_check_interval 240 active_checks_enabled 0 passive_check_enabled 1 check_freshness 1 freshness_threshold 240 check_command check_dummy!0!No messages in last 6 hours Thanks Olivier - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] Nagios 3.0 startup performance
Hi guys, You'll find enclosed a test i've done on 3 differents Nagios 3 server. Would be nice if anyone can help me explain such big differences between servers in results. All configurations details are in the file atatched. test have be done with command : /usr/local/nagios/bin/nagios -vps /usr/local/nagios/etc/nagios.cfg Thanks Olivier Jan http://nagios-fr.org becnhmarks2.pdf Description: Adobe PDF document - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Checking http with forms and login
Hi, Webinject can do such things and has an output formatted for Nagios. You can use it as a standard Nagios plugin. Olivier Jan "Dirk H. Schulz" <[EMAIL PROTECTED]> a écrit : > Hi folks, > > I have searched nagiosexchange and the list archives, but found nothing > appropriate. > > I would like to be able to check web sites that you have to log into with > name and password. Is there a plugin that can do that? Has anybody ever > found a solution to this? > > Any hint or help will be appreciated. > > Thanks, > > Dirk > > - > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] nagios and mod_fastcgi
Hi list, I was wondering if anyone has tried to setup Nagios cgis to use mod_fastcgi with Apache2 ? Is it makeable ? Are nagios cgis faster under mod_fastcgi ? ... Any feedback would help Olivier Jan http://nagios-fr.org - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] question regarding notification logic
Hi list, I have services checks scheduled every 4 hours but want to have a notification interval of 1 hour. It seems that it can't be done in Nagios because of the notification logic. Nagios sends notification only after a check. Also a check that is made once a day bu customers want to be re-notify every 1 hour as a reminder that the problem is not solve. As anyone achieves sucessfully a scenario like the ones above ? Thanks Olivier Jan - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] web interface access and authorization
Hi list, I have a question regarding web interface authorization with nagios 3. What i understood is that - you can have peoples not in contact for a host or service that can view all hosts and services but cannot issue commands for them (wiht right permissions). - You can have peoples define as contact for a host or service than can view and command all hosts and services for which they are contact. The questions are : Can you have people as contact for host and service that can view those hosts and services but CANNOT issue command on them. How can i achieve this ? Can you have people not define as contact for a host and service to see only certains hostgroups or servicegroups and don't issue commands on them ? Hope it's clear enough for you guys ;-) Thanks for any suggestions Olivier Jan http://nagios-fr.org - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Nuvola for Nagios 3
I use it without problem with Nagios 3 Regards Olivier "Ronaldo A. Bueno Filho" <[EMAIL PROTECTED]> a écrit : > Hey guys! > > I was looking for images to use on my Web interface (CGI). So, I > found Nuvola Style on NagiosExchange.org. I did'nt see a reference > for Nagios 3. > > Can I use it for Nagios 3? If no, Do you know other style like Nuvola > available for Nagios 3? > > Regards, > > -- > Ronaldo A. Bueno Filho > - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Objects configuration files missing
Hi Guy-Serge, make install-config is the command to install the examples config files as indicated during the compilation and in the manual. -- Olivier JAN NTOUGHE GUY-SERGE <[EMAIL PROTECTED]> a écrit : > > > Hi every body, > > I recently installed nagios, but after configuration et compilation, > i noticed that thereis no samples config files: > (hosts,hostgroup,contacts, contactsgroups.) > > > > Does it necessary to recompil the application or i forgotten > something in the requirements ? > > regards > > [EMAIL PROTECTED] > _ > News, entertainment and everything you care about at Live.com. Get it now! > http://www.live.com/getstarted.aspx - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
[Nagios-users] french nagios site
Hi! Information in english : Like the nagios plugin team and his new website, the french speaking nagios community has also a new website on http://nagios-fr.org. Here you'll find at the moment news and technical reference about nagios in french. You can meet me at the nagios konferenz about questions on this project. Information in french : J'ai démarré un nouveau site autour de Nagios et de la supervision sur http://nagios-fr.org et j'espère qu'il deviendra le rendez-vous de la communauté francophone nagios. Vous y trouverez pour l'instant un blog que je maintiens et un wiki. Ce domaine espérant devenir le vôtre, vous pouvez vous enregistrer et poster des commentaires dans le blog ainsi que ajouter,modifier des articles dans le wiki. Ceux qui souhaiterait prendre un rôle dans la tenue de nagios-fr.org de façon plus formelle peuvent me contacter par le formulaire de contact du site. Vous pouvez aussi me rencontrer lors de la Nagios Konferenz à laquelle j'assisterai cette semaine. A bientôt sur nagios-fr.org See you soon on nagios-fr.org Olivier Jan - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null
Re: [Nagios-users] Monitoring unix (SUN) logfiles...
Hi, You should give a try to SEC (Simple Event Correlator) for monitoring log files on unix. It's not an active plugin but you can use this great parser in a passive fashion with Nagios. I think it's make more sense to passively check log files. First, you are alerted in real time, not on the polling intervall you set. Second, You don't poll for nothing. And third, you can do some event correlation with this perl program Olivier Jan "Marc Powell" <[EMAIL PROTECTED]> Ecrivait: > > >> -Original Message- >> From: [EMAIL PROTECTED] [mailto:nagios-users- >> [EMAIL PROTECTED] On Behalf Of Fabio Iovine >> Sent: Monday, October 08, 2007 9:09 AM >> To: nagios-users@lists.sourceforge.net >> Subject: [Nagios-users] Monitoring unix (SUN) logfiles... >> >> hi folks, >> I read on the website among the features Nagios can monitor log files > but >> I was unable to find more precise informations on how it does the >> monitoring. > > Two scripts are distributed with the plugins -- check_log.sh and > contrib/check_log2.pl. Both can search for the presence, or absence in > the case of log2.pl, of strings within specified log files. Run them > with -h for usage information. > >> can someone please tell me where I can find these informations? > > Google's always a good source if the usual suspects aren't helpful. > >> more, I'd like to understand whether Nagios can monitor file > existence? >> can someone help on this? > > If you can determine status from the command line then nagios can do it. > Your question really is, has someone created a plugin to do so. I don't > see any obvious hits on http://nagiosexchange.org but you should search > yourself. A quick search of google for 'nagios check file exists' shows > some talk about such a test but no actual plugin, but you should search > for yourself. Alternately, this should be a very simple and > straightforward plugin to write and would be a great exercise in > understanding nagios plugins. A very very basic, one-line plugin might > look something like -- > > #!/bin/sh > > if [ -f /path/to/file ]; then echo "OK: File exists and is a regular > file"; exit 0; else echo "CRITICAL: File not found or is irregular > (galactic collision occurred)"; exit 2; fi > > http://nagiosplug.sourceforge.net/developer-guidelines.html#AEN78 has > more information on writing plugins. For the simplest of plugins you > really only need to exit with one line of text and the proper return > code. > > -- > Marc > > - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > ___ > Nagios-users mailing list > Nagios-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ ___ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null