trimhistory command
Hello
I'm attempting to use the trimhistory command to free up some space on our xymon server. I can get a "man trimhistory" to work and show me all of the available options, but when I run anything with the trimhistory command I get the error of command not found.
Is there a trick to this? Or does it sound like something is just setup wrong in our environment?
Thanks!
--
This information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies.
On Fri, April 24, 2015 9:13 am, Matt Pannucci wrote:
Hello
I'm attempting to use the trimhistory command to free up some space on our xymon server. I can get a "man trimhistory" to work and show me all of the available options, but when I run anything with the trimhistory command I get the error of command not found.
Is there a trick to this? Or does it sound like something is just setup wrong in our environment?
Thanks!
Hi Matt,
Depending on the installation, it may require running within the xymon environment, or be in a xymon-specific path
Can you try "xymoncmd trimhistory" or xymoncmd --env=/path/to/xymonserver.cfg trimhistory?
HTH,
-jc
On my RPM installed system, it's at /usr/libexec/xymon/trimhistory.
On a system where I compiled from source, it's at <$XYMONPATH>/server/bin/trimhistory.
On any Linux system, you can run "updatedb" followed by "locate trimhistory".
On 2015-04-24 12:13 pm, Matt Pannucci wrote:
Hello
I'm attempting to use the trimhistory command to free up some space on our xymon server. I can get a "man trimhistory" to work and show me all of the available options, but when I run anything with the trimhistory command I get the error of command not found.
Is there a trick to this? Or does it sound like something is just setup wrong in our environment?
Thanks!
This information is intended solely for the use of the individual to whom it is addressed. Any review, disclosure, copying, distribution or use of this e-mail communication by others is strictly prohibited. If you are not the intended recipient, please notify us immediately by returning this message to the sender and delete all copies.
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon [1]
Mike Burger http://www.bubbanfriends.org [2]
"It's always suicide-mission this, save-the-planet that. No one ever just stops by to say 'hi' anymore." --Colonel Jack O'Neill, SG1
Links:
[1] http://lists.xymon.com/mailman/listinfo/xymon [2] http://www.bubbanfriends.org
participants (3)
-
cleaver@terabithia.org
-
mburger@bubbanfriends.org
-
mpannucc@ycp.edu