Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Log into http://cacti.geant.net/cacti/

 

...

Quick Reference

For those who definitely know what they're doing and just need a reminder of the commands:

...


  • ssh -l dante.<surname> prod-cacti01-fra-de.geant.net

  • chmod 777 to the /opt/cacti/rra/<name_of_rrd>.rrd                      <-- Richard has permissions to do this step, Ops does not!
  • cd /tmp
  • rrdtool dump /opt/cacti/rra/mx1_lon_uk_traffic_in_20683.rrd > /tmp/mx1_lon_uk_traffic_in_20683.rrd.xml

  • vi /tmp/mx1_lon_uk_traffic_in_20683.rrd.xml
  • sudo -u cactiuser mv /opt/cacti/rra/mx1_lon_uk_traffic_in_20683.rrd

...

  • /opt/cacti/rra/mx1_lon_uk_traffic_in_20683.rrd.bak

...

  • sudo

...

  • -u

...

  • cactiuser

...

  • rrdtool

...

  • restore

...

  • /tmp/mx1_lon_uk_traffic_in_20683.rrd.xml 

...

  • /opt/cacti/rra/mx1_lon_uk_traffic_in_20683.rrd

...

  • sudo -u cactiuser scp -i /home/cactiuser/.ssh/id_dsa /opt/cacti/rra/mx1_lon_uk_traffic_in_20683.

...

  • rrd cactiuser@prod-cacti02-vie-at.geant.net:/opt/cacti/rra/mx1_lon_uk_traffic_in_20683.rrd

Detailed Instructions

Locate the graph with the Spike:

...

Change to the /tmp directory and export the data to an XML file format.

Check that the chmod of the rrd file is set to 7777 prior to attempting to remove a spike.

rrdtool dump /opt/cacti/rra/mx1_lon_uk_traffic_in_20683.rrd > /tmp/mx1_lon_uk_traffic_in_20683.rrd.xml

...