New Question
 
 
PRTG Network Monitor

Intuitive to Use.
Easy to manage.

200.000 administrators have chosen PRTG to monitor their network. Find out how you can reduce cost, increase QoS and ease planning, as well.

Free PRTG
Download >>

 

What is this?

This knowledgebase contains questions and answers about PRTG Network Monitor and network monitoring in general. You are invited to get involved by asking and answering questions!

Learn more

 

Top Tags


View all Tags


How to remove PAESSHSTART and PAESSHEND from history

Votes:

0

Your Vote:

Up

Down

Reply of http://www.paessler.com/knowledgebase/en/topic/34083-remove-paesshstart-and-paesshend-from-history

To complete the proposed workaround (which worked for me with centos/bash) :

1- first, just let PRTG flood the user's bash history with PAESSHSTART...PAESSHEND entries

2- then, run in the user's command line the following : ##Back up the .bashrc file ;-) cp $HOME/.bashrc $HOME/.bashrc.`date '+%Y%m%d'`;

##add HISTIGNORE to the .bashrc file with this single line command (run it only ONE time) : grep "PAESS" $HOME/.bash_history | sort | uniq > /tmp/histignore.list && echo export HISTIGNORE=\"`sed '{:q;N;s/\n/:/g;t q}' /tmp/histignore.list `\" >> $HOME/.bashrc;

3- edit the user's .bashrc file and verify you don't have more than one declaration of HISTIGNORE... else, just merge all the existing values into a single one HISTIGNORE="...".

'hope that will work for you, best regards.

history paesshend paesshstart shell

Created on Oct 16, 2013 1:29:23 PM by  contact_prtg (0) 1



1 Reply

Votes:

0

Your Vote:

Up

Down

I posted this as well to the KB article directly.

Created on Oct 17, 2013 9:13:49 AM by  Greg Campion [Paessler Support]



Please log in or register to enter your reply.


Disclaimer: The information in the Paessler Knowledge Base comes without warranty of any kind. Use at your own risk. Before applying any instructions please exercise proper system administrator housekeeping. You must make sure that a proper backup of all your data is available.