Monitoring network performance
In this recipe, we'll look at the following network metrics:
network.interface.collisions
network.interface.in.bytes
network.interface.in.packets
network.interface.in.errors
network.interface.in.drops
network.interface.out.bytes
network.interface.out.packets
network.interface.out.errors
network.interface.out.drops
How to do it…
Now, one last time, we'll look at how we can create a text and graphical representation of data. Perform the following steps:
- Display live data for the preceding metrics; run the following command:
~]# pmdumptext -H -t 1 -i -l network.interface.collisions network.interface.in.bytes network.interface.in.packets network.interface.in.errors network.interface.in.drops network.interface.out.bytes network.interface.out.packets network.interface.out.errors network.interface.out.drops -h guest.example.com
- Create a configuration file for
pmchart
to display live data callednetwork.conf
with the following contents:#kmchart version 1 chart...