In Cacti how to add new words before or after device name.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
Babai123
Posts: 31
Joined: Wed Nov 23, 2022 5:09 am

In Cacti how to add new words before or after device name.

Post by Babai123 »

Hi Team,

Is there any possibility to add any words before and after device name.
Lets say i want to add before device name :- soumik "devicename".
Currently i am using Cacti Version - 1.2.18.
Do you have any idea on that.
Please help me on this.

Thanks & regards,
Soumik Mitra.
User avatar
macan
Cacti Guru User
Posts: 1137
Joined: Tue Mar 18, 2008 2:30 am
Location: Czech

Re: In Cacti how to add new words before or after device name.

Post by macan »

Where you want to change it? In graph?
Let the Cacti grow!
Babai123
Posts: 31
Joined: Wed Nov 23, 2022 5:09 am

Re: In Cacti how to add new words before or after device name.

Post by Babai123 »

Hi Macan,

Thanks for your reply. Not in graph portion basically what happens under tree we see sites and under sites device or host name we can see. Need to add words after or before host is it possible in Cacti 1.2.18 version.
How can i do this?
Awaiting for your reply.

Thanks & Regards,
Soumik Mitra.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: In Cacti how to add new words before or after device name.

Post by TheWitness »

Be more specific.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Babai123
Posts: 31
Joined: Wed Nov 23, 2022 5:09 am

Re: In Cacti how to add new words before or after device name.

Post by Babai123 »

Hi Team,

Suppose we have devices and sites as welll. we know that under sites there will be devices right. Devices only having device name can i add before and after any words on devices.
Lets say device name is "eurosil01-4glbb-fr" and i want to make it like that "frede eurosil01-4glbb-fr" is it possible in Cacti.
That's my question. Please help us share you idea.

Thanks & Regards,
Soumik Mitra.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: In Cacti how to add new words before or after device name.

Post by TheWitness »

Right now, you have to do that by hand, one device at a time. Though, if you know SQL well, you can make the update that way using either a tool like Toad, or similar. Afterwards, you will have to 'Reapply Suggested Names' on Graphs and Data Sources though. It's not a big deal so long as you are comfortable with tools that allow raw editing of tables. Just be careful. I used to use MS Access, but it's such a dog. Better to use Toad or Heidi SQL vs. MS Access.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests