mirror of
https://github.com/Icinga/icinga2.git
synced 2026-06-11 01:30:22 -04:00
Report PID in the status.dat file.
This commit is contained in:
parent
c9d6728869
commit
fa7879776c
1 changed files with 1 additions and 0 deletions
|
|
@ -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 a new issue