You are here

Patch to improve "service opsview-agent restart" on RPM based linux distributions

10 posts / 0 new
Last post
johanguldmyr
johanguldmyr's picture
Patch to improve "service opsview-agent restart" on RPM based linux distributions

Hi!

First time ever submitting a patch. Hope I got it right and that this is the right place.

The stop() function in the /etc/init.d/opsview-agent - https://secure.opsview.com/wsvn/wsvn/opsview-base/trunk/support_files/opsview-agent

has an "exit 0". Removing it makes "service opsview-agent restart" work. Currently it doesn't go past the stop because of the exit.

// Johan

Anonymous's picture
Re: Patch to improve "service opsview-agent restart" on RPM ...

Thanks for the report - I'll apply this to the code shortly.

  Duncs

 
cruatta
cruatta's picture
Re: Patch to improve "service opsview-agent restart" on RPM ...

Is there any plan to do a core release with the fix for this?

cruatta
cruatta's picture
Re: Patch to improve "service opsview-agent restart" on RPM ...

Is there any plan to do a core release with the fix for this?

Anonymous's picture
Re: Patch to improve "service opsview-agent restart" on RPM ...

Yes - I hope to put a new agent package into the core repositories later today

  Duncs

 
Anonymous's picture
Re: Patch to improve "service opsview-agent restart" on RPM ...

The core repo's are now updated for opsview-agent - please upgrade and let me know if you have any further problems

  Duncs

 
cynicalcats
cynicalcats's picture
Re: Patch to improve "service opsview-agent restart" on RPM ...

Hi dferguson, 

We updated to the latest opsview-agent version on many of our systems today. All of them are fixed now except for our Centos 5 64-bit systems. It looks like all the repos have the opsview-agent-4.5.0.433 version while the Centos 5 64-bit repo still has the old opsview-agent-4.5.0.413 version. We just wanted to double check this. 

Thanks!

johanguldmyr
johanguldmyr's picture
Re: Patch to improve "service opsview-agent restart" on RPM ...

Thanks D!

Got the upgrade in today and restarting the opsview-agent service now works.

Anonymous's picture
Re: Patch to improve "service opsview-agent restart" on RPM ...
With the recent vulnerability discovered in the agent, we will be re-releasing all agents very soon with a fix so the down rev Centos 5 64-bit will be fixed then. Thanks for the report on it.     Duncs  
Anonymous's picture
Re: Patch to improve "service opsview-agent restart" on RPM ...

I have just updated all agents within the opsview-core repository.

 

  Duncs