LinuxMCE Forums
May 26, 2013, 03:28:33 am GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
  Home Help Search Chat Login Register  
  Show Posts
Pages: 1 2 [3] 4 5
31  LinuxMCE / Users / Re: Torrent installation on: February 04, 2012, 06:32:55 am
I prefer transmission - it's also been awesome for me.  I can control it remotely from a terminal, a browser, or my phone.  Handy!!!

Plus if your as lazy/impatient as I am you can get it to post completion notifications to your orbiters http://www.modlog.net/?p=109
32  LinuxMCE / Users / Re: 24-port 1G Switch with POE on: October 04, 2011, 03:24:52 pm
Correction, I know some older Cisco's will prevent PXE booting, If it's a managed switch (which I assume it is) it has  posibilities of interfering if the config is wrong, but with that being said, most newer popular ones (If having issues), should be able to be configed to work. Hope this has helped.
33  LinuxMCE / Users / Re: sharp aquos auto detect *solved* on: September 25, 2011, 10:39:09 pm
How did you get it going? Any details?
34  LinuxMCE / Users / Re: Stream and TV inclusion by ethernet on: September 23, 2011, 11:07:40 am
Your going to have to give more information, models numbers, etc..
35  LinuxMCE / Developers / Re: QOrbiter: Something for everyone! on: September 22, 2011, 10:51:37 am
Wow that looks impressive!

Just a quick question re:scaling, will it resize the buttons on higher resolutions  or have more space between them?
36  LinuxMCE / Users / Re: MD setup fails in 10.04 on: September 17, 2011, 07:52:02 am
bit of a silly question, but if Diskless_CreateTBZ.sh completed sucessfully, and it still trys to run Diskless Setup anyway (and fails), is the mac address in webadmin for the MD correct?
37  LinuxMCE / Users / Re: Inexpensive and Compact Audio Streaming Device on: September 13, 2011, 10:59:36 pm
Thanks Andrew.

I don't really want to buy another touch interface (that's what my orbiters are for) and I want to use my own speakers so the Logitech SB products that are still offered don't appeal.

I'm looking at putting squeezeslave on a plugcomputer (dreamplug) (http://www.globalscaletechnologies.com/t-dreamplugdetails.aspx#hw_block). By chance do you have any experience with this?

This was rushed but works consistently: http://www.modlog.net/?p=171, total cost was about $35, thin clients are bigger than what you were looking for, but not nearly as big as a PC.
38  LinuxMCE / Feature requests & roadmap / Re: Monitoring on: September 06, 2011, 02:32:02 pm
also have a look at the existing data logger plugin..
LOL, yeah that could work :-P

I had a quick look through the source to try and work out how to use it, it there any online documentation on the arguments it takes, and how many variables can you pass to it? I could only work out it takes very specific events? would it take much to convert it (if it needs it) to accept:
<device_ID>,<data description>,<max value>,<alert issued at value><number of values>,<value>,<value>, etc...
Example:
<35>,<"Disk Usage">,<100%>,<95%>,<2>,<100%>,<43%>... Just an idea.

Basically I want to know if you can fake sensor output?


39  LinuxMCE / Feature requests & roadmap / Re: Monitoring on: September 05, 2011, 09:57:39 am
I think we need to see this larger then only the server. I agree that if you just want a cpu graph, you can do it manually with hand-written scripts/files/...
But since linuxmce provides a lot more (dhpc, dns, proxy, firewalling...), we can take this up a higher level. If you put in tools like cacti, you can start monitoring your whole network/house. Think about all computers, switches, routers, power-meters... The key-element here is the user-friendly stuff. People need to be able to do it themselves, simple. With this, you gain that more people will use it, less people will ask you questions...
And it must be flexible...

LOL I see now, your looking for a magical do everything gui that records EVERYTHING you want with virtually no scripting/command prompt. Bwahahahahahah!!

The solution I provided (if you read the bash script) is generic, it'll work with ALL linuxmce systems (testing is needed) and if accepted by the Linuxmce gods, you do virutally nothing just install the package, and click on links in webadmin... It also does as you wanted; Intergrates into Linuxmce backend, looks through your database to finds how many MD's you have, and if they have HDD's it adds them to the graphing list.

"larger then only the server" - I wrote the script in about a day, and it is.
"And it must be flexible" - It is, I have a graph that shows downloaded weather reports and compares them with HDD temperatures.
"Think about all computers, switches, routers, power-meters" - it works with all snmp enabled devices, and those that you can generate scripted statistics. Again... written in about a day.

You've obivously just discovered cacti, and haven't had much experience using other related software... I have used most, and when your talking about flexibility and low overheads MRTG is better. I thought as a network engineer, you'd have used MRTG, as most larger networks do.

And with that I say "Your welcome", "Keep dreaming", and by all means prove me wrong with your working demo.
40  LinuxMCE / Feature requests & roadmap / Re: Monitoring on: September 04, 2011, 11:45:04 pm
You can set thresholds with mrtg; example:

ThreshDir: /path/to/mrtg/thresh
ThreshMaxI[performance]: 1
ThreshMaxO[performance]: 1
ThreshProgI[performance]: /path/to/mrtg/scripts/alert.php
ThreshProgO[performance]: /path/to/mrtg/scripts/alert.php

For the alert scripts , I'd be looking at something like this, which sends orbiter notifications: http://www.modlog.net/?p=109
41  LinuxMCE / Feature requests & roadmap / Re: Monitoring on: September 04, 2011, 01:39:02 pm
After editing the bash script the only thing left to do is either manually install mrtg:
# apt-get install mrtg

edited " /var/www/lmce-admin/operations/myDevices/editDeviceParams.php"

...
  </script>

        <fieldset>
+            <a href="./mrtg/'.$deviceID.'/index.html">Graphs If Available</a>   
        <legend>'.$TEXT_DEVICE_INFO_CONST.' #'.$deviceID.'</legend>
        <table border="0">
...

(I couldnt get the test to see if the file exists so it'll show on all devices not just MD's)
http://modlog.net/temp/monitoring.png

Only thing left is to integrate it into the core scripts that are used when creating MD's and clean it up, maybe add more graphs, etc.. Any one got any interest in it?
42  LinuxMCE / Feature requests & roadmap / Re: Monitoring on: September 04, 2011, 09:44:34 am
I have spent some more time on it, again, it's dirty bash coding, but makes it show it's very possible (and half done), it can also integrate into the webadmin to show for example disk usage graphs while selecting a raid drive, or CPU usage graph when an MD is selected, etc..

Will put more time into it later next week, and put it forward to see if anyone thinks it's any good or worth continuing.
43  LinuxMCE / Feature requests & roadmap / Re: Monitoring on: September 03, 2011, 05:42:18 pm
I don't agree, cacti is installed in about 2 minutes. Without the need of knowledge for any scripts, and cacti does a lot more then mrtg (services, tresholds, syslogging, weathermaps...). The user interface is so great, that you don't want anything else. When i explain my colleagues/customer cacti in 15 minutes, they're off with it, without any linux knowledge! And resources? If you start with 'own script's, at the end, your resources will be must higher then with cacti.

For me? When you want that people use 'your' system, you need to give them something that's simple.
Once they need to start changing config files, they are gone/lost. That's the only reason why windows gains above linux for the normal computer user.  Lips sealed


But of course,everybody his choice. Wink


I think maybe we're not quite talking about the same thing... The scripts are written to be generic as a '1 shoe fits all' once deployed they don't even have to know they are there.

This is a proof of concept to auto create a MRTG config file http://www.modlog.net/temp/MRTG_config.sh
example output:

# /usr/pluto/bin/MRTG_config.sh
WorkDir: /var/www/mrtg
LoadMIBs: /usr/share/snmp/mibs/UCD-SNMP-MIB.txt,/usr/share/snmp/mibs/TCP-MIB.txt
EnableIPv6: no

#-----------NEW DEVICE--------------
Target[HDD.174]: `/etc/mrtg/disk_usage.sh` /dev/sdb
MaxBytes[HDD.174]: 100
Options[HDD.174]: gauge,nopercent,pngdate
Title[HDD.174]: Disk usage for /dev/sdb
PageTop[HDD.174]: <h1>Disk usage for /dev/sdb</h1>
YLegend[HDD.174]: Percent
ShortLegend[HDD.174]: %
Legend1[HDD.174]: Total Space
Legend2[HDD.174]: Used Percentage
LegendI[HDD.174]: Total
LegendO[HDD.174]: Free

#-----------NEW DEVICE--------------
Target[HDD.173]: `/etc/mrtg/disk_usage.sh` /dev/md0
MaxBytes[HDD.173]: 100
Options[HDD.173]: gauge,nopercent,pngdate
Title[HDD.173]: Disk usage for Software Raid 5
PageTop[HDD.173]: <h1>Disk usage for Software Raid 5</h1>
YLegend[HDD.173]: Percent
ShortLegend[HDD.173]: %
Legend1[HDD.173]: Total Space
Legend2[HDD.173]: Used Percentage
LegendI[HDD.173]: Total
LegendO[HDD.173]: Free

44  LinuxMCE / Feature requests & roadmap / Re: Monitoring on: September 03, 2011, 03:20:07 am
Rather than running cacti, I put forward using plain old mrtg as impementing scripts will be easier and lighter, as well as making changes/updates;

example;
-- create core mrtg.cfg --
do for each hdd on core (or mount points) from database - insert basic template filling details.
do for each NIC on core in database - insert basic template filling details.
Insert standard free memory template
Insert standard process template
etc..

--Create MD mrtg.cfg's --
do for each MD in database
   do for each hdd in current MD - insert basic template filling details.
   do for each NIC in current MD - insert basic template filling details.
   Insert standard free memory template
   Insert standard process template
   etc..
loop
 
*Advantages:
 As long as mrtg is installed on all MD's the script just has to create and place/replace the mrtg.cfg on each MD (/usr/pluto/diskless/<md#>/etc/mrtg.cfg
 You just have to create an appropriate place on the core that is mounted on all MD's to store the image and html files; /home/public/data/mrtg ?
45  LinuxMCE / Users / Re: Timed Events Happening all days on: September 01, 2011, 11:35:33 pm
I have the log from last Friday and you can see that at 11pm it turns off 2 MD's, the friday tick box is unticked in the timed event.
http://modlog.net/temp/power_log.txt
Pages: 1 2 [3] 4 5
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!