Discussion:
[PacketFence-users] Multiple Graphs showing on 'System State' page in PF 7
Torry, Andrew
2017-05-30 14:47:54 UTC
Permalink
Hi Folks,

When I view the various system state graphs I seem to have duplicate parameters in each graph.

One set of parameters refers to PacketFence-ZEN and the other to PacketFence-7_0_0.

I renamed the server’s hostname after installation from packetFence-ZEN to PacketFence-7_0_0 to avoid confusion with
our production server (which is also called PacketFence-ZEN).

How do I go about getting rid of the spurious PacketFence-ZEN parameters? I assume it is Graphite somewhere.

Attached is what I am on about.

Regards

Andrew




Andrew Torry

Senior Infrastructure Engineer



Tel: 01326 370760

Email: ***@fxplus.ac.uk




[cid:***@6c6a84d1.4aa15bca]
[Falmouth Exeter Plus] [cid:***@79b73d11.45bc9b32]


[Twitter] <https://twitter.com/falmouthexeter> [Facebook] <https://www.facebook.com/falmouthexeter> [Instagram] <https://www.instagram.com/falmouthexeterplus/> [YouTube] <https://www.youtube.com/channel/UC5-Jq4vTOhWgYoJJDYrZHWw>

[cid:***@4e98a380.4d9ad7bf]


[Falmouth University]

Falmouth Exeter Plus is an exempt charity established by Falmouth University and the University of Exeter to deliver their shared Higher Education services in Cornwall.
Louis Munro
2017-05-30 15:14:23 UTC
Permalink
Hi Andrew,
Post by Torry, Andrew
How do I go about getting rid of the spurious PacketFence-ZEN parameters? I assume it is Graphite somewhere.
You can juste delete the whisper files for the obsolete hosts.

They will be located under /usr/local/pf/var/graphite/whisper.

Here's a quick way to find the directories to delete for host $OBSOLETE:

# find /usr/local/pf/var/graphite/whisper/ -type d -name `echo $OBSOLETE | tr . _ `

Delete those directories recursively.

Whisper files are created automatically on receiving any packet for a given metric and persist forever unless you manually delete them.


Best regards,
--
Louis Munro
***@inverse.ca <mailto:***@inverse.ca> :: www.inverse.ca <http://www.inverse.ca/>
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu <http://www.sogo.nu/>) and PacketFence (www.packetfence.org <http://www.packetfence.org/>)
Torry, Andrew
2017-05-31 08:51:24 UTC
Permalink
Thanks Louis, that worked perfectly.

Andrew




Andrew Torry

Senior Infrastructure Engineer



Tel: 01326 370760

Email: ***@fxplus.ac.uk




[cid:***@13a37164.45943ea6]
[Falmouth Exeter Plus] [cid:***@8c0e3660.43995ebd]


[Twitter] <https://twitter.com/falmouthexeter> [Facebook] <https://www.facebook.com/falmouthexeter> [Instagram] <https://www.instagram.com/falmouthexeterplus/> [YouTube] <https://www.youtube.com/channel/UC5-Jq4vTOhWgYoJJDYrZHWw>

[cid:***@1646404a.4580f3a5]


[Falmouth University]

Falmouth Exeter Plus is an exempt charity established by Falmouth University and the University of Exeter to deliver their shared Higher Education services in Cornwall.
From: Louis Munro [mailto:***@inverse.ca]
Sent: 30 May 2017 16:14
To: packetfence-***@lists.sourceforge.net
Subject: Re: [PacketFence-users] Multiple Graphs showing on 'System State' page in PF 7

Hi Andrew,
On May 30, 2017, at 10:47, Torry, Andrew <***@fxplus.ac.uk<mailto:***@fxplus.ac.uk>> wrote:

How do I go about getting rid of the spurious PacketFence-ZEN parameters? I assume it is Graphite somewhere.



You can juste delete the whisper files for the obsolete hosts.

They will be located under /usr/local/pf/var/graphite/whisper.

Here's a quick way to find the directories to delete for host $OBSOLETE:

# find /usr/local/pf/var/graphite/whisper/ -type d -name `echo $OBSOLETE | tr . _ `

Delete those directories recursively.

Whisper files are created automatically on receiving any packet for a given metric and persist forever unless you manually delete them.


Best regards,
--
Louis Munro
***@inverse.ca<mailto:***@inverse.ca> :: www.inverse.ca<http://www.inverse.ca>
+1.514.447.4918 x125 :: +1 (866) 353-6153 x125
Inverse inc. :: Leaders behind SOGo (www.sogo.nu<http://www.sogo.nu>) and PacketFence (www.packetfence.org<http://www.packetfence.org>)
Loading...