status vs non-status information

Marc Powell marc at ena.com
Wed Jan 6 17:51:57 CET 2010


On Jan 5, 2010, at 9:19 PM, 劉岳泓 wrote:

> 
> Hi there,
> 
> For information retention, which information will be dealt as "status"
> and which will be dealt as "non-status"?

It's not really documented outside of the code (there are lots of parameters for each). Using xdata/xrddefault.c as a reference (it's pretty easy to read/understand) --

Hosts:
	Status data - things like check type, current state, last hard state, performance data, plugin output, next check, current attempt, etc (xrddefault.c ~line 1175)
	Non-Status data - things like acknowledgement status, active/passive checks enabled, check command, check period, etc (xrddefault.c ~line 1263)

Services:
	Pretty much the same as above. Status data starting about line 1446, non-status starting about line 1538

Contacts: 
	Status data - last host/service notification (line 1721)
	Non-Status data - things like host/service notification periods, host/service notifications enabled, etc (line 1729)


Search within xrddefault.c for 'retain_status_information' and 'retain_nonstatus_information and look at those blocks.

--
Marc


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null


More information about the Users mailing list