NPC - Nagios Plugin for Cacti
Moderators: Developers, Moderators
NPC - Nagios Plugin for Cacti
Hello,
First, say that I am new in cacti, and that my English is not very good.
Now, this is my question:
I have installed cacti in version 1.2.0 and nagios in version 4.4.1. I'm trying to install the npc plugin and it gives me an error. I attached an image to make it look better.
I have tried to find the solution through the forum, but all the problems are of very old versions. Also, I am not clear if I have to install Plugin Architecture or if it is no longer necessary. I see correctly the section "Plugin management" ¿¿??
Any help please? If you need me to send any information, you tell me. Thank you very much and greetings!!
First, say that I am new in cacti, and that my English is not very good.
Now, this is my question:
I have installed cacti in version 1.2.0 and nagios in version 4.4.1. I'm trying to install the npc plugin and it gives me an error. I attached an image to make it look better.
I have tried to find the solution through the forum, but all the problems are of very old versions. Also, I am not clear if I have to install Plugin Architecture or if it is no longer necessary. I see correctly the section "Plugin management" ¿¿??
Any help please? If you need me to send any information, you tell me. Thank you very much and greetings!!
- Attachments
-
- Cacti error
- cacti.jpg (101.14 KiB) Viewed 5976 times
Re: NPC - Nagios Plugin for Cacti
I am not sure if there is a 1.x compatible version of the NPC plugin. As it's a third party plugin, one I've not heard of before, I'm guessing you'll need to check with the original authors to see if they have updated things.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: NPC - Nagios Plugin for Cacti
Hi netniV,
I sent an email to its creator, but the email that appears as a contact is closed.
Is there any other way to interconnect nagios with cacti?
Thank you very much and greetings,
I sent an email to its creator, but the email that appears as a contact is closed.
Is there any other way to interconnect nagios with cacti?
Thank you very much and greetings,
Re: NPC - Nagios Plugin for Cacti
Upload the plugin here.
Before history, there was a paradise, now dust.
Re: NPC - Nagios Plugin for Cacti
Hi Osiris,
Plugin uploaded. Thanks!!
Plugin uploaded. Thanks!!
- Attachments
-
- npc-2.0.4.tar.gz
- (2.48 MiB) Downloaded 216 times
Re: NPC - Nagios Plugin for Cacti
Hi,
Is there anyone who can try the prugin npc in version 1.2.0 of cacti? I think that copying the content to the plugins folder would be useful to know if it works or not.
Help, please.
Thank you!!!
Is there anyone who can try the prugin npc in version 1.2.0 of cacti? I think that copying the content to the plugins folder would be useful to know if it works or not.
Help, please.
Thank you!!!
Re: NPC - Nagios Plugin for Cacti
This thing is a beast. Lot of work to 'update'.
Before history, there was a paradise, now dust.
Re: NPC - Nagios Plugin for Cacti
Okay, we've connected with Billy Gunn and will take over the management of the NPC plugin. Stay tuned.
Before history, there was a paradise, now dust.
Re: NPC - Nagios Plugin for Cacti
The latest version has been moved here: https://www.github.com/cacti/plugin_npc, though it is still not functional.
Before history, there was a paradise, now dust.
Re: NPC - Nagios Plugin for Cacti
Hi Osiris,
Thank you very much, I will be attentive. This is the best thing that has happened to me throughout the week.
Thank you!!!
Thank you very much, I will be attentive. This is the best thing that has happened to me throughout the week.
Thank you!!!
Re: NPC - Nagios Plugin for Cacti
I think it mostly works now. Not sure how, but at least is not glitching.
Before history, there was a paradise, now dust.
Re: NPC - Nagios Plugin for Cacti
Hi Osisris,
This is my situation:
- I have updated cacti from version 1.2.0 to 1.2.1.
- I added the new plugin.
- I have enabled the plugin correctly.
- I have configured nagios.cfg, ndo2db.cgf and ndomod.cfg exactly as it says in the instructions.
* But I can not find how to activate the checks from the plugin*
The manual says:
"Next, there are a few NPC settings to add/update. Goto Console > Configuration > Settings > NPC.
- Remote Commands - Check the checkbox to enable remote commands. At the moment this is system wide so all users that can access NPC will be able to execute command."
I do not find this section¿¿¿ ???
I attach an image of what my situation is now.
Thank you very much for the help, the effort, and make the plugin work (more or less)
We keep doing tests ...
This is my situation:
- I have updated cacti from version 1.2.0 to 1.2.1.
- I added the new plugin.
- I have enabled the plugin correctly.
- I have configured nagios.cfg, ndo2db.cgf and ndomod.cfg exactly as it says in the instructions.
* But I can not find how to activate the checks from the plugin*
The manual says:
"Next, there are a few NPC settings to add/update. Goto Console > Configuration > Settings > NPC.
- Remote Commands - Check the checkbox to enable remote commands. At the moment this is system wide so all users that can access NPC will be able to execute command."
I do not find this section¿¿¿ ???
I attach an image of what my situation is now.
Thank you very much for the help, the effort, and make the plugin work (more or less)
We keep doing tests ...
- Attachments
-
- cacti.jpg (207.79 KiB) Viewed 5871 times
Re: NPC - Nagios Plugin for Cacti
You need to click on the Console top bar, Configuration section, then Settings, then NPC tab. That's the section it's referring to, not the NPC plugin itself.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Re: NPC - Nagios Plugin for Cacti
Hi netniV,
I have this configuration, but it still does not work.
Maybe you have to configure something else?
Thank you very much for the help, and for the patience. I hope everything ends up working correctly.
I have this configuration, but it still does not work.
Maybe you have to configure something else?
Thank you very much for the help, and for the patience. I hope everything ends up working correctly.
- Attachments
-
- cacti.jpg (136.2 KiB) Viewed 5858 times
Re: NPC - Nagios Plugin for Cacti
Ah this is likely a problem with the conversion of the code. You see, under 0.8, checkbox values were 0 or 1 but under 1.x they became '' or 'on'. Likely hood is that various options aren't properly converted to check for the 'on' or '' value instead of 0 or 1
As its another developer handling the conversion, I will leave this with them.
As its another developer handling the conversion, I will leave this with them.
Cacti Developer & Release Manager
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
The Cacti Group
Director
BV IT Solutions Ltd
+--------------------------------------------------------------------------+
Cacti Resources:
Cacti Website (including releases)
Cacti Issues
Cacti Development Releases
Cacti Development Documentation
Who is online
Users browsing this forum: No registered users and 5 guests