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.
|
|
|
|
|
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?
|
|
|
|
|
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.pngOnly 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.  But of course,everybody his choice.  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.shexample 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 ?
|
|
|
|
|