Thanks in advance!!
I have 2 servers:
thrukserver ----> nagiosserver
The Thruk server makes requests to the Nagios server.
An event_broker with livestatus is configured on the Nagios server, and this is presented on port 6557 through unixcat in the xinetd service configuration.
I want to filter the data that Nagios sends to the Thruk server, in such a way that from Nagios only the realative data is offered to a user(contact), only sending the data for which it is authorized in Nagios.
Something like this, could be done from this mode from the destination:
`echo -e 'GET services\nColumns: host_name description state contact_groups\nFilter: contact_groups >= guardias-servicioscriticos' | nc nagiosserver 6557`
But I want to do it from the source (Nagios). I do not know if it can be done by putting the “Filter” in the configuration of xinetd, in the configuration of the event_broker of Nagios, etc …