Why not just make the agent do the sums of time since last run/success..?
Then all you are doing is maybe collecting a "last status" and a timestamp.
If timestamp > threshold...
I'd suggest sticking to seconds is probably best. I can't think of many off my head that operate in milliseconds.
But I do defer to your own preference.
Hell, we don't even use puppet (& honestly, I'd have thought this would be a built in module for puppet to alert on???)
Michael
On 3 August 2017 6:42:53 PM AEST, Tom Laermans tom.laermans@powersource.cx wrote:
Indeed. Temporary "easy way out" is to create a status from the agent, with the code internally checking if the date is x days ago or not, but
it would be better to actually store the date and make an alert out of it!
(Even more) food for thought.. :/
Tom
On 08/02/2017 11:38 PM, Adam Armstrong wrote:
Sure, but we'll need to invent some infrastructure for storing this data in a generic but useful way and indicating it somewhere.
Man, this stuff is hard!
Adam.
Sent from BlueMail http://www.bluemail.me/r?b=10256 On 2 Aug 2017, at 22:00, Michael <obslist@smarsz.com mailto:obslist@smarsz.com> wrote:
I'd head down the unix-agent path for this one. Then just write
the corresponding app component for observium.
Michael On 3 August 2017 6:18:32 AM AEST, Timothy Illguth
tillguth@alaska.edu wrote:
Adam, When you run puppet it spits out a .yaml status file. The course of action I think I need to take is as follows: 1) Write a snmp script to pull status from the .yaml file 2) Somehow get Observium to see it in snmpd via custom OID? 3) Move the OID to the alerts page somehow? Any help with these steps? better steps? Thanks On Wed, Aug 2, 2017 at 11:33 AM, Adam Armstrong <adama@memetic.org> wrote: Umm... How would one access such information? adam. On 02/08/2017 20:32:05, Timothy Illguth
wrote: Help Please, I'm trying to add a puppet run succeeded/failed alerts to my observium alerts page. Has anyone succeeded in this endeavor? -- ___________________________ Tim Illguth Jr. Systems Administrator Alaska Satellite Facility (907) 474-7924
observium mailing list observium@observium.org http://postman.memetic.org/ cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium