How to get the history of a particular IP address in SolusVM?

Have more questions? Submit a request

Applicable to:

  • SolusVM

Question

How to get the history of a particular IP address in SolusVM?

Answer

This is not possible to do via SolusVM UI. However, the data can be fetched from SolusVM database directly:

  1. Connect to Master node via SSH
  2. Access the database:

    # awk -F: '{ system("MYSQL_PWD='"'"'" $3 "'"'"' mysql -u " $2 " "$1) }' /usr/local/solusvm/includes/solusvm.conf

  3. Run the query:

    MYSQL_LIN: SELECT subject FROM systemmessages WHERE subject LIKE '%ip: 203.0.113.2%' AND (subject LIKE '%Build%' OR subject LIKE '%Add additional IP]%' OR subject LIKE '%Destroy%');

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.