Re: [Nagios-users] Getting Notifications Outside of Defined Time Periods
On 3 March 2010 00:07, Matt Baer wrote: > I'm having an issue with Nagios sending me notifications during time periods > that are not included within the designated period. I've tested this by > setting the time period to 'never', restarting Nagios and I STILL get > notifications. > > I have a backup that runs on my Mail Server 3-4 times a week. In order to > do the backup process, I have to down my mail server. So you can imagine > that I'm getting dozens of emails at very early times in the morning. Any > ideas? There were some problems with timeperiod processing in earlier versions of Nagios 3. If you haven't already, I'd recommend upgrading to the latest stable release. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Monitor Java Process
Hi Edwin Did you mean that you are using the Process ID of the process running on the remote box to monitor its status ? Thanks Jatin On 3/2/2010 8:10 PM, Edwin Zoeller wrote: > We monitor the port number assigned to the process. > > -Original Message- > From: Jim Avery [mailto:j...@jimavery.me.uk] > Sent: Tuesday, March 02, 2010 7:35 AM > To: Jatin Davey > Cc: Nagios Mailinglist > Subject: Re: [Nagios-users] Monitor Java Process > > On 2 March 2010 11:26, Jatin Davey wrote: > >> Hi >> >> I want to know how i can monitor the java process running on remote >> box , basically i want to keep monitoring it and raise an email alert >> if it has re-started or stopped functioning. Please let me know how >> this can be achieved using nagios. >> >> Thanks >> Jatin >> > > Someone hereabouts recently mentioned you can use jmx4perl > http://labs.consol.de/lang/de/jmx4perl/ > > I can't say I've tried it myself yet. > > > -- > Download Intel® Parallel Studio Eval Try the new software tools for > yourself. Speed compiling, find bugs proactively, and fine-tune > applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > 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 > > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] notifications for a passive Nagios check
I have a Nagios passive check which doesn't send out any alerts when it's in a critical status: define service{ name hpcsg-service register 0 max_check_attempts3 normal_check_interval 30 retry_check_interval 1 active_checks_enabled 0 passive_checks_enabled1 check_period 24x7 check_freshness 0 obsess_over_service 0 notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groupshpcsg } define service{ use hpcsg-service name r89-service register 0 contact_groupsr89 check_freshness 0 active_checks_enabled 0 passive_checks_enabled1 notifications_enabled 1 } define service{ use r89-service host_name r89-trap.esc.rl.ac.uk service_description hpd-crac-07 check_command none } define command{ command_namenone command_line/bin/true } The GCI shows that the hpd-crac-07 check has notifications enabled, but when I "view notifications for this service", it hasn't sent any. We have similar checks in place that do send notifications, but the key difference here is that the above check is a purely passive one, i.e. it only receives check results. Thanks in advance. Wadud Miah Scientific Computing Systems Support, eScience Rutherford Appleton Laboratory, STFC -- Scanned by iCritical. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] notifications for a passive Nagios check
On 3 March 2010 10:43, wrote: > I have a Nagios passive check which doesn't send out any alerts when > it's in a critical status: > > define service{ > name hpcsg-service > register 0 > > max_check_attempts 3 > normal_check_interval 30 > retry_check_interval 1 > active_checks_enabled 0 > passive_checks_enabled 1 > check_period 24x7 > check_freshness 0 > obsess_over_service 0 > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > notifications_enabled 1 > contact_groups hpcsg > } > > define service{ > use hpcsg-service > > name r89-service > register 0 > contact_groups r89 > > check_freshness 0 > active_checks_enabled 0 > passive_checks_enabled 1 > notifications_enabled 1 > } > > define service{ > use r89-service > > host_name r89-trap.esc.rl.ac.uk > service_description hpd-crac-07 > check_command none > } > > define command{ > command_name none > command_line /bin/true > } > > The GCI shows that the hpd-crac-07 check has notifications enabled, but > when I "view notifications for this service", it hasn't sent any. We > have similar checks in place that do send notifications, but the key > difference here is that the above check is a purely passive one, i.e. it > only receives check results. Is the service still in a soft state? Notifications are only usually sent when the service goes in to a hard state. If the passive check is only sent once to indicate a critital or warning state, I believe you will need to set max_check_attempts to 1. To make sure your templates are being applied correctly, take a look at what does the service definition looks like in your objects.cache file. hth, Jim -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] notifications for a passive Nagios check
I've found the "fault". It was the max_check_attempts, which I should have set to unity! -Original Message- From: wadud.m...@stfc.ac.uk [mailto:wadud.m...@stfc.ac.uk] Sent: 03 March 2010 10:44 To: nagios-users@lists.sourceforge.net Subject: [Nagios-users] notifications for a passive Nagios check I have a Nagios passive check which doesn't send out any alerts when it's in a critical status: define service{ name hpcsg-service register 0 max_check_attempts3 normal_check_interval 30 retry_check_interval 1 active_checks_enabled 0 passive_checks_enabled1 check_period 24x7 check_freshness 0 obsess_over_service 0 notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groupshpcsg } define service{ use hpcsg-service name r89-service register 0 contact_groupsr89 check_freshness 0 active_checks_enabled 0 passive_checks_enabled1 notifications_enabled 1 } define service{ use r89-service host_name r89-trap.esc.rl.ac.uk service_description hpd-crac-07 check_command none } define command{ command_namenone command_line/bin/true } The GCI shows that the hpd-crac-07 check has notifications enabled, but when I "view notifications for this service", it hasn't sent any. We have similar checks in place that do send notifications, but the key difference here is that the above check is a purely passive one, i.e. it only receives check results. Thanks in advance. Wadud Miah Scientific Computing Systems Support, eScience Rutherford Appleton Laboratory, STFC -- Scanned by iCritical. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Scanned by iCritical. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] on call rotation with check
$quoted_author = "shadih rahman" ; > > Is it possible to maintain a on call rotation via a service check? Also > possibly pass in a nagios username to update the on call rotation? Please > advise on this. Thanks At $JOB[-1] we had a custom notification which understood our oncall system. It was a simple Perl script with a text configuration file but it would be straightforward to query a DB or some other data source. cheers Marty -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Sending email notifications
I had a requirement to monitor Java process on my windows server and send an email if it goes down. I have achieved adding the monitoring of java process on my nagios setup , i have no clue what to do get nagios send notifications. Anyone knows please let me know the steps involved. Thanks Jatin -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] VMware Appliance
Hello All, I was looking around for VMware nagios appliance and I see a couple but they are old and I can't find any to download. Is there anymore of these around? Thanks -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] perl scripts (check_squid.pl)
Hi everyone! First of all, thank you for your help to everyone, since I am learning a lot from the "cases" that get solved in this mailing list. I am quite new to Nagios, but it s already watching my network and showing it greenly beautiful.. the thing that makes me write you is that I downloaded check_squid.pl and it looks fine from the command line. I read from some of you that this is not the way to test it, but the first check_squid.pl that I got didnt even work from the command line. Anyway, I tried to call the command like that, like sudo, like the perl interpreter, googled quite a bit, and still nagios gets "null" as output (very differently from the OK command line) Is any of you using check_squid.pl? How did you make it work from the nagios.cfg, please? Thank you so much! Warm regards, Jorge -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Monitor Java Process
-Original Message- From: Jatin Davey [mailto:jasho...@cisco.com] Sent: Wednesday, March 03, 2010 3:20 AM To: Edwin Zoeller Cc: Nagios Mailinglist Subject: Re: [Nagios-users] Monitor Java Process Hi Edwin Did you mean that you are using the Process ID of the process running on the remote box to monitor its status ? Thanks Jatin On 3/2/2010 8:10 PM, Edwin Zoeller wrote: > We monitor the port number assigned to the process. > > -Original Message- > From: Jim Avery [mailto:j...@jimavery.me.uk] > Sent: Tuesday, March 02, 2010 7:35 AM > To: Jatin Davey > Cc: Nagios Mailinglist > Subject: Re: [Nagios-users] Monitor Java Process > > On 2 March 2010 11:26, Jatin Davey wrote: > >> Hi >> >> I want to know how i can monitor the java process running on remote >> box , basically i want to keep monitoring it and raise an email alert >> if it has re-started or stopped functioning. Please let me know how >> this can be achieved using nagios. >> >> Thanks >> Jatin >> > > Someone hereabouts recently mentioned you can use jmx4perl > http://labs.consol.de/lang/de/jmx4perl/ > > I can't say I've tried it myself yet. > > If I understand this, you have a java process that you want to monitor. To see if the process is 'running' your best bet is using check_proc, however, if you want to see if the process is still functioning and not hung, you'll need to interact with the process. As Edwin stated, if your process opens a port, you can connect to it and check for a default response using check_tcp (or udp). If you wrote the java process (or have access to the developers) you can ask that they build in monitoring responses. I have a java listener that I added a hook for a specific string. If I send a specific string to its UDP port, it returns it's PID and Timestamp. What does the Java process do? If it doesn't open a port, does it write to its log that you can check modification times on? If you can interact with the process you can monitor it. If it just runs and doesn't interact with others, you can at least monitor that the process is still running. In general if you can check its health manually, you can write something for Nagios to use. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Sending email notifications
By default, at the top of your commands.cfg file, you'll see things like "notify-host-by-email" and "notify-service-by-email". Those are commands that work in conjunction with the configuration specified in contacts.cfg. Essentially, all of your services and hosts have or inherit a "contact_groups" setting. That group name should be in contacts.cfg, and it should have all of the appropriate contacts listed in it. (see Nagios Object Definitions for more info: http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html ) Assuming this is the case, and Nagios starts correctly without a configuration error, there's probably an issue with your mail. Check the email address that you have for your contacts. Is it correct? Assuming so, can you send an email from the command line? Try echo "test 1" | mail -s "test 1" contactem...@whatever If you receive the email, but Nagios still doesn't send it, make sure that you are able to run 'sendmail' as the nagios user (aside: people who know more than me: does Nagios invoke sendmail as the default MTA?). I'm going to guess that you can't send mail from the command line either, and that's probably because your MTA isn't setup correctly. Check your /var/log/maillog and your Sendmail (or postfix if you're lucky) configuration. For better advice, I'd need more info on what was going wrong, according to the results of the test and the log output. Good Luck. --Matt On Wed, Mar 3, 2010 at 7:59 AM, Jatin Davey wrote: > I had a requirement to monitor Java process on my windows server and > send an email if it goes down. > I have achieved adding the monitoring of java process on my nagios setup > , i have no clue what to do get nagios send notifications. > Anyone knows please let me know the steps involved. > > Thanks > Jatin > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > 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 > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] VMware Appliance
On 3 March 2010 13:30, Antonio Pereira wrote: > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? Correct me if I'm wrong, but isn't Nagios XI supplied as a VMWare appliance? http://www.nagios.com/products/nagiosxi -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Monitor Java Process
No not the PID since that changes but the actual port assigned to the WAS application. A port is assigned when the WAS java application is created. -Original Message- From: Michael Gargiullo [mailto:mgargiu...@pivotpointsecurity.com] Sent: Wednesday, March 03, 2010 9:42 AM To: Nagios Mailinglist Subject: Re: [Nagios-users] Monitor Java Process -Original Message- From: Jatin Davey [mailto:jasho...@cisco.com] Sent: Wednesday, March 03, 2010 3:20 AM To: Edwin Zoeller Cc: Nagios Mailinglist Subject: Re: [Nagios-users] Monitor Java Process Hi Edwin Did you mean that you are using the Process ID of the process running on the remote box to monitor its status ? Thanks Jatin On 3/2/2010 8:10 PM, Edwin Zoeller wrote: > We monitor the port number assigned to the process. > > -Original Message- > From: Jim Avery [mailto:j...@jimavery.me.uk] > Sent: Tuesday, March 02, 2010 7:35 AM > To: Jatin Davey > Cc: Nagios Mailinglist > Subject: Re: [Nagios-users] Monitor Java Process > > On 2 March 2010 11:26, Jatin Davey wrote: > >> Hi >> >> I want to know how i can monitor the java process running on remote >> box , basically i want to keep monitoring it and raise an email alert >> if it has re-started or stopped functioning. Please let me know how >> this can be achieved using nagios. >> >> Thanks >> Jatin >> > > Someone hereabouts recently mentioned you can use jmx4perl > http://labs.consol.de/lang/de/jmx4perl/ > > I can't say I've tried it myself yet. > > If I understand this, you have a java process that you want to monitor. To see if the process is 'running' your best bet is using check_proc, however, if you want to see if the process is still functioning and not hung, you'll need to interact with the process. As Edwin stated, if your process opens a port, you can connect to it and check for a default response using check_tcp (or udp). If you wrote the java process (or have access to the developers) you can ask that they build in monitoring responses. I have a java listener that I added a hook for a specific string. If I send a specific string to its UDP port, it returns it's PID and Timestamp. What does the Java process do? If it doesn't open a port, does it write to its log that you can check modification times on? If you can interact with the process you can monitor it. If it just runs and doesn't interact with others, you can at least monitor that the process is still running. In general if you can check its health manually, you can write something for Nagios to use. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] VMware Appliance
I believe so, but I believe the XI version is a commercial version of Nagios. -Original Message- From: Jim Avery [mailto:j...@jimavery.me.uk] Sent: Wednesday, March 03, 2010 12:34 PM To: Antonio Pereira Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance On 3 March 2010 13:30, Antonio Pereira wrote: > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? Correct me if I'm wrong, but isn't Nagios XI supplied as a VMWare appliance? http://www.nagios.com/products/nagiosxi -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] VMware Appliance
On 3/3/2010 3:33 PM, Robert Wolfe wrote: > I believe so, but I believe the XI version is a commercial version of Nagios. > That is correct. >> I was looking around for VMware nagios appliance and I see a couple but they >> are old and I can't find any to download. Is there anymore of these around? >> > Correct me if I'm wrong, but isn't Nagios XI supplied as a VMWare appliance? > > http://www.nagios.com/products/nagiosxi > After a quick glance around, it does seem to be the case that the available appliances are generally either old or various commercial/derivative builds. I did find one that looks close, although I haven't actually tried it myself yet: http://www.eluted.net/vmimages/nenm3-vm.zip (mentioned on http://www.nagios3book.com/) However, it is prominently noted that this image is intended for learning purpose, not production use, so if you were looking for the latter it would probably be more work to modify it properly than to install from scratch. -- Tony Yarusso Technical Team ___ Nagios Enterprises, LLC Email: tyaru...@nagios.com Web:www.nagios.com -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] VMware Appliance
It strikes me that if there isn't one available and relatively up to date, it would be a good endeavor for the Nagios community to work on. I don't have a lot of time, but I'd be willing to work with people to get an image prepared. Anyone want to help, or have suggestions? --Matt On Wed, Mar 3, 2010 at 8:30 AM, Antonio Pereira wrote: > Hello All, > > > > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? > > > > Thanks > > > > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > 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 > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] VMware Appliance
I could probably put together a very basic 'out of the box' Nagios installation in a VMWare appliance that would definitely allow for tons of room for customization and configuration :) From: Matt Simmons [standalone.sysad...@gmail.com] Sent: Wednesday, March 03, 2010 6:14 PM To: Antonio Pereira Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance It strikes me that if there isn't one available and relatively up to date, it would be a good endeavor for the Nagios community to work on. I don't have a lot of time, but I'd be willing to work with people to get an image prepared. Anyone want to help, or have suggestions? --Matt On Wed, Mar 3, 2010 at 8:30 AM, Antonio Pereira wrote: > Hello All, > > > > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? > > > > Thanks > > > > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > 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 > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Using NSClient with NRPE
I have NSclient on my servers and use NRPE to access client. On the whole it works fine but I have great difficulty detecting if a windows process is running or stopped. I have a java.exe that has to run in a cmd window. I need to know if that process stops for any reason. Using command line from Nagios and with Wordpad.exe as a test I have tried using this ./check_nrpe -H server01 -p 5666 -c CheckProcState -a wordpad.exe=running I get All processes running regardless if Wordpad is open or not. I have read the manual and tried the various combinations mentioned in there and it does not help. Can anyone please supply a command line for NRPE that will tell me when a windows process is running and when it is stopped I want it to return critical Thanks -- Ron Wilson Systems Engineer Television New Zealand P.O. Box 3819 Auckland, New Zealand Phone 649-916-7560 Evolution is a harsh mistress. == For more information on the Television New Zealand Group, visit us online at tvnz.co.nz == CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] VMware Appliance
I would definitely participate any way I can. I haven't used Nagios in a couple of years. That's why I was looking for a VMware appliance to kind of getting me started. But hey I will definitely join in. - Original Message - From: Wolfe, Robert To: Matt Simmons ; Antonio Pereira Cc: Nagios-users@lists.sourceforge.net Sent: Wed Mar 03 18:31:50 2010 Subject: RE: [Nagios-users] VMware Appliance I could probably put together a very basic 'out of the box' Nagios installation in a VMWare appliance that would definitely allow for tons of room for customization and configuration :) From: Matt Simmons [standalone.sysad...@gmail.com] Sent: Wednesday, March 03, 2010 6:14 PM To: Antonio Pereira Cc: Nagios-users@lists.sourceforge.net Subject: Re: [Nagios-users] VMware Appliance It strikes me that if there isn't one available and relatively up to date, it would be a good endeavor for the Nagios community to work on. I don't have a lot of time, but I'd be willing to work with people to get an image prepared. Anyone want to help, or have suggestions? --Matt On Wed, Mar 3, 2010 at 8:30 AM, Antonio Pereira wrote: > Hello All, > > > > I was looking around for VMware nagios appliance and I see a couple but they > are old and I can't find any to download. Is there anymore of these around? > > > > Thanks > > > > > > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > 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 > -- LITTLE GIRL: But which cookie will you eat FIRST? COOKIE MONSTER: Me think you have misconception of cookie-eating process. COOKIE MONSTER: Boy, I wish I were a sysadmin so I could go to the NJ-PICC Sysadmin Conference! http://www.picconf.org -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Using NSClient with NRPE
Hi Ron I just tried this yesterday , I had a requirment to monitor a java process on a windows box and return a critical alert if it has stopped working. I used the following on as the nagios configuration , this should be added to the object configuration file: define service{ usegeneric-service host_name service_descriptionJava check_commandcheck_nt!PROCSTATE!-d SHOWALL -l java.exe } This is working perfectly fine for me , Next step i am trying is to set up a notification email if the process stops functioning. Hope this helps. Thanks Jatin On 3/4/2010 6:57 AM, Ron Wilson wrote: I have NSclient on my servers and use NRPE to access client. On the whole it works fine but I have great difficulty detecting if a windows process is running or stopped. I have a java.exe that has to run in a cmd window. I need to know if that process stops for any reason. Using command line from Nagios and with Wordpad.exe as a test I have tried using this ./check_nrpe -H server01 -p 5666 -c CheckProcState -a wordpad.exe=running I get All processes running regardless if Wordpad is open or not. I have read the manual and tried the various combinations mentioned in there and it does not help. Can anyone please supply a command line for NRPE that will tell me when a windows process is running and when it is stopped I want it to return critical Thanks -- Ron Wilson Systems Engineer Television New Zealand P.O. Box 3819 Auckland, New Zealand Phone 649-916-7560 /Evolution is a harsh mistress./ == For more information on the Television New Zealand Group, visit us online at tvnz.co.nz == CAUTION: This e-mail and any attachment(s) contain information that is intended to be read only by the named recipient(s). This information is not to be used or stored by any other person and/or organisation. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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 -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev___ 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] Sending email notifications
Hi Matt I tried the following from the command line: echo "test 1" | mail -s "test 1" contactem...@whatever I tried giving my email address but i am not receiving any mail. Let me know what else i need to provide to make it work. Thanks Jatin On 3/3/2010 10:42 PM, Matt Simmons wrote: > By default, at the top of your commands.cfg file, you'll see things > like "notify-host-by-email" and "notify-service-by-email". Those are > commands that work in conjunction with the configuration specified in > contacts.cfg. > > Essentially, all of your services and hosts have or inherit a > "contact_groups" setting. That group name should be in contacts.cfg, > and it should have all of the appropriate contacts listed in it. > (see Nagios Object Definitions for more info: > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html ) > > Assuming this is the case, and Nagios starts correctly without a > configuration error, there's probably an issue with your mail. Check > the email address that you have for your contacts. Is it correct? > > Assuming so, can you send an email from the command line? Try > > echo "test 1" | mail -s "test 1" contactem...@whatever > > If you receive the email, but Nagios still doesn't send it, make sure > that you are able to run 'sendmail' as the nagios user (aside: people > who know more than me: does Nagios invoke sendmail as the default > MTA?). > > I'm going to guess that you can't send mail from the command line > either, and that's probably because your MTA isn't setup correctly. > Check your /var/log/maillog and your Sendmail (or postfix if you're > lucky) configuration. > > For better advice, I'd need more info on what was going wrong, > according to the results of the test and the log output. > > Good Luck. > > --Matt > > > On Wed, Mar 3, 2010 at 7:59 AM, Jatin Davey wrote: > >> I had a requirement to monitor Java process on my windows server and >> send an email if it goes down. >> I have achieved adding the monitoring of java process on my nagios setup >> , i have no clue what to do get nagios send notifications. >> Anyone knows please let me know the steps involved. >> >> Thanks >> Jatin >> >> -- >> Download Intel® Parallel Studio Eval >> Try the new software tools for yourself. Speed compiling, find bugs >> proactively, and fine-tune applications for parallel performance. >> See why Intel Parallel Studio got high marks during beta. >> http://p.sf.net/sfu/intel-sw-dev >> ___ >> 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 >> >> > > > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Sending email notifications
Ok , i figured out using an external email server to send mails to my mailbox using the configuration as below : change your /etc/mail/sendmail.cf to read # "Smart" relay host (may be null) DSsmtp:your-mailer.external-host.net now i receive the mails for any alerts that nagios raises. Thanks Jatin On 3/4/2010 10:37 AM, Jatin Davey wrote: > Hi Matt > > I tried the following from the command line: > > echo "test 1" | mail -s "test 1" contactem...@whatever > > I tried giving my email address but i am not receiving any mail. Let me > know what else i need to provide to make it work. > > Thanks > Jatin > > On 3/3/2010 10:42 PM, Matt Simmons wrote: > >> By default, at the top of your commands.cfg file, you'll see things >> like "notify-host-by-email" and "notify-service-by-email". Those are >> commands that work in conjunction with the configuration specified in >> contacts.cfg. >> >> Essentially, all of your services and hosts have or inherit a >> "contact_groups" setting. That group name should be in contacts.cfg, >> and it should have all of the appropriate contacts listed in it. >> (see Nagios Object Definitions for more info: >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html ) >> >> Assuming this is the case, and Nagios starts correctly without a >> configuration error, there's probably an issue with your mail. Check >> the email address that you have for your contacts. Is it correct? >> >> Assuming so, can you send an email from the command line? Try >> >> echo "test 1" | mail -s "test 1" contactem...@whatever >> >> If you receive the email, but Nagios still doesn't send it, make sure >> that you are able to run 'sendmail' as the nagios user (aside: people >> who know more than me: does Nagios invoke sendmail as the default >> MTA?). >> >> I'm going to guess that you can't send mail from the command line >> either, and that's probably because your MTA isn't setup correctly. >> Check your /var/log/maillog and your Sendmail (or postfix if you're >> lucky) configuration. >> >> For better advice, I'd need more info on what was going wrong, >> according to the results of the test and the log output. >> >> Good Luck. >> >> --Matt >> >> >> On Wed, Mar 3, 2010 at 7:59 AM, Jatin Davey wrote: >> >> >>> I had a requirement to monitor Java process on my windows server and >>> send an email if it goes down. >>> I have achieved adding the monitoring of java process on my nagios setup >>> , i have no clue what to do get nagios send notifications. >>> Anyone knows please let me know the steps involved. >>> >>> Thanks >>> Jatin >>> >>> -- >>> Download Intel® Parallel Studio Eval >>> Try the new software tools for yourself. Speed compiling, find bugs >>> proactively, and fine-tune applications for parallel performance. >>> See why Intel Parallel Studio got high marks during beta. >>> http://p.sf.net/sfu/intel-sw-dev >>> ___ >>> 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 >>> >>> >>> >> >> >> > -- > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > ___ > 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 > > -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] Using Check_nt to monitor 4 java.exe processes
Hi I used the following check_nt command to get the running status of a process on remote windows machine, check_nt!PROCSTATE!-d SHOWALL -l java.exe The process above is java.exe , i have a situation where in i need to make sure that i have 4 java.exe running on a windows box if the number of java.exe falls below 4 or increases above 4 i need to get notifications. Please let me know what command to use in this scenario. Thanks Jatin -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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] monitor xenserver
hi, I am using xenserver 5.5 looking for way to monitor host cpu & memory utilization. is there any plugin available to monitor cpu & ram utilization? -- Regards Dhaval Thakar -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev ___ 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