mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-24 06:05:01 +02:00
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";
|
<< "\n";
|
||||||
|
|
||||||
statusfp << "programstatus {" << "\n"
|
statusfp << "programstatus {" << "\n"
|
||||||
|
<< "icinga_pid=" << Utility::GetPid() << "\n"
|
||||||
<< "\t" << "daemon_mode=1" << "\n"
|
<< "\t" << "daemon_mode=1" << "\n"
|
||||||
<< "\t" << "program_start=" << IcingaApplication::GetInstance()->GetStartTime() << "\n"
|
<< "\t" << "program_start=" << IcingaApplication::GetInstance()->GetStartTime() << "\n"
|
||||||
<< "\t" << "active_service_checks_enabled=1" << "\n"
|
<< "\t" << "active_service_checks_enabled=1" << "\n"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user