ISPsystem.com Forums

ISPsystem.com Forums (http://forum.ispsystem.com//index.php)
-   General technical discussion (http://forum.ispsystem.com//forumdisplay.php?f=8)
-   -   User suspend (http://forum.ispsystem.com//showthread.php?t=2441)

so4life 02-26-2015 07:51 AM

User suspend
 
Hi there,

We have a monitoring system that allow us to see high load information. In case when user uses more then 20% cpu he is stopped automatically by the system.
But ISPmanager still show that user is active.
We would like to integrate our system with ISPmanager. So, is there any way to suspend user in ISPmanager via API ?

fly 02-26-2015 01:09 PM

Hi,

To suspend user via API execute the command in cli

/usr/local/mgr5/sbin/mgrctl -m ispmgr user.suspend elid=username

or

https://ip:port/ispmgr?func=user.suspend&elid=username


All times are GMT +2. The time now is 02:59 AM.

Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2024, vBulletin Solutions, Inc.