Re: [Nagios-users] JVM Monitoring
On Fri, 2010-12-17 at 11:19 +0100, Joerg Linge wrote: > Am 17.12.10 08:19, schrieb Marc-André Doll: > > On Thu, 2010-12-16 at 22:41 +, Jim Avery wrote: > >> On 16 December 2010 19:04, Paul M. Dubuc wrote: > >>> I was just looking at the web page for check_jmx4perl at > >>> > >>> http://exchange.nagios.org/directory/Plugins/Java-Applications-and-Servers/check_jmx4perl/details > >>> > >>> It says that it requires "No Java installation required on the Nagios > >>> host". > >>> > >>> Is this not true? > > > > Hi, > > > > Yes it is true. You don't need to install Java on your Nagios server to > > use check_jmx4perl. You just have to deploy a .war on your TomCat (and > > certainly GlassFish, I didn't try it) servers and then you just have to > > send some HTTP request to your server to obtain readings about your JVM. > > > > That's why I choose it. But for now, it seems it is only capable to > > check Java on JEE servers and not Java on its own as I need right now. > > Hi Marc, > > the jmx4perl agent is now called jolokia > > http://labs.consol.de/lang/de/jolokia/ > http://www.jolokia.org/ > > There is also an JVM Agent which can be used with Sun Java 6+ > > http://www.jolokia.org/agent/jvm.html > > Joerg Hi all, I know the thread is a little out-dated but I found this quite interesting in order to supervise JVM without agent and with SNMP. http://download.oracle.com/javase/7/docs/technotes/guides/management/snmp.html You have to restart your JVM and open some TCP port but it doesn't jeopardize your system by deploying a new application. Marc-André -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] What happened during night for services that failed and timeperiod was off
On Mon, Jan 31, 2011 at 9:21 AM, Tntteam wrote: > Hello there, > > I'm wondering if there is a way to make nagios send notification for > services which failed during non notification timeperiod ? > > I mean if I define a service with a timeperiod for ntifications from > 7am to 7pm, and the service fails at 4am, there will be no > notification sent unless I set up a resend notification interval. > > There are services that doesn't need a resend plus I want all missed > notification to be sent at 7am. > > Like a night notification digest, or "what happened from 7pm to 7 am" > to be sent at 7am, when the service enters in the notification_send > period. > > > > Any ideas ? > We use two notification types, One that forwards into our alerting system and one that emails... Oonly the one that goes to alerts is scheduled to be down out of hours... so we can see the notification emails in the morning. you could have two different email address or have a different command for the OOH emails that adds a different heading / comes from a different local user etc... Ritchie -- Fnord... <-- http://23.me.uk --> <-- http://wiki.s23.org --> <-- http://twitter.com/23me --> <- -Only the lavender prairie dogs know the key to unlock the secret of the tumble-weeds. --> > Thanks > > -- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > ___ > 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 > -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] What happened during night for services that failed and timeperiod was off
I found a solution based on summary.cgi I think i'll use custom time range to recover hard states from the night in a html file then send it via email each morning. Sry for my bad english Mark Elsen I think ur making a joke on my sentence but I don't understand it :( Cheers 2011/1/31 Breandan Dezendorf : > Perhaps write a script to calculate the timestamps for the > non-notification window, grep through the nagios.log, looking for > HARD/CRITICAL events for the services in question, and then > individually run the notification processes within the script? > > Any way you slice it, I can't think of a clean way to do it. > > On Mon, Jan 31, 2011 at 10:01 AM, dave stern - e-mail.pluribus.unum > wrote: >> I'd try to write a wrapper for an event handler that checked >> the time and kept a log. A morning cron could then check >> for presence of the log and if it exists, email to you >> >> On Mon, Jan 31, 2011 at 9:46 AM, Tntteam wrote: >>> Hello there, >>> >>> I'm wondering if there is a way to make nagios send notification for >>> services which failed during non notification timeperiod ? >>> >>> I mean if I define a service with a timeperiod for ntifications from >>> 7am to 7pm, and the service fails at 4am, there will be no >>> notification sent unless I set up a resend notification interval. >>> >>> There are services that doesn't need a resend plus I want all missed >>> notification to be sent at 7am. >>> >>> Like a night notification digest, or "what happened from 7pm to 7 am" >>> to be sent at 7am, when the service enters in the notification_send >>> period. >>> >>> >>> >>> Any ideas ? >>> >>> Thanks >>> >>> -- >>> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >>> Finally, a world-class log management solution at an even better price-free! >>> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >>> February 28th, so secure your free ArcSight Logger TODAY! >>> http://p.sf.net/sfu/arcsight-sfd2d >>> ___ >>> 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 >>> >> >> -- >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> ___ >> 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 >> > > > > -- > Breandan Dezendorf > brean...@dezendorf.com > bwdez...@gmail.com > > -- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > ___ > 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 > -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] What happened during night for services that failed and timeperiod was off
On 01/31/2011 10:21 AM, Tntteam wrote: > Hello there, > > I'm wondering if there is a way to make nagios send notification for > services which failed during non notification timeperiod ? > > I mean if I define a service with a timeperiod for ntifications from > 7am to 7pm, and the service fails at 4am, there will be no > notification sent unless I set up a resend notification interval. > > There are services that doesn't need a resend plus I want all missed > notification to be sent at 7am. > > Like a night notification digest, or "what happened from 7pm to 7 am" > to be sent at 7am, when the service enters in the notification_send > period. > The easiest way would be to parse your status_file and see which objects changed to a hard non-OK state less than 12 hours ago, formatting the found objects neatly and sending the resulting text as an email to whoever is interested. For bonus points, make the script also parse objects.cache and send each contact a bulk notification about "their" hosts and services. -- Andreas Ericsson andreas.erics...@op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] What happened during night for services that failed and timeperiod was off
Perhaps write a script to calculate the timestamps for the non-notification window, grep through the nagios.log, looking for HARD/CRITICAL events for the services in question, and then individually run the notification processes within the script? Any way you slice it, I can't think of a clean way to do it. On Mon, Jan 31, 2011 at 10:01 AM, dave stern - e-mail.pluribus.unum wrote: > I'd try to write a wrapper for an event handler that checked > the time and kept a log. A morning cron could then check > for presence of the log and if it exists, email to you > > On Mon, Jan 31, 2011 at 9:46 AM, Tntteam wrote: >> Hello there, >> >> I'm wondering if there is a way to make nagios send notification for >> services which failed during non notification timeperiod ? >> >> I mean if I define a service with a timeperiod for ntifications from >> 7am to 7pm, and the service fails at 4am, there will be no >> notification sent unless I set up a resend notification interval. >> >> There are services that doesn't need a resend plus I want all missed >> notification to be sent at 7am. >> >> Like a night notification digest, or "what happened from 7pm to 7 am" >> to be sent at 7am, when the service enters in the notification_send >> period. >> >> >> >> Any ideas ? >> >> Thanks >> >> -- >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> ___ >> 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 >> > > -- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > ___ > 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 > -- Breandan Dezendorf brean...@dezendorf.com bwdez...@gmail.com -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] What happened during night for services that failed and timeperiod was off
Ok thanks for the idea (sry for double mail, I thought the first one didn't work). I'll try to write something like that using the doc http://nagios.sourceforge.net/docs/3_0/eventhandlers.html 2011/1/31 dave stern - e-mail.pluribus.unum : > I'd try to write a wrapper for an event handler that checked > the time and kept a log. A morning cron could then check > for presence of the log and if it exists, email to you > > On Mon, Jan 31, 2011 at 9:46 AM, Tntteam wrote: >> Hello there, >> >> I'm wondering if there is a way to make nagios send notification for >> services which failed during non notification timeperiod ? >> >> I mean if I define a service with a timeperiod for ntifications from >> 7am to 7pm, and the service fails at 4am, there will be no >> notification sent unless I set up a resend notification interval. >> >> There are services that doesn't need a resend plus I want all missed >> notification to be sent at 7am. >> >> Like a night notification digest, or "what happened from 7pm to 7 am" >> to be sent at 7am, when the service enters in the notification_send >> period. >> >> >> >> Any ideas ? >> >> Thanks >> >> -- >> Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! >> Finally, a world-class log management solution at an even better price-free! >> Download using promo code Free_Logger_4_Dev2Dev. Offer expires >> February 28th, so secure your free ArcSight Logger TODAY! >> http://p.sf.net/sfu/arcsight-sfd2d >> ___ >> 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 >> > > -- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > ___ > 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 > -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] What happened during night for services that failed and timeperiod was off
> Hello there, > > I'm wondering if there is a way to make nagios send notification for > services which failed during non notification timeperiod ? > ' Truly remarkable, although in quantum logic,even the obvious answer is not 'guaranteed' ... M. -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] What happened during night for services that failed and timeperiod was off
I'd try to write a wrapper for an event handler that checked the time and kept a log. A morning cron could then check for presence of the log and if it exists, email to you On Mon, Jan 31, 2011 at 9:46 AM, Tntteam wrote: > Hello there, > > I'm wondering if there is a way to make nagios send notification for > services which failed during non notification timeperiod ? > > I mean if I define a service with a timeperiod for ntifications from > 7am to 7pm, and the service fails at 4am, there will be no > notification sent unless I set up a resend notification interval. > > There are services that doesn't need a resend plus I want all missed > notification to be sent at 7am. > > Like a night notification digest, or "what happened from 7pm to 7 am" > to be sent at 7am, when the service enters in the notification_send > period. > > > > Any ideas ? > > Thanks > > -- > Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! > Finally, a world-class log management solution at an even better price-free! > Download using promo code Free_Logger_4_Dev2Dev. Offer expires > February 28th, so secure your free ArcSight Logger TODAY! > http://p.sf.net/sfu/arcsight-sfd2d > ___ > 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 > -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] What happened during night for services that failed and timeperiod was off
Hello there, I'm wondering if there is a way to make nagios send notification for services which failed during non notification timeperiod ? I mean if I define a service with a timeperiod for ntifications from 7am to 7pm, and the service fails at 4am, there will be no notification sent unless I set up a resend notification interval. There are services that doesn't need a resend plus I want all missed notification to be sent at 7am. Like a night notification digest, or "what happened from 7pm to 7 am" to be sent at 7am, when the service enters in the notification_send period. Any ideas ? Thanks -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] How to make the Nagios go to begin but same config ?
I want to re-monitor the Nagios but I want to delete all log or something that can made my Nagios to begin. I also have pnp4nagios. It need to delete some ?? How should I do ?? Thank you, Korrawit Yindeeyoungyeon -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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] Exchange 2010
Hi, Does anybody know a plugin for nagios to monitor a Exchange 2010 Server with all important parameters? Thx Robert-- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ 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] What happened during night for services that failed and timeperiod was off
Hello there, I'm wondering if there is a way to make nagios send notification for services which failed during non notification timeperiod ? I mean if I define a service with a timeperiod for ntifications from 7am to 7pm, and the service fails at 4am, there will be no notification sent unless I set up a resend notification interval. There are services that doesn't need a resend plus I want all missed notification to be sent at 7am. Like a night notification digest, or "what happened from 7pm to 7 am" to be sent at 7am, when the service enters in the notification_send period. Any ideas ? Thanks -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d ___ 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