Report on what Devices are being monitored

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

Moderators: Developers, Moderators

Post Reply
mdipofi
Posts: 7
Joined: Tue Aug 03, 2010 10:30 am

Report on what Devices are being monitored

Post by mdipofi »

Hi, I am new to Cacti and was tasked to find out what devices are being monitored. I know I can go into monitor and manually pull out the data and put it in an excel spreadsheet. Is there a report or script out there than can pull the names of the devices and IP address of the devices being monitored?

Thank you in advance
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

ReportIt or nectar plugins come to mind. Otherwise a simple SELECT from the cacti device table will also suffice.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Best would be to use the scripts in the cli directory. E.g. http://docs.cacti.net/manual:087:6_refe ... _add_graph using the --list-hosts option
R.
mdipofi
Posts: 7
Joined: Tue Aug 03, 2010 10:30 am

Thank you and question on why I can't see reportit in templa

Post by mdipofi »

I thank you both for the information provided. I have installed ReportIt since I am not good at CLI..but it also appears that I am not good at adding in plugins.

I don't see the the section under templates called Report Templates.

I have modified the /cacti/include/global.php
and added $plugins[] = 'reportit';

after extracting the reportit file in the plugin folder. I even reboot the server just in case. Still a no show. Is there something else I might be missing.

Thank you.
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Post by browniebraun »

In general you do not have to reboot your server for the installation of plugins. Use the plugin management console to install ReportIt. The old PIA 1.x installation routine is longer supported by that plugin.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
mdipofi
Posts: 7
Joined: Tue Aug 03, 2010 10:30 am

Sorry alittle lost

Post by mdipofi »

is there a work around for it..or just doesn't work and not to spend any more time on it
User avatar
browniebraun
Developer
Posts: 791
Joined: Tue Jun 13, 2006 1:17 am
Location: Cologne, Germany

Re: Sorry alittle lost

Post by browniebraun »

mdipofi wrote:is there a work around for it..or just doesn't work and not to spend any more time on it
Remove that line

Code: Select all

$plugins[] = 'reportit'
from global.php and it will show up again in the management console.

Best regards
-Andreas-
Hat das Blümchen einen Knick, war der Schmetterling zu dick! ;)
reportit v0.7.5a
SNMPAgent v0.2.3
Download ReportIt | Download SNMPAgent | ReportIt SVN | ReportIt Templates | Wish list
User avatar
TheWitness
Developer
Posts: 17062
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

If it's a simple tab delimited file and you want to load into Excel, do the following:

Code: Select all

mysql -e "select id, description, hostname from host" cacti > hosts.csv
Download to your Winders box and open. It should be tab delimited.

TheWitness
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 15 guests