Page 1 of 3 123 LastLast
Results 1 to 25 of 64

Thread: I made a dashboard for my Apex controller

  1. #1
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30

    I made a dashboard for my Apex controller

    So I use the TIG (Telegraf, InfluxDB and Grafana) stack to monitor my hole lab. I saw someone made a plugin for telegraf for the Apex controller. Using this, I made a below dashboard for my Apex Jr.:


    Since I only have the temperature probe, I only have one graph. But it is trivial to add pH and other graphs if you have other probes.





    Here is my setup:


    https://github.com/chvvkumar/apex


    and my dashboard:


    https://grafana.challa.co/d/USuIX9_i...gId=1&kiosk=tv

  2. #2
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    Missing screenshot:

    Capture.jpg

  3. #3
    New User
    Join Date
    Feb 2019
    Location
    Central
    Posts
    10
    From the GitHub:
    "Open XML Access" on your Apex controller should be enabled. This setting can be found in the configuration > Network Setup section
    I can't find this setting on my Apex 2016 anywhere under network setup, does anyone know where it is?

    Edit: nevermind, it looks like it is just always available:

    http://apex.local/cgi-bin/outlog.xml...mddhhmm&days=n or
    http://apex.local/cgi-bin/datalog.xm...mddhhmm&days=n

  4. #4
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    Quote Originally Posted by f8th View Post
    From the GitHub:


    I can't find this setting on my Apex 2016 anywhere under network setup, does anyone know where it is?
    It's here on my Apex Jr.:

    Untitled.png

  5. #5
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    I know this is a very old thread but you wouldn't be willing elaborate on this setup would you? This isn't an area of expertise for me and although I've installed the prerequisite components with brew and created the telegram conf file I'm not quite up to 'hooking it all up'. LOL

  6. #6
    New User
    Join Date
    Feb 2019
    Location
    Central
    Posts
    10
    Quote Originally Posted by nullbreached View Post
    I know this is a very old thread but you wouldn't be willing elaborate on this setup would you? This isn't an area of expertise for me and although I've installed the prerequisite components with brew and created the telegram conf file I'm not quite up to 'hooking it all up'. LOL
    I set this up recently. I can post details later if OP doesn't.

    Here's the dashboard I made with it:


  7. #7
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    Impressive! What I’m really looking to do (along with the cool graphing) is long term data collection. Unless I’ve missed it over the years, I’ve been very surprised not to see an easy way of collecting and more specifically archiving data beyond the limited capacity of the Apex. (I have reviewed the Excel method)

  8. #8
    New User
    Join Date
    Feb 2019
    Location
    Central
    Posts
    10
    Quote Originally Posted by nullbreached View Post
    Impressive! What I’m really looking to do (along with the cool graphing) is long term data collection. Unless I’ve missed it over the years, I’ve been very surprised not to see an easy way of collecting and more specifically archiving data beyond the limited capacity of the Apex. (I have reviewed the Excel method)
    Yep that was the main reason I set it up too, it holds the data forever and I can graph even over a years time or more if I want to, instead of the week at a time that Fusion lets you do

  9. #9
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    Is this all with the free plans for Influxdb/Telegraf?

    - - - Updated - - -

    I wonder why Neptune isn’t hosting this type of service as an add-on for $$?

  10. #10
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    Quote Originally Posted by nullbreached View Post
    I know this is a very old thread but you wouldn't be willing elaborate on this setup would you? This isn't an area of expertise for me and although I've installed the prerequisite components with brew and created the telegram conf file I'm not quite up to 'hooking it all up'. LOL
    Sure! Let me know where you are having trouble at and I will try my best.

    Quote Originally Posted by f8th View Post
    I set this up recently. I can post details later if OP doesn't.

    Here's the dashboard I made with it:

    Quote Originally Posted by nullbreached View Post
    Is this all with the free plans for Influxdb/Telegraf?

    Looks great! I am curious how you are adding manual inputs to your TSDB. Like the measurements from Hanna. Also for the other probes, are you running Trident?

    - - - Updated - - -

    I wonder why Neptune isn’t hosting this type of service as an add-on for $$?
    Not sure why Neptune is not offering a similar service (which ApexFusion kind of is). But everything in my Grafana+InfluxDB+Telegraf+Prometheus is self hosted in my home lab and free.

  11. #11
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    [QUOTE=chvvkumar;178240]Sure! Let me know where you are having trouble at and I will try my best.

    Do you recall any more newb-oriented resources for such a setup?

  12. #12
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    [QUOTE=nullbreached;178283]
    Quote Originally Posted by chvvkumar View Post
    Sure! Let me know where you are having trouble at and I will try my best.

    Do you recall any more newb-oriented resources for such a setup?
    By web oriented do you mean any guides for installing Grafana, Telegraf and Influxdb? Here is one:

    https://www.howtoforge.com/tutorial/...n-ubuntu-1804/

  13. #13
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    Ok, I was able to adapt the setup to Mac—being able to search for 'TIG stack' was helpful. I think I have the basics set up. From my previous fiddling around I had created a telegraph.conf file but I don't think it's correct. Any chance you could post the pertinent parts of your telegraf.conf?

    When the part of the conf references the apex address I assume you can/need to use the specific port?

  14. #14
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    Quote Originally Posted by nullbreached View Post
    Ok, I was able to adapt the setup to Mac—being able to search for 'TIG stack' was helpful. I think I have the basics set up. From my previous fiddling around I had created a telegraph.conf file but I don't think it's correct. Any chance you could post the pertinent parts of your telegraf.conf?

    When the part of the conf referees the apex address I assume you can/need to use the specific port?
    My telegraf.conf that has that port and host details is included in the github link in my original post.

    If you want to see my whole telegraf.conf file that I also use for a lot more things, it's in this repo:

    https://github.com/chvvkumar/Monitoring

  15. #15
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    LOl, sorry! That first post is where I got the original telegraf.conf I'm suing, I forgot!! But this is where it all breaks down for me. Running Influx and checking to see if there are any measurements yields nothing.

    I used this article as a starting point: https://medium.com/@nagaraj.kamalash...s-b989b2faf9f8

  16. #16
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    Quote Originally Posted by nullbreached View Post
    LOl, sorry! That first post is where I got the original telegraf.conf I'm suing, I forgot!! But this is where it all breaks down for me. Running Influx and checking to see if there are any measurements yields nothing.

    I used this article as a starting point: https://medium.com/@nagaraj.kamalash...s-b989b2faf9f8
    Run telegraf in test mode and paste the output here:

    https://github.com/influxdata/telegr...rics-to-stdout

  17. #17
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    Code:
    2020-07-03T18:37:23Z I! Starting Telegraf 1.14.4
    > processes,host=Deans-Mac-Pro blocked=0i,idle=0i,running=2i,sleeping=707i,stopped=0i,total=718i,unknown=0i,zombies=9i 1593801443000000000
    > swap,host=Deans-Mac-Pro free=649330688i,total=18253611008i,used=17604280320i,used_percent=96.44272748161765 1593801443000000000
    > swap,host=Deans-Mac-Pro in=0i,out=0i 1593801443000000000
    > system,host=Deans-Mac-Pro load1=2.14599609375,load15=2.4970703125,load5=2.12451171875,n_cpus=12i,n_users=2i 1593801443000000000
    > system,host=Deans-Mac-Pro uptime=2595325i 1593801443000000000
    > system,host=Deans-Mac-Pro uptime_format="30 days,  0:55" 1593801443000000000
    > cpu,cpu=cpu0,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=46.15384615384615,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=21.153846153846153,usage_user=32.69230769230769 1593801444000000000
    > cpu,cpu=cpu1,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=98.03921568627452,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=1.9607843137254901,usage_user=0 1593801444000000000
    > cpu,cpu=cpu2,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=70,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=12,usage_user=18 1593801444000000000
    > cpu,cpu=cpu3,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=98,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=0,usage_user=2 1593801444000000000
    > cpu,cpu=cpu4,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=76,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=8,usage_user=16 1593801444000000000
    > cpu,cpu=cpu5,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=100,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=0,usage_user=0 1593801444000000000
    > cpu,cpu=cpu6,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=84.31372549019608,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=5.882352941176471,usage_user=9.803921568627452 1593801444000000000
    > cpu,cpu=cpu7,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=98,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=2,usage_user=0 1593801444000000000
    > cpu,cpu=cpu8,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=78,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=2,usage_user=20 1593801444000000000
    > cpu,cpu=cpu9,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=100,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=0,usage_user=0 1593801444000000000
    > cpu,cpu=cpu10,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=82.6923076923077,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=3.8461538461538463,usage_user=13.461538461538462 1593801444000000000
    > cpu,cpu=cpu11,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=100,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=0,usage_user=0 1593801444000000000
    > cpu,cpu=cpu-total,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=85.8085808580858,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=4.785478547854786,usage_user=9.405940594059405 1593801444000000000
    > disk,device=disk1s5,fstype=apfs,host=Deans-Mac-Pro,mode=ro,path=/ free=701805568000i,inodes_free=9374061437i,inodes_total=9374548960i,inodes_used=487523i,total=959953813504i,used=11132088320i,used_percent=1.561439239646979 1593801444000000000
    > disk,device=disk1s1,fstype=apfs,host=Deans-Mac-Pro,mode=rw,path=/System/Volumes/Data free=701805568000i,inodes_free=9373267686i,inodes_total=9374548960i,inodes_used=1281274i,total=959953813504i,used=225798979584i,used_percent=24.34215961662829 1593801444000000000
    > disk,device=disk1s4,fstype=apfs,host=Deans-Mac-Pro,mode=rw,path=/private/var/vm free=701805568000i,inodes_free=9374548941i,inodes_total=9374548960i,inodes_used=19i,total=959953813504i,used=20402192384i,used_percent=2.8249755130230243 1593801444000000000
    > disk,device=disk3s2,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Tunzey free=74983063552i,inodes_free=4294844030i,inodes_total=4294967279i,inodes_used=123249i,total=360139542528i,used=285156478976i,used_percent=79.17944166151368 1593801444000000000
    > disk,device=disk2s3,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Thunderbolt free=650571026432i,inodes_free=4294329111i,inodes_total=4294967279i,inodes_used=638168i,total=2000264675328i,used=1349693648896i,used_percent=67.47575286128969 1593801444000000000
    > disk,device=disk3s3,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Photos free=236761931776i,inodes_free=4294656562i,inodes_total=4294967279i,inodes_used=310717i,total=599579389952i,used=362817458176i,used_percent=60.511996285436986 1593801444000000000
    > disk,device=disk6s1,fstype=apfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Macintosh\ HD\ 1 free=13613424640i,inodes_free=2447204235i,inodes_total=2449125360i,inodes_used=1921125i,total=250790436864i,used=234317533184i,used_percent=94.50918725137026 1593801444000000000
    > disk,device=disk4s2,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/System free=60215296i,inodes_free=4292345844i,inodes_total=4294967279i,inodes_used=2621435i,total=271116214272i,used=271055998976i,used_percent=99.9777898580645 1593801444000000000
    > disk,device=disk4s4,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Untitled free=13343371264i,inodes_free=4294940127i,inodes_total=4294967279i,inodes_used=27152i,total=239865782272i,used=226522411008i,used_percent=94.43715100269323 1593801444000000000
    > disk,device=disk7s1,fstype=exfat,host=Deans-Mac-Pro,mode=rw,path=/Volumes/WIN10 free=6205997056i,inodes_free=189392i,inodes_total=251467i,inodes_used=62075i,total=8240070656i,used=2034073600i,used_percent=24.685147554152234 1593801444000000000
    > disk,device=disk1s3,fstype=apfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Recovery free=701805568000i,inodes_free=9374548914i,inodes_total=9374548960i,inodes_used=46i,total=959953813504i,used=528502784i,used_percent=0.07524948681615916 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk7 io_time=1018859i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=1012752896i,read_time=899118i,reads=9599i,weighted_io_time=0i,write_bytes=9079808i,write_time=119740i,writes=1438i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk0 io_time=51972979i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=1679490989568i,read_time=48090118i,reads=85233520i,weighted_io_time=0i,write_bytes=654086569984i,write_time=3882861i,writes=36762321i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk2 io_time=1914387i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=34705902592i,read_time=1810469i,reads=492958i,weighted_io_time=0i,write_bytes=7751766016i,write_time=103918i,writes=230753i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk3 io_time=4138064i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=96282818560i,read_time=3364639i,reads=18081273i,weighted_io_time=0i,write_bytes=74495869952i,write_time=773425i,writes=4896368i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk4 io_time=762731i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=15532381184i,read_time=709830i,reads=547140i,weighted_io_time=0i,write_bytes=2997441536i,write_time=52900i,writes=123660i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk5 io_time=6582061i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=11892936192i,read_time=6195469i,reads=695920i,weighted_io_time=0i,write_bytes=1515196416i,write_time=386591i,writes=138163i 1593801444000000000
    > mem,host=Deans-Mac-Pro active=28204052480i,available=31374098432i,available_percent=45.65532207489014,buffered=0i,cached=0i,commit_limit=0i,committed_as=0i,dirty=0i,free=582164480i,high_free=0i,high_total=0i,huge_page_size=0i,huge_pages_free=0i,huge_pages_total=0i,inactive=30791933952i,low_free=0i,low_total=0i,mapped=0i,page_tables=0i,shared=0i,slab=0i,sreclaimable=0i,sunreclaim=0i,swap_cached=0i,swap_free=0i,swap_total=0i,total=68719476736i,used=37345378304i,used_percent=54.34467792510986,vmalloc_chunk=0i,vmalloc_total=0i,vmalloc_used=0i,wired=7872143360i,write_back=0i,write_back_tmp=0i 1593801444000000000

  18. #18
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    Quote Originally Posted by nullbreached View Post
    Code:
    2020-07-03T18:37:23Z I! Starting Telegraf 1.14.4
    > processes,host=Deans-Mac-Pro blocked=0i,idle=0i,running=2i,sleeping=707i,stopped=0i,total=718i,unknown=0i,zombies=9i 1593801443000000000
    > swap,host=Deans-Mac-Pro free=649330688i,total=18253611008i,used=17604280320i,used_percent=96.44272748161765 1593801443000000000
    > swap,host=Deans-Mac-Pro in=0i,out=0i 1593801443000000000
    > system,host=Deans-Mac-Pro load1=2.14599609375,load15=2.4970703125,load5=2.12451171875,n_cpus=12i,n_users=2i 1593801443000000000
    > system,host=Deans-Mac-Pro uptime=2595325i 1593801443000000000
    > system,host=Deans-Mac-Pro uptime_format="30 days,  0:55" 1593801443000000000
    > cpu,cpu=cpu0,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=46.15384615384615,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=21.153846153846153,usage_user=32.69230769230769 1593801444000000000
    > cpu,cpu=cpu1,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=98.03921568627452,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=1.9607843137254901,usage_user=0 1593801444000000000
    > cpu,cpu=cpu2,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=70,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=12,usage_user=18 1593801444000000000
    > cpu,cpu=cpu3,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=98,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=0,usage_user=2 1593801444000000000
    > cpu,cpu=cpu4,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=76,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=8,usage_user=16 1593801444000000000
    > cpu,cpu=cpu5,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=100,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=0,usage_user=0 1593801444000000000
    > cpu,cpu=cpu6,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=84.31372549019608,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=5.882352941176471,usage_user=9.803921568627452 1593801444000000000
    > cpu,cpu=cpu7,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=98,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=2,usage_user=0 1593801444000000000
    > cpu,cpu=cpu8,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=78,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=2,usage_user=20 1593801444000000000
    > cpu,cpu=cpu9,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=100,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=0,usage_user=0 1593801444000000000
    > cpu,cpu=cpu10,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=82.6923076923077,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=3.8461538461538463,usage_user=13.461538461538462 1593801444000000000
    > cpu,cpu=cpu11,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=100,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=0,usage_user=0 1593801444000000000
    > cpu,cpu=cpu-total,host=Deans-Mac-Pro usage_guest=0,usage_guest_nice=0,usage_idle=85.8085808580858,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=4.785478547854786,usage_user=9.405940594059405 1593801444000000000
    > disk,device=disk1s5,fstype=apfs,host=Deans-Mac-Pro,mode=ro,path=/ free=701805568000i,inodes_free=9374061437i,inodes_total=9374548960i,inodes_used=487523i,total=959953813504i,used=11132088320i,used_percent=1.561439239646979 1593801444000000000
    > disk,device=disk1s1,fstype=apfs,host=Deans-Mac-Pro,mode=rw,path=/System/Volumes/Data free=701805568000i,inodes_free=9373267686i,inodes_total=9374548960i,inodes_used=1281274i,total=959953813504i,used=225798979584i,used_percent=24.34215961662829 1593801444000000000
    > disk,device=disk1s4,fstype=apfs,host=Deans-Mac-Pro,mode=rw,path=/private/var/vm free=701805568000i,inodes_free=9374548941i,inodes_total=9374548960i,inodes_used=19i,total=959953813504i,used=20402192384i,used_percent=2.8249755130230243 1593801444000000000
    > disk,device=disk3s2,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Tunzey free=74983063552i,inodes_free=4294844030i,inodes_total=4294967279i,inodes_used=123249i,total=360139542528i,used=285156478976i,used_percent=79.17944166151368 1593801444000000000
    > disk,device=disk2s3,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Thunderbolt free=650571026432i,inodes_free=4294329111i,inodes_total=4294967279i,inodes_used=638168i,total=2000264675328i,used=1349693648896i,used_percent=67.47575286128969 1593801444000000000
    > disk,device=disk3s3,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Photos free=236761931776i,inodes_free=4294656562i,inodes_total=4294967279i,inodes_used=310717i,total=599579389952i,used=362817458176i,used_percent=60.511996285436986 1593801444000000000
    > disk,device=disk6s1,fstype=apfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Macintosh\ HD\ 1 free=13613424640i,inodes_free=2447204235i,inodes_total=2449125360i,inodes_used=1921125i,total=250790436864i,used=234317533184i,used_percent=94.50918725137026 1593801444000000000
    > disk,device=disk4s2,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/System free=60215296i,inodes_free=4292345844i,inodes_total=4294967279i,inodes_used=2621435i,total=271116214272i,used=271055998976i,used_percent=99.9777898580645 1593801444000000000
    > disk,device=disk4s4,fstype=hfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Untitled free=13343371264i,inodes_free=4294940127i,inodes_total=4294967279i,inodes_used=27152i,total=239865782272i,used=226522411008i,used_percent=94.43715100269323 1593801444000000000
    > disk,device=disk7s1,fstype=exfat,host=Deans-Mac-Pro,mode=rw,path=/Volumes/WIN10 free=6205997056i,inodes_free=189392i,inodes_total=251467i,inodes_used=62075i,total=8240070656i,used=2034073600i,used_percent=24.685147554152234 1593801444000000000
    > disk,device=disk1s3,fstype=apfs,host=Deans-Mac-Pro,mode=rw,path=/Volumes/Recovery free=701805568000i,inodes_free=9374548914i,inodes_total=9374548960i,inodes_used=46i,total=959953813504i,used=528502784i,used_percent=0.07524948681615916 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk7 io_time=1018859i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=1012752896i,read_time=899118i,reads=9599i,weighted_io_time=0i,write_bytes=9079808i,write_time=119740i,writes=1438i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk0 io_time=51972979i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=1679490989568i,read_time=48090118i,reads=85233520i,weighted_io_time=0i,write_bytes=654086569984i,write_time=3882861i,writes=36762321i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk2 io_time=1914387i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=34705902592i,read_time=1810469i,reads=492958i,weighted_io_time=0i,write_bytes=7751766016i,write_time=103918i,writes=230753i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk3 io_time=4138064i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=96282818560i,read_time=3364639i,reads=18081273i,weighted_io_time=0i,write_bytes=74495869952i,write_time=773425i,writes=4896368i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk4 io_time=762731i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=15532381184i,read_time=709830i,reads=547140i,weighted_io_time=0i,write_bytes=2997441536i,write_time=52900i,writes=123660i 1593801444000000000
    > diskio,host=Deans-Mac-Pro,name=disk5 io_time=6582061i,iops_in_progress=0i,merged_reads=0i,merged_writes=0i,read_bytes=11892936192i,read_time=6195469i,reads=695920i,weighted_io_time=0i,write_bytes=1515196416i,write_time=386591i,writes=138163i 1593801444000000000
    > mem,host=Deans-Mac-Pro active=28204052480i,available=31374098432i,available_percent=45.65532207489014,buffered=0i,cached=0i,commit_limit=0i,committed_as=0i,dirty=0i,free=582164480i,high_free=0i,high_total=0i,huge_page_size=0i,huge_pages_free=0i,huge_pages_total=0i,inactive=30791933952i,low_free=0i,low_total=0i,mapped=0i,page_tables=0i,shared=0i,slab=0i,sreclaimable=0i,sunreclaim=0i,swap_cached=0i,swap_free=0i,swap_total=0i,total=68719476736i,used=37345378304i,used_percent=54.34467792510986,vmalloc_chunk=0i,vmalloc_total=0i,vmalloc_used=0i,wired=7872143360i,write_back=0i,write_back_tmp=0i 1593801444000000000
    Looks like Telegraf is not collecting data from Apex. Here is my output for comparision:

    Code:
    > mem,host=pihole active=351420416i,available=736321536i,available_percent=75.82663714014552,buffered=50384896i,cached=753844224i,commit_limit=590381056i,committed_as=449503232i,dirty=131072i,free=58040320i,high_free=0i,high_total=0i,huge_page_size=0i,huge_pages_free=0i,huge_pages_total=0i,inactive=460070912i,low_free=0i,low_total=0i,mapped=85430272i,page_tables=2101248i,shared=60039168i,slab=83927040i,swap_cached=110592i,swap_free=104067072i,swap_total=104853504i,total=971059200i,used=108789760i,used_percent=11.20320573658125,vmalloc_chunk=0i,vmalloc_total=1140850688i,vmalloc_used=0i,wired=0i,write_back=0i,write_back_tmp=0i 1593801726000000000
    > neptune_apex,hardware=1.0,host=pihole,software=4.53J_AB17,source=apex,type=controller power_failed=1593219827000000000i,power_restored=1593219865000000000i,serial="AC4:10016" 1593801724000000000
    > neptune_apex,device_id=base_Out1,hardware=1.0,host=pihole,name=Heater,output_id=0,output_type=unknown,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=base_Out2,hardware=1.0,host=pihole,name=LightFront,output_id=1,output_type=unknown,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=base_Out3,hardware=1.0,host=pihole,name=LightBack,output_id=2,output_type=unknown,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=base_Out4,hardware=1.0,host=pihole,name=CO2,output_id=3,output_type=unknown,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=base_Alarm,hardware=1.0,host=pihole,name=SndAlm_I6,output_id=4,output_type=alert,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=base_Warn,hardware=1.0,host=pihole,name=SndWrn_I7,output_id=5,output_type=alert,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=base_email,hardware=1.0,host=pihole,name=EmailAlm_I5,output_id=6,output_type=alert,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=Cntl_A1,hardware=1.0,host=pihole,name=v_fl_weekday,output_id=7,output_type=virtual,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=Cntl_A2,hardware=1.0,host=pihole,name=v_bl_weekday,output_id=8,output_type=virtual,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=Cntl_A3,hardware=1.0,host=pihole,name=v_fl_weekend,output_id=9,output_type=virtual,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=Cntl_A4,hardware=1.0,host=pihole,name=v_bl_weekend,output_id=10,output_type=virtual,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=Cntl_A5,hardware=1.0,host=pihole,name=v_co_weekday,output_id=11,output_type=virtual,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=Cntl_A6,hardware=1.0,host=pihole,name=v_co_weekend,output_id=12,output_type=virtual,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=Cntl_A7,hardware=1.0,host=pihole,name=virtual07,output_id=13,output_type=virtual,software=4.53J_AB17,source=apex,type=output state="AOF" 1593801724000000000
    > neptune_apex,device_id=Cntl_A8,hardware=1.0,host=pihole,name=virtual08,output_id=14,output_type=virtual,software=4.53J_AB17,source=apex,type=output state="AON" 1593801724000000000
    > neptune_apex,hardware=1.0,host=pihole,name=Tmp,probe_type=Temp,software=4.53J_AB17,source=apex,type=probe value=77.2 1593801724000000000
    > cpu,cpu=cpu0,host=pihole usage_guest=0,usage_guest_nice=0,usage_idle=100,usage_iowait=0,usage_irq=0,usage_nice=0,usage_softirq=0,usage_steal=0,usage_system=0,usage_user=0 1593801727000000000

    Can you post your whole output (including any errors) as well as your telegraf.conf? Also, are you seeing any other data in influxdb?

  19. #19
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    I apologize that this has gotten to the 'hand holding' part. I'm not entirely sure how to provide you with the answer to:

    1. Can you post your whole output (including any errors)
    2. Also, are you seeing any other data in influxdb

    I can post the telegraf.conf:

    Code:
    ###############################################################################
    
    # INPUT PLUGINS #
    
    ###############################################################################
    
    [[inputs.neptune_apex]]
    
    servers = [ "http://192.168.99.191:8000" ]
    
    #response_timeout = "5s"
    
    ###############################################################################
    #                            PROCESSOR PLUGINS                                #
    ###############################################################################
    
    [[processors.enum]]
     namepass = ["neptune_apex"]
     [[processors.enum.mapping]]
      field = "state"
      dest = "state_code"
      default = 0
      [processors.enum.mapping.value_mappings]
       AON = 1
       ON  = 2
       AOF = 3
       OFF = 4

  20. #20
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    Quote Originally Posted by nullbreached View Post
    I apologize that this has gotten to the 'hand holding' part. I'm not entirely sure how to provide you with the answer to:

    1. Can you post your whole output (including any errors)
    2. Also, are you seeing any other data in influxdb

    I can post the telegraf.conf:

    Code:
    ###############################################################################
    
    # INPUT PLUGINS #
    
    ###############################################################################
    
    [[inputs.neptune_apex]]
    
    servers = [ "http://192.168.99.191:8000" ]
    
    #response_timeout = "5s"
    
    ###############################################################################
    #                            PROCESSOR PLUGINS                                #
    ###############################################################################
    
    [[processors.enum]]
     namepass = ["neptune_apex"]
     [[processors.enum.mapping]]
      field = "state"
      dest = "state_code"
      default = 0
      [processors.enum.mapping.value_mappings]
       AON = 1
       ON  = 2
       AOF = 3
       OFF = 4

    Ah if that is your whole telegraf.conf, you are missing some pieces here. Basically the config file tells telegraf what to collect and once collected, where to send it to. The telegraf.conf file is missing influxdb details as well as some parameters. Try this as your telegraf.conf:

    Note: Replace below address with your influxDb address (port if left default should be still 8086)

    Code:
      urls = ["http://synology.lan:8086"] # required
    Code:
    # Configuration for telegraf agent
    [agent]
      interval = "30s"
      round_interval = true
      metric_batch_size = 1000
      metric_buffer_limit = 10000
      collection_jitter = "0s"
      flush_interval = "10s"
      flush_jitter = "0s"
      precision = ""
      debug = false
      quiet = false
      logfile = ""
      hostname = ""
      omit_hostname = false
    
    ###############################################################################
    #                            OUTPUT PLUGINS                                   #
    ###############################################################################
    
    # Configuration for influxdb server to send metrics to
    [[outputs.influxdb]]
      urls = ["http://synology.lan:8086"] # required
      database = "telegraf" # required
      retention_policy = ""
      write_consistency = "any"
      timeout = "5s"
    
    ###############################################################################
    
    # INPUT PLUGINS #
    
    ###############################################################################
    
    [[inputs.neptune_apex]]
    
    servers = [ "http://192.168.99.191:8000" ]
    
    #response_timeout = "5s"
    
    ###############################################################################
    #                            PROCESSOR PLUGINS                                #
    ###############################################################################
    
    [[processors.enum]]
     namepass = ["neptune_apex"]
     [[processors.enum.mapping]]
      field = "state"
      dest = "state_code"
      default = 0
      [processors.enum.mapping.value_mappings]
       AON = 1
       ON  = 2
       AOF = 3
       OFF = 4

  21. #21
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    Can I use 'http://localhost:8086' for that address?

  22. #22
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    Quote Originally Posted by nullbreached View Post
    Can I use 'http://localhost:8086' for that address?
    Is influxdb installed on your own machine (i.e. the machine that has telegraf running)?

    If so, yes.

  23. #23
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    Ok, I did that. Now, when running influx (after "use telegraf") I do now get a response when executing "show measurements"', but it's the statsd stuff (cpu, disk, diskio, etc). (Before "show" returned nothing).

    Back at my $ prompt if I run "telegraf --config telegraf.conf" it seems to hang and I have to escape.

  24. #24
    Frequent Visitor
    Join Date
    Dec 2013
    Location
    USA
    Posts
    51
    Code:
    # Configuration for telegraf agent
    [agent]
      interval = "30s"
      round_interval = true
      metric_batch_size = 1000
      metric_buffer_limit = 10000
      collection_jitter = "0s"
      flush_interval = "10s"
      flush_jitter = "0s"
      precision = ""
      debug = false
      quiet = false
      logfile = ""
      hostname = ""
      omit_hostname = false
    
    ###############################################################################
    #                            OUTPUT PLUGINS                                   #
    ###############################################################################
    
    # Configuration for influxdb server to send metrics to
    [[outputs.influxdb]]
      urls = [" http://localhost:8086"] # required
      database = "telegraf" # required
      retention_policy = ""
      write_consistency = "any"
      timeout = "5s"
    
    ###############################################################################
    
    # INPUT PLUGINS #
    
    ###############################################################################
    
    [[inputs.neptune_apex]]
    
    servers = [ "http://192.168.99.191:8000" ]
    
    #response_timeout = "5s"
    
    ###############################################################################
    #                            PROCESSOR PLUGINS                                #
    ###############################################################################
    
    [[processors.enum]]
     namepass = ["neptune_apex"]
     [[processors.enum.mapping]]
      field = "state"
      dest = "state_code"
      default = 0
      [processors.enum.mapping.value_mappings]
       AON = 1
       ON  = 2
       AOF = 3
       OFF = 4

  25. #25
    Regular Vistor
    Join Date
    Sep 2014
    Location
    Peoria, IL
    Posts
    30
    Quote Originally Posted by nullbreached View Post
    Code:
    # Configuration for telegraf agent
    [agent]
      interval = "30s"
      round_interval = true
      metric_batch_size = 1000
      metric_buffer_limit = 10000
      collection_jitter = "0s"
      flush_interval = "10s"
      flush_jitter = "0s"
      precision = ""
      debug = false
      quiet = false
      logfile = ""
      hostname = ""
      omit_hostname = false
    
    ###############################################################################
    #                            OUTPUT PLUGINS                                   #
    ###############################################################################
    
    # Configuration for influxdb server to send metrics to
    [[outputs.influxdb]]
      urls = [" http://localhost:8086"] # required
      database = "telegraf" # required
      retention_policy = ""
      write_consistency = "any"
      timeout = "5s"
    
    ###############################################################################
    
    # INPUT PLUGINS #
    
    ###############################################################################
    
    [[inputs.neptune_apex]]
    
    servers = [ "http://192.168.99.191:8000" ]
    
    #response_timeout = "5s"
    
    ###############################################################################
    #                            PROCESSOR PLUGINS                                #
    ###############################################################################
    
    [[processors.enum]]
     namepass = ["neptune_apex"]
     [[processors.enum.mapping]]
      field = "state"
      dest = "state_code"
      default = 0
      [processors.enum.mapping.value_mappings]
       AON = 1
       ON  = 2
       AOF = 3
       OFF = 4
    Put a space before servers like so (I think pasting into the forum messed up that space):

    Code:
    [[inputs.neptune_apex]]
    
     servers = [ "http://192.168.99.191:8000" ]
    Then run telegraf in test mode again and post the out put here, I am curious what telegraf is reading the input plugin as

Page 1 of 3 123 LastLast

Similar Threads

  1. Question: Apex Dashboard with Apex controller?
    By ReeferAl in forum Apex Classic Dashboard
    Replies: 2
    Last Post: 07-24-2022, 12:10
  2. Made an iPad app to show me my Apex data
    By phatduckk in forum DIY
    Replies: 17
    Last Post: 06-20-2021, 20:59
  3. Replies: 3
    Last Post: 10-21-2016, 04:57
  4. Custom made apex mounting board!
    By Elder1945 in forum Apex Installation and Mounting
    Replies: 1
    Last Post: 09-27-2016, 08:55
  5. Question: Apex made more Hydra outlets itself??
    By Geokiris in forum Apex Programming for Lighting
    Replies: 2
    Last Post: 01-27-2014, 06:30

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •