Read the statement by Michael Teeuw here.
MMM-SystemMonitor
-
@Richard238 cool. Single or double quotes don’t matter as long as they are matched
Be careful on quotes and copying from the forum
If the quotes are curved, they are word processing style and Javascript doesn’t understand them
" or ’If they are vertical, they are good
" or ' -
@sdetweil said in MMM-SystemMonitor:
Single or double quotes don’t matter as long as they are matched
JS lesson #1 :-)
-
I’m new to MM and just been putting together my board over the last week.
I’ve used your module and think it’s great.
One thing I did find is that your default way of grabbing diskspace had the device hard coded.
I made this change to node_helper.js:
async.apply(exec, "df -h /|grep dev|awk '{print $4}'"),That looked for the root partition and was able to then return the correct value for me.
-
@mebster5 submit that as a pr
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login
