postwait / leo Goto Github PK
View Code? Open in Web Editor NEWAutomatic setup and configuration systems for nad
Automatic setup and configuration systems for nad
Mbit/s or Kbit/s would be helpful in addition to the current counters
We are about a 50:50 ratio of SmartOS/Ubuntu, so would love basic metrics for SmartOS as well. May be able to contribute here if we get some pointers on where to begin work extending Leo.
Would love to see the following for default disk checks:
Hello,
I'm encountering an error when attempting to run leo to configure a nad install on smartos. We've installed nad and it appears to be running correctly as we can connect to it via our circonus account and see all relevant information. See below for information related to the error.
Environment: smartos
nad installed via:
leo installed via:
Error:
[root@example /home/admin/circonus/leo-master]# bin/circonus-setup
events.js:85
throw er; // Unhandled 'error' event
^
Error: spawn /opt/circonus/etc/node-agent.d/cpu.sh ENOENT
at exports._errnoException (util.js:746:11)
at Process.ChildProcess._handle.onexit (child_process.js:1046:32)
at child_process.js:1137:20
at process._tickCallback (node.js:355:11)
Editing "components/nad.js" and re-running, I can output the paths and see its looking for:
/opt/circonus/etc/node-agent.d/cpu.sh
/opt/circonus/etc/node-agent.d/disk.sh
/opt/circonus/etc/node-agent.d/fs.elf
/opt/circonus/etc/node-agent.d/if.sh
/opt/circonus/etc/node-agent.d/vm.sh
Looking at the install location for nad I can see "cpu.sh", "disk.sh" & "vm.sh" do not exist here:
[root@example /home/admin/circonus/leo-master]# ll /opt/circonus/etc/node-agent.d/
total 25
lrwxrwxrwx 1 root root 18 Aug 5 15:52 aggcpu.elf -> illumos/aggcpu.elf*
drwxr-xr-x 2 root root 13 Jul 29 18:15 common/
lrwxrwxrwx 1 root root 15 Aug 5 15:52 cpu.elf -> illumos/cpu.elf*
drwxr-xr-x 2 root root 3 Jul 29 18:15 example/
drwxr-xr-x 3 root root 9 Jul 29 18:15 freebsd/
lrwxrwxrwx 1 root root 14 Aug 5 15:52 fs.elf -> illumos/fs.elf*
drwxr-xr-x 2 root root 3 Jul 29 18:15 haproxy/
lrwxrwxrwx 1 root root 13 Aug 5 15:52 if.sh -> illumos/if.sh*
drwxr-xr-x 4 root root 21 Aug 5 15:52 illumos/
drwxr-xr-x 3 root root 11 Jul 29 18:15 linux/
drwxr-xr-x 2 root root 5 Jul 29 18:15 ohai/
drwxr-xr-x 3 root root 7 Jul 29 18:15 openbsd/
drwxr-xr-x 2 root root 3 Jul 29 18:15 pf/
drwxr-xr-x 2 root root 3 Jul 29 18:15 postgresql/
lrwxrwxrwx 1 root root 17 Aug 5 15:52 sdinfo.sh -> illumos/sdinfo.sh*
drwxr-xr-x 2 root root 4 Jul 29 18:15 smartos/
lrwxrwxrwx 1 root root 14 Aug 5 15:52 smf.sh -> illumos/smf.sh*
lrwxrwxrwx 1 root root 14 Aug 5 15:52 tcp.sh -> illumos/tcp.sh*
lrwxrwxrwx 1 root root 14 Aug 5 15:52 udp.sh -> illumos/udp.sh*
lrwxrwxrwx 1 root root 17 Aug 5 15:52 vminfo.sh -> illumos/vminfo.sh*
lrwxrwxrwx 1 root root 15 Aug 5 15:52 vnic.sh -> illumos/vnic.sh*
drwxr-xr-x 3 root root 3 Jul 29 18:15 windows/
lrwxrwxrwx 1 root root 18 Aug 5 15:52 zfsinfo.sh -> illumos/zfsinfo.sh*
lrwxrwxrwx 1 root root 19 Aug 5 15:52 zone_vfs.sh -> illumos/zone_vfs.sh*
lrwxrwxrwx 1 root root 15 Aug 5 15:52 zpool.sh -> common/zpool.sh*
lrwxrwxrwx 1 root root 19 Aug 5 15:52 zpoolio.elf -> illumos/zpoolio.elf*
Do I need to modify the config at "components/nad.js" to something specific to smartos? If so what would need to be changed?
Thanks
this makes it much easier to set an alert threshold if desired
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.