summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2009-10-25git-update-mirror: Remove a useless sed(1) callHolger Weiss1-1/+1
The sed(1) command in question was a hangover which had no effect anymore.
2009-10-24git-notify: Check the exit status of pipesHolger Weiss1-5/+5
Properly check the exit status of all processes we execute and abort on error.
2009-10-24git-notify: Handle non-UTF-8 commitsHolger Weiss1-5/+8
Make sure that commit messages which use an encoding other than US-ASCII or UTF-8 are handled correctly. Also, assume that the diff contents use the same encoding as the commit message. This assumption may well be wrong, but that's the best we can do.
2009-10-24git-notify: Don't generate duplicate notificationsHolger Weiss1-0/+61
Never notify on a given commit more than once, even if it's referenced via multiple branch heads. We make sure this won't happen simply by maintaining a list of commits we notified about. The file path used for saving this list can be specified using the new "-t" option. (The contrib/hooks/post-receive-email script distributed with Git tries hard to avoid such a list, but it doesn't get the necessary magic right.)
2009-10-24git-nofity: Try to shorten Gitweb URLsHolger Weiss1-1/+18
Instead of using the full SHA1 values of commit object names within Gitweb URLs, try to abbreviate them to a shorter unique name.
2009-10-24git-notify: Move the Gitweb URL to the bottomHolger Weiss1-1/+1
In commit notifications, specify the Gitweb URL (if any) at the bottom of the ASCII "table" which summarizes the commit. That looks better.
2009-10-24git-notify: Truncate summary after 50 charactersHolger Weiss1-1/+15
If the first line of a commit message is longer than 50 characters, truncate it before adding the resulting string to the subject line of a notification. This makes sure the subject line won't get too long (unless the commit author name is unusually long, which we don't check). The Git User's Manual recommends keeping the first line of a commit message shorter than that, anyway: | Though not required, it's a good idea to begin the commit message with | a single short (less than 50 character) line summarizing the change, | followed by a blank line and then a more thorough description. Tools | that turn commits into email, for example, use the first line on the | Subject line and the rest of the commit in the body. [ http://www.kernel.org/pub/software/scm/git/docs/user-manual.html ]
2009-10-24git-notify: Send notifications on ref changes, tooHolger Weiss1-22/+68
Do not only generate notifications on commits, but also if a branch head or lightweight tag was created, removed, or modified. Notifications on branch head updates are omitted if one or more commit notification have been generated and the branch head now references a descendant of the originally referenced commit (which should be the usual case).
2009-10-24git-notify: Call git-rev-list(1) via a subroutineHolger Weiss1-9/+26
Add a subroutine which abstracts away executing git-rev-list(1) and checking the result in order to avoid code duplication.
2009-10-24git-notify: Mention the committer where applicableHolger Weiss1-0/+1
If the committer is not the author of the commit, mention the committer in addition to the author.
2009-10-24git-notify: New subroutine for column alignmentHolger Weiss1-5/+32
Most notifications include an ASCII "table" with two columns. The formatting of these columns is now handled by the new format_table() subroutine, so that the alignment can easily be changed in the future.
2009-10-24git-notify: Ignore "empty" commitsHolger Weiss1-4/+6
Omit notifications regarding commits which don't change the tree whatsoever.
2009-10-24git-notify: Remove unused tag notification codeHolger Weiss1-55/+22
The code which handles notifications regarding tags was unused, as only objects listed by git-rev-list(1) are considered, and git-rev-list(1) never spits out the sha1 of a tag object.
2009-10-24git-notify: Save author without trailing spaceHolger Weiss1-1/+1
Adjust the regular expression which catches the commit author name so that it doesn't include the space character which follows that name.
2009-10-24Import git-update-mirror and git-notifyHolger Weiss2-0/+525
Import the (self-written) git-update-mirror script, which updates clones of Git repositories and then calls git-notify (in just the same way as a post-receive hook would be called by Git). The git-notify script is imported from git://source.winehq.org/git/tools.git (commit: 03d66f34) and generates notifications on repository changes. We'll use these scripts for generating our commit e-mails.
2009-10-22Fix usage of repeated -o options in check_snmpThomas Guyot-Sionnest3-10/+19
2009-10-15Set proper network byte order for icmp_id and icmp_seq in icmp packetsThomas Guyot-Sionnest1-10/+11
2009-10-15Increment per-host sequence in check_icmpThomas Guyot-Sionnest2-11/+14
2009-09-26Change default for SFSNAP_DESTThomas Guyot-Sionnest1-1/+1
2009-09-26Correcting name and email addressThomas Guyot-Sionnest1-1/+1
2009-09-26Enhancements to tools/sfsnapshotgitThomas Guyot-Sionnest1-28/+46
2009-09-25Using $srcdir is the proper way to goThomas Guyot-Sionnest1-5/+3
2009-09-25Add sfsnapshotgitnagiosplugins1-0/+52
2009-09-25Allow custom versions with the release file...nagiosplugins4-3/+11
2009-09-24Updated documentation re: no equals sign and single quoteTon Voon2-3/+4
2009-09-24Updated NEWS file with docs changesTon Voon1-0/+4
2009-09-23Test, againThomas Guyot-Sionnest1-1/+1
2009-09-23TestThomas Guyot-Sionnest1-1/+1
2009-09-21Oops - wrong author/bug in last commit!Thomas Guyot-Sionnest2-2/+2
2009-09-21Add proxy-authorization option to check_http (Peter Doherty - #2863772, ↵Thomas Guyot-Sionnest3-2/+19
Bryan Irvine - #2863925)
2009-09-19Fix check_ircd binding to wrong interface (#668778)Thomas Guyot-Sionnest2-16/+8
2009-09-19Update RELEASING document with proper tag creation and push commandsThomas Guyot-Sionnest1-3/+7
2009-09-16Prep for 1.4.14 releaserelease-1.4.14Ton Voon6-7709/+11130
2009-09-14Ensure dirhandle is closed (Duncan Ferguson)Ton Voon1-0/+2
2009-09-11Fix skip numberTon Voon1-1/+1
2009-09-05Add a test that succeeds on check_snmp v1.4.13. Newer versions skip additionalThomas Guyot-Sionnest1-1/+8
lines so this new test fails on the current head. Note: check_snmp v1.4.13 with multi-line strings return somewhat v3 output; it's not exactly what the specs say but it doesn't appears to break them either. The fix could eventually supports both v2 and v3 output formats.
2009-08-05Fix segfault in check_snmp (definitive fix is still in the works - see bug ↵Thomas Guyot-Sionnest1-3/+5
#2832451)
2009-07-31Fix check_snmp passing single-quotes as -m argument when it should be emptyThomas Guyot-Sionnest1-3/+3
2009-07-31check_snmp: Add some verbose output and testsThomas Guyot-Sionnest2-3/+10
2009-07-31Add tests using custom snmp agentThomas Guyot-Sionnest3-0/+180
Only multi-line string test for now (regression test), counter rollover tests planed with my snmp_counters_new branch. NB: 64bit counters are broken in NetSNMP::agent from NetSNMP version 5.4.1 and lower, but might come in handy one day
2009-07-31Fix check_snmp Timetick test with <1 day uptimeThomas Guyot-Sionnest1-2/+2
2009-07-23Add accidentally removed line plus a note about the web copyThomas Guyot-Sionnest1-0/+4
2009-07-23Merge changes from webThomas Guyot-Sionnest1-5/+5
2009-07-17Updated links for exchange.nagios.orgTon Voon1-2/+2
2009-07-14pst3 compile with Sun Studio CompilerTon Voon3-0/+4
2009-06-22Added example for check_cluster to alert if more than X non-OK statesTon Voon1-0/+5
2009-06-16Switch back to "use Test" and plain prints instead of diag()Matthias Eble1-4/+4
2009-06-16Tinderbox output testing commitMatthias Eble1-1/+1
2009-06-15Make output of "make test" more verboseMatthias Eble2-7/+7
This is intended to make error fixing based on tinderbox output easier.
2009-06-14Fixed error in rtt/rta calculation in case of system clock problemsMatthias Eble1-1/+1
Time differences are now set to 0 in case of backward timejumps so there are no wrap-around problems any more. The RTA calculation hopefully gets a more accurate value in these cases also.