aboutsummaryrefslogtreecommitdiffstats
path: root/packages/ifgraph.xml
diff options
context:
space:
mode:
Diffstat (limited to 'packages/ifgraph.xml')
-rw-r--r--packages/ifgraph.xml12
1 files changed, 7 insertions, 5 deletions
diff --git a/packages/ifgraph.xml b/packages/ifgraph.xml
index 498ddeda..97c6220e 100644
--- a/packages/ifgraph.xml
+++ b/packages/ifgraph.xml
@@ -5,18 +5,18 @@
<menu>
<name>IFGraph</name>
<tooltiptext>pfstat is a small utility that collects packet filter statistics and produces graphs.</tooltiptext>
- <section>System</section>
+ <section>Services</section>
</menu>
<!-- configpath gets expanded out automatically and config items will be
stored in that location -->
- <configpath>installedpackages->package->$packagename->configuration</configpath>
+ <configpath>['installedpackages']['package']['$packagename']['configuration']</configpath>
<!-- modify system will modify a file and make sure the text needed to run the
package is in place. The following example edits /etc/crontab and adds the
code necessart to invoke the pfstat command every 5 minutes. -->
<modify_system>
<item>
<modifyfilename>/etc/crontab</modifyfilename>
- <textneeded>* * * * * root /usr/local/bin/pfstat -q >> /var/log/pfstat\n*/5 * * * * root /usr/local/bin/pfstat -c /usr/local/etc/pfstat.conf -d /var/log/pfstat</textneeded>
+ <textneeded>* * * * * root /usr/local/bin/pfstat -q >> /var/log/pfstat\n*/5 * * * * root /usr/local/bin/pfstat -c /usr/local/etc/pfstat.conf -d /var/log/pfstat\n</textneeded>
</item>
</modify_system>
<!-- adddeleteeditpagefields items will appear on the first page where you can add / delete or edit
@@ -27,7 +27,7 @@
<fieldname>graphname</fieldname>
</columnitem>
<columnitem>
- <fieldname>Description</fieldname>
+ <fielddescr>Description</fielddescr>
<fieldname>description</fieldname>
</columnitem>
</adddeleteeditpagefields>
@@ -64,6 +64,7 @@
<description>Graph size in pixels. Recommend 960x300 for large images, 320x200 for small images.</description>
<type>input</type>
</field>
+ <field>
<fielddescr>Color</fielddescr>
<fieldname>color</fieldname>
<description>Color of graph</description>
@@ -73,6 +74,7 @@
<option>Red</option>
<option>Green</option>
</options>
+ </field>
<field>
<fielddescr>Left Counters</fielddescr>
<fieldname>leftcounters</fieldname>
@@ -102,6 +104,7 @@
<option value="NormalizeCounter">Normalize Counter</option>
<option value="MemoryCounter">Memory Counter</option>
</options>
+ </field>
<field>
<fielddescr>Right Counters</fielddescr>
<fieldname>rightcounters</fieldname>
@@ -133,5 +136,4 @@
</options>
</field>
</fields>
-
</packagegui>