mirror of https://github.com/Icinga/icinga2.git
Report PID in the status.dat file.
This commit is contained in:
parent
c9d6728869
commit
fa7879776c
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue