Urgent problem with npc RHEL5 (solved)

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Urgent problem with npc RHEL5 (solved)

Post by dleon »

Hi,

I Have a problem with nagios npc cacti.

I have cacti version 0.8.7e, nagios version 3.2.1 npc 2.0.4, ndoutils 1.4b7, php 5.1.6, RHEL 5 64 bits.

Nagios work good, cacti work good but npc not displayed information on hosts, hosts problems, etc.

I execute http://cactiurl/cacti/plugins/npc/npc.p ... _state=any

I get {"response":{"value":{"items":[],"total_count":0,"version":1}}}

I have a month working with this Can anybody help me please?, is very urgent

Best regards,

Dleon
Last edited by dleon on Thu Jul 29, 2010 11:21 am, edited 1 time in total.
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Post by dleon »

I have this error now on /var/log/messages


Jul 28 11:36:15 inv-serv ndo2db-3x: mysql_error: 'Unknown column 'long_output' in 'field list''
Jul 28 11:36:15 inv-serv ndo2db-3x: Error: mysql_query() failed for 'INSERT INTO npc_servicestatus SET instance_id='1', service_object_id='14', status_update_time=FROM_UNIXTIME(1280333175), output='USERS OK - 6 users currently logged in', long_output='', perfdata='users=6;20;50;0', current_state='0', has_been_checked='1', should_be_scheduled='1', current_check_attempt='1', max_check_attempts='4', last_check=FROM_UNIXTIME(1280333167), next_check=FROM_UNIXTIME(1280333467), check_type='0', last_state_change=FROM_UNIXTIME(1278426249), last_hard_state_change=FROM_UNIXTIME(1278426249), last_hard_state='0', last_time_ok=FROM_UNIXTIME(1280333167), last_time_warning=FROM_UNIXTIME(0), last_time_unknown=FROM_UNIXTIME(0), last_time_critical=FROM_UNIXTIME(0), state_type='1', last_notification=FROM_UNIXTIME(0), next_notification=FROM_UNIXTIME(0), no_more_notifications='0', notifications_enabled='1', problem_has_been_acknowledged='0', acknowledgement_type='0', current_notification_number='0', passive_checks_enabled='1', active
Jul 28 11:36:15 inv-serv ndo2db-3x: mysql_error: 'Unknown column 'long_output' in 'field list''



Could ANYONE HELP ME PLEASEEEEEEE?

Best regards Dleon
dleon
Posts: 14
Joined: Tue Jul 27, 2010 5:54 pm

Solved

Post by dleon »

I found the problem, I had compiled ndoutils-1.4b9 for 64 bits and I had copied src of ndoutils-1.4b9 but my database was ndoutils-1.4b7, the problem was solved copying ndoutils-1.4b7 src.

Best regards
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests