Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sun Dec 16, 2018 1:34 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: CACTI agent for windows/linux ?
PostPosted: Fri Sep 28, 2018 6:22 pm 
Offline
Cacti User

Joined: Sun Feb 26, 2017 10:33 am
Posts: 82
Hi everyone,

I am glad that version 1.2 is on his way to be completed but I was curious if there is any future plan to develop agents to extend CACTI.


Top
 Profile  
 
 Post subject: Re: CACTI agent for windows/linux ?
PostPosted: Sat Sep 29, 2018 6:19 pm 
Offline
Cacti Guru User

Joined: Sun Aug 27, 2017 12:05 am
Posts: 1818
Cacti Primarily uses SNMP, which is available under Windows and Linux. On Linux, the Net-SNMP packages are also extensible. Plus there are a tonne of scripts to gather more data and even a WMI plugin (though i've never tried it myself).

What would you envision the agent for?

_________________
Official Cacti Developer

Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation

My resources:
How to submit Pull Requests
Development Wiki and How To's
Updated NetSNMP Memory template for Cacti 1.x
Cisco SFP template for Cacti 0.8.8


Top
 Profile  
 
 Post subject: Re: CACTI agent for windows/linux ?
PostPosted: Sun Sep 30, 2018 4:05 am 
Offline
Cacti User

Joined: Sun Feb 26, 2017 10:33 am
Posts: 82
Agents for passive monitoring on the CACTI servers and active monitoring for the remote devices.

I think NAGIOS and Zabbix and others has a similar approach and it could help on server monitoring, practically you would run the agent on the server/device and collect data locally, package it and send it back to the poller for processing, TCP for critical devices and UDP maybe optional.

CACTI pollers would run a process (or a number of them) to collect inbound data packaged (and possibly encrypted...) matching the related data source, imagine like a tag set in the payload with dynamic data structure where you have the ID of the device or directly the data source to populate and the actual value, it may contain also the time window slot record so in case of loss of communication the agent may store it locally and send it once restored all together (kinda how it works with remote pollers).

agents and pollers should authenticate themselves via a key or a PAC file (manually or automatically generated)

Another interesting topic would be to see an implementation using REST APIs but this is I guess dependent on the devices to monitor and it could be even easier to implement as a server side PHP script calling up for Objects even if I am not sure how it would be handled on the error/values side.


Top
 Profile  
 
 Post subject: Re: CACTI agent for windows/linux ?
PostPosted: Mon Oct 08, 2018 6:20 am 
Offline
Cacti Pro User
User avatar

Joined: Mon Jan 05, 2015 10:10 am
Posts: 610
There are a few things I was thinking about, they are, in no particular order:

1) Bringing back cigamit's wmi plugin that would allow WMI queries to be periodically run from the Cacti server and stored locally for graphing. Entries would be chached into MariaDB/MySQL tables and then the poller would capture data from the tables. This would essentially result in a scalable wmi implementation.

2) Writing a carbon2cacti plugin that would enable the creation of from one to many ingestion services on the Cacti server that would siphon data from either a carbon server or an AMQP service. Then, you would only have to deploy collectd on windows to get all the standard metrics. This plugin seems somewhat trivial in it's simplest form in that the carbon protocol is a wire protocol that is simple to dissect. However, collectd also supports AMQP and encryption which would add a few layers of complexity.

_________________
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 0 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