Question about the calculation of service check latency
Yu Watanabe
yu.watanabe at jp.fujitsu.com
Mon Oct 31 03:25:31 CET 2011
Forgot to mention about the version.
The version is nagios v 3.3.1. Sorry.
Thanks,
Yu
Yu Watanabe さんは書きました:
>Hi all!
>
>I would like to ask question about the calculation of service check latency.
>
>In the code (events.c), the service check latency is calculated as,
>
>latency = (double)((double)(tv.tv_sec - event->run_time) + (double)(tv.tv_usec / 1000) / 1000.0);
>
>I was wondering, what is the below caculation is meant for?
>
>(double)(tv.tv_usec / 1000) / 1000.0);
>
>Thanks,
>Yu
------------------------------------------------------------------------------
Get your Android app more play: Bring it to the BlackBerry PlayBook
in minutes. BlackBerry App World now supports Android Apps
for the BlackBerry® PlayBook. Discover just how easy and simple
it is! http://p.sf.net/sfu/android-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