Curious plotting issue FAQ could not address.
Darian Lanx <[email protected]>
| Newsgroups | gmane.network.opennms.install |
|---|---|
| Message-ID | <[email protected]> |
Hello fellow Users.
I have a fairly curious problem that I am not quite sure I understand. I
would like to plot a specific OID from out Liebert DS Aircon Unit.
What I did is this:
I edited datacollection/liebert.xml and I added:
<resourceType name="lgpEnvHumidityIdRH" label="Liebert Humidity Index">
<persistenceSelectorStrategy
class="org.opennms.netmgt.collectd.PersistAllSelectorStrategy"/>
<storageStrategy
class="org.opennms.netmgt.dao.support.IndexStorageStrategy"/>
</resourceType>
<group name="liebert-humidity" ifType="all">
<mibObj oid=".1.3.6.1.4.1.476.1.42.3.4.2.2.3.1.3"
instance="lgpEnvHumidityIdRH" alias="lgpEnvRH" type="Integer32" />
</group>
<includeGroup>liebert-humidity</includeGroup>
That parts seems to have worked. The Liebert DS shows that particular
OID tree in the web-interface (see screenshot)
I then went ahead and modified:
snmp-graph.properties
to add
in the reports=
I added liebert.humidity
as well as further down
report.liebert.humidity.name=Liebert Relative Humidity
report.liebert.humidity.columns=lgpEnvRH
report.liebert.humidity.type=lgpEnvHumidityIdRH
report.liebert.humidity.command=--title="Relative Humidity in Percent" \
--vertical-label="RH" \
DEF:ambtempdeg={rrd1}:lgpEnvRH:AVERAGE \
LINE2:ambtempdeg#ff0000:"Humidity" \
GPRINT:ambtempdeg:AVERAGE:"Avg \\: %5.1lf%S" \
GPRINT:ambtempdeg:MIN:"Min \\: %5.1lf%S" \
GPRINT:ambtempdeg:MAX:"Max \\: %5.1lf%S\\n"
I also tried %10.1l however none of these seem to return any data. (see
second screenshot)
Checking share/rrd/snmp/2/lgpEnvHumidityIdRH/5 for data seems to be
fine. Data is being collected. I wonder if I have overlooked anything?
Maybe there is a better tutorial or a better way of adding data like this?
liebert.xml has a predefined "Temperature" report which works
perfectly.(See thrid graph). I tried to mimic that setup, but must have
overlooked something. Any help is very much welcome, thank you very much!
-d
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ
opennms-install mailing list
To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-install
noderesources.tiff
(image/tiff, 27.6 KB) - not displayed
0x0FF9A64F.asc
(application/pgp-keys, 101.4 KB) - not displayed
Thegraph.tiff
(image/tiff, 18.1 KB) - not displayed
TempGraph.tiff
(image/tiff, 30.1 KB) - not displayed
signature.asc
(application/pgp-signature, 774 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.18 (Darwin) Comment: GPGTools - http://gpgtools.org Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQGcBAEBAgAGBQJQDfl+AAoJELRjWw8P+aZPu40L/3SX6VLHMX4XYepNaBqbRfXs ST9ML3dglGKhUj/ms8f6Xa5lnsNQdt/f3IaZs9nhha/CtNuMDqQ/rv+wCxjo+K3H OeAvaOlMGsxWHcS1+OI3Px/PWYZpfOL33VvGcVN0Pr2yK1noGf/UOtrHU+oiQLYb XlcFNGFx9RpVMHcLO+vmIbe9hT7gDv9h3nEeHX2mwIaP8TVoW9rv/kqk7gQOGVeY gbnP/a+7I9KHbmQ3vaABbsJ5BI0TBXyq/HK5Qqzv32ju3o2i8moYVFqF5eCWabN8 soqniuD23N4WK8J443kD0zba8i+PjYOHpezHjfBFd2VllQZTqa+GPCC2dNJlqjr/ xzmGvQibFujkAnC5NbGFTc8hRBGuFImPTfgu5hoX3/Zb44zMpSxhPRL5OLU/r/In MobVGGxIX2lGIITdrpaAC+e0DV6NWLfP/DrBnEh28nfDyW8myjWr/t+RP6xLL+8i G15uVVhhQkuF3z5w6Yw/Uzb1VESuXtsgZfuZIdLZJw== =1/CR -----END PGP SIGNATURE-----