Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
divagater wrote:Hey Andrew. I sent you a PM on the second with my email address on the 2nd. As there will be a bit of back and forth to figure this out I wanted to take it to email. My email address is in the PM. Check it out and lets get you up and running.
Cheers,
Billy
Sorry, didn't notice it. Will email you as soon as I can, thanks a lot.
I'll post back here with the results.
Cheers!
Hi andrewh;
Did you solved your problem with NPC ??
I've got exactly the same problem, My npc tables are populated by ndo2db (actually only 17 hosts and 68 services) but when I click on the "NPC" tab under cacti, everything is empty in the dashboard. N2C don't find any host or any hostgroup defined in my different nagios cfg_files.
When I tail my apache2 error.log, I got exactly the same 3 errors ... have a look:
Edit:
Here is some details about The Cacti server
Cacti 0.8.7c - PIA 2.3
NPC 2.0.3
Ndoutils 1.4b7
Nagios 3.0.6
PHP Version 5.2.0-8+etch13
json support enabled
json version 1.2.1
PDO support enabled
PDO drivers mysql
PDO Driver for MySQL, client library version 5.0.51b
Last edited by Dwarf on Wed Jun 17, 2009 10:37 am, edited 1 time in total.
I am trying to integrate Cacti and Nagios using the NPC plugin. My only issue is I have Cacti installed on a separate system form Nagios. Would NPC work if Nagios is not installed on the same system as Cacti or do they have to be on the same system? If so how you go about setting them up to do so?
I am trying to integrate Cacti and Nagios using the NPC plugin. My only issue is I have Cacti installed on a separate system form Nagios. Would NPC work if Nagios is not installed on the same system as Cacti or do they have to be on the same system? If so how you go about setting them up to do so?
Thanks in Advance
Hello;
I am also interested in the answer to that question...
For a future "monitoring architecture" at my office.
I am trying to integrate Cacti and Nagios using the NPC plugin. My only issue is I have Cacti installed on a separate system form Nagios. Would NPC work if Nagios is not installed on the same system as Cacti or do they have to be on the same system? If so how you go about setting them up to do so?
Thanks in Advance
Cacti and Nagios do not need to be on the same system. NPC gets all of its display data from the database so when you configure NDO2DB you simply point it to the host where your cacti database lives.
The one caveat is that in order to execute Nagios commands like comments, acknowledgments, enabling and disabling services etc. you will need to make the nagios command file available to cacti via nfs (or cifs). This is a simple and common way to do it.
Pollux wrote:Interesting plugin, I am curently running cacti and nagios; Integrating them would be perfect. Then I'd just add Splunk.
So my question is: What's the status on this plugin? Is this stable enough or still in beta? Will Splunk work with this 'Cactized' version of Nagios?
This plugin has been around for over 4 years and is still being developed. I definitely consider it stable. There is no reason that splunk shouldn't work as normal. NPC does not in anyway change or interfere with Nagios. It uses the built in Nagios API's via the nagios external commands file and the event broker (via ndo2db).
Edit:
Here is some details about The Cacti server
Cacti 0.8.7c - PIA 2.3
NPC 2.0.3
Ndoutils 1.4b7
Nagios 3.0.6
PHP Version 5.2.0-8+etch13
json support enabled
json version 1.2.1
PDO support enabled
PDO drivers mysql
PDO Driver for MySQL, client library version 5.0.51b
What operating system are you running? It seems like most folks that experience this issue are on ubuntu. So far I have not been able to reproduce the problem and so offering a fix is quite challenging. If you or anyone else could let me have SSH access to your test system I am certain I could identify the issue very quickly.
Dwarf wrote:Hi Divagater, thanks for answering me.
I run Cacti / Nagios on a Debian 4.0 Etch.
I am unable to grant you SSH access till friday because we're in a migration phase of our ISP.
What kind of access do you need ? User ? Root ?
I'll need your public IP to allow your access into our firewall. PM me for any question.
Regards,
Dwarf
I'll shoot you a PM to work out the connection details but in the meantime please check out this solution posted by another user with a very similar problem: http://forums.cacti.net/viewtopic.php?p=166925
If you want to try that solution which involves directly adding the connection parameters to Doctrine but are unsure how to do it let me know and I can help.
Dwarf wrote:Hi Divagater, thanks for answering me.
I run Cacti / Nagios on a Debian 4.0 Etch.
I am unable to grant you SSH access till friday because we're in a migration phase of our ISP.
What kind of access do you need ? User ? Root ?
I'll need your public IP to allow your access into our firewall. PM me for any question.
Regards,
Dwarf
I'll shoot you a PM to work out the connection details but in the meantime please check out this solution posted by another user with a very similar problem: http://forums.cacti.net/viewtopic.php?p=166925
If you want to try that solution which involves directly adding the connection parameters to Doctrine but are unsure how to do it let me know and I can help.
Ok, I've tested this solution posted by toluna but unfortunately did not solved my issue.