Report PID in the status.dat file.

This commit is contained in:
Gunnar Beutner 2012-09-19 14:10:34 +02:00
parent c9d6728869
commit fa7879776c
1 changed files with 1 additions and 0 deletions

View File

@ -187,6 +187,7 @@ void CompatComponent::StatusTimerHandler(void)
<< "\n";
statusfp << "programstatus {" << "\n"
<< "icinga_pid=" << Utility::GetPid() << "\n"
<< "\t" << "daemon_mode=1" << "\n"
<< "\t" << "program_start=" << IcingaApplication::GetInstance()->GetStartTime() << "\n"
<< "\t" << "active_service_checks_enabled=1" << "\n"