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
[solved] Need Satellite signal strength monitoring template
Moderators: Developers, Moderators
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:
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:
Now I do not see neither graph nor RRD file in the rra/ folder
Cacti log shows:
Also in more verbose log I see:
So the script does not return any values.
how do I fix this?
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"
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
Cacti log shows:
Code: Select all
POLLER: Poller[0] WARNING: Poller Output Table not Empty. Issues Found: 1, Data Sources: (DS[88])
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:
how do I fix this?
Who is online
Users browsing this forum: No registered users and 3 guests