kevo
I am thinking about using our dokuwiki to keep configuration backups for some of our network equipment.
The devices in question can output their configs as text through SSH and I already have written a small shell script that can grab the config text from the device.
When thinking about where to store these for easy access if/when they are needed I thought it might be nice to have them in our wiki since we already have a lot of documentation there.
So to start with I made a page with a section for each device and I linked in a single page with a code block and the config in each section. So far I like this setup pretty well. It's easy to retrieve a config if needed, it's searchable, and I can get a diff on a newer config with an older one.
So now I am thinking I should automate this somehow and make it easy for someone to add a new device.
So basically have a page that stores the basic info on each device, Name, IP, Description, and then have a script that takes care of automatically checking each device daily and if the config has been updated since the last one, grab the new one and make the last one a revision.
Since I have very little experience with dokuwiki, only installing it and editing pages, I was hoping someone with some dokuwiki dev experience might take my idea and offer some suggestions on how to integrate it. Should I look at making a plugin? Should I just dump pages into it using an api? Is there any existing plugins or features that might be modified to accomplish my vision?