On 29 Apr 2010, at 13:44, Ispas Paul wrote:

I upgraded opsview today (Centos 5.4 x86_64) and got the following error when trying to update config for a host :


undef error - DBD::mysql::st execute failed: Unknown column 'flap_detection_enabled' in 'field list' [for Statement "SELECT hostgroup, http_admin_url, http_admin_port, icon, monitored_by, notification_interval, notification_options, notification_period, check_command, check_period, check_interval, retry_check_interval, check_attempts, snmp_version, snmp_community, snmpv3_username, snmpv3_authpassword, snmpv3_authprotocol, snmpv3_privprotocol, snmpv3_privpassword, other_addresses, snmptrap_tracing, flap_detection_enabled, use_nmis, nmis_node_type, use_rancid, rancid_vendor, rancid_username, rancid_password, rancid_connection_type, rancid_autoenable, uncommitted FROM hosts WHERE id=? " with ParamValues: 0='16'] at /usr/local/nagios/perl/lib/ DBIx/ContextualFetch.pm line 52.

Can you run /usr/local/nagios/installer/upgradedb.pl and capture the output? This should be run as part of the upgrade.

There have been schema changes for flap_detection_enabled for the host.

Ton

_______________________________________________
Opsview-users mailing list
Opsview-users@lists.opsview.org
http://lists.opsview.org/lists/listinfo/opsview-users

Reply via email to