Go to All Forums

Software Updates Monitoring for WHM/cPanel

Hi all

I've installed the Software Updates Monitoring plugin with our Server Agent, currently configured on Centos 7.9 running WHM/cPanel.

However, the plugin cannot find anything at the path '/var/lib/update-notifier/updates-available'. This appears to be related to a specific Ubuntu component.

 

Has anyone successfully got this plugin working with Centos + WHM/cPanel setup? If so, what steps did you have to take?

Like (2) Reply
Replies (7)

Re: Software Updates Monitoring for WHM/cPanel

Hi Scott,

We have updated the plugin to provide software update count for Centos. 

Kindly install the plugin again and let us know for further queries, if any.

 

 

Regards,

Sriram

Like (0) Reply

Re: Re: Software Updates Monitoring for WHM/cPanel

Hi Sriram

Thanks for the update.

I've installed the new plugin and its now appearing in the server monitor.

However, it's showing a very large number of 'packages_to_be_updated' and 'security_updates' which does not tally with the number show when queried on the server.

Running commend yum check-update --security returns with "2 package(s) needed for security, out of 6 available".

Am I missing something? 

 
Like (0) Reply

Re: Re: Re: Software Updates Monitoring for WHM/cPanel

Hi Scott,

We have fixed the issue and updated the plugin. Kindly download the updated script and try again. 

 

Regards,

Sriram

Like (0) Reply


Re: Re: Re: Re: Software Updates Monitoring for WHM/cPanel

Hi Sriram

Just a follow-up to the previous post.

 

Out of interest is there a way for the Software Updates monitor to raise a notice or send an email when a security update is detected?

I've tried to figure it out using a Threshold and Availability Profile or Notification Profile. But nothing springs to mind.

Like (0) Reply

Re: Re: Re: Re: Re: Software Updates Monitoring for WHM/cPanel

Hi Scott,

Yes, you can get an alert when there is a security update by configuring a threshold profile for the monitor created. Please follow the steps below:

  1. Log in to Site24x7.
  2. Go to Server > Plugin Integrations > click on the plugin monitor added. In this case, click on "check_updates.py" monitor.
  3. Hover on the hamburger icon beside the monitor display name. Click on Edit.
  4. In the Edit Plugin Monitor page, scroll down to the option Threshold and Availability and click on the pencil icon.
  5. In the Edit Threshold Profile popup, set threshold values for packages_to_be_updated and security_updates.
  6. Save your changes. You will be notified when the configured threshold is violated.

 

Hope this helps. Let us know for further queries, if any, in the below thread. Also, take a few minutes of your time and participate in our recent IT survey to understand your monitoring requirements better.

Thanks!

Regards,

Sriram

Like (0) Reply


Was this post helpful?