Network Management Integration Plugin ( v0.3.9a Build 129 )

Announcements concerning Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

wwwdrich wrote: And one minor thing -- if I enable TaskManager I get errors in my web logs about nmidTaskManager/config.php not existing. I created it just to stop the errors.
I'm currently in the progress of rewriting the nmidTaskManager plugin.
To give everyone an idea on what I'm currently working on, here's a list of features it will have:
  • New User Interface based on the default Cacti design
  • New User Groups, to group users and tasks in groups
  • New User Roles:
    Administrators - can create groups, users and tasks. They also can assign tasks to groups or users.
    Group Admins - can add users/tasks to their group and create and assign tasks for their group.
    Assigners - can add tasks and assign them to any groups/users.
    Executors - can create tasks for themselves.
  • An email reminder system will be implemented, reminding a group/user for tasks that come up
  • "Quick-Finish" tasks with one button click
  • Additional Comments can be added to a task. ( Task history )
I finshed the first 3 points so far and now working on the next steps so stay tuned for updates on this.
User avatar
wwwdrich
Cacti User
Posts: 91
Joined: Thu Feb 03, 2005 5:53 pm
Location: San Jose, CA
Contact:

Post by wwwdrich »

phalek wrote: I'm currently in the progress of rewriting the nmidTaskManager plugin.
To give everyone an idea on what I'm currently working on, here's a list of features it will have:

...
Rather than writing your own system from scratch, have you thought about integrating in with something like dotproject?
- Dan
[i] "Step up to red alert!" "Are you sure, sir?[/i]
[i] It means changing the bulb in the sign..." - Red Dwarf[/i]
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Hi wwdrich,

Well, no. DotProject ( http://www.dotproject.org/ ) ist for "real" project management and all folks want is to add tasks and probably assign them to someone.
I have that one running presonally for software development stuff.
So dotproject is a bit of an overkill to this.

With tasks I mean something like "get configs from device x" or "add netflow configuration for device x". Which aren't really big projects where you need progress traking or milestones.

Something ppl really like to see is an integration of a trouble ticket system like OTRS ( http://otrs.org/feature/ ).
But that's a real big challenge to have that one integrated.
phpIP was like a kindergarden job compared to that one.

And with integration I mean not just displaying the webpage within an IFrame ... ( oh, btw. I also started with the ntop plugin as basis for nmid :-), though I never liked the IFrame idea ... )
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

I've finished re-writing the nmidTaskManager plugin.
It now contains the following features:
  • New User Interface based on the default Cacti design
  • New User Groups, to group users and tasks in groups
  • New User Roles:
    Administrators - can create groups, users and tasks. They also can assign tasks to groups or users.
    Group Admins - can add users/tasks to their group and create and assign tasks for their group.
    Assigners - can add tasks and assign them to any groups/users.
    Executors - can create tasks for themselves.
  • An email reminder system will be implemented, reminding a group/user for tasks that are (over-)due.
  • "Quick-Finish" tasks with one button click
  • Additional Comments can be added to a task. ( Task history )
User avatar
sizulku
Cacti User
Posts: 110
Joined: Mon Nov 04, 2002 9:15 am
Location: ACEH
Contact:

Post by sizulku »

Hi Phalek,

Thanks for updates. I got access denied when trying to "add group" and "add user". Any help would be greatly appreciate. Thanks.

Zul
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

pls login as "admin" user, this is the default user and the only one that can add other users.

alternatively, execute the following in mysql:

Code: Select all

INSERT INTO `plugin_nmidTaskManager_users` (`UserName`,`UserFullName`,`UserRole`,`UserDescription`) VALUES ('<your cacti username>','<Full User Name>','Administrator','<Some description>');
replace the vars in <> with the info you want. Just make sure that the "<your cacti username>" matches your cacti login name.
eterzella.r.t
Cacti User
Posts: 75
Joined: Thu Oct 25, 2007 8:20 pm

Post by eterzella.r.t »

Error when clicked install in the "Plugin Management"

Notice: Undefined index: keys in /var/www/cacti/lib/plugins.php on line 128

Warning: Invalid argument supplied for foreach() in /var/www/cacti/lib/plugins.php on line 128

Notice: Undefined index: keys in /var/www/cacti/lib/plugins.php on line 128

Warning: Invalid argument supplied for foreach() in /var/www/cacti/lib/plugins.php on line 128

Notice: Undefined index: keys in /var/www/cacti/lib/plugins.php on line 128

Warning: Invalid argument supplied for foreach() in /var/www/cacti/lib/plugins.php on line 128

Notice: Undefined index: keys in /var/www/cacti/lib/plugins.php on line 128

Warning: Invalid argument supplied for foreach() in /var/www/cacti/lib/plugins.php on line 128
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Hi eterzella.r.t,

As far as these messages are concerned, there are some problems with the PIA doing this. Several threads here in the forum discuss this.


Nevertheless:

I updated NMID to buil 122. This build is fixing some minor problems with nmidTaskmanager and also changes the menu order of the nmid plugins, so the logout link is at the bottom again.
mduling
Posts: 39
Joined: Tue Mar 01, 2005 1:49 pm

Can't get nmid to work

Post by mduling »

I'm a first time nmid users, and I can't get build 122 to work. I have a working cacti-0.8.7b/PA 2.1 setup on OS X. php-weathermap plugin works fine for me so I think my install is good. I unpack nmid into plugins/ and put a statement in global as the docs say, but I see no tab or settings in Cacti for nmid. What could I be doing wrong? Thanks.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

use the plugin management for installing nmid. nmid, nmidSmokeping, nmidTaskmanager can only be installed using the plugin management. You do not need to add those to global.php.

nmidPhpip still needs to be added to the global.php.
mduling
Posts: 39
Joined: Tue Mar 01, 2005 1:49 pm

nmid install

Post by mduling »

I got it installed now, thanks. But when I click a smokeping link I see:

ERROR: Section 'Default_Tree' does not exist (display webpage).

but I can't see where this is set. On my smokeping installation, it doesn't seem to use teh tree name in the url.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

the smokeping config nmidSmokeping creates is just the "Target" section for smokeping. Can you provide an example smokeping config so I/we can have a look ?
YOu can pm me one if you prefer this.
bclewcacti
Posts: 2
Joined: Tue May 27, 2008 5:18 pm

'Default_Tree' does not exist (display webpage)

Post by bclewcacti »

I keep getting this error and the smokeping graph is not showing up at all. I have went through the configurations many times. all the paths are correct. is this more of a common error, and if so what is the work around.

Great pluggin concept however it makes cacti vital in my company.
bclewcacti
Posts: 2
Joined: Tue May 27, 2008 5:18 pm

Post by bclewcacti »

OK i have tried to dig in more and maybe because i am new to this but here are my questions.

1. how do you set the webservice password ?
2. i see the config for the default tree from nmib in my config directory for smokeping however how do i call this from my smokeping config.
3. Is there a documentation mispring on the smokeping install when it askes to modify the getNetFlowHitory.pl file because i can't find that file.

Hope i am not to hopless. and to think i used to think i was good at this stuff LOL

thanks in advance.
User avatar
phalek
Developer
Posts: 2838
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Post by phalek »

Hm, I guess I know what might going on with the message:

"Section 'Default_Tree' does not exist"

Default_Tree is the name of the top tree of a fresh new cacti installation.

If you configure devices for smokeping (via the NMID->Configure Devices menu", the cacti path gets stored in the database:

Example:

Default_Tree->Country->Germany

If you the go and rename the trees in cacti to e.g.

REGIONAL->EMEA->DE_Germany

This will not be reflected in the DB unless you go back to the configure device page and press the save button for the devices in DE_Gemany.

The Cacti Tree Menu and the Smokeping Tree Menu needs to be the same.
Look at the demo page to see what I mean:

<b>Demo Systems</b>
I created a demo system showing the smokeping integration:
http://cacti.urban-software.de/graph_vi ... leaf_id=17
http://cacti.urban-software.de/cgi-bin/smokeping.cgi
User: guest
Password: guest


For the webservice:

You need to install the nmidWebService plugin via the Plugin Management page and you can add a webservice password in the nmid settings then afterwards.

You'll also need to edit "getSmokePingPath.pl" and put the webservice password and the url to the webservice there. The following section needs to be edited:

Code: Select all

### START OF WEB SERVCE SETTINGS ###
my $webservice_password = 'myPass';
my $webservice_url = 'http://cactihost/plugins/nmidWebService/webservice.php?wsdl'';
my $tmp_dir = '/tmp/';
### END OF WEB SERVCE SETTINGS ###

Now for the config part:

nmidSmokeping just creates the target section for smokeping.
So, you could create a file that contains everything else except that target section and the do the following:

1. take the smokeping config without the target section
2. add the target section to that file
3. restart smokeping to use that file

in unix copy terms that would mean:

Code: Select all

cat config_header > config
cat smokeping_nmid_spserver1_config.txt >> config
config is the normal smokeping config you use.


fo the docu point: yes that's wrong it's supposed to be "getSmokePingPath.pl"
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest