cpanel auto generate bandwidth and RAM report - cpanel

I've server hosting with another company.
Usually i monitor my server bandwidth by accessing Cpanel>log> Bandwidth.
Also access to WHM to check server RAM Usage.
But is it possible to create a cron job for daily auto generate bandwidth report and RAM usage to my Email?
I'm new to server hosting, is there any dummy way to create auto generate?
Thanks Everyone

You can monitor and analyze server resource with the Munin, If you have root access, you can install Munin Server Monitor plugin on your server through WHM >> cPanel >> Manage Plugins >> munin

Related

1 Server Multi cPanel, how the apache work?

i want to ask something about dedicated server.
i have dedicated server and a cPanel website with heavy load, when i check the server load, all parameter didn't go up to 60% usage. but the apache work is high.
so i wonder if i can do this.
i buy dedicated server(DS) and install 2 cPanel on same DS. i know that cPanel need an IP to bind the license so i add 1 additional IP to my DS.
what i am trying to archieve here is to split workload in same website, and to split the traffic i use loadbalancer from CF.
so i have abc.com with 2 different IPs and use LoadBalancer to split the load.
here is why i need to do this
Server load relative low (under 80%)
Apache load relative high 3-10 req/s
There is a problem in your problem definition
What do you mean by Apache work?
if you want have more threads and processes of Apache httpd on the same server, you dont need to install two Cpanel instances, you could tune your Apache httpd worker configuration for a better performance and resource utilization.
you can even use litespeed or nginx web servers on cpanel.

Setup monitoring for API load testing

I'm new to API Load Testing. Before we started to do API load testing, we need to configure some monitoring setup to monitor CPU usage and JVM heap memory as the test is executed. FYI I'm using Apache JMeter tool to execute the load tests.
For own exercise, I'm trying to do load test using this one sample REST web service: https://reqres.in/
How can I setup monitoring for the server of the sample web service when the web service is not hosted in my own PC? I've tried the JMeter plugin (Perfmon) but I guess this only works when the server is hosted at our own PC. Appreciate for your kind suggestions. Thanks!
Based on your environment set up & access:
If you have rdp or ssh access to server(application under test) , you can use visualVm , Jconsole to monitor CPU & Heap memory.
In case, you don't have access to remote server - then please work with IT or concerned team to help you configure these tools by opening remote JMX port for performance monitoring.
but I guess this only works when the server is hosted at our own PC - that's not true, you can monitor whatever host where the PerfMon Server Agent is running.
Of course you will need access to the host in order to launch the PerfMon Server Agent so you cannot deploy it onto a random machine in the Internet.
Alternative option is using SSHMon Listener, in this case you don't need to install anything but you need to have SSH connectivity to the machine(s) you want to monitor.

How to increase WHM Max Files Upload Limits

I purchased a dedicated server and installed linux centos with cpanel. I'm able to increase file upload size limit 2gb maximum. I have 6 TB space available. This is a dedicated server purchased from OVH.com,
WHM, How i could increase it 10GB or more ?
WHM, How could i increase max files upload in one operation, Currently there are 6 files simultaneously is allowed to upload through cpanel. How could i change it?
Login inot WHM
Goto Software >> MultiPHP INI Editor
Select the php version from the dropdown for which you want to edit directives.
Once you make necessary changes in directive, click on Apply
The changes will get applied to all the websites using the php version.
If you are looking to increase connection from a single IP then goto
Service Manager >> FTP Server Configuration >> Maximum Connections Per IP Address. This will allow you to increase concurrent connection from a single IP.
Maximum Connections will show you the number of concurrent FTP connection can be made.
Hope this helps.

Best choice for 5k request spikes on dynamic server

I am building a backend that is supposed to handle 5k request spikes. The application is a photo sharing app that uses SQL for database, php to handle requests and x-sendfile to send the images to user. What is the best setup server wise?
Now i have build a HAProxy load balancer to two apache servers who have a shared folder to access images and a database server. 4 servers in total. We may install memcached to save some processing. Will this hold? Is this a good setup? Do you have any suggestions on improvements or better solutions?

Virtualize Kickstart Server

I have a cluster of computers and I am using one of them as a kickstart server.
I configured DHCP/TFTP/FTP on it and it worked fine. When you boot any box in the cluster and choose to boot from network, it will reach out to that kickstart server, lease an IP, install OS..etc. However, using one box dedicated for kickstart is such a waste of resource and I am wondering is it possible to use some level of virtualization to achieve that, so you end up with a image that is a fully functional ks server and can be running on any box with the virtuallization tool set up?
I have used VirtualBox, Vagrant and Docker before but I am not sure will these tools be powerful enought to do it? Can anyone give some directional guidance or resource to help me get started.
Just virtualize the kickstart server;
Use the virtual environment DHCP Server facility and set the Kickstart Server DHCP module as "proxyDHCP"
When a PXE client boots up will get its IP from the virtual environment DHCP Server and the PXE booting information from the instance of the kickstart proxyDHCP server.
Next the PXE client will know where the TFTP and the rest of the kickstart facilities are located and will continue the boot/install.
Yep I always run kickstart on a VM, A good way to do things is have a bunch of VM's and share them across hosts. Pretty much every site I build out I have the following VM's
Build: running Kickstart/Cobbler, DHCP, TFTP
Provision: running Puppet or Chef
Monitoring: Zenoss or Nagios
The VM's disks all live on iscsi and create the VM's with libvirt KVM. Everything can easily live on one server. I usually have a second server that is prepared for the VM's and if there is ever an outage I just bring them up on the second server.