Wireless Access

Reply
Occasional Contributor I
Posts: 7
Registered: ‎09-16-2014

Graph data not available

Hey guys,

 

I did an airwave server migration today, and all seems to have gone well and it is now receiving data again, however graphing does not seem to be working, either system performance graphs. Is there something wrong here?

 

The only thing I have changed was the time in amp_install after the initial restoral was done.

 

System > Status shows all in green

 

Is there something I need to restart here?

Occasional Contributor I
Posts: 7
Registered: ‎09-16-2014

Re: Graph data not available

Some investigate shows errors in /var/log/messages

 

Oct 22 11:21:22 localhost rrdcached[19783]: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_29/B8_EE_65_CB_CC_29) failed with status -1. (/var/airwave/rrd/client_signal_metrics_29/B8_EE_65_CB_CC_29: illegal attempt to update using time 1413986435 when last update time is 1413993757 (minimum one second step))
Oct 22 11:21:25 localhost rrdcached[19783]: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_20/88_03_55_2F_CC_20) failed with status -1. (/var/airwave/rrd/client_signal_metrics_20/88_03_55_2F_CC_20: illegal attempt to update using time 1413991284 when last update time is 1413993791 (minimum one second step))
Oct 22 11:21:53 localhost rrdcached[19783]: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_B5/E4_98_D6_E8_8B_B5) failed with status -1. (/var/airwave/rrd/client_signal_metrics_B5/E4_98_D6_E8_8B_B5: illegal attempt to update using time 1413990702 when last update time is 1413993956 (minimum one second step))
Oct 22 11:22:25 localhost rrdcached[19783]: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_20/88_03_55_2F_CC_20) failed with status -1. (/var/airwave/rrd/client_signal_metrics_20/88_03_55_2F_CC_20: illegal attempt to update using time 1413991285 when last update time is 1413993791 (minimum one second step))
Oct 22 11:26:27 localhost rrdcached[19783]: queue_thread_main: rrd_update_r (/var/airwave/rrd/client_signal_metrics_20/88_03_55_2F_CC_20) failed with status -1. (/var/airwave/rrd/client_signal_metrics_20/88_03_55_2F_CC_20: illegal attempt to update using time 1413991405 when last update time is 1413993791 (minimum one second step))

 

Any suggestions?

Moderator
Posts: 1,266
Registered: ‎10-16-2008

Re: Graph data not available

Was the time before you made the time change in the future?  If so, then the RRDs already populated themselves with data up to that point in time.  This means that you won't see updates until that time is passed.  What is the time of the RRD files?  You would probably see files in the future listed in /var/airwave/rrd/rrd_check.

 

If you're not seeing anything in that file, you can initialize the check with:

# touch /tmp/base 

# perl -e 'utime time+600, time+600, "/tmp/base"' 
# /usr/bin/find /var/airwave/rrd -newer /tmp/base -type f > /var/airwave/rrd/rrd_check

 

If this was based off of a backup restored, you can do:

# amp_disable

# mv /var/airwave/rrd /tmp/old_rrd

Then restore just the RRD portion by extracting the /var/airwave/rrd directory from the backup file (tar -xvf nightly_data.tar.gz /var/airwave/rrd), wherever you restore the RRD files, you can just move into /var/airwave/rrd.

 

 

If you don't happen to care about the past graph data, you can blow away the RRDs and recreate the base RRDs:

# amp_disable

# rm -rf /var/airwave/rrd

# cd /root/svn/mercury

# make

# amp_enable


Rob Gin
Senior QA Engineer - Network Services
Aruba Networks, a Hewlett Packard Enterprise Company
Search Airheads
Showing results for 
Search instead for 
Did you mean: