shinken-monitoring / mod-livestatus

Shinken module for presenting data with a MK/Livestatus comptabile interface
GNU Affero General Public License v3.0
15 stars 20 forks source link

Fix the hard_state column for host #3

Open smlacombe opened 11 years ago

smlacombe commented 11 years ago

To do this, I need to know where the hosts properties are set for livestatus. Does somebody can help me?

naparuba commented 11 years ago

It's on the livestatus/mapping.py file if I'm not wrong.

On Wed, Jul 31, 2013 at 7:55 PM, Samuel Milette-Lacombe < notifications@github.com> wrote:

To do this, I need to know where the hosts properties are set for livestatus. Does somebody can help me?

— Reply to this email directly or view it on GitHubhttps://github.com/shinken-monitoring/mod-livestatus/issues/3 .

smlacombe commented 11 years ago

I think my question is unclear. No data is set at all in mapping.py. I talk about where the item is filled and exposed for mapping.py

naparuba commented 11 years ago

So look at the host.py::Host::properties dict, and check for this property export state.

On Thu, Aug 1, 2013 at 4:03 PM, Samuel Milette-Lacombe < notifications@github.com> wrote:

I think my question is unclear. No data is set at all in mapping.py. I talk about where the item is filled and exposed for mapping.py

— Reply to this email directly or view it on GitHubhttps://github.com/shinken-monitoring/mod-livestatus/issues/3#issuecomment-21938223 .