• 1 Post
  • 265 Comments
Joined 2 years ago
cake
Cake day: June 19th, 2023

help-circle




  • Many years ago, the university I studied at did some construction work in the chemistry department, which included rerouting the supply lines from the big oxygen and LPG tanks so they could reach the new lab they were building.

    Turns out the contractor was either an idiot or misread the plans, and ended up running the pipes straight through one of the fire-resistant walls designed to compartmentalize the building so fires can’t spread as easily - a hole in one is a Big Deal on its own, but then running pipes full of accelerant through it essentially voided the buildings safety certificate and insurance, and ment that if there was a fire, the main evacuation path would have been a deathtrap.

    I don’t know what happened to the contractor, but labs were closed for a few weeks while they purged the lines of gas, removed the badly installed lines and repaired the wall






    • https://github.com/prometheus/node_exporter?tab=readme-ov-file#textfile-collector - which makes node exporter watch a specific directory for files that contain metrics, then re-export them back to the central Prometheus server
    • Some systems have their own metrics endpoints - instead of getting Prometheus to scrape these directly I set up a Cron job to curl these into files for node exporter - this means I don’t need extra config in Prometheus to find the endpoints, and don’t need to mess with firewall rules
    • Other systems don’t directly expose metrics in a format Prometheus can use - in this case I will write/find a script that can do the conversation, then either set it up to write the metrics file directly and run it on a Cron, or run it as a service and another Cron job to do the scrape





  • RegalPotoo@lemmy.worldtoLemmy Shitpost@lemmy.worldOh well...
    link
    fedilink
    English
    arrow-up
    24
    arrow-down
    1
    ·
    2 months ago

    Back when I worked a shitty retail job we would usually hire a few people on fixed term/fixed hours over the Christmas/New Year peak (ie, you get minimum 20 hours a week for 16 weeks starting November 1st), first couple of weeks are mostly training, then peak, then cover into the new year while the full time people take some leave.

    Had one guy who got to the end of his training then informed management that he would need leave approved starting now and right through peak because his family was going to an expensive ski resort but that he’d happily pick up some more hours when he got back. Got really salty when he was told that that wasn’t going to happen, and he was welcome to go anyway but shouldn’t expect a job when he got back.