mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +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";
|
||||
|
||||
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…
x
Reference in New Issue
Block a user