US: 1-941-4621-069
  
Cyprus: 3-572-2052-781

Go Back   ISPsystem.com Forums > ISPmanager > General technical discussion


Reply
 
Thread Tools
Old 02-26-2015, 07:51 AM   #1
Member
 
Join Date: Apr 2013
Posts: 99
so4life is on a distinguished road
Default 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 ?
so4life is offline   Reply With Quote
Old 02-26-2015, 01:09 PM   #2
ISPsystem team
 
Join Date: Jun 2013
Posts: 233
fly is on a distinguished road
Default

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:razz:ort/ispmgr?func=user...&elid=username
fly is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 11:15 PM.