Commit Graph

603 Commits

Author SHA1 Message Date
Jeremy Gardais 9e424b1cff Correct process test for ceph-mon. 2015-09-01 16:03:15 +02:00
Jeremy Gardais 3ea5a7bc41 Correct 'ceph osd' cmd with default user. 2015-09-01 15:06:21 +02:00
Jeremy Gardais 0406b54e46 Remove some \n. 2015-09-01 14:41:17 +02:00
Jeremy Gardais 4ac345253b Move all Ceph tests to a file (05ceph). 2015-09-01 14:15:08 +02:00
Jeremy Gardais 736a22dfef Ceph-mon process monitor: ensure to run the ceph cmd even if a specific
user must be use.
2015-09-01 11:44:03 +02:00
Jeremy Gardais f7337fd9d8 Use "command -v" instead of "which"
see http://pubs.opengroup.org/onlinepubs/9699919799/utilities/command.html#tag_20_22_18
Add "monitor" for ceph osd.
2015-08-29 10:15:02 +02:00
Jeremy Gardais fede5d8b50 Add ceph osd monitoring. 2015-08-29 09:23:41 +02:00
Jeremy Gardais 07664430de Add Ceph monitoring. 2015-08-29 09:22:59 +02:00
Jeremy Gardais 2b7a9c6ab1 Tiny script to screen capture. 2015-05-11 23:41:56 +02:00
Jeremy Gardais a8fefd4702 Add Ceph-mon monitoring. 2015-04-20 16:20:18 +02:00
Jeremy Gardais 018e89c35b Update link to download iso. 2015-04-20 16:19:59 +02:00
Jeremy Gardais be0c54efd3 Add a wallpaper for the screenlocker :) 2015-03-26 10:48:50 +01:00
Jeremy Gardais f4c62f2784 Correct variable incrementation ((LINE++)) only work with BASH. For SH:
LINE=$((LINE+1))
2015-03-26 10:00:58 +01:00
Jeremy Gardais 7a3403f5ef Correct the bash_quote because the syntax of
http://danstonchat.com/random.html just change.
2015-03-19 12:11:18 +01:00
Jeremy Gardais ec70781402 Underscores in the motd scripts prevents them to run. 2015-02-07 00:02:22 +01:00
Jeremy Gardais 9a814f8d10 Move README to README.md 2015-02-06 23:28:54 +01:00
Jeremy Gardais 184e16a3eb Upadet the README file. 2015-02-06 23:28:31 +01:00
Jeremy Gardais e036055309 Divide the big dynmotd scripts into tiny ones. 2015-02-06 23:06:37 +01:00
Jeremy Gardais eac6b98bac Using `grep+sort+head -n1` instead of `grep -m1` permit, if a port is
listening on multiple interfaces (127.0.0.1:25, 192.168.0.1:25, *:25) to
print the most generic one (*:25).
2015-02-02 09:46:12 +01:00
Jeremy Gardais 566450407e Use `ss` instead of the deprecated `netstat`. 2015-02-02 09:44:39 +01:00
Jeremy Gardais f0d3126c30 Add some tests to print process and socket informations. 2015-02-02 09:40:57 +01:00
Jeremy Gardais 5c495fff26 Add a "vim" pager (need a less.vim macro). 2015-01-30 12:00:39 +01:00
Jeremy Gardais b049232a9d Dynmotd: rename the occur_num function into get_pattern_count
get_pattern_count: add a expected value and compare this one and the
number of occurrence to choose the color.
2015-01-28 17:47:55 +01:00
Jeremy Gardais 023c284f01 Dynmotd: Remove the awk command to get number of occurrence .. useless
with a regex for grep.
* A function return the number of occurrence with a color (green:=0;
* red:!=0).
2015-01-28 17:25:37 +01:00
Jeremy Gardais 2469487031 Dynmotd: add a find command to get the last auth.log file and print the
number of sudo and ssh auth failed.
2015-01-28 16:31:33 +01:00
Jeremy Gardais f001d412de Dynmotd: some fix (tabs instead of white spaces, $(cmd) instead of
`cmd`, ... )
2015-01-28 16:29:24 +01:00
Jeremy Gardais 58ad3f3232 Rewrite a dynmotd script in full sh. 2015-01-28 11:28:46 +01:00
Jeremy Gardais 17d0b679f9 Add shell_color.sh a tiny script to show how to use color with a shell
(classic sh).
2015-01-28 10:12:01 +01:00
Jeremy Gardais 63bc985178 Correct variables name in flac_to_mp3 script: error if the variable
content had white spaces.
2014-12-09 14:04:26 +01:00
Jeremy Gardais 596fdf9f85 Add a new script to rename the commit username of a git repo. 2014-12-09 14:03:22 +01:00
Jeremy Gardais cb520c65ef Snapsend:
* Send an email for the daily snapshot with the log in content
  * Add the hostname in the mail's subject (async and daily)
2014-11-20 14:30:29 +01:00
Jeremy Gardais 8d48656d2f Small script to take ZFS snapshot periodically and send it to a remote
host.
Will be replace by zfSnap soon (many pull request to add a send option),
maybe in v2.1.
2014-11-18 16:02:20 +01:00
Jeremy Gardais 1bf4739b66 Add zfSnap script from the legacy branch of the github project:
https://github.com/zfsnap/zfsnap/tree/legacy

Usefull to take snapshot with Timestamp and TTL
2014-11-18 15:49:57 +01:00
Jeremy Gardais ab1cf814fa Correct the var name: file -> FILE ... 2014-10-24 15:07:03 +02:00
Jeremy Gardais ed4432c18e Add a script to generate windows with zenity and bash. 2014-10-21 23:21:09 +02:00
Jeremy Gardais 543b702cb7 Add some scripts for dmenu. To rewrite :) 2014-10-21 23:18:29 +02:00
Jeremy Gardais 453d61e0eb Small script for wakeonlan. 2014-10-21 10:51:09 +02:00
Jeremy Gardais 2c7143e4d0 Add link to download LinuxMint Debian Edition. 2014-10-21 10:42:21 +02:00
Jeremy Gardais 73967a5c65 A script to switch my keyboard and WM configuration bépo <-> azerty 2014-10-20 15:26:16 +02:00
Jeremy Gardais cd75df8ea8 Small script to download last version of some Linux ISO for a Easy2Boot
usb key.
2014-10-20 15:24:52 +02:00
Jeremy Gardais 472ecbdc54 Rename flac_to_mp3.sh to flac_to_mp3
Correct arguments for the avconv command.
2014-09-28 14:12:13 +02:00
Jeremy Gardais dd6f5182c0 An old script to send sms from a gmail account. Probably not working but
the syntax could be a useful example :)
2014-09-26 00:54:30 +02:00
Jeremy Gardais 601a65af98 Add some other scripts from Ivan Tikhonov. 2014-09-26 00:42:26 +02:00
Jeremy Gardais 1f8dd205cb Add a script to show informations of a process. 2014-09-26 00:33:44 +02:00
Jeremy Gardais 8444e5d130 Add scripts to manage Wii and Xbox 360 gamepad.
... Maybe old scripts
2014-09-26 00:27:42 +02:00
Jeremy Gardais 2de4d35c3e Add a script to get a quote from danstonchat (dtc, bashfr, ...). 2014-09-26 00:19:23 +02:00
Jeremy Gardais 733983417e Add some useful greasemonkey scripts. 2014-09-25 23:38:43 +02:00
Jeremy Gardais 859e859785 Add script to manage xrandr 2014-09-25 23:37:13 +02:00
Jeremy Gardais c8600773b3 A script to resize images with convert.
TODO: add a verification of the arguments
2014-09-23 23:54:24 +02:00
Jeremy Gardais 5e1a08bf60 Add a script to convert a flac file (or all flac files in a directory)
to mp3.
2014-09-23 23:19:32 +02:00