DNS Server Response time

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
tvirath
Cacti User
Posts: 60
Joined: Thu Nov 20, 2008 9:38 am

DNS Server Response time

Post by tvirath »

Hi All,

I have issues with DNS server response time. I have templates from this site and imported into my Cacti server. Here the error message I kept getting:

SPINE: Poller[0] Host[1] ERROR: Empty result [127.0.0.1]: '/usr/bin/perl /cacti/www/html/scripts/dnsresponsetimeloop.pl -s 127.0.0.1 -h -t 5 -i 10 -r 10' Have anyone run into this type of issue before? I have Cacti 8.7d installed on Redhat Enterprise 5.x
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Do you get any output from the command line ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
tvirath
Cacti User
Posts: 60
Joined: Thu Nov 20, 2008 9:38 am

Output from cli

Post by tvirath »

Here is my output from the cli:

perl dnsresponsetimeloop.pl -h x.x.x -s x.x.x.x -t 5 -i 10 -r -d 10
min:-1000 median:-1000 avg:-1000 max:-1000 iter:1
tvirath
Cacti User
Posts: 60
Joined: Thu Nov 20, 2008 9:38 am

Output from Log file

Post by tvirath »

Here is my output from log file with debug is turn on:

perl /cacti/www/html/scripts/dnsresponsetimeloop.pl -s 127.0.0.1 -h x.x.x.x -t 5 -i 10 -r, output: min:-1000 median:-1000 avg:-1000 max:-1000 iter:1 I am not able to get anything from the graph and I have received the following error message:

ERROR: the RRD does not contain an RRA matching the chosen CF

See the attachments for graph template for the the error.
Attachments
1.jpg
1.jpg (182.49 KiB) Viewed 2913 times
2.jpg
2.jpg (215.16 KiB) Viewed 2913 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Have a look in CONSOLE > DATA SOURCES > RRA. For each of the RRA archives, click on them and select LAST, then SAVE.

0.8.7d doesn't include the LAST Consolidation Function by default.

Let me know if this helps.

Regds
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
tvirath
Cacti User
Posts: 60
Joined: Thu Nov 20, 2008 9:38 am

changing from Average to Last

Post by tvirath »

Do I need to change all the Average to Last from graph as shown?
Attachments
3.jpg
3.jpg (117.02 KiB) Viewed 2906 times
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

No, shouldn't be necessary.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
tvirath
Cacti User
Posts: 60
Joined: Thu Nov 20, 2008 9:38 am

Post by tvirath »

Under RRA, that is all I have in the archieve.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

All you should be doing is adding, not changing ! Don't change any of the existing settings, just ADD LAST to each of the RRAs
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
tvirath
Cacti User
Posts: 60
Joined: Thu Nov 20, 2008 9:38 am

Adding Last to RRA

Post by tvirath »

Adding Last to the the existing RRAs still gave me the following error:

ERROR: the RRD does not contain an RRA matching the chosen CF
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

You'll need to delete the graph and recreate it.
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests