If you have implemented ndo2db, you could write a SQL query tool ...PERL... which would find problems for host and services and then dump the proper variables into something like:
#!/bin/sh # This is a sample shell script showing how you can submit the ACKNOWLEDGE_SVC_PROBLEM command # to Nagios. Adjust variables to fit your environment as necessary. now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' /bin/printf "[%lu] ACKNOWLEDGE_SVC_PROBLEM;$host;$service;1;1;1;Some One;Some Acknowledgement Comment\n" $now > $commandfile References: http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?com mand_id=40 http://old.nagios.org/developerinfo/externalcommands/commandlist.php Lane Williams Jr. | Senior System Administrator | Cellular South 1018 Highland Colony Parkway | Suite No. 200| Ridgeland, MS 39157 Desk (601-974-7713) | Wireless (769-798-7713) www.cellularsouth.com -----Original Message----- From: Joe Hartley [mailto:joe.hart...@retailsolutions.com] Sent: Monday, November 30, 2009 9:19 AM To: nagios List Subject: Re: [Nagios-users] What would you want in a replacementwebinterface? From: Noel Platzke [mailto:neuf...@gmail.com] > My biggest gripe with the web interface is the inability to select multiple > hosts/services/groups to ack or put into maintenance mode. I hate having to > do them one at a time. Also it would be nice if dependent services didn't > show up in the "Unhandled" view once the parent service was acked. Oh, so very much *THIS*. We had a major outage at our co-location facility, which caused my phone to go crazy with all the alerts. It took me way too long to acknowledge all the hosts and services to keep my phone quiet. I considered just disabling notifications all together, but there's more that gets monitored than just that one facility, so that wasn't really an option. Individually acknowledging hundreds of services on dozens of hosts really sucks. -- Joe Hartley | Sr. Linux SysAdmin Retail Solutions, Inc. 40 Sharpe Drive Cranston, RI 02920 joe.hart...@retailsolutions.com +1 401.824.5040 (o) | +1 401.824.5002 (f) ------------------------------------------------------------------------ ------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ 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 ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ 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