Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Nov 19, 2017 9:23 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: add more field into device record
PostPosted: Tue Oct 10, 2017 4:16 am 
Offline
Cacti User

Joined: Wed Dec 07, 2011 9:19 am
Posts: 241
I'd like to use Cacti as inventory for all of my network equipment

Is it possible to include into the 1.2 future version 3 mores field into the device DB
Serial number
type
location

Now i can just add it into the comment part, but it' hard to make a search or a sort based on this text field.

Thanks in advance,

_________________
CentOS
Production
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.3, Map 0.4

Test
Cacti 1.1.27
Spine 1.1.27
Own plugin:
LinkDiscovery 1.1
Map 1.1.0


Top
 Profile  
 
 Post subject: Re: add more field into device record
PostPosted: Tue Oct 10, 2017 4:46 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2633
Location: Kressbronn, Germany
You can do that via a plugin. In fact my updated Cacti 1.x book does contain a howto for such a plugin ... ( see the Serial Number / Warranty fields in the screenshot )

The Location is already existing in Cacti 1., it's the Device Site Association.


Attachments:
3920_09_05.png
3920_09_05.png [ 29.46 KiB | Viewed 136 times ]

_________________
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code:
CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
Top
 Profile  
 
 Post subject: Re: add more field into device record
PostPosted: Tue Oct 10, 2017 5:31 am 
Offline
Cacti User

Joined: Wed Dec 07, 2011 9:19 am
Posts: 241
I know I can do that via plug-in, I have some I developed) but I thinks it can be for general interest

_________________
CentOS
Production
Cacti 0.8.8h
Spine 0.8.8h
PIA 3.1
Aggregate 0.75
Monitor 1.3
Settings 0.71
Weathermap 0.98
Thold 0.5
rrdclean 0.41

Own plugin: LinkDiscovery 0.3, Map 0.4

Test
Cacti 1.1.27
Spine 1.1.27
Own plugin:
LinkDiscovery 1.1
Map 1.1.0


Top
 Profile  
 
 Post subject: Re: add more field into device record
PostPosted: Sun Oct 15, 2017 6:02 pm 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 542
Pretty sure I saw something about plans for location, and device types being supported as a function of site tree branches.

_________________
Before history, there was a paradise, now dust.


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

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 1 guest


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