How install NPC ?
Moderators: Developers, Moderators
How install NPC ?
Hello,
I need help to install NPC !
In fact, I worked on Redhat 5 (php-5.1.6-23.el5 and mysql-5.0.45-7.el5).
I installed Nagios 3.0, Centreon 1.4.7, NDOutils-1.4b7 and Cacti-0.8.7b.
I am trying to install NPC-2.0.0b.166. which requires this feature of cacti-plugin-arch-2.1 to work. But I have a problem, in Cacti under all of the Plugin Management is blank spaces and below that is Last Scanned: Never.
In Cacti -> Plugin Management -> Uninstalled: There are no Uninstalled Plugins
# vi /var/www/cacti/include/global.php
$plugins = array();
$plugins[] = 'npc';
But I can't see NPC in Cacti and I don't know why
Do I use the correct version of cacti-plugin-arch and NPC ?
Do you have some web site which explain how install NPC ?
Thank your very much for your help
Best Regards
Flipmode
I need help to install NPC !
In fact, I worked on Redhat 5 (php-5.1.6-23.el5 and mysql-5.0.45-7.el5).
I installed Nagios 3.0, Centreon 1.4.7, NDOutils-1.4b7 and Cacti-0.8.7b.
I am trying to install NPC-2.0.0b.166. which requires this feature of cacti-plugin-arch-2.1 to work. But I have a problem, in Cacti under all of the Plugin Management is blank spaces and below that is Last Scanned: Never.
In Cacti -> Plugin Management -> Uninstalled: There are no Uninstalled Plugins
# vi /var/www/cacti/include/global.php
$plugins = array();
$plugins[] = 'npc';
But I can't see NPC in Cacti and I don't know why
Do I use the correct version of cacti-plugin-arch and NPC ?
Do you have some web site which explain how install NPC ?
Thank your very much for your help
Best Regards
Flipmode
Thanks for your reply and for your help
I check my Cacti Realm permissions control which sections of Cacti this user will have access to and I select all the Realm permissions (Plugin Management...) so I can see the Plugin.
I check the permissions on the npc folder but I don't have ncp folder.
In fact, when I installed NPC, I did that:
wget http://trac2.assembla.com/npc/wiki/NPCDownload
tar xzf npc-2.0.0b.166.tar.gz
sudo mv npc /var/www/cacti/plugins/
chmod 777 npc /var/www/cacti/plugins/
chmod 777 npc /var/www/cacti/plugins/*
vi var/www/cacti/include/global.php
$plugins = array();
$plugins[] = 'npc';
But in Console –> Configuration –> Plugin Management -> Uninstalled, I don't see NPC Plugin
How can I check the Use NPC field ?
How did you installed NPC? Did you have a npc folder ?
Thank you very much for your help
Flipmode
I check my Cacti Realm permissions control which sections of Cacti this user will have access to and I select all the Realm permissions (Plugin Management...) so I can see the Plugin.
I check the permissions on the npc folder but I don't have ncp folder.
In fact, when I installed NPC, I did that:
wget http://trac2.assembla.com/npc/wiki/NPCDownload
tar xzf npc-2.0.0b.166.tar.gz
sudo mv npc /var/www/cacti/plugins/
chmod 777 npc /var/www/cacti/plugins/
chmod 777 npc /var/www/cacti/plugins/*
vi var/www/cacti/include/global.php
$plugins = array();
$plugins[] = 'npc';
But in Console –> Configuration –> Plugin Management -> Uninstalled, I don't see NPC Plugin
How can I check the Use NPC field ?
How did you installed NPC? Did you have a npc folder ?
Thank you very much for your help
Flipmode
- divagater
- Cacti User
- Posts: 191
- Joined: Wed Nov 17, 2004 5:22 pm
- Location: Chapel Hill, NC.
- Contact:
This:
$plugins[] = 'npc';
is the old way to install plugins and is not needed for NPC. Remove that line. Grab the latest version of NPC from here: http://forums.cacti.net/viewtopic.php?t=26540
Then just go to: Console –> Configuration –> Plugin Management and you should see NPC there.
Billy
$plugins[] = 'npc';
is the old way to install plugins and is not needed for NPC. Remove that line. Grab the latest version of NPC from here: http://forums.cacti.net/viewtopic.php?t=26540
Then just go to: Console –> Configuration –> Plugin Management and you should see NPC there.
Billy
Hello Billy,
Thank you for your reply and for your help
In the file /var/www/cacti/include/global.php, I removed the line: $plugins[] = 'npc';
Then I grabed the latest version of NPC from here: http://forums.cacti.net/viewtopic.php?t=26540
Then, I did that :
I went to: Console –> Configuration –> Plugin Management but I don't see NPC there and in Configuration -> Plugin Management -> Uninstalled : There are no Uninstalled Plugins.
I try to do that:
But I have an error: ERROR 1146 (42S02) at line 2: Table 'cacti.npc_logentries' doesn't exist
I don't know how resolv my problem with NPC
Did you have a Website which explain how install NPC with Cacti-0.8.7b and cacti-plugin-arch-2.1 ?
Thank you very much for your help
Best Regards
Flipmode
Thank you for your reply and for your help
In the file /var/www/cacti/include/global.php, I removed the line: $plugins[] = 'npc';
Then I grabed the latest version of NPC from here: http://forums.cacti.net/viewtopic.php?t=26540
Then, I did that :
Code: Select all
tar -xzf npc-2.0.0b.182.tar.gz
mv npc/ /var/www/cacti/plugins/
chmod 777 npc /var/www/cacti/plugins/npc/
chmod 777 npc /var/www/cacti/plugins/npc/*
I try to do that:
Code: Select all
cd /var/www/cacti/plugins/npc
mysql -u root -p cacti < upgrade_schema.sql
I don't know how resolv my problem with NPC
Did you have a Website which explain how install NPC with Cacti-0.8.7b and cacti-plugin-arch-2.1 ?
Thank you very much for your help
Best Regards
Flipmode
flipmode wrote:Hello Billy,
Thank you for your reply and for your help
In the file /var/www/cacti/include/global.php, I removed the line: $plugins[] = 'npc';
Then I grabed the latest version of NPC from here: http://forums.cacti.net/viewtopic.php?t=26540
Then, I did that :I went to: Console �> Configuration �> Plugin Management but I don't see NPC there and in Configuration -> Plugin Management -> Uninstalled : There are no Uninstalled Plugins.Code: Select all
tar -xzf npc-2.0.0b.182.tar.gz mv npc/ /var/www/cacti/plugins/ chmod 777 npc /var/www/cacti/plugins/npc/ chmod 777 npc /var/www/cacti/plugins/npc/*
I try to do that:But I have an error: ERROR 1146 (42S02) at line 2: Table 'cacti.npc_logentries' doesn't existCode: Select all
cd /var/www/cacti/plugins/npc mysql -u root -p cacti < upgrade_schema.sql
I don't know how resolv my problem with NPC
Did you have a Website which explain how install NPC with Cacti-0.8.7b and cacti-plugin-arch-2.1 ?
Thank you very much for your help
Best Regards
Flipmode
I found the same problem to you.
Did you resolv,alreaddy?
-
- Posts: 4
- Joined: Wed Dec 02, 2009 1:20 pm
-
- Posts: 3
- Joined: Thu Jun 25, 2009 7:50 pm
leandrofviana wrote:Im, too.. I can't see option npc in User Management ...
- Under User Management click on the user's name, a.e: admin.
Click the Realm Permissions tab.
Check the Plugin Management box and save.
Then click the Plugin Management link under Configuration on the left pane.
There you will see NPC, click install, and enable.
guilou0875
http://trac2.assembla.com/npc/wiki/Quic ... tallingNPC
I followed that guide. Do you have other plugins installed? If your plugin architecture isn't installed correctly you will get errors.
http://cactiusers.org/wiki/PluginArchitectureInstall
Who is online
Users browsing this forum: No registered users and 2 guests