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