ytti / oxidized

Oxidized is a network device configuration backup tool. It's a RANCID replacement!
Apache License 2.0
2.74k stars 913 forks source link

Hook event nodes_done only has sparse env set (OX_EVENT=nodes_done) #3031

Open frittentheke opened 7 months ago

frittentheke commented 7 months ago

The hooks and event mechanism is awesome to extend Oxidized with your own workflows.

But when triggering hooks with the nodes_done event, there only is OX_EVENT=nodes_done in env. It would be awesome to know if all nodes were fetched successfully or if there were failures. I expected the OX_JOB_STATUS and OX_JOB_TIME to at least be available.

frittentheke commented 3 months ago

Can I revive this?

robertcheramy commented 3 months ago

@frittentheke - reopened as requested. If you want this Issue to be resolved, give ruby a try and make Pull Request ;-)