Hi Benjamin,

The Packetfence full documentation for monit it there: 
https://www.packetfence.org/doc/15.1.0/PacketFence_Installation_Guide.html#_monit

In Packetfence code, you will find more info on monit here: 
https://github.com/inverse-inc/packetfence/tree/devel/addons/monit

For the httpd-portal 
https://github.com/inverse-inc/packetfence/blob/devel/addons/monit/monit_checks_configurations/00_packetfence.tt#L71

To increase the timeout and make it persistent, the best way is to remove the 
current monit check and recreate a new one with a similar name (not the same) 
but an increase timeout and add this one directly in monit in a new file.
Add it to your doc, because I do not think that we are doing backup on monit 
configuration yet.

Thank you
Regards


Jeremy
 Goimard
Senior Software Engineer
PacketFence<https://www.packetfence.org> - 
Fingerbank<https://www.fingerbank.org>

[Akamai Secure your applications]<https://www.akamai.com/solutions/security>

Support:+1-555-183-6031


Akamai
 Technologies - Inverse
145 Broadway
Cambridge, MA 02142


Connect
 with Us:
        [https://www.akamai.com/us/en/multimedia/images/custom/community.jpg] 
<https://community.akamai.com>  
[https://www.akamai.com/us/en/multimedia/images/custom/rss.png] 
<https://www.akamai.com/blog>  
[https://www.akamai.com/content/dam/site/en/images/logo/2024/x-logo.png] 
<https://x.com/akamai>  
[https://www.akamai.com/us/en/multimedia/images/custom/fb.png] 
<http://www.facebook.com/AkamaiTechnologies>  
[https://www.akamai.com/us/en/multimedia/images/custom/in.png] 
<http://www.linkedin.com/company/akamai-technologies>  
[https://www.akamai.com/us/en/multimedia/images/custom/youtube.png] 
<http://www.youtube.com/user/akamaitechnologies?feature=results_main>



________________________________
From: Benjamin Klier via PacketFence-users 
<[email protected]>
Sent: Wednesday, July 15, 2026 3:47 AM
To: [email protected] 
<[email protected]>
Cc: Benjamin Klier <[email protected]>
Subject: Re: [PacketFence-users] monit problems

Hi everyone, the monit problems are driving me crazy. . .   Kind regards, 
Benjamin Am 25. 06. 26 um 08: 34 schrieb Benjamin Klier via PacketFence-users: 
Hello everyone, Lately, we've been receiving reports from monit that look 
something like this: 
ZjQcmQRYFpfptBannerStart
This Message Is From an External Sender
This message came from outside your organization.

ZjQcmQRYFpfptBannerEnd

Hi everyone,

the monit problems are driving me crazy...

Kind regards,
Benjamin

Am 25.06.26 um 08:34 schrieb Benjamin Klier via PacketFence-users:

Hello everyone,
Lately, we've been receiving reports from monit that look something like this:

Date:        Wed, 24 Jun 2026 16:35:33
Host:        XXX
Event:       Execution failed
Resource:    packetfence-httpd.portal
Action:      alert

Description: failed to start (exit status -1) -- '/usr/local/pf/bin/pfcmd 
service httpd.portal restart': Program timed out -- Service                     
                            Status    PID
Checking configuration sanity...

or

Date:        Thu, 25 Jun 2026 00:50:22
Host:        XXX
Event:       Status failed
Resource:    monitoring-check
Action:      alert

Description: status failed (1) -- Session terminated, killing shell... 
...killed.
Ignoring script usr/local/pf/var/monitoring-scripts.check-backups.sh because it 
has to run as root but it is denied on this setup.
Report for e3943b88-7a01-460c-b2c4-9bd264e640b9

usr/local/pf/var/monitoring-scripts.check-2502.sh has timeout
Output of usr/local/pf/var/monitoring-scripts.check-2502.sh

------------------------------------------



Is there a way to increase the check timeout (or, even better, to get to the 
root cause of the timeouts?).

With kind regards,
Benjamin

--

Benjamin Klier
Systemadministrator
IT

Max-Planck-Institut für die Physik des Lichts
Staudtstraße 2
D-91058 Erlangen

Tel.: 09131-7133-851
Fax : 09131-7133-990

eMail : [email protected]<mailto:[email protected]>
https://www.mpl.mpg.de<https://urldefense.com/v3/__https://www.mpl.mpg.de__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMiNjkuftQ$>
https://www.mpzpm.de<https://urldefense.com/v3/__https://www.mpzpm.de__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMgsqxlGCw$>
https://www.twitter.com/MPI_Light<https://urldefense.com/v3/__https://www.twitter.com/MPI_Light__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMiffB-kBw$>
https://www.facebook.com/PhysikDesLichts<https://urldefense.com/v3/__https://www.facebook.com/PhysikDesLichts__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMidsgDOig$>
https://www.instagram.com/physik_des_lichts/<https://urldefense.com/v3/__https://www.instagram.com/physik_des_lichts/__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMj2HVIB2Q$>

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

Geschäftsführender Direktor des Max-Planck-Instituts für die Physik des Lichts: 
Professor Florian Marquardt

Die Max-Planck-Gesellschaft ist im Vereinsregister des Amtsgerichts 
Berlin-Charlottenburg unter der Registernummer VR 13378 B eingetragen.
Die Max-Planck-Gesellschaft wird gesetzlich vertreten durch den 
Vereinsvorstand, und dieser wiederum durch den Präsidenten, Prof. Dr. Patrick 
Cramer,
und die Generalsekretärin, Dr. Simone Schwanitz. Die 
Umsatzsteueridentifikationsnummer lautet: DE 129517720.




_______________________________________________
PacketFence-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/packetfence-users<https://urldefense.com/v3/__https://lists.sourceforge.net/lists/listinfo/packetfence-users__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMj5vU3Q-A$>


--

Benjamin Klier
Systemadministrator
IT

Max-Planck-Institut für die Physik des Lichts
Staudtstraße 2
D-91058 Erlangen

Tel.: 09131-7133-851
Fax : 09131-7133-990

eMail : [email protected]<mailto:[email protected]>
https://www.mpl.mpg.de<https://urldefense.com/v3/__https://www.mpl.mpg.de__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMiNjkuftQ$>
https://www.mpzpm.de<https://urldefense.com/v3/__https://www.mpzpm.de__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMgsqxlGCw$>
https://www.twitter.com/MPI_Light<https://urldefense.com/v3/__https://www.twitter.com/MPI_Light__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMiffB-kBw$>
https://www.facebook.com/PhysikDesLichts<https://urldefense.com/v3/__https://www.facebook.com/PhysikDesLichts__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMidsgDOig$>
https://www.instagram.com/physik_des_lichts/<https://urldefense.com/v3/__https://www.instagram.com/physik_des_lichts/__;!!GjvTz_vk!TtE0pVrjR05f95ariu81YAU3ylgIARI5M3mI2H1pbByPPdpk0nqPGbyDkIPzlTqmjl-ZPq5qO_5KRsVY3aa06u6Fj1H2WMj2HVIB2Q$>

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen.
Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten 
haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail.
Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht 
gestattet.

Geschäftsführender Direktor des Max-Planck-Instituts für die Physik des Lichts: 
Professor Vahid Sandoghdar.

Die Max-Planck-Gesellschaft ist im Vereinsregister des Amtsgerichts 
Berlin-Charlottenburg unter der Registernummer VR 13378 B eingetragen.
Die Max-Planck-Gesellschaft wird gesetzlich vertreten durch den 
Vereinsvorstand, und dieser wiederum durch den Präsidenten, Prof. Dr. Patrick 
Cramer,
und die Generalsekretärin, Dr. Simone Schwanitz. Die 
Umsatzsteueridentifikationsnummer lautet: DE 129517720.
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to