I'd love to find a way to safely upgrade my NSClient from 0.4.1.105 to 0.5.0.x on Windows Servers.
But as you know a lot has changed since. One of the things is the perdata returned by standard services, such as drive usage. After doing a standard upgrade, I noticed the perfdata is getting switched. C__% becomes C__used and C_ becomes C__used_% resulting in a graph where used % and used GB are suddenly switched.
How could I prevent this from happening? What would be the best way to keep my history and being able to migrate safely with changed perfdata? I would need to do this in a scripted way, as I have 600 servers on my todo. If it's too much manual labour, I will just have to remove the old rrd and xml for each service i'm migrating with changed perfdata implying I'm loosing 3 year old history.
I'm open for alternative options, such as renaming the service to DRV_C_Usage.old and then starting from scratch in a new DRV_C_usage. But how can I script a rename of a service. What needs to b done in the xml and rrd? Just sed replace all old servicenames to the new service names?
Grtz
Willem