npc not showing hostgroups/hosts

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
purecm70
Posts: 2
Joined: Mon Jan 11, 2010 10:23 am

npc not showing hostgroups/hosts

Post by purecm70 »

I know there are several threads about this topic but none of them has a solution.

I have installed on SLES 11:
nagios 3.2.0
cacti 0.8.7e
ndo-utils-1.4b9
npc-2.0.4
mysql 5.0.67

ndo2db.cfg
=======
lock_file=/usr/local/nagios//var/ndo2db.lock
ndo2db_user=nagios
ndo2db_group=nagios
socket_type=tcp
tcp_port=5668
use_ssl=0
db_servertype=mysql
db_host=localhost
db_port=3306
db_name=cacti
db_prefix=npc_
db_user=cacti
db_pass=xxx
max_timedevents_age=1440
max_systemcommands_age=10080
max_servicechecks_age=10080
max_hostchecks_age=10080
max_eventhandlers_age=44640
max_externalcommands_age=44640
debug_level=-1
debug_verbosity=1
debug_file=/usr/local/nagios/var/ndo2db.debug
max_debug_file_size=1000000

ndomod.cfg
========
instance_name=default
output_type=tcpsocket
output=127.0.0.1
tcp_port=5668
use_ssl=0
output_buffer_items=5000
buffer_file=/usr/local/nagios//var/ndomod.tmp
file_rotation_interval=14400
file_rotation_timeout=60
reconnect_interval=15
reconnect_warning_interval=15
data_processing_options=-1
config_output_options=2

After starting ndo2db I see the following message:
Successfully reconnected to data sink! 0 items lost, 172 queued items to flush\.', realtime_data='1', inferred_data_extracted='1'

I see also input in the cacti-database:
mysql> use cacti;
Database changed
mysql> select host_id,instance_id,display_name from npc_hosts;
+---------+-------------+-----------------+
| host_id | instance_id | display_name |
+---------+-------------+-----------------+
| 1 | 1 | ICTS-server |
| 2 | 1 | localhost |
| 3 | 1 | server1 |

Can someone give me some input.
Thanks,
jenchingyang
Posts: 18
Joined: Wed Jul 20, 2005 8:44 am

Post by jenchingyang »

try to use ndoutils with version "ndoutils-1.4b7"
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests