![](https://secure.gravatar.com/avatar/0fa97865a0e1ab36152b6b2299eedb49.jpg?s=120&d=mm&r=g)
The value is correctly returned as 0, so it's graphing as expected (not that the graph is showing values as 0, which requires actual data, otherwise it'd be "NaN").
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 20/07/2016 18:53:35, Kramling, Steven steve.kramling@sensus.com wrote: See anything here that doesn’t look right?
##### Module Start: oids #####
SQL[SELECT * FROM `oids_assoc` LEFT JOIN `oids` USING(`oid_id`) WHERE `device_id` = '1'] SQL RUNTIME[0.00037599s]
CMD[/usr/bin/snmpget -v2c -c *** -Pu -OUQnv -M /opt/observium/mibs 'udp':'scale-flexip1.davis.sensus.lab':'161' .1.3.6.1.4.1.29182.3.20.1.2.6.0]
CMD EXITCODE[0] CMD RUNTIME[0.0362s] STDOUT[ 0 ] SNMP STATUS[TRUE] RRD /opt/observium/rrd/scale-flexip1.davis.sensus.lab/oid-.1.3.6.1.4.1.29182.3.20.1.2.6.0-GAUGE.rrd already exists - no need to create.
RRD CMD[update /opt/observium/rrd/scale-flexip1.davis.sensus.lab/oid-.1.3.6.1.4.1.29182.3.20.1.2.6.0-GAUGE.rrd N:0] RRD RUNTIME[0.0012s] RRD STDOUT[OK u:0.00 s:0.01 r:0.37] RRD_STATUS[TRUE]
CMD[/usr/bin/snmpget -v2c -c *** -Pu -OUQnv -M /opt/observium/mibs 'udp':'scale-flexip1.davis.sensus.lab':'161' .1.3.6.1.4.1.29182.3.20.1.3.6.0]
CMD EXITCODE[0] CMD RUNTIME[0.036s] STDOUT[ 0 ] SNMP STATUS[TRUE] RRD /opt/observium/rrd/scale-flexip1.davis.sensus.lab/oid-.1.3.6.1.4.1.29182.3.20.1.3.6.0-GAUGE.rrd already exists - no need to create.
RRD CMD[update /opt/observium/rrd/scale-flexip1.davis.sensus.lab/oid-.1.3.6.1.4.1.29182.3.20.1.3.6.0-GAUGE.rrd N:0] RRD RUNTIME[0.0011s] RRD STDOUT[OK u:0.00 s:0.01 r:0.41] RRD_STATUS[TRUE]
o Module time 0.0815s
On Jul 20, 2016, at 1:40 PM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
Dear lord, what possessed you to make screenshots as a TIFF? Is it 1987? :O
Can you snmpget these from the command line?
Try :
./poller.php -h <hostname> -m oids -d
Look for the text between : ##### Module Start: oids ##### and: o Module time
There should be errors in there which will help you work out what's wrong.
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 20/07/2016 18:28:19, Kramling, Steven <steve.kramling@sensus.com [mailto:steve.kramling@sensus.com]> wrote: Thanks Guys…
I’m adding oids like this (some mib browsers are ok with the trailing “0” and others are not. I have tried both ways):
Graphs with no data populated:
[http://www.sensus.com/] [http://www.sensus.com/]
On Jul 20, 2016, at 12:28 PM, Adam Armstrong <adama@memetic.org [mailto:adama@memetic.org]> wrote:
You may want to provide screenshots and the like, usually someone can point out immediately what the problem is :)
The custom oid stuff is pretty simple at the moment, there's not much to go wrong! snmp -> rrd -> graph, assuming you filled out all of the fields properly, and we can only tell that from a screenshot!
adam.
Sent from Mailbird [http://www.getmailbird.com/?utm_source=Mailbird&utm_medium=email&utm...] On 20/07/2016 16:46:33, Moerman, Maarten <mmoerman@ebay.com [mailto:mmoerman@ebay.com]> wrote: Hi Steve,
What do you mean, not getting any data? You said the graphs show up fine?
Care to share a screenshot?
Also copying the mibs doesn’t work, as this is custom OIDs, the whole meaning behind it, is that you don’t need the MIBs for that.
Maarten Moerman
From: observium <observium-bounces@observium.org [mailto:observium-bounces@observium.org]> on behalf of "Kramling, Steven" <Steve.Kramling@Sensus.com [mailto:Steve.Kramling@Sensus.com]> Reply-To: Observium Network Observation System <observium@observium.org [mailto:observium@observium.org]> Date: Wednesday, July 20, 2016 at 5:18 PM To: Observium Network Observation System <observium@observium.org [mailto:observium@observium.org]> Subject: [Observium] Steps to add custom oid
Hi, I could use some guidance here.
I have recently upgraded to the subscription version of Observium so that I could add some custom oids to graph. I am running on CentOS 7.
I followed the guide here:
http://www.maartenmoerman.nl/?p=649 [http://www.maartenmoerman.nl/?p=649]
No problem adding the oids and applying them to the devices. Graphs show up fine but I cannot get any data.
I have also copied the MIBs to the /opt/observium/mibs directory. The MIBs have a *.txt extension on them. I have tried removing this but still no luck.
Any help would be appreciated.
Cheers, Steve
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium [http://postman.memetic.org/cgi-bin/mailman/listinfo/observium]
_______________________________________________ observium mailing list observium@observium.org [mailto:observium@observium.org] http://postman.memetic.org/cgi-bin/mailman/listinfo/observium