Cacti (home)ForumsDocumentation
Cacti: offical forums and support
It is currently Sat Aug 19, 2017 5:40 pm

All times are UTC - 5 hours




Post new topic Reply to topic  [ 492 posts ]  Go to page 1, 2, 3, 4, 5 ... 33  Next
Author Message
 Post subject: Network Management Integration Plugin ( v0.3.9a Build 129 )
PostPosted: Thu Jan 31, 2008 6:52 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
Network Management Integration Plugin

Hi,
I didn't like the Advanced Ping template, as it is not as good as the smokeping graphs. As it's not possible to get Cacti to create the same graphs from the smokeping rrds, I've actually added some integration code to cacti itself.

The screenshot below shows a smokeping graph right below a cacti graph.

Please look at the documentation on how to use/install the NMID Plugins.

The NF Tracker stuff is for NetFlow Tracker from Crannog/Fluke Software, which displays the Top Application for In and Out Interfaces as a history chart within Cacti as well as TopN Reports for Source Addresses. I removed this stuff from the display section, so contact me if you're interested in this, too.

Enable nmid in global.php or use the Plugin Management module in PA2.x
Code:
$plugins[] = 'nmidNFTracker';
$plugins[] = 'nmidCiscoWorks';
$plugins[] = 'nmidPhpip';

// the following plugins use PA 2.x and need to be installed through the plugin management interface:
//$plugins[] = 'nmid';
//$plugins[] = 'nmidSmokeping';
//$plugins[] = 'nmidNagiosPNP';
//$plugins[] = 'nmidWebService';
//$plugins[] = 'nmidTaskManager';


Please look here for the NMID Combatibility Matrix and the current Status of the plugins:

Image

Plugin Download
Download the NMID Plugins


NMID Homepage
You can find some additional screenshots and information at the NMID Homepage

Demo Systems

The demo system is down for now.

Upcoming Features
  • Separate .tgz files for each plugin
Please contact me if you have any ideas what can be integrated !

Version History

** Update v0.3.9a - Build 129 **
nmidPhpip - fixed a bug for the smokeping cgi script not working under linux (line endings)
nmidPhpip - fixed the sorting order of IP address (hopefully :-)
nmidPhpip - added the display of the prefixes

** Update v0.3.9a - Build 126 **
nmidPhpip - fixed a bug preventing the correct settings of "default" values for subnets
nmidNagiosPNP - added plugin to display Nagios PNP graphs within Cacti. The plugin behaves like the nmidSmokeping plugin.

** Update v0.3.9a - Build 122 **
nmid - Changed menu order so "logout" is at the bottom again
nmidTaskManager - Changed the rights for the "View Tasks in Console" function

** Update v0.3.9a - Build 120 **
nmidTaskManager - Fixed some minor bugs. removed the Checkbox from the login screen task table

** Update v0.3.9a - Build 119 **
nmidTaskManager - A complete rebuild of the TaskManager Plugin

** Update v0.3.9a - Build 105 **
nmid - fixed some installation bugs reported by wwdrich
nmidSmokeping - added two more settings for the config and url to the perl script
nmidSmokeping - changed installation routine to use PA 2.x
nmidWebService - changed config retreival function to use the new config dir
nmidWebService - changed installation routine to use PA 2.x

** Update v0.3.9a - Build 103 **
nmidTaskManager - fixed the setup routine which didn't work

** Update v0.3.9a - Build 102 **
nmid - removed some header from the device config screen to make it more readable
nmid - fixed a small bug that showed a "Save Successfull" although no save was taking place

** Update v0.3.9a - Build 100 **
all - updated device config table design to use cacti format
nmidPhpIP - fixed printing function
nmidPhpIP - added ability to change client field to something else then "cacti device"
nmidPhpIP - changed import function to use cacti form functionality instead of EXT JS design
nmidTaskManager - fixed bug that displayed tasks in console even if the user didn't have appropriate rights

** Update v0.3.8n **
fixed bug in nmidGraphView. This is still experimental so a lot(!) erros will occur in the apache log ...
updated version information

** Update v0.3.8m **
fixed a bug adding a column to the wrong table ( nmidPhpip )

** Update v0.3.8l **
fixed a bug in prefix-remove which didn't allow the re-adding of prefixes (nmidPhpip)
changed "isCactiDevice" detection to store status in database

** Update v0.3.8k **
added support for display order in nmidPhpip

** Update v0.3.8j **
updated nmid base plugin to use PA 2.x install/unisntall interface
Notes and Description fields can now be owerwritten ind the nmidPhpip plugin
fixed some default varaibles not initialized correctly ( nmidPhpip )

** Update v0.3.8i **
added import functionality to nmidPhpip

** Update v0.3.8h **
fixed some wrong variable definitions in nmidPhpip

** Update v0.3.8g **
fixed log errors produced by nmidTaskManager
fixed the IE bugs

** Update v0.3.8f **
fixed log errors produced by nmidPhpip

** Update v0.3.8e **
Added a TaskManager. Has some known bugs when using IE
Updated nmidPhpip to use extjs framework

** Update v0.3.8c **
Added phpIP as plugin to the suite. Cacti devices are automatically recognized. Devices can be IP or DNS based.
Added a sub-menu functionality in the nmidPhpip plugin. This requires some changes in the html.php file. See this feature request for cacti 0.8.7b.

** Update v0.3.8a **
smokeping cgi addon now uses web-service to retrieve security related info
added ability to show nmid as tab or within console through the settings page

** Update v0.3.7f **
added support for detail/overview graph in smokeping
added enable/disable option for smokeping link

** Update v0.3.7e **
updated smokeping bug when tree-name contained a dot in the name

** Update v0.3.7d **
updated smokeping display cgi to use prober target/path
updated smokeping shortcut with path/target link

** Update v0.3.7c **
fixed a smokeping config bug, which didn't replace special chars in the hostname

** Update v0.3.7b **
Fixed another bug in graph_view.php creating a sql error

** Update v0.3.7 **
Fixed a bug in graph_view.php creating a sql error
Included nmid_update.php database update file

** Update v0.3.6 **
Fixed a bug in the save method not saving the device options correctly
Removed deploy.cgi url from smokeping settings section

** Update v0.3.5 **
Splitted network management system support into different plugins
Added Web-Service support for remote server configuration
Removed the deploy.cgi script
Changed realmid from 91/92 to 1191/1192 to solve a conflict
Removed CiscoACS support for now
Each network management system can be enabled as an additional plugin.

** Update v0.3 **
Added support for CiscoWorks CSV Version 3 file creation
Added support for CiscoACS csUtil csv file creation
Added support for up to 4 smokeping servers

** Update v0.2 **
The smokeping part is now just a small addon to the nmid plugin, so I changed the posting header ...


Attachments:
File comment: Network Management Inventory Database - Alpha
nmid_newDesign.jpg
nmid_newDesign.jpg [ 16.06 KiB | Viewed 79513 times ]
File comment: Basic NMID Documentation
NMID_Documentation_v0.3.8a.pdf [636.11 KiB]
Downloaded 4481 times
File comment: Smokeping Integration Example from the Demo WebPage
nmid_weboutput_smokeping.jpg
nmid_weboutput_smokeping.jpg [ 51.03 KiB | Viewed 80169 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


Last edited by phalek on Thu Jan 14, 2016 8:01 am, edited 73 times in total.
Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 01, 2008 10:52 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
To ease the smokeping integration in regards to Smokeping administrative work, I'm currently also creating a Network Management Inventory Database (NMID) utilizing some of the Cacti functionality (especially the tree on the left).

It's build as a plugin, though it needs some very minor changes to the original cacti source code.

It currently can:
  • List all devices which are underneath the select tree.
  • Option to add/delete devices to the smokeping config ( selection is stored in the database )
  • Creates the smokeping "Target" section, based on the cacti tree and containing the hosts previously selected.
  • Ability to deploy config to smokeping ( on a remote system )


The plugin is supposed to ease the smokeping integration i mentioned in my earlier post, but can be used standalone to have a better integration between smokeping and cacti.


Attachments:
File comment: NMID Alpha Screenshot ( Updated )
NMID_AlphaVersion_Screenshot.jpg
NMID_AlphaVersion_Screenshot.jpg [ 21.28 KiB | Viewed 79878 times ]


Last edited by phalek on Wed Feb 06, 2008 4:03 am, edited 1 time in total.
Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 02, 2008 1:18 pm 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
phalek wrote:
It's build as a plugin, though it needs some very minor changes to the original cacti source code.
That's an interesting approach. Please make it more clear in which way modifications are required. You may ask Jimmy to add more plugin hooks to avoid permanent modifications during release cycles.
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 06, 2008 4:05 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
Thanks for the reply, I'm going to clean up the stuff, first.

Once I've done that I'll post more details here.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 06, 2008 4:31 am 
Offline
Developer
User avatar

Joined: Thu Dec 02, 2004 2:46 am
Posts: 22461
Location: Muenster, Germany
Please ask Jimmy nevertheless. Even he'll need some time, cause he's quite busy with upcoming 088
Reinhard

_________________
Official Cacti Documentation
Official Debugging Help
Central Plugin Repository
Central Templates Repository


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 14, 2008 12:16 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
Ok, I've asked Jimmy, and unfortunately, there isn't anything (yet) to display other things than the rrd graphs.

But I guess with some time and deeper look into that stuff it might be possible to hook something in there...

Nevertheless, I've created a pakage now and uploaded it here. So anyone willing to play around with it can do it now. Please post back your issues and comments.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 21, 2008 10:44 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
I managed to add the additional html to my plugin now, so the only line that needs to be added to the html_tree.php is now:

do_hook_function('tree_after',$host_name.','.get_request_var("leaf_id"));

I uploaded the new code. Make sure you read the README in the plugins/nmid directory.

Just to show what is possible with this plugin, here's a screenshot of the reports I create for NetFlow Tracker ( yes, that's right, you see a table there, right below the graphs !)


Attachments:
File comment: NetFlow Tracker Graphs with TopN Sources Table
nmid_weboutput_screen.jpg
nmid_weboutput_screen.jpg [ 77.73 KiB | Viewed 79164 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Sat Feb 23, 2008 4:07 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
I've updated NMID to include the following:

  • Ability to create CiscoWorks Import file (CSV Version 3)
  • Ability to create CiscoACS Import file

I'm currently working on adding the following:

  • Support for per device RW snmp communities
  • Support for per device Login userid/password/enable password
  • Support for NDG (Network Device Groups) for CiscoACS
  • Support for per device Vendor type for CiscoACS
  • Lucent VitalNet Support


I'm going to upload the new version once i added the per-device stuff, as I don't think everyone uses the same information on all devices ...


Attachments:
nmid_export_finished.jpg
nmid_export_finished.jpg [ 34.21 KiB | Viewed 79042 times ]
nmid_configuration_screen.jpg
nmid_configuration_screen.jpg [ 73.47 KiB | Viewed 79041 times ]
Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 28, 2008 1:13 pm 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
I upgrade the nmid plugin to 0.3.5 with the following changes:

  • Added a WebService (based on NuSoap) for retrieving the configs fro Smokeping and Ciscoworks from a remote system. Web-Service access is password protected ( See NMID Settings)
  • Created a plugin for each network management system, so one can enable or disable the systems they use
  • Removed the CiscoACS support for now, to focus on the other nms plugins
  • Changed realmid to solve a conflict with another plugin


Any comments are welcome


Top
 Profile  
 
 Post subject: Ticketing ingtigration
PostPosted: Thu Feb 28, 2008 2:11 pm 
Offline
Cacti User
User avatar

Joined: Tue May 22, 2007 7:56 am
Posts: 278
Location: Pensacola, Fl - Padacuh, Ky-Alpena, MI-Gulf Shores,AL
What about adding ticketing interface to cacti ?

What open source ticketing do you like ?


Top
 Profile  
 
 Post subject: Re: Ticketing ingtigration
PostPosted: Fri Feb 29, 2008 3:25 am 
Offline

Joined: Thu Apr 26, 2007 5:27 am
Posts: 25
chrisgapske wrote:
What about adding ticketing interface to cacti ?

What open source ticketing do you like ?

We, and our customers, use RT from http://www.bestpractical.com/rt which together with two extensions also let us document things throught RTFM and keep track of assets through RT-AT extension.
To get a feeling of the system, http://rt3.fsck.com/?user=guest&pass=guest , which uses the latest available RT version.

Joop


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 29, 2008 10:27 am 
Offline
Cacti User
User avatar

Joined: Mon Nov 04, 2002 9:15 am
Posts: 110
Location: ACEH
Hi Phalek,

I see deploy.cgi script has removed on version 0.3.5 but on NMID configuration screen version v0.3.5 , there is still a field for "Smokeping Deploy URL". Do I need to fill something on it? And how to use update.sql? Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 29, 2008 10:39 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
Hi sizulku,

No you don't need to fill in anything into the url field.

It's good that you mention that as i simply to fo

you can use the update.sql from the command line the following way:

mysql -u <cactidbuser> -p <cactidbname> < update.sql

e.g.

mysql -u cactiuser -p cacti < update.sql


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 29, 2008 11:42 am 
Offline
Cacti Guru User
User avatar

Joined: Thu Jan 31, 2008 6:39 am
Posts: 2598
Location: Kressbronn, Germany
Update to v0.3.6

I found a bug which prevented the correct saving of the device options (add to smokeping/add to nf tracker/...)

I also removed the unnecessary link to the deploy.cgi. The web-service shoud be used to retrieve the smokeping (and other) configuration from nmid.

  • Fixed a bug in the save method not saving the device options correctly
  • Removed deploy.cgi url from smokeping settings section


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 492 posts ]  Go to page 1, 2, 3, 4, 5 ... 33  Next

All times are UTC - 5 hours


Who is online

Users browsing this forum: No registered users and 19 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