NetTools-Ping, TraceRoute, NsLookup, WhoIs, Nmap, Snmpwalk

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Locked
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

NetTools-Ping, TraceRoute, NsLookup, WhoIs, Nmap, Snmpwalk

Post by streaker69 »

My second plugin. Since it seems as though the old Network Tools plugin is no longer being updated, I decided to write something from the ground up. This is not a re-write of the existing plugin.

With this plugin you can Ping, TraceRoute, NsLookup, WhoIs, Nmap and Snmpwalk from your Cacti box. For those that aren't familiar with doing these types of things from a webserver, your Pings and Traceroutes will originate from your Cacti box, not from where your client machine is.

I've tested everything out on my box and it all works as the apache user under CentOs 5.2. Obviously you'll need all these tools installed on your box for them to work.

Install it the way you would any plugin, chown the directory and go to Settings -> Misc -> Nettools and enter in all the configuration settings.

Questions or comments, please post them here.
Attachments
nettools-0.1.5.tar.gz
Nettools 0.1.5 7/11/2008 18:44 EST

Fixed minor hard coded path problem and it will now properly update version information.
(3.46 KiB) Downloaded 1848 times
Last edited by streaker69 on Fri Jul 11, 2008 5:44 pm, edited 1 time in total.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
User avatar
streaker69
Cacti Pro User
Posts: 712
Joined: Mon Mar 27, 2006 10:35 am
Location: Psychic Amish Network Administrator

New version 0.1.5

Post by streaker69 »

Some minor bug fixes that were found.

If you're having issues with some of the tools running from their default locations, you can copy the binary files of those tools into the ./plugins/nettools/bin directory and then chown -R those files to your user that runs your website.

Update your paths in the settings if you do that otherwise it will still call the binaries from their original location.

I've found that works with all the tools except for Ping, so leave ping in it's default location.
[b]Cacti Version[/b] - 0.8.7d
[b]Plugin Architecture[/b] - 2.4
[b]Poller Type[/b] - Cactid v
[b]Server Info[/b] - Linux 2.6.18-128.1.6.el5
[b]Web Server[/b] - Apache/2.2.3 (CentOS)
[b]PHP[/b] - 5.2.9
[b]MySQL[/b] - 5.0.45-log
[b]RRDTool[/b] - 1.3.0
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b]PHP Network Managing v0.6.1, Global Plugin Settings v0.6,thold v0.4.1,XMLPort v0.3.5,CactiCam v0.1.5,NetTools v0.1.5,pollperf v0.32,RRD Cleaner v1.1,sqlqueries v0.2,superlinks v0.8,syslog v0.5.2,update v0.4,discovery v0.9,zond v0.34a,hostinfo v0.2,Bloom v0.6.5,mactrack v1.1,weathermap v0.96a,mobile v0.1
xp1862
Posts: 2
Joined: Wed Feb 20, 2008 3:17 am

Post by xp1862 »

I install this plugin succeed !
But how to use it ??

==========================
Cacti Version - 0.8.7a
Plugin Architecture - 1.4
Poller Type - Cactid v
Server Info - Linux 2.6.9-42.EL
Web Server - Apache/2.0.52 (CentOS)
PHP - 4.3.9
PHP Extensions - yp, xml, wddx, tokenizer, sysvshm, sysvsem, standard, sockets, shmop, session, pspell, posix, pcre, overload, mime_magic, iconv, gmp, gettext, ftp, exif, dio, dbx, dba, curl, ctype, calendar, bz2, bcmath, zlib, openssl, apache2handler, gd, ldap, mysql, odbc, pgsql, snmp
MySQL - 4.1.20
RRDTool - 1.0.50
SNMP - 5.1.2
Plugins
  • Host Info (hostinfo - v0.2)
    Device Monitoring (monitor - v0.8.2)
    Update Checker (update - v0.4)
    Network Tools (tools - v0.3)
    Global Plugin Settings (settings - v0.5)
    Thresholds (thold - v0.3.9)
    PHP Network Managing (manage - v0.5.1)
    PHP Network Weathermap (weathermap - v0.941)
    RRD File Cleaner (RRD Cleaner - v0.32)
    NetTools for Cacti (NetTools - v0.1.5)
heqisong
Posts: 8
Joined: Fri Apr 10, 2009 3:39 am

It's easy

Post by heqisong »

console->Utilities->nettools,you will see that

[/url]
heqisong
Posts: 8
Joined: Fri Apr 10, 2009 3:39 am

Post by heqisong »

I meet a problem , Nslookup doesn't work well
heqisong
Posts: 8
Joined: Fri Apr 10, 2009 3:39 am

Post by heqisong »

I meet a problem , Nslookup doesn't work well
User avatar
NHDave
Cacti User
Posts: 61
Joined: Sun Mar 20, 2005 9:14 am
Contact:

Post by NHDave »

On the latest and it still says "update available".
[quote][b]Cacti Version[/b] - 0.8.7e
[b]Plugin Architecture[/b] - 2.6
[b]Poller Type[/b] - CMD.php
[b]Web Server[/b] - Apache/2.2.3 (Red Hat)
[b]PHP[/b] - 5.1.6
[b]MySQL[/b] - 5.0.45
[b]RRDTool[/b] - 1.3.8
[b]SNMP[/b] - 5.3.2.2
[b]Plugins[/b][list]Global Plugin Settings (settings - v0.5)
Thresholds (thold - v0.4.1)
Device Monitoring (monitor - v0.8.2)
NetTools for Cacti (NetTools - v0.1.5)
Update Checker (update - v0.4)
Host Info (hostinfo - v0.2)
PHP Network Managing (PHP Network Managing - v0.6.1)
PHP Network Weathermap (weathermap - v0.97a)
Cacti Log View (CLog - v1.21)
reports - v0.1b[/list][/quote]
User avatar
Hyperlord
Cacti User
Posts: 211
Joined: Tue Feb 10, 2009 3:24 am
Location: Frankfurt (a.M.), Germany

Post by Hyperlord »

Last post was over a year ago ...
Om Tat Sat
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

The Updates plugin is deprecated. Please find updated plugins at:

http://docs.cacti.net/plugins

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?
Locked

Who is online

Users browsing this forum: No registered users and 0 guests