Re: [Nagios-users] Question about the calculation of service check latency

2011-10-30 Thread Yu Watanabe
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)((doub

[Nagios-users] Question about the calculation of service check latency

2011-10-30 Thread 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 caculati