Re: [Nagios-users] Mass Acknowledge a Service

2011-05-19 Thread Michael Friedrich

steve f wrote:
I have a check that checks the size of multiple partitions and we 
recently added some data that surpassed the threshold value and I have 
over 100 clients alerting.  There is nothing I can do about the space 
issue, it will go back to normal in a few weeks.


Is it possible to acknowledge all 100 at once? 


one of those reasons why we hacked the original cgis for Icinga Classic 
UI allowing multiple commands to be sent. ofc depending on the apache 
get restrictions this can be used for various commands, not only mass 
acknowlegdgements.


consider checking out the demo system: 
http://classic.demo.icinga.org/icinga/



I do have a service group associated with this check but dont see that 
it can be ack'ed all at once.  Is it possible to edit the status.dat 
file with a reference to a host group instead of a host name to 
accomplish this? :


servicecomment {
host_name=str

*host_group = GROUPNAME HERE*

service_description=Legacy Partition Size
entry_type=4
comment_id=129
source=0
persistent=0
entry_time=1305654252
expires=0
expire_time=0
author=Nagios Admin
comment_data=known issue
}


--
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay


___
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



--
DI (FH) Michael Friedrich

Vienna University Computer Center
Universitaetsstrasse 7 A-1010 Vienna, Austria

email:  michael.friedr...@univie.ac.at
phone:  +43 1 4277 14359
mobile: +43 664 60277 14359
fax:+43 1 4277 14338
web:http://www.univie.ac.at/zid
http://www.aco.net

Icinga Core  IDOUtils Developer
http://www.icinga.org

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
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] Invitation to connect on LinkedIn

2011-05-19 Thread prasanth katakam via LinkedIn
LinkedIn
prasanth katakam requested to add you as a connection on LinkedIn:
--

Lei,

I'd like to add you to my professional network on LinkedIn.

- prasanth

Accept invitation from prasanth katakam
http://www.linkedin.com/e/y49s6u-gnves8u0-4a/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1347960078_3/1BpC5vrmRLoRZcjkkZt5YCpnlOt3RApnhMpmdzgmhxrSNBszYPnPwTc30SejsQcP59bThEtSp9kQVqbPcPdzAQdz4Pej8LrCBxbOYWrSlI/EML_comm_afe/

View invitation from prasanth katakam
http://www.linkedin.com/e/y49s6u-gnves8u0-4a/Vg1FBpStI6_M-eFLExlo-pjnfalPIPkLyx3rkqjZdRi1FOrPNoT/blk/I1347960078_3/3dve3sMc3oVdPgPckALqnpPbOYWrSlI/svi/

-- 
DID YOU KNOW your LinkedIn profile helps you control your public image when 
people search for you? Setting your profile as public means your LinkedIn 
profile will come up when people enter your name in leading search engines. 
Take control of your image! 
http://www.linkedin.com/e/y49s6u-gnves8u0-4a/ewp/inv-22/

 
-- 
(c) 2011, LinkedIn Corporation--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
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] Q: Service Escalation Recovery Notifications.

2011-05-19 Thread Paul M. Dubuc
OK, but wouldn't it be nice if all contacts who got an error notification were 
able to get the recovery message instead of just the one last notified?  Is 
there any way to do that?  Setting up an explicit serviceescalation for 
recovery notifications doesn't seem to work.

Yueh-Hung Liu wrote:
 by the examples from nagios documentation, only on-call-support will
 get the 6th and above notifications.


 On Thu, May 19, 2011 at 4:33 AM, Paul M. Dubucw...@paul.dubuc.org  wrote:
 Here is an example from the Nagios 3.2.3 documentation on service 
 escalations.

 Recovery Notifications

 Recovery notifications are slightly different than problem notifications
 when it comes to escalations. Take the following example:

 define serviceescalation{

 host_name webserver

 service_description   HTTP

 first_notification3

 last_notification 5

 notification_interval 20

 contact_groupsnt-admins,managers

 }



 define serviceescalation{

 host_name webserver

 service_description   HTTP

 first_notification4

 last_notification 0

 notification_interval 30

 contact_groupson-call-support

 }


 If, after three problem notifications, a recovery notification is sent out
 for the service, who gets notified? The recovery is actually the fourth
 notification that gets sent out. However, the escalation code is smart
 enough to realize that only those people who were notified about the
 problem on the third notification should be notified about the recovery. In
 this case, the nt-admins and managers contact groups would be notified of
 the recovery.

 My question is who gets the recovery notification after 6 problem
 notifications?  Only on-call-support (the last one notified), or all three
 contact groups (since all received notifications of the problem)?  If only
 on-call-support (which seems to be the case), how can I ensure that the 
 others
 get it too?

 I tried adding a service escalation for the recovery notification, like so in
 keeping with the above example:

 define serviceescalation{

   host_name webserver

   service_description   HTTP

   first_notification2

   last_notification 0

   escalation_options r

   contact_groupson-call-support,nt-admins,managers

   }

 but that doesn't seem to work. I had thought this fixed the problem but the
 recovery notification only seems to go to the last contact(s) that were
 notified of the problem.


 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 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


 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 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


--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
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] Q: Service Escalation Recovery Notifications.

2011-05-19 Thread Andreas Ericsson
On 05/19/2011 03:32 PM, Paul M. Dubuc wrote:
 OK, but wouldn't it be nice if all contacts who got an error notification were
 able to get the recovery message instead of just the one last notified?  Is
 there any way to do that?  Setting up an explicit serviceescalation for
 recovery notifications doesn't seem to work.
 

Max Schubert is working on a patch that does something similar to that.
If he doesn't complete it, I might take a look at adding it myself.

-- 
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.

--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay
___
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_NRPE on AIX

2011-05-19 Thread Ryan Edwards
i dont know anything about using sudo on AIX.  My team  monitors
80 different AIX hosts with a mix of 5.3 and 6.1 versions.  So just a few
points to try

 - Make sure the user you have set to run nrpe is the user ur testing with.
 The nrpe cfg has a spot for a username and group.  We use user nagios with
group system (yes create a nologin AIX account for the nagios user)
 - Make sure the permissions are set  correctly from the plugins to the
nrpe.cfg
 - Test the plugin locally.  In your email you said you can run it, but
which user?  root?  test runing the command from the user that is running
nrpe.

I have a feeling its a file permission problem

Cheers!


On Wed, May 18, 2011 at 7:26 AM, Daniel Ceola dce...@twgi.net wrote:

 Hello all!



 I’ve recently been attempting to setup monitoring on my AIX 5.3 servers.
 After some research, I determined that the best way to accomplish this is
 through using NRPE. I downloaded the package here:
 https://www.monitoringexchange.org/inventory/Check-Plugins/Operating-Systems/AIX/AIX-5-3-NRPE-2-12-NSCA-2-7-2-Nagios-Plugins-1-4-11
 and followed instructions here
 http://nagioswiki.com/wiki/index.php/Installing_Nagios_NRPE_on_AIX  to
 install NRPE on the AIX system.  I then found an item in the nagios-users
 archive that suggested that I needed to install sudo on the AIX system and
 change the NRPE config to use sudo for the commands.
 http://www.mail-archive.com/nagios-users@lists.sourceforge.net/msg31668.html





 I have my nagios server’s IP in the allowed_hosts list within nrpe.cfg

 I also have this set (per instructions in below link)
 command_prefix=/usr/bin/sudo





 At this point – when I run one of the check (check_disk) scripts locally
 (on the AIX system) that the NRPE package installed, I am able to get a
 result



 # check_disk -w 85 -c 95

 DISK CRITICAL - free space: / 307 MB (79% inode=98%); (only copied the
 first item, but there was a lot of output)



 However, I cannot seem to get my check from my Nagios system to work
 properly.

 nagios@UbuntuTest:/usr/local/nagios/libexec$ ./check_nrpe -H 192.168.3.15
 -n -c check_aix_disks

 NRPE: Unable to read output



 The corresponding command in the nrpe.cfg on the AIX system:
 command[check_aix_disks]=/usr/local/nagios/libexec/check_disk -w 10m -c 2m
 -x /proc







 At this point, I’m unsure of what I need to do in order to get this
 working.  If anyone could provide a possible direction, I would be most
 grateful!







 Thanks,



 Daniel Ceola

 Systems  DB Admin



 The Wills Group

 6355 Crain Hwy

 La Plata, MD 20646

 301-932-3600

 301-932-3643 (direct line)




 --
 What Every C/C++ and Fortran developer Should Know!
 Read this article and learn how Intel has extended the reach of its
 next-generation tools to help Windows* and Linux* C/C++ and Fortran
 developers boost performance applications - including clusters.
 http://p.sf.net/sfu/intel-dev2devmay
 ___
 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




-- 
Christianity: The belief that some cosmic Jewish Zombie can make you live
forever if you symbolically eat his flesh and telepathically tell him that
you accept him as your master, so he can remove an evil force from your soul
that is present in humanity because a rib-woman was convinced by a talking
snake to eat from a magical tree.  Makes perfect sense!
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
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_NRPE on AIX

2011-05-19 Thread Kyle O'Donnell
Those are the binaries that I compiled and uploaded a couple years ago.  We
are still using them today, but if you have any issues let me know.

I would suggest running the check_disk with the -x /proc as it is in nrpe as
the same user nrpe is running as via command line to ensure it behaves as
expected

I have had no issue using sudo on aix btw.

--kyleo
On May 18, 2011 9:32 AM, Daniel Ceola dce...@twgi.net wrote:
--
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its 
next-generation tools to help Windows* and Linux* C/C++ and Fortran 
developers boost performance applications - including clusters. 
http://p.sf.net/sfu/intel-dev2devmay___
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