inventory plugin

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This involves creating a plugin. Best resource is http://cactiusers.org, the documentation (unfortunately not up-to-date, it still shows PIA1.x) and some of those plugins. Start with smaller ones to get the idea.
Reinhard
X505
Posts: 39
Joined: Fri Jun 29, 2007 3:53 pm
Contact:

Post by X505 »

thanks a lot !
do you know if this could be include in a future version of cacti ?
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

I don't think so. Was never asked before. Best is to add a request to the Feature Request forum.
Reinhard
X505
Posts: 39
Joined: Fri Jun 29, 2007 3:53 pm
Contact:

Post by X505 »

at least, is it possible to simply display the "tree" membership in the host list ?

Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Both this request and your former one are doable, IMHO. But both are new. Post your reuqest to the feature request forum, please. But do not assume that they will be implemented unless other users have a demand for it.
At least, in both cases a PLUGIN solution may solve your problem without waiting for a "general product solution"
Reinhard
X505
Posts: 39
Joined: Fri Jun 29, 2007 3:53 pm
Contact:

Post by X505 »

ok, i'll try my self first.
thanks a lot again
i'll take you informed on this topic if i can do something good :)
Dr.Dritz
Posts: 44
Joined: Wed Apr 02, 2003 2:48 pm
Location: Southern Denmark

Inventory plugin

Post by Dr.Dritz »

gandalf wrote:Currently, I'm creating an INVENTORY plugin, purely based on SNMP. It will fetch hrSoftware stuff and some data from the basic SYSTEM (sysLocation, sysContact and stuff). But I fear you will want to get data beyond SNMP capabilities ...
Reinhard
Hi Reinhard,
do you have any news on the Inventory plugin?
I am very keen on testing it, as this could become very handy.
Are we able to specify which OID info is harvested?
In my case I could use location and the physical mac addreses of a device, beside Name, IP, Make etc.

Best Regards
Dritz
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Until now, I was focussing on
- software assets, installed software and stuff (HOST table)
- hardware ressources as far as available from the HOST table

This bit works but may require some tuning. But nevertheless, the results seemed to weak for publishing, IMHO.
Please explain in more detail, what you would like to see in this plugin.
Reinhard
Dr.Dritz
Posts: 44
Joined: Wed Apr 02, 2003 2:48 pm
Location: Southern Denmark

Post by Dr.Dritz »

Well,
I am looking for a tool that can make a report from some more or less static information from the known devices.
I guess the most information is somewhere in the system.
In my case I have a system managing wireless APs and the admins have filled in the location field of the APs but unfortunately the name of the system is not always reflecting the location.
Also the mac adresses could be useful to see at a glance as this is something they use to locate the coverage in another system.
They have the info in an excel sheet but it is not always up to date.
Another handy information that could be manually supplied could be a service contract no., but that would be secondary.
Thanks for listening.
- Dritz
wolf31o2
Posts: 4
Joined: Thu Aug 21, 2008 1:47 pm
Location: Mountain View, CA

Post by wolf31o2 »

gandalf wrote: - software assets, installed software and stuff (HOST table)
- hardware ressources as far as available from the HOST table

This bit works but may require some tuning. But nevertheless, the results seemed to weak for publishing, IMHO.
I would love to see this plugin. All that I need (currently) is this simple information for an inventory.
[url=http://git.wolf31o2.org/gitweb/?p=devs/wolf31o2.git;a=tree;f=cacti/netapp;hb=HEAD]My Git repository[/url] (Cacti and other stuff)
mikygee
Cacti User
Posts: 88
Joined: Thu Jul 30, 2009 3:13 am

Re: inventory plugin

Post by mikygee »

Hello,
I would be curious to know if this project is still on the table.
Have a nice week
Some info about my system
- Cacti: 0.8.8g / OpenBSD 6.6
- Third Party: Nginx 1.16.1 / PHP 7.3.10 / MariaDB 10.3.18v1 / NET-SNMP version 5.8p2 / RRDTool 1.7.2
- Plugins: Weathermap 0.97c / Settings 0.71 / Thold 0.5 / Flowview 1.1 / Realtime 0.5.2 / Predict 1.0
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: inventory plugin

Post by TheWitness »

Please see the hmib plugin.
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