Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Wed Apr 24, 2019 9:16 am

All times are UTC - 5 hours




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Programatically update device description?
PostPosted: Wed Feb 21, 2018 2:09 pm 
Offline
Cacti User

Joined: Thu May 04, 2017 8:49 am
Posts: 59
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.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group