Adjust "Status of Services" monitoring config

Discussion in 'Installation/Configuration' started by Luke-IT, Oct 8, 2022.

  1. Luke-IT

    Luke-IT New Member

    I disabled pop3 in dovecot as we only provide imap access. POP3-Server is now shown offline in monitoring as expected. Where can I adjust monitoring to not check pop3 service?
    Having a look at the code, there seems to be no other solution than changing the code below, right?
    server/lib/classes/monitor_tools.inc.php
    PHP:
                    /* Monitor POP3-Server */
                    
    $data['pop3server'] = -1// unknown - not needed
                    
    if ($services['mail_server'] == 1) {
                            if (
    $this->_checkTcp('localhost'110)) {
                                    
    $data['pop3server'] = 1;
                            } else {
                                    
    $data['pop3server'] = 0;
                                    
    $state 'error'// because service is down
                            
    }
                    }
    Thanks!
     
  2. Th0m

    Th0m ISPConfig Developer Staff Member ISPConfig Developer

    Currently it is not possible to disable a monitor. I'd recommend just closing the port in your firewall.
     

Share This Page