DotNetPanel
From ISPWiki
Contents |
Creating account
The OpenAccount function
- Locates a server, domain, user and package in the base.
- Locates information about account IP-addresses (whether the account has assigned IP-addresses, if, yes, their number) from the base.
- Sends an account creation request to the server.
- Calls AddDetails to rewrite package details into those added manually (if any).
Deleting account
The DeleteAccount function
- Locates the account in the base.
- Sends the deletion request to the server.
- Deletes all the account IP-address from the itemip table.
Disabling account
The SuspendAccount function
- Locates the account in the base.
- Sends a request to the server (the account will get status 3 that means it is disabled).
Enabling account
The ResumeAccount function
- Locates the account in the base.
- Sends a request to the server (the account will get status 2, that means it is active).
Changing package
The SetAccountParam function
- Locates the account in the base.
- Sends the package change request to the server.
- Calls AddDetails to rewrite package details into those added manually (if any).
Getting package information from the server
The GetServerConfig function
- Sends a request to the server to get all the package names (account templates).
- All the packages received from the server are entered into config raw of the server table.
Checking server connection
The CheckServerConnection function
- Sends a request to check server connection.
Getting server statistics
The GetStats function
- Sends a request to the server to collect traffic statistics.
- The result is put into the base.
Additional information
Use the fix function to update the information: Log file : /usr/local/ispmgr/var/LOG_FILE_NAME(cpdnp.log for DotNetPanel and cpwsp.log for WebSitePanel)
You may add package details listed above with the following internal names:
- DNS.Editor - the boolean type, enable/disable DNS edit.
- Exchange2007.ActiveSyncAllowed - the boolean type, enable/disable ActiveSync access.
- Exchange2007.ActiveSyncEnabled - the boolean type, enable/disable ActiveSync.
- Exchange2007.Contacts - the number of contacts per organization.
- Exchange2007.DiskSpace - disk space per organization.
- Exchange2007.DistributionLists - the number of mailing lists per organization.
- Exchange2007.IMAPAllowed - the boolean type, enable/disable IMAP access.
- Exchange2007.IMAPEnabled - the boolean type, enable/disable IMAP.
- Exchange2007.Mailboxes - the number of mailboxes per organization.
- Exchange2007.MailEnabledPublicFolders - the boolean type, enable/disable public folders.
- Exchange2007.MAPIAllowed - the boolean type, enable/disable MAPI access.
- Exchange2007.MAPIEnabled - the boolean type, enable/disable IMAP.
- Exchange2007.OWAAllowed - the boolean type, enable/disable OWA access.
- Exchange2007.OWAEnabled - the boolean type, enable/disable OWA.
- Exchange2007.POP3Allowed - the boolean type, enable/disable POP3 access.
- Exchange2007.POP3Enabled - the boolean type, enable/disable POP3.
- Exchange2007.PublicFolders - the boolean type, enable/disable public folder.
- ExchangeHostedEdition.Contacts - the number of contacts.
- ExchangeHostedEdition.DistributionLists - the number of mailing lists.
- ExchangeHostedEdition.Domains - the number of domains.
- ExchangeHostedEdition.Mailboxes - the number of mailboxes.
- FTP.Accounts - the number of FTP accounts.
- Mail.Accounts - the number of mailboxes.
- Mail.DisableSizeEdit - the boolean type, enable/disable mailbox size edit.
- Mail.Forwardings - the number of mail forwarding.
- Mail.Groups - the number of mail groups.
- Mail.Lists - the number of mailing groups.
- Mail.MaxBoxSize - the maximum size allowed for a mailbox.
- Mail.MaxGroupMembers - the maximum number of group members.
- Mail.MaxListMembers - the maximum number of mailing list members.
- MsSQL2000.Backup - the boolean type, enable/disable backing up.
- MsSQL2000.Databases - the number of databases.
- MsSQL2000.MaxDatabaseSize - the maximum database size allowed.
- MsSQL2000.MaxLogSize - the maximum log file size.
- MsSQL2000.Restore - the boolean type, enable/disable backup recovery.
- MsSQL2000.Truncate - the boolean type, enable/disable base optimization.
- MsSQL2000.Users - the number of users. количество пользователей.
- MsSQL2005.Backup - the boolean type, enable/disable backing up.
- MsSQL2005.Databases - the number of databases.
- MsSQL2005.MaxDatabaseSize - the maximum database size.
- MsSQL2005.MaxLogSize - the maximum log file size.
- MsSQL2005.Restore - the boolean type, enable/disable backup recovery.
- MsSQL2005.Truncate - the boolean type, enable/disable base optimization.
- MsSQL2005.Users - the number of users.
- MsSQL2008.Backup - the boolean type, enable/disable backing up.
- MsSQL2008.Databases - the number of databases.
- MsSQL2008.MaxDatabaseSize - the maximum database size.
- MsSQL2008.MaxLogSize - the maximum log file size.
- MsSQL2008.Restore - the boolean type, enable/disable backup recovery.
- MsSQL2008.Truncate - the boolean type, enable/disable base optimization.
- MsSQL2008.Users - the number of users.
- MySQL4.Backup - the boolean type, enable/disable backing up.
- MySQL4.Users - the number of users.
- MySQL4.Databases - the number of databases.
- MySQL5.Backup - the boolean type, enable/disable backing up.
- MySQL5.Databases - the number of databases.
- MySQL5.Users - the number of users.
- SharePoint.Groups - the number of groups.
- SharePoint.Sites - the number of sites.
- SharePoint.Users - the number of users.
- Web.AppPools - the number of application pools.
- Web.Asp - the boolean type, enable ASP.
- Web.AspNet11 - the boolean type, enable ASP 1.1.
- Web.AspNet20 - the boolean type, enable ASP 2.0.
- Web.AspNet40 - the boolean type, enable ASP 4.0.
- Web.CFVirtualDirectories - the number of ColdFusion virtual directories.
- Web.CgiBin - the boolean type, enable CGI.
- Web.ColdFusion - the boolean type, enable ColdFusion.
- Web.DefaultDocs - the boolean type, enable default file override.
- Web.Errors - the boolean type, enable error file override.
- Web.FrontPage - the boolean type, enable FrontPage.
- Web.Headers - the boolean type, enable private heders.
- Web.HomeFolders - the boolean type, enable site home folders.
- Web.IPAddresses - the number of assigned IP-addresses.
- Web.Mime - the boolean type, enable private MIME types.
- Web.Perl - the boolean type, enable Perl.
- Web.Php4 - the boolean type, enable PHP4.
- Web.Php5 - the boolean type, enable PHP5.
- Web.Python - the boolean type, enable Python.
- Web.Redirections - the boolean type, enable redirects.
- Web.RemoteManagement - the boolean type, enable remote management.
- Web.SecuredFolders - the boolean type, enable secure folders.
- Web.Security - the boolean type, enable private security settings.
- Web.SharedSSL - the number of shared SSL directories.
- Web.Sites - the number of sites.
- Web.VirtualDirs - the boolean type, enable virtual directories.
- Web.WebAppGallery - the boolean type, enable WebAppGallery.
