Folks, I m running smokeping fcgi and rrdcached ontop of OpenbSD, to smokeping about 150 devces the page load times can take 30 seconds to 1 minute, is there any way to speed this up.
im running 7.2 OpenBSD on amd64 vm on top of an SSD array any tips tricks welccome ... ###etc-smokeping-config############### smoke1$ cat /etc/smokeping/config *** General *** owner = Wireless Connect Managed Networks contact = [Redacted] @wirelessconnect.eu mailhost = [redacted] #sendmail = /usr/sbin/sendmail # NOTE: do not put the Image Cache below cgi-bin # since all files under cgi-bin will be executed ... this is not # good for images. imgcache = /var/www/htdocs/smokeping/cache imgurl = cache datadir = /var/db/smokeping piddir = /var/run/smokeping cgiurl = http://[redacted]/smokeping/smokeping.fcgi smokemail = /etc/smokeping/smokemail tmail = /etc/smokeping/tmail # specify this to get syslog logging syslogfacility = local0 syslogpriority = debug # each probe is now run in its own process # disable this to revert to the old behaviour concurrentprobes = yes *** Alerts *** to = [redacted] @ wirelessconnect.eu from = [reacted] @wirelessconnect.eu #mailtemplate = /var/somewhere/mailtemplate +Sustained_5%_loss type = loss # in percent edgetrigger = yes pattern = >=5%,>=5%,>=5% comment = Sustained Packet Loss more than 5% +Sudden_10%_Loss type = loss # in percent edgetrigger = yes pattern = ==0%,==0%,>10% comment = Single Incident Packet Loss more than 10% Detected! +Sudden_20%_Loss type= loss # in percent edgetrigger = yes pattern = ==0%,==0%,>20% comment = Single Incident Packet Loss more than 20% Detected! +Sporadic_Loss type = loss # in percent pattern = ==0%,==0%,*8*,*8*,>20%,*8*,>20%,>20%,*8*,>0% comment = High Packet loss occured at least 4 times over the last two hours #+anydelay # type = rtt # # in milliseconds # pattern = >1 # comment = Just for testing +Latency_Over_50ms type = rtt # in milliseconds edgetrigger = yes pattern = <45,<45,<45,<45,<45,<45,>50 comment = Sudden High Latency greater than 50ms! +Latency_Over_200ms type = rtt # in milliseconds edgetrigger = yes pattern = <100,<100,>200 comment = Sudden High Latency greater than 200ms! +Latency_Constantly_Over_100ms type = rtt # in milliseconds edgetrigger = yes pattern = >100,>100,>100,>100,>100 comment = Constant High Latency greater than 100 ms for over 5 samples in a row +Offline_at_startup type = rtt # in milliseconds edgetrigger = yes pattern = ==S,==U comment = System offline at startup! *** Database *** step = 90 pings = 60 # consfn mrhb steps total AVERAGE 0.5 1 1008 AVERAGE 0.5 12 4320 MIN 0.5 12 4320 MAX 0.5 12 4320 AVERAGE 0.5 144 720 MAX 0.5 144 720 MIN 0.5 144 720 *** Presentation *** template = /etc/smokeping/basepage.html htmltitle = yes graphborders = no + charts menu = Charts title = The most interesting destinations ++ stddev sorter = StdDev(entries=>10) title = Top Standard Deviation menu = Std Deviation format = Standard Deviation %f ++ max sorter = Max(entries=>10) title = Top Max Roundtrip Time menu = by Max format = Max Roundtrip Time %f seconds ++ loss sorter = Loss(entries=>10) title = Top Packet Loss menu = Loss format = Packets Lost %f ++ median sorter = Median(entries=>10) title = Top Median Roundtrip Time menu = by Median format = Median RTT %f seconds + overview width = 800 height = 100 range = 36h + detail width = 1024 height = 256 unison_tolerance = 2 "Last 8 Hours Performance" 8h "Last 12 Hours Performance" 12h "Last 36 Hours Performance" 36h "Last 7 Days Performance" 7d "Last 14 Days Performance" 14d "Last 28 Days Performance" 28d "Last 100 Days Performance" 100d #+ hierarchies #++ owner #title = Host Owner #++ location #title = Location *** Probes *** #+basefork #forks = 8 #offset = 50% #step = 90 #timeout = 1 + FPing blazemode = true binary = /usr/local/sbin/fping packetsize = 64 hostinterval = 0.001 timeout = 0.125 offset = random + DNS binary = /usr/sbin/dig # mandatory forks = 5 offset = 50% step = 30 timeout = 15 # The following variables can be overridden in each target section lookup = bbc.co.uk pings = 30 server = [redacted] + TCPPing binary = /usr/local/sbin/hping forks = 5 offset = 50% step = 300 timeout =10 #*** Slaves *** #secrets=/etc/smokeping/smokeping_secrets #+boomer #display_name=boomer #color=0000ff #+slave2 #display_name=another #color=00ff00 *** Targets *** probe = FPing menu = Top title = Wireless Connect Network Latency Grapher remark = SmokePing of Wireless Connect Ltd. \ This Tool Shows the latency of the \ Wireless Connectnetwork. alerts = Sustained_5%_loss,Sudden_10%_Loss,Sporadic_Loss,Latency_Over_50ms,Offline_at_startup #########################################config-sniped############# smoke1# rcctl ls started cron dhcpleased httpd ntpd pflogd resolvd rrdcached smokeping smokeping_fcgi smtpd sshd syslogd -- Kindest regards, Tom Smyth.