A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring). -- Craig
Things are mostly back, do I get the beer for the recoveries? ---- Daniel Murphy-Olson Systems Administrator Mathematics & Computer Science Division Argonne National Laboratory 630-252-0055 ----- Original Message ----- From: "Craig Stacey" <[email protected]> To: "Core Admins" <[email protected]> Sent: Thursday, May 24, 2012 8:16:18 PM Subject: Bounty! A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring). -- Craig
Name your brand! -- Craig (from my mobile) Dan Olson <[email protected]> wrote: Things are mostly back, do I get the beer for the recoveries? ---- Daniel Murphy-Olson Systems Administrator Mathematics & Computer Science Division Argonne National Laboratory 630-252-0055 ----- Original Message ----- From: "Craig Stacey" <[email protected]> To: "Core Admins" <[email protected]> Sent: Thursday, May 24, 2012 8:16:18 PM Subject: Bounty! A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring). -- Craig
Look in /sandbox/maxadam/bin script is mass_scheduler.pl I haven't completely tested it yet. -- Max Trefonides MCS Systems [email protected] On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
that's peer:/sandbox/maxadam/bin/mass_scheduler.pl -- Max Trefonides MCS Systems [email protected] On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway. Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do. Come on max, you need to test your code before you raise your hand :) -- corby On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked. -- Max Trefonides MCS Systems [email protected] On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
You know what they say about ill-gotten gains ... they are delicious ;) Maybe the scotch fairy will shine upon you one day, just not today. Corby Schmitz Sent from my mobile office On May 24, 2012, at 21:49, "Max trefonides" <[email protected]> wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
A proper definition of the dependencies for owney/wind/wilbur's vhosts will go a long way, too. I'll make a ticket and get it in my queue. Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory On 05/24/2012 09:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
if I remember correctly, you have to create dependencies for both the hosts and the services that run on them. Nagios segments these, which is sometimes great, and other times very painful. Corby Schmitz Sent from my mobile office On May 24, 2012, at 21:59, "Ken Raffenetti" <[email protected]> wrote:
A proper definition of the dependencies for owney/wind/wilbur's vhosts will go a long way, too. I'll make a ticket and get it in my queue.
Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory
On 05/24/2012 09:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
Yeah, I remember not being able to make a service dependent on a host, only another service. At the least, I can monitor Apache on those servers and make all the vhosts dependent on it. Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory On 05/24/2012 10:07 PM, Schmitz, Corby B. wrote:
if I remember correctly, you have to create dependencies for both the hosts and the services that run on them. Nagios segments these, which is sometimes great, and other times very painful.
Corby Schmitz Sent from my mobile office
On May 24, 2012, at 21:59, "Ken Raffenetti" <[email protected]> wrote:
A proper definition of the dependencies for owney/wind/wilbur's vhosts will go a long way, too. I'll make a ticket and get it in my queue.
Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory
On 05/24/2012 09:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
and as we all know, a host can be pingable and still not up, which makes it hard to rely on ICMP to do the dependencies which is why I like the NRPE check. If I can't poll the service that should be there, I can assume any other services being down are related. Corby Schmitz Sent from my mobile office On May 24, 2012, at 22:10, "Ken Raffenetti" <[email protected]> wrote:
Yeah, I remember not being able to make a service dependent on a host, only another service. At the least, I can monitor Apache on those servers and make all the vhosts dependent on it.
Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory
On 05/24/2012 10:07 PM, Schmitz, Corby B. wrote:
if I remember correctly, you have to create dependencies for both the hosts and the services that run on them. Nagios segments these, which is sometimes great, and other times very painful.
Corby Schmitz Sent from my mobile office
On May 24, 2012, at 21:59, "Ken Raffenetti" <[email protected]> wrote:
A proper definition of the dependencies for owney/wind/wilbur's vhosts will go a long way, too. I'll make a ticket and get it in my queue.
Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory
On 05/24/2012 09:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
There NRPE check is a good start for this dependency. There are some checks out there for apache2 health, but our servers aren't configured to serve up the apache "server-status" page which they rely on. Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory On 05/24/2012 10:15 PM, Schmitz, Corby B. wrote:
and as we all know, a host can be pingable and still not up, which makes it hard to rely on ICMP to do the dependencies which is why I like the NRPE check. If I can't poll the service that should be there, I can assume any other services being down are related.
Corby Schmitz Sent from my mobile office
On May 24, 2012, at 22:10, "Ken Raffenetti" <[email protected]> wrote:
Yeah, I remember not being able to make a service dependent on a host, only another service. At the least, I can monitor Apache on those servers and make all the vhosts dependent on it.
Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory
On 05/24/2012 10:07 PM, Schmitz, Corby B. wrote:
if I remember correctly, you have to create dependencies for both the hosts and the services that run on them. Nagios segments these, which is sometimes great, and other times very painful.
Corby Schmitz Sent from my mobile office
On May 24, 2012, at 21:59, "Ken Raffenetti" <[email protected]> wrote:
A proper definition of the dependencies for owney/wind/wilbur's vhosts will go a long way, too. I'll make a ticket and get it in my queue.
Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory
On 05/24/2012 09:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
Ah, and it's also a problem that we tied vhosts to wilbur and wind in nagios. Those addresses are actually on the load balancer and never went down. Owney behaved correctly and did not alert on it's vhosts being down since it resolves to the actual machine. Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory On 05/25/2012 10:49 AM, Ken Raffenetti wrote:
There NRPE check is a good start for this dependency. There are some checks out there for apache2 health, but our servers aren't configured to serve up the apache "server-status" page which they rely on.
Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory
On 05/24/2012 10:15 PM, Schmitz, Corby B. wrote:
and as we all know, a host can be pingable and still not up, which makes it hard to rely on ICMP to do the dependencies which is why I like the NRPE check. If I can't poll the service that should be there, I can assume any other services being down are related.
Corby Schmitz Sent from my mobile office
On May 24, 2012, at 22:10, "Ken Raffenetti" <[email protected]> wrote:
Yeah, I remember not being able to make a service dependent on a host, only another service. At the least, I can monitor Apache on those servers and make all the vhosts dependent on it.
Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory
On 05/24/2012 10:07 PM, Schmitz, Corby B. wrote:
if I remember correctly, you have to create dependencies for both the hosts and the services that run on them. Nagios segments these, which is sometimes great, and other times very painful.
Corby Schmitz Sent from my mobile office
On May 24, 2012, at 21:59, "Ken Raffenetti" <[email protected]> wrote:
A proper definition of the dependencies for owney/wind/wilbur's vhosts will go a long way, too. I'll make a ticket and get it in my queue.
Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory
On 05/24/2012 09:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
One final addition on this. Nagios on peer has been outfitted with the web-enabled version of this acknowledgement and downtime scheduler. In the Nagios menu on the left side of the page, you will notice two links: 1. Mass Acknowledgement 2. Schedule Mass Downtime These are by not means pretty, but I am not a CSS kinda guy. The first one will let you acknowledge (quick select all or select as you go) all active alerts (no messages generated to email figuring we are already slammed with messages). The ACK will remain in place until the problem clears. The second one will allow you to schedule regular downtime at the beginning of an outage for some predictable number of minutes. I tested this out to make sure I could ack and schedule downtime. The scripts are pretty simple. I modified the CLI perl scripts to generate the forms, and wrote some easy python to process the post data. If you wish, I can port this over to watcher, but there isn't much there anymore since the network gear all moved to solarwinds. That should pretty much cover it. -- corby
Nice. Name your bounty! Right now, watcher is handling power and temp monitoring, and peer is handling everything else, is that right? -- Craig On May 25, 2012, at 2:36 PM, Schmitz, Corby B. wrote:
One final addition on this. Nagios on peer has been outfitted with the web-enabled version of this acknowledgement and downtime scheduler. In the Nagios menu on the left side of the page, you will notice two links: 1. Mass Acknowledgement 2. Schedule Mass Downtime
These are by not means pretty, but I am not a CSS kinda guy. The first one will let you acknowledge (quick select all or select as you go) all active alerts (no messages generated to email figuring we are already slammed with messages). The ACK will remain in place until the problem clears. The second one will allow you to schedule regular downtime at the beginning of an outage for some predictable number of minutes. I tested this out to make sure I could ack and schedule downtime. The scripts are pretty simple. I modified the CLI perl scripts to generate the forms, and wrote some easy python to process the post data.
If you wish, I can port this over to watcher, but there isn't much there anymore since the network gear all moved to solarwinds.
That should pretty much cover it.
-- corby
That should be the case, however there are lots of server definitions on watcher. I suspect that there is duplication, but Ken and Dan can probably speak to that. If they don't need to be there, we should tear them down so that its just power and temperatures. Network infrastructure is completely gone. -- corby On 5/25/12 3:34 PM, "Stacey, Craig J." <[email protected]> wrote:
Nice. Name your bounty!
Right now, watcher is handling power and temp monitoring, and peer is handling everything else, is that right? -- Craig
On May 25, 2012, at 2:36 PM, Schmitz, Corby B. wrote:
One final addition on this. Nagios on peer has been outfitted with the web-enabled version of this acknowledgement and downtime scheduler. In the Nagios menu on the left side of the page, you will notice two links: 1. Mass Acknowledgement 2. Schedule Mass Downtime
These are by not means pretty, but I am not a CSS kinda guy. The first one will let you acknowledge (quick select all or select as you go) all active alerts (no messages generated to email figuring we are already slammed with messages). The ACK will remain in place until the problem clears. The second one will allow you to schedule regular downtime at the beginning of an outage for some predictable number of minutes. I tested this out to make sure I could ack and schedule downtime. The scripts are pretty simple. I modified the CLI perl scripts to generate the forms, and wrote some easy python to process the post data.
If you wish, I can port this over to watcher, but there isn't much there anymore since the network gear all moved to solarwinds.
That should pretty much cover it.
-- corby
I think we need to review it, but the only thing I'm aware of that isn't also on peer is the radius monitors. ---- Daniel Murphy-Olson Systems Administrator Mathematics & Computer Science Division Argonne National Laboratory 630-252-0055 ----- Original Message ----- From: "Corby B. Schmitz" <[email protected]> To: "Craig J. Stacey" <[email protected]> Cc: "core-admin >> \"[email protected]\"" <[email protected]> Sent: Friday, May 25, 2012 3:39:48 PM Subject: Re: Bounty! That should be the case, however there are lots of server definitions on watcher. I suspect that there is duplication, but Ken and Dan can probably speak to that. If they don't need to be there, we should tear them down so that its just power and temperatures. Network infrastructure is completely gone. -- corby On 5/25/12 3:34 PM, "Stacey, Craig J." <[email protected]> wrote:
Nice. Name your bounty!
Right now, watcher is handling power and temp monitoring, and peer is handling everything else, is that right? -- Craig
On May 25, 2012, at 2:36 PM, Schmitz, Corby B. wrote:
One final addition on this. Nagios on peer has been outfitted with the web-enabled version of this acknowledgement and downtime scheduler. In the Nagios menu on the left side of the page, you will notice two links: 1. Mass Acknowledgement 2. Schedule Mass Downtime
These are by not means pretty, but I am not a CSS kinda guy. The first one will let you acknowledge (quick select all or select as you go) all active alerts (no messages generated to email figuring we are already slammed with messages). The ACK will remain in place until the problem clears. The second one will allow you to schedule regular downtime at the beginning of an outage for some predictable number of minutes. I tested this out to make sure I could ack and schedule downtime. The scripts are pretty simple. I modified the CLI perl scripts to generate the forms, and wrote some easy python to process the post data.
If you wish, I can port this over to watcher, but there isn't much there anymore since the network gear all moved to solarwinds.
That should pretty much cover it.
-- corby
There are some random host definitions left on watcher. I go back and remove from time to time when I get alerts from both instances. Ken Raffenetti Systems Administration Associate MCS Division - Argonne National Laboratory On 05/25/2012 03:45 PM, Dan Olson wrote:
I think we need to review it, but the only thing I'm aware of that isn't also on peer is the radius monitors.
---- Daniel Murphy-Olson Systems Administrator Mathematics & Computer Science Division Argonne National Laboratory 630-252-0055
----- Original Message ----- From: "Corby B. Schmitz" <[email protected]> To: "Craig J. Stacey" <[email protected]> Cc: "core-admin >> \"[email protected]\"" <[email protected]> Sent: Friday, May 25, 2012 3:39:48 PM Subject: Re: Bounty!
That should be the case, however there are lots of server definitions on watcher. I suspect that there is duplication, but Ken and Dan can probably speak to that. If they don't need to be there, we should tear them down so that its just power and temperatures. Network infrastructure is completely gone.
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug! ..and now back to debugging the userbase tests that are failing.. On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you. -- corby On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
if you put a non-working script on github, there are 50-50 odds someone might fix it for you. -nld On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
I did configure it for our install of nagios. -- Max Trefonides MCS Systems [email protected] On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
It's usable, just not effective. and 98 % of all code in production is something pulled down from the web. Just saying. -- Max Trefonides MCS Systems [email protected] On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
I agree. I certainly don't claim to have an original work, however if I write 1000 lines of code, or download a 1000 lines of code that don't actually do anything, what have I really got? -- corby On 5/25/12 9:14 AM, "Trefonides, Adam A." <[email protected]> wrote:
It's usable, just not effective. and 98 % of all code in production is something pulled down from the web. Just saying. -- Max Trefonides MCS Systems [email protected]
On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
Userbase! On May 25, 2012, at 9:23 AM, Schmitz, Corby B. wrote:
I agree. I certainly don't claim to have an original work, however if I write 1000 lines of code, or download a 1000 lines of code that don't actually do anything, what have I really got?
-- corby
On 5/25/12 9:14 AM, "Trefonides, Adam A." <[email protected]> wrote:
It's usable, just not effective. and 98 % of all code in production is something pulled down from the web. Just saying. -- Max Trefonides MCS Systems [email protected]
On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
Well played sir. -- corby On 5/25/12 9:25 AM, "Walker, Christopher M." <[email protected]> wrote:
Userbase!
On May 25, 2012, at 9:23 AM, Schmitz, Corby B. wrote:
I agree. I certainly don't claim to have an original work, however if I write 1000 lines of code, or download a 1000 lines of code that don't actually do anything, what have I really got?
-- corby
On 5/25/12 9:14 AM, "Trefonides, Adam A." <[email protected]> wrote:
It's usable, just not effective. and 98 % of all code in production is something pulled down from the web. Just saying. -- Max Trefonides MCS Systems [email protected]
On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
Is there a Scots equivalent of a Leprechaun? If so I assume instead of a pot o' gold he has a wee barrel o' scotch. I think I had a visitation last night. -- Max Trefonides MCS Systems [email protected] On May 25, 2012, at 9:25 AM, Chris Walker wrote:
Userbase!
On May 25, 2012, at 9:23 AM, Schmitz, Corby B. wrote:
I agree. I certainly don't claim to have an original work, however if I write 1000 lines of code, or download a 1000 lines of code that don't actually do anything, what have I really got?
-- corby
On 5/25/12 9:14 AM, "Trefonides, Adam A." <[email protected]> wrote:
It's usable, just not effective. and 98 % of all code in production is something pulled down from the web. Just saying. -- Max Trefonides MCS Systems [email protected]
On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
Really? Wasn't me. -- Craig On May 25, 2012, at 9:58 AM, Max trefonides wrote:
Is there a Scots equivalent of a Leprechaun? If so I assume instead of a pot o' gold he has a wee barrel o' scotch.
I think I had a visitation last night.
-- Max Trefonides MCS Systems [email protected]
On May 25, 2012, at 9:25 AM, Chris Walker wrote:
Userbase!
On May 25, 2012, at 9:23 AM, Schmitz, Corby B. wrote:
I agree. I certainly don't claim to have an original work, however if I write 1000 lines of code, or download a 1000 lines of code that don't actually do anything, what have I really got?
-- corby
On 5/25/12 9:14 AM, "Trefonides, Adam A." <[email protected]> wrote:
It's usable, just not effective. and 98 % of all code in production is something pulled down from the web. Just saying. -- Max Trefonides MCS Systems [email protected]
On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
You may be many marvelous things, Craig, but "A wee Scotsman" you are not. ;) Max Trefonides MCS Systems [email protected] On May 25, 2012, at 10:26 AM, Craig Stacey wrote:
Really? Wasn't me. -- Craig
On May 25, 2012, at 9:58 AM, Max trefonides wrote:
Is there a Scots equivalent of a Leprechaun? If so I assume instead of a pot o' gold he has a wee barrel o' scotch.
I think I had a visitation last night.
-- Max Trefonides MCS Systems [email protected]
On May 25, 2012, at 9:25 AM, Chris Walker wrote:
Userbase!
On May 25, 2012, at 9:23 AM, Schmitz, Corby B. wrote:
I agree. I certainly don't claim to have an original work, however if I write 1000 lines of code, or download a 1000 lines of code that don't actually do anything, what have I really got?
-- corby
On 5/25/12 9:14 AM, "Trefonides, Adam A." <[email protected]> wrote:
It's usable, just not effective. and 98 % of all code in production is something pulled down from the web. Just saying. -- Max Trefonides MCS Systems [email protected]
On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
budumpuh! Max Trefonides MCS Systems [email protected] On May 25, 2012, at 9:25 AM, Chris Walker wrote:
Userbase!
On May 25, 2012, at 9:23 AM, Schmitz, Corby B. wrote:
I agree. I certainly don't claim to have an original work, however if I write 1000 lines of code, or download a 1000 lines of code that don't actually do anything, what have I really got?
-- corby
On 5/25/12 9:14 AM, "Trefonides, Adam A." <[email protected]> wrote:
It's usable, just not effective. and 98 % of all code in production is something pulled down from the web. Just saying. -- Max Trefonides MCS Systems [email protected]
On May 25, 2012, at 8:47 AM, Schmitz, Corby B. wrote:
Producing by your definition is fulfilled by pulling an unusable script from the web and saying tada? I expected better from you.
-- corby
On 5/25/12 8:10 AM, "Walker, Christopher M." <[email protected]> wrote:
In max's defense, testing is overrated! Since he produced the first iteration, that should be worthy of a bounty.. let those who come later debug!
..and now back to debugging the userbase tests that are failing..
On May 24, 2012, at 9:49 PM, Max trefonides wrote:
FOOO! FIE! It was a desperate attempt tpo gain some scotchy bounty. I knew it was half baked.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 9:42 PM, Schmitz, Corby B. wrote:
I hate exchange. My original note was gobbled because perl is not an allowed attachment. Anyway.
Unless you hacked that file up to work with the latest version of nagios,it won't do what you want. In fact, it won't do anything as they changed the format of the state files and the permissions on the command file. In peer:/usr/local/bin/ack.pl you can find the version that does work with nagios 3.2. I have been using this with the CHIMAN install on fluke for about 8 months with great success. It is based on the same file that Max grabbed from the web (thank you Santiago Velasco - sanxiago.com). I added the functionality to ack all (without having to type 'y' over and over, use the fancy A for ACK this crap already). I added the appropriate locations for the files and ran it to ACK remaining alerts to verify that things work correctly in a packaged install, which they do.
Come on max, you need to test your code before you raise your hand :)
-- corby
On 5/24/12 8:40 PM, "Trefonides, Adam A." <[email protected]> wrote:
that's
peer:/sandbox/maxadam/bin/mass_scheduler.pl --
Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:39 PM, Max trefonides wrote:
Look in /sandbox/maxadam/bin
script is mass_scheduler.pl
I haven't completely tested it yet.
-- Max Trefonides MCS Systems [email protected]
On May 24, 2012, at 8:16 PM, Craig Stacey wrote:
A bounty of beer, scotch, or other reward to the first person who implements a bulk "acknowledge" on peer.mcs.anl.gov (and any other nagios instance I'm monitoring).
-- Craig
participants (8)
-
Chris Walker -
Craig Stacey -
Dan Olson -
desai -
Ken Raffenetti -
Max trefonides -
Max trefonides -
Schmitz, Corby B.