[solved] Need Satellite signal strength monitoring template

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

Moderators: Developers, Moderators

Post Reply
cepxuo
Posts: 9
Joined: Tue Sep 22, 2009 3:01 am

[solved] Need Satellite signal strength monitoring template

Post by cepxuo »

I have Gentoo Linux on board and TechnoTrend Budget S-1401 DVB-S card. I am using szap to lock signal on the transponder.

Does anyone have satellite signal strength monitoring template, suitable for the above system? I see a lot of graphs in the web but still cannot find template for cacti :(
cepxuo
Posts: 9
Joined: Tue Sep 22, 2009 3:01 am

Post by cepxuo »

To simplify the task: I have written the script, using Bash to pull data on Signal strength and SNR from femon. Here is the script:

Code: Select all

#!/bin/bash                                                                                                                                    
                                                                                                                                               
Sig=`femon -H -c 1 | grep signal | awk '{print $5}' | sed 's/.\{1\}$//'`                                                                       
Qty=`femon -H -c 1 | grep signal | awk '{print $8}' | sed 's/.\{1\}$//'`                                                                       
                                                                                                                                               
echo -n "qlty:$Qty sig:$Sig"  
I made Data input method with output fields "qlty" and "sig".
Then I made Data template with these fields, and Graph template.
The output of the script is as follows:

Code: Select all

qlty:79 sig:65
Now I do not see neither graph nor RRD file in the rra/ folder :(
Cacti log shows:

Code: Select all

POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 1, Data Sources: (DS[88])
Also in more verbose log I see:

Code: Select all

05/01/2010 04:35:09 PM - CMDPHP: Poller[0] Host[4] DS[88] CMD: /bin/bash /var/www/localhost/htdocs/cacti/scripts/femstat.sh, output: qlty: sig:
So the script does not return any values.
how do I fix this?
cepxuo
Posts: 9
Joined: Tue Sep 22, 2009 3:01 am

Post by cepxuo »

The problem was with /dev/dvb/adapter0/frontend0 which was accessable only to creator and "video" group.
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests