Programatically update device description?

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Moderators, Developers

Post Reply
Author
Message
shonaran
Cacti User
Posts: 59
Joined: Thu May 04, 2017 8:49 am

Programatically update device description?

#1 Post by shonaran » Wed Feb 21, 2018 2:09 pm

Is there an easy way to programatically update the description field for several devices? I need to add some extra information for the devices but do not want to edit them one by one.

UPDATE: I used the following statement "update host set description='XXXX' where hostname='YYYY';" to update the description of a single host. Then some simple cut/paste in excel to apply the same change to multiple hosts.

Post Reply