pop3.monitor has the same problem (in line 124)
and the same fix made it work again here.


Klaus.

--
levigo systems gmbh ----------- ein Unternehmen der levigo gruppe
Bebelsbergstraße 31                      Telefon: 07031 / 4161-10
D-71088 Holzgerlingen                    Telefax: 07031 / 4161-11
GF: Oliver Bausch, Vincenzo Biasi       http://systems.levigo.de/
Informationen zu Art.13,14 DSGVO:  https://datenschutz.levigo.de/
Registergericht: Stuttgart HRB 245180         USt-ID: DE813226078
--- /usr/lib/mon/mon.d/pop3.monitor	2005-04-17 09:42:27.000000000 +0200
+++ ./pop3.monitor	2023-02-01 18:31:38.097898394 +0100
@@ -121,7 +121,7 @@
     local($OtherHostname, $Port) = @_;
     local($OurHostname, $sockaddr, $name, $aliases, $proto, $type, $len,
 	  $ThisAddr, $that);
-    $OurHostname = &hostname;
+    $OurHostname = hostname();
 
     ($name, $aliases, $proto) = getprotobyname('tcp');
     ($name, $aliases, $Port) = getservbyname($Port, 'tcp') unless $Port =~ /^\d+$/;

Reply via email to