naparuba/shinken — Issue #173: Livestatus : missing "command" in livestatus 
Author: david-guenault
Created: 2012-02-12 10:09:18+00:00
State: open
Labels: Broker

seems that Negate: is not supported by the current implementation of livestatus

this break the original livestatus implementation and make multisite unusable since version 1.1.13

here is the query :

GET services
Columns: host_scheduled_downtime_depth service_last_check service_action_url_expanded service_comments_with_info service_icon_image service_notifications_enabled service_check_command service_custom_variable_names service_perf_data host_filename service_scheduled_downtime_depth service_accept_passive_checks host_custom_variable_names service_has_been_checked service_notes_url_expanded service_downtimes service_modified_attributes_list service_custom_variable_values service_acknowledged service_plugin_output service_last_state_change service_description service_in_notification_period service_active_checks_enabled service_pnpgraph_present host_custom_variable_values host_name service_is_flapping service_state host_has_been_checked host_state
Filter: service_state = 0
Filter: service_has_been_checked = 1
And: 2
Negate:
Filter: service_has_been_checked = 1
Filter: host_state = 1
Filter: host_has_been_checked = 1
And: 2
Negate:
Filter: host_state = 2
Filter: host_has_been_checked = 1
And: 2
Negate:
Filter: host_custom_variable_names < _REALNAME
Filter: service_scheduled_downtime_depth = 0
Filter: host_scheduled_downtime_depth = 0
And: 2
Localtime: 1329041267
OutputFormat: python
KeepAlive: on
ResponseHeader: fixed16
Limit: 1001

And the error message :

Received a line of input which i can't handle : 'Negate: '
Received a line of input which i can't handle : 'Negate: '
Received a line of input which i can't handle : 'Negate: '