mirror of
https://github.com/webmin/webmin.git
synced 2025-08-15 21:20:10 +00:00
Jabber is no longer supported by Webmin
This commit is contained in:
@ -1,28 +0,0 @@
|
|||||||
# jabber-monitor.pl
|
|
||||||
# Monitor the jabber server on this host
|
|
||||||
|
|
||||||
# Check the PID file to see if mon is running
|
|
||||||
sub get_jabber_status
|
|
||||||
{
|
|
||||||
return { 'up' => -1 } if (!&foreign_check($_[1]));
|
|
||||||
local %jconfig = &foreign_config($_[1]);
|
|
||||||
-r $jconfig{'jabber_config'} || return { 'up' => -1 };
|
|
||||||
&foreign_require($_[1], "jabber-lib.pl");
|
|
||||||
local $pidfile = &foreign_call($_[1], "jabber_pid_file");
|
|
||||||
if (open(PID, "<".$pidfile) && ($pid = int(<PID>)) && kill(0, $pid)) {
|
|
||||||
return { 'up' => 1 };
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
return { 'up' => 0 };
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
sub parse_jabber_dialog
|
|
||||||
{
|
|
||||||
&depends_check($_[0], "jabber");
|
|
||||||
eval "use XML::Parser";
|
|
||||||
&error(&text('jabber_eparser', "<tt>XML::Parser</tt>")) if ($@);
|
|
||||||
}
|
|
||||||
|
|
||||||
1;
|
|
||||||
|
|
@ -51,7 +51,6 @@ type_change=File or Directory Change
|
|||||||
type_oldfile=File Not Changed
|
type_oldfile=File Not Changed
|
||||||
type_qmailadmin=QMail Server
|
type_qmailadmin=QMail Server
|
||||||
type_mon=MON Service Monitor
|
type_mon=MON Service Monitor
|
||||||
type_jabber=Jabber IM Server
|
|
||||||
type_usermin=Usermin Webserver
|
type_usermin=Usermin Webserver
|
||||||
type_portsentry=Portsentry Daemon
|
type_portsentry=Portsentry Daemon
|
||||||
type_hostsentry=Hostsentry Daemon
|
type_hostsentry=Hostsentry Daemon
|
||||||
@ -333,8 +332,6 @@ acl_sched=Can change scheduled monitoring?
|
|||||||
|
|
||||||
change_file=File or directory to monitor (fail if changed)
|
change_file=File or directory to monitor (fail if changed)
|
||||||
|
|
||||||
jabber_eparser=The Perl module $1 is not installed on your system.
|
|
||||||
|
|
||||||
memory_min2=Minimum free real memory
|
memory_min2=Minimum free real memory
|
||||||
memory_emin=Missing or invalid amount of free real memory
|
memory_emin=Missing or invalid amount of free real memory
|
||||||
memory_eproc=Webmin does not know how to check free memory on your operating system
|
memory_eproc=Webmin does not know how to check free memory on your operating system
|
||||||
|
Reference in New Issue
Block a user