Search found 191 matches

by divagater
Tue Aug 18, 2009 5:06 pm
Forum: Plugin General
Topic: Cacti sending data to nagios/NPC
Replies: 45
Views: 36896

joseme, your nagios logs dont show anything about ndo2db, instead it just says that nagios is trying to execute some plugins but they are not there. Install the nagios plugins and read nagios docs. Because the nagios status portlet shows notifications, host checks, and service checks enabled we can ...
by divagater
Mon Aug 17, 2009 4:30 pm
Forum: Plugin General
Topic: Cacti sending data to nagios/NPC
Replies: 45
Views: 36896

I can´t see these files: /ndo.sock /ndo2db.debug /ndomod.tmp any idea?? Thanks Are you going for the vague award? :) Seriously though I am not sure what your asking. What leads you to believe you should be able to see those files? What steps have you taken and what works and doesn't work? Cheers, B...
by divagater
Mon Aug 17, 2009 4:27 pm
Forum: Plugin General
Topic: Cacti sending data to nagios/NPC
Replies: 45
Views: 36896

Re: NPC on windows

HI: I installed the NPC plugin on my CACTI (windows 2003 server), and NAGIOS in centOS (there are in two differents boxes),(I see the Nagios web page), but when I try to Installed NDOUTILS I got in the message :"My SQL Library could no t be located), all the rest of cpmpilation is OK. So my qu...
by divagater
Wed Jul 29, 2009 9:40 am
Forum: Plugin General
Topic: Link to nagios plugin for cacti running on windows server 20
Replies: 1
Views: 1361

Here is the main thread for NPC: http://forums.cacti.net/about26540.html

Here is a thread discussing getting NPC running on windows (not supported): http://forums.cacti.net/about33082-15.html

Cheers,
Billy
by divagater
Fri Jul 24, 2009 9:33 am
Forum: Plugin General
Topic: Cacti sending data to nagios/NPC
Replies: 45
Views: 36896

Hi Billy, I created a samba share as you suggested. enable remote commands under Console -> Settings -> NPC add the path to the command file. I still see the Nagios status displayed as "OFF" Shouldn't that show up as "ON" Is there something else that needs to be done? Thanks aga...
by divagater
Fri Jul 24, 2009 9:04 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) 2.0.4
Replies: 445
Views: 436152

Re: Nagios Plugin for Cacti (NPC) 2.0.4

I tried out NPC 2.04 with Cacti 0.87 and got it to work. I used ndoutils-1.4b8 which caused a bit of a headache. A new feature of b8 (see db/mysql-upgrade-1.4b8.sql) is that it expects the "long_output" field to be in every table. NPC in setup.php ofcourse drops these tables and recreates...
by divagater
Thu Jul 16, 2009 9:55 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) 2.0.4
Replies: 445
Views: 436152

Loving the plugin -- easy to set up, very clear instructions, and so on. Thanks! I have two questions about fairly minor issues. 1. I'm also getting the PHP error: "PHP Notice: Undefined index: action in /var/www/cacti/plugins/npc/top_graph_header.php on line 95, referer: http://192.168.80.128...
by divagater
Wed Jul 15, 2009 3:21 pm
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) 2.0.4
Replies: 445
Views: 436152

Goto Console -> Settings -> NPC. Look at the 'Host/Service Config Type' option. It exactly describes your problem. Mine is set to one and the query I sent you had config_type = 1 which worked for you. Your query has config_type = 0 which isn't working. Change that option to 1 and you will be all set...
by divagater
Wed Jul 15, 2009 1:42 pm
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) 2.0.4
Replies: 445
Views: 436152

Billy, Yes. It successfully returns a recordset. 1 row in set (0.01 sec) Ok, so the query you ran is the query that gets generated by the ORM. But I generated the query you just ran by hand on my system. So either your query is not getting generated or the generated query has an error on your syste...
by divagater
Wed Jul 15, 2009 12:10 pm
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) 2.0.4
Replies: 445
Views: 436152

Hi Billy, Thanks for the quick response. mysql> select count(*) from npc_hosts; +----------+ | count(*) | +----------+ | 89 | +----------+ 1 row in set (0.00 sec) mysql> select count(*) from npc_services; +----------+ | count(*) | +----------+ | 232 | +----------+ 1 row in set (0.00 sec) http://You...
by divagater
Wed Jul 15, 2009 10:44 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) 2.0.4
Replies: 445
Views: 436152

Problem solved. I ended up just rebooting the system as a last resort and that seemed to fix most of the problems. The Hostgroup: Service Status and Hosgroup: Host Status etc seem to be populating now. However, the Host Status Summary and Service Status Summary at the top are just showing zeros. Ed...
by divagater
Wed Jul 15, 2009 8:35 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) 2.0.4
Replies: 445
Views: 436152

cacti database has npc_ tables which seem to be filled with data correctly. Now when I view the npc tab in cacti I get the spinning circles whilst it tries to fetch data, the nagios status in the top left has all green boxes. The 2 hostgroup boxes bottom right host status and service status show co...
by divagater
Wed Jul 15, 2009 8:30 am
Forum: Plugin General
Topic: Nagios Plugin for Cacti (NPC) 2.0.4
Replies: 445
Views: 436152

I use your installer for windows, the last version and I installed the NCP and I have the NCP tab but i cant add the host to the plugins. I have the following in the attachment Please install the latest NPC 2.0.4. What you have there is an earlier version. Being on windows does not change the requi...
by divagater
Fri Jun 26, 2009 7:20 pm
Forum: Plugin General
Topic: Cacti sending data to nagios/NPC
Replies: 45
Views: 36896

Billy, It works!! I check my php installation on my windows box again since the problem is on the NPC host. So I checked and one of the two issues potentially solved the problem. 1) I had to enable pdo support for mysql. 2) I uninstalled Pear support. Thanks Billy for all the help!! Only question n...
by divagater
Fri Jun 26, 2009 2:38 pm
Forum: Plugin General
Topic: Cacti sending data to nagios/NPC
Replies: 45
Views: 36896

Billy, Just to be more clear I have Nagios installed on FC10. Cacti is installed on a separate box running windows server 2003. omg! Shame on me for not asking that. Um I have never (ever) tried to run NPC under windows and I am not at all surprised it doesn't work. I can see from your apache logs ...