Michael Grote
841c4b9522
Moved MAGIC MARKERS to the bottom
2022-06-13 22:30:05 +02:00
Michael Grote
69db9ea437
Extend NAME with Comment
2022-06-13 22:28:31 +02:00
Michael Grote
396c2c2d1f
Fixed formatting for all my Plugins
2022-06-12 22:08:57 +02:00
Michael Grote
9c17efc39b
Fix mikrotik_system - temp + voltage ( #1307 )
...
* Fix awk search-term for ROS7*
Value could be named "temperature" or "cpu-temperature". Tested with
RB5009, hex, CRS309, CRS305.
Search value without :.
Check different values in different ROS-Versions.
Tested with RB5009, hex, CRS309, CRS305.
2022-04-24 20:15:57 +02:00
Michael Grote
c39639b450
repaired perldoc header: mikrotik_system
2021-12-13 14:40:48 +01:00
Younes Ichiche
3e83f451d0
fix get_ros_version function
2021-12-12 21:45:30 +01:00
Younes Ichiche
f7282a83d4
fix missing quote
2021-12-12 21:45:30 +01:00
Younes Ichiche
7405ade2b1
regex grep didnt made sense
2021-12-12 21:45:30 +01:00
Younes Ichiche
79706f9da7
convert get_name to a fallback function where board-name is first selected and if the name is set, then tat one will be used + trimming
2021-12-12 21:45:30 +01:00
Michael Grote
38649d3179
translated comments form german to englisch
2021-12-12 21:45:30 +01:00
Younes Ichiche
74b7eb2a46
get the correct name from the routerboard and replace all special characters with _
2021-12-12 21:45:29 +01:00
Younes Ichiche
3dd16cc568
represent the memory as a floating point with 0 after the dot so it will be rounded and not floored
2021-12-12 21:45:29 +01:00
Younes Ichiche
58dbb4d0b6
added the source for the catch function
2021-12-12 21:45:29 +01:00
Younes Ichiche
9c3855beb8
adapt awk with variable + fix memory and disk multigraph name to align
2021-12-12 21:45:29 +01:00
Younes Ichiche
b43ec018dc
use printf and pass variable to awk
2021-12-12 21:45:29 +01:00
Younes Ichiche
3790d20179
remove double catch function
2021-12-12 21:45:29 +01:00
Younes Ichiche
144f333cf0
use integers + fix bad blocks to be 5% max then the mikrotik needs to be reinstalled
2021-12-12 21:45:29 +01:00
Younes Ichiche
ee4f4ce22f
add catching of error code on ssh
2021-12-12 21:45:29 +01:00
Younes Ichiche
6a79efee0a
fixed file mode of mikrotik_system + added that it was rtested on RB493G
2021-11-26 18:05:33 +01:00
Michael Grote
74c7fc3d86
add ssh-based mikrotik_system plugin ( #1252 )
2021-11-18 21:29:53 +01:00