Satellite modem signal levels

Templates, scripts for templates, scripts and requests for templates.

Moderators: Moderators, Developers

Post Reply
Author
Message
jfulton
Posts: 4
Joined: Tue Sep 19, 2017 7:15 pm

Satellite modem signal levels

#1 Post by jfulton » Wed Sep 27, 2017 3:03 am

I have been reading on the XML templates and am getting lost.

I have several (34 plus spares) UHP Networks satellite modems across the state of Alaska where I need to query two OIDs that give me the signal to noise ratio on the demodulators so I can look for changes as the ground freezes/thaws which moves the dishes. The OIDs never change.

Demod 1 is .1.3.6.1.4.8000.22.2.1.0
Demod 2 is .1.3.6.1.4.8000.22.3.1.0

# snmpget -v2c -c xxxxxxxx -On 10.10.0.1 .1.3.6.1.4.1.8000.22.2.1.0
.1.3.6.1.4.1.8000.22.2.1.0 = Gauge32: 156
# snmpget -v2c -c xxxxxxxx -On 10.10.0.1 .1.3.6.1.4.1.8000.22.3.1.0
.1.3.6.1.4.1.8000.22.3.1.0 = Gauge32: 157

The values are actually multiplied by 10, so the first demod level is 15.6, the second is 15.7.

I can't really find any example that equates to just pulling a few simple OIDs to graph individually. There are a few other things that are in the mib for these sate modems but the other pertinant information that I need is the interface stats which I can get with the standard Interface Statistics.

Could someone point me to a good example?

John Fulton
Anchorage, AK
Attachments
uhp32.zip
UHP Networks Satellite Router MIB
(4.29 KiB) Downloaded 38 times

User avatar
phalek
Cacti Guru User
Posts: 2710
Joined: Thu Jan 31, 2008 6:39 am
Location: Kressbronn, Germany
Contact:

Re: Satellite modem signal levels

#2 Post by phalek » Wed Sep 27, 2017 3:23 am

Look here: https://docs.cacti.net/manual:088:3_tem ... a_template

That should get you started.
Greetings,
Phalek
---
Need more help ? Read the Cacti documentation or my new Cacti 1.x Book
Need on-site support ? Look here Cacti Workshop
Need professional Cacti support ? Look here CereusService
---
Plugins : CereusTransporter | CereusReporting | nmidWebService | nmidSmokeping | nmidWeb2 |

Code: Select all

CereusServer Master:  SYSTEM STATS: Time:2.5621 Method:spine Processes:1 Threads:16 Hosts:446 HostsPerProcess:446 DataSources:14683 RRDsProcessed:7573
CereusServer Agent:   SYSTEM STATS: Time:27.4840 Method:spine Processes:1 Threads:8 Hosts:16 HostsPerProcess:16 DataSources:114576 RRDsProcessed:48061
[/size]

jfulton
Posts: 4
Joined: Tue Sep 19, 2017 7:15 pm

Re: Satellite modem signal levels

#3 Post by jfulton » Wed Sep 27, 2017 3:37 pm

Ok, so I see that what you recommend is create templates like the SNMP - Generic OID Template instead of an XML file.

I was able to do so but ran into a few issues. First, if I add the Data Template from scratch, it doesn't show up in the list. If I look in the mysql database, I see them there, and if I go to create the graph, they show up in the drop down for Data Source, but they refuse to show up in the data source list. I was able to overcome that problem by duplicating the SNMP - Generic OID Template. I was then able to rename both to "Demod 1 SNR" and "Demod 2 SNR" respectively. The issue I ran into there is that even though I specified the OID in the Data source configuration, when I made a graph, it still acts like SNMP - Generic OID Template and asks for the OID and MAX/MIN even though I unchecked the "Use Per-Data Source Value" and specified it within the Data Source configuration.

It is workable as it is now since I can just plug those values back in, but it is frustrating that those items are now working as intended. I ended up directly from mysql manually deleting the dozen or so data_templates that I created trying to make them show up in the list. That was so I didn't select the wrong ones from the data source drop down list.

Post Reply