Template for Unbound DNS

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

Moderators: Developers, Moderators

Post Reply
franko
Posts: 3
Joined: Fri Feb 21, 2014 7:44 am

Template for Unbound DNS

Post by franko »

Hello,

i have Cacti version 1.1.10 and Unbound 1.6.4. template. But i think, that the output from snmpget is not equal as output in graphs.

Can you please help me , where is the problem ? Thank You!

For example (num_a_SERVFAIL:2217):

snmpget -v2c -Ovqa -c xxxxxxx 192.168.1.131 .1.3.6.1.3.1983.1.4.4.1.2.18.97.110.115.119.101.114.115.95.116.111.95.113.117.101.114.105.101.115.1
"num_a_NOER:80657 num_a_NXDOMAIN:13840 num_a_SERVFAIL:2217 num_a_nodata:18081 num_a_secure:9596 num_a_bogus:172 num_r_bogus:0"

and on graph :
Attachments
cacti_60 (1).png
cacti_60 (1).png (52.19 KiB) Viewed 1863 times
franko
Posts: 3
Joined: Fri Feb 21, 2014 7:44 am

Re: Template for Unbound DNS

Post by franko »

Hi,

i create new graph template where Data Input Methods is my PHP script.

In summary, the Unbound template is OK, because my script will return only one value and the graph return different value.

More info here :
I checked my script output :

php /var/www/html/cacti/scripts/ss_unbound_serverfail.php ss_unbound_serverfail 192.168.1.131
SERVFAIL:2489

and the graph is :
Attachments
cacti_107.png
cacti_107.png (32.27 KiB) Viewed 1853 times
Post Reply

Who is online

Users browsing this forum: No registered users and 8 guests