Simon MacMullen
23a9a04b7e
Merge bug25689
2013-07-31 17:11:10 +01:00
Simon MacMullen
aaafe96fc4
Integrate win32_cmd/1 into rabbit_misc:os_cmd/1, so that we have just one function we can always use instead of os:cmd/1.
2013-07-31 17:09:12 +01:00
Emile Joubert
bd6e48877c
Merged bug25538 into stable
2013-07-31 13:13:10 +01:00
Emile Joubert
16e399edeb
Format windows shell commands
2013-07-31 11:07:11 +01:00
Simon MacMullen
0027616357
API change.
2013-07-04 17:04:12 +01:00
Simon MacMullen
8e8f061a77
s/VMware/GoPivotal/g
2013-07-01 10:49:13 +01:00
Matthias Radestock
e1d60d10ed
tolerate timeouts
2013-05-31 15:08:47 +01:00
Simon MacMullen
8d568bab7c
No infinity timeout, we could deadlock with the application controller on shutdown.
2013-05-24 15:17:34 +01:00
Simon MacMullen
c2f5ea744d
Be less chatty, none of that is especially interesting.
2013-04-11 16:02:23 +01:00
Simon MacMullen
948bb3bcfd
Ameliorate RabbitMQ's least-interesting race condition.
2013-03-22 11:26:46 +00:00
Emile Joubert
55c2ba7811
Merge bug25044
2013-02-12 11:28:26 +00:00
Simon MacMullen
dbd4097956
stable to default
2013-02-11 10:29:24 +00:00
Simon MacMullen
83881f659b
A rabbit_mochiweb reference I missed.
2013-02-11 10:28:10 +00:00
Simon MacMullen
8e3ce24aaa
Overwrite any name provided in the proplist with the name the thing was registered under. Things should not have two names, and we should use the name the broker uses.
2013-02-08 16:08:39 +00:00
Simon MacMullen
274352fdd6
stable to default
2013-01-24 13:15:53 +00:00
Emile Joubert
2c5e391e7f
Update copyright 2013
2013-01-23 11:53:29 +00:00
Simon MacMullen
8b7ce56f49
Neater xref fooling, discovered by Matthias.
2013-01-16 10:42:45 +00:00
Simon MacMullen
0d29eccaf9
Emit a partitions info key
2012-10-15 18:12:00 +01:00
Simon MacMullen
3b24b565fe
No longer try to obtain memory stats every 5s, and reduce distance to default.
2012-10-09 13:11:34 +01:00
Simon MacMullen
85b7ceeed2
Since the memory stats can lage, it's useful to know what the total was at the time the stats were obtained.
2012-10-03 10:58:54 +01:00
Simon MacMullen
86a249149e
Various tweaks.
2012-10-02 16:53:26 +01:00
Simon MacMullen
a99f7534ac
Throttle the rate at which we call rabbit_vm:memory().
2012-09-27 15:46:16 +01:00
Simon MacMullen
0904b1e3ca
Report mem_used separately, so we can update 'memory' less often.
2012-09-27 14:44:50 +01:00
Simon MacMullen
7d9ea284f1
Move this stuff to its own module
2012-09-24 12:54:40 +01:00
Simon MacMullen
68d16970d8
Just pass rabbit:memory/0 through.
2012-09-18 22:51:55 +01:00
Simon MacMullen
9bcde2025c
No longer any point in reporting Erlang version of cluster nodes since clustering code now forces it to be the same. We don't do the same for RabbitMQ version since that's just an application version along with all the others.
2012-08-21 14:55:17 +01:00
Francesco Mazzoli
0488f6d00a
`alarm_handler' => `rabbit_alarm'
2012-07-13 17:03:23 +01:00
Simon MacMullen
a0d00635f4
Add a function to gc rabbit_event on the local node. Somehow this branch got lost; hopefully it will turn out to be unpushed on my home machine.
2012-06-26 12:00:31 +01:00
Francesco Mazzoli
f15f2b8a2c
remove `fd_used' from the state
2012-06-13 16:41:57 +01:00
Francesco Mazzoli
630d6af364
it looks like `time_ms' is not needed anymore
2012-06-13 15:33:58 +01:00
Simon MacMullen
0858f8ff0d
Catch noproc. Ick.
2012-06-11 11:56:26 +01:00
Simon MacMullen
37f53a4809
Add mochiweb contexts list to the emitted node_stats.
2012-05-24 11:51:15 +01:00
Simon MacMullen
b23af544eb
Emit node_stats events, and don't expose an API for RPC calls. Push, damn it!
2012-05-23 17:53:41 +01:00
Simon MacMullen
2380ba191f
Merge bug 23463
2012-03-29 17:45:19 +01:00
Simon MacMullen
2e146d01f2
AHEM
2012-03-29 16:52:49 +01:00
Simon MacMullen
0615b64f5c
Cosmetic.
2012-03-29 16:11:47 +01:00
Emile Joubert
4218db6a2d
Remove unnecessary safety net
2012-03-28 15:46:33 +01:00
Emile Joubert
e2fa022de7
Rename disk_monitor
2012-03-26 11:04:22 +01:00
Emile Joubert
3eca0b268b
Disk free reporting
2012-03-23 15:16:04 +00:00
Simon MacMullen
7df57060f4
We need to export this now
2012-03-21 11:42:52 +00:00
Emile Joubert
5738e67aa4
Update copyright 2012
2012-02-02 13:25:47 +00:00
Matthias Radestock
2bbbf6566f
keep up with server changes
2012-01-11 16:02:37 +00:00
Matthias Radestock
03dbb4da7e
oops
2012-01-10 12:38:59 +00:00
Matthias Radestock
50e77d6260
keep up with server changes
2012-01-10 12:32:04 +00:00
Emile Joubert
bf2869bb32
BSD stat improvments
2012-01-05 12:27:19 +00:00
Piotr Sikora
d309c021e4
Add support for OpenBSD's fstat.
...
Use tool that comes with the base system instead of relying
on 3rd-party software (lsof).
The code is basically Erlang-equivalent of:
fstat -p <pid> | awk '$4~"^[0-9]"' | wc -l
2011-12-20 23:18:44 +00:00
Simon MacMullen
e86000af36
Reduce lineupitude
2011-11-11 12:15:22 +00:00
Simon MacMullen
0bcdced7e3
Fall back to lsof if reading /proc/<pid>/fd does not work on Linux.
2011-11-11 12:08:21 +00:00
Simon MacMullen
ef6beb994f
More stats.
2011-09-16 17:16:14 +01:00
Matthias Radestock
15aa2e73e6
prevent timeout in application:which_applications()
2011-08-25 22:27:18 +01:00
Simon MacMullen
65778fead1
Merge bug24186
2011-08-23 12:52:03 +01:00
Simon MacMullen
fb34e853e0
Remove anything to do with rabbitmq-mochiweb contexts from rabbitmq-management-agent.
2011-08-16 17:33:21 +01:00
Alexandru Scvortov
553d02b0fa
merge default into bug24186
2011-08-16 14:29:08 +01:00
Alexandru Scvortov
b702adb893
update copyright headers
2011-08-01 10:58:57 +01:00
Simon MacMullen
636f2268bc
Handle more failures than just noproc.
2011-07-20 14:24:59 +01:00
Simon MacMullen
60ac7fcde4
Cosmetic
2011-07-06 10:29:26 +01:00
Piotr Sikora
78aab68097
Fix usage of "lsof" on UNIX-like opertating systems.
...
Couple of issues with the original code:
1) There was assumption that "lsof" is always installed on FreeBSD
and Darwin/MacOSX, which isn't true. This resulted in false results
when "lsof" was not found (because of parsing "lsof: not found"
response from the os:cmd/1 call).
2) There was off-by-one error with response parsing (column headers were
counted as open file descriptor).
3) Other UNIX-lie operating systems were ignored, even though "lsof"
works on virtually all of them.
New code tests for existence of "lsof" on all UNIX-like operating
systems and either returns correct number of open file descriptors
or "unknown" in case when "lsof" wasn't found.
2011-07-01 22:27:14 +00:00
David Wragg
d3a0d6db7c
Revert bug24186
2011-06-18 00:44:28 +01:00
David Wragg
65520967aa
The base .app file now lives in src/*.app.src
2011-06-17 14:44:24 +01:00
Simon MacMullen
222ae69b12
Add generated app file to .hgignore
2011-06-15 10:45:15 +01:00
Simon MacMullen
470c61a6b6
Merge in default
2011-05-31 10:44:16 +01:00
Matthew Sackman
e04159454b
Correct .hgignore file again
2011-05-27 14:49:26 +01:00
Matthew Sackman
4674def16a
Correct .hgignore
2011-05-27 14:20:14 +01:00
Simon MacMullen
71891d9bdf
Don't attempt that hostname thing, clearly dubious.
2011-05-16 16:20:19 +01:00
Simon MacMullen
e240eb6df5
Merge in default
2011-05-16 15:59:23 +01:00
Simon MacMullen
4c4190e07f
Move .app to .app.in, remove module list
2011-05-12 12:50:24 +01:00
Simon MacMullen
ec6de856db
Application names: rabbit_foo -> rabbitmq_foo
2011-04-13 16:02:32 +01:00
Simon MacMullen
718b2991a6
Merge from default
2011-04-11 17:29:32 +01:00
Simon MacMullen
0c3a4dd515
Boot step change.
2011-03-31 16:05:14 +01:00
Simon MacMullen
d4bd92133d
"contexts" info item, plus the ability to pick info items.
2011-03-14 16:31:50 +00:00
Simon MacMullen
9e149860d3
Revert the previous event-based stuff and just check alarm_handler:get_alarms/0.
2011-03-09 15:22:59 +00:00
Simon MacMullen
49ae991470
So node() can be used in guard expressions.
2011-03-09 12:47:15 +00:00
Simon MacMullen
77c4eaff73
Cosmetics.
2011-03-09 12:16:53 +00:00
Simon MacMullen
cfb5df83ee
We will get other alarm-related events. Why don't we ignore them instead of crashing?
2011-03-08 18:03:37 +00:00
Simon MacMullen
1f6c9b9358
Subscribe to alarm_handler and keep track of whether this node is memory alarmed or not.
2011-03-08 11:29:47 +00:00
David Wragg
1d2b520f6c
Merge default into bug23568
2011-02-22 03:24:48 +00:00
David Wragg
31cdc6d002
Add erl_crash.dump to .hgignore
2011-02-20 14:51:11 +00:00
Marek Majkowski
697564a610
:info instead of :get_x
2011-02-18 15:50:56 +00:00
Marek Majkowski
b3f1b1ef7e
untabify
2011-02-18 14:25:23 +00:00
David Wragg
930a016cfe
Rename *_app.in to *.app
2011-02-16 15:01:48 +00:00
David Wragg
6cf9d582f6
Update .hgignore
2011-02-08 14:39:25 +00:00
Marek Majkowski
e7376519a9
Expose socket count from the agent.
2011-02-04 14:39:16 +00:00
David Wragg
ae93392877
DEPS should be simply assigned
2011-02-04 07:52:33 +00:00
David Wragg
538341a502
Merge default into bug23568
2011-02-01 13:09:28 +00:00
Simon MacMullen
08d2af4f65
lists:keysort/2.
2011-02-01 11:17:03 +00:00
Simon MacMullen
931b03b435
Move rabbit_mgmt_format:application/1 here, don't use rabbit_mgmt_util:sort_list/4.
2011-02-01 10:37:47 +00:00
David Wragg
21e95741f8
Merge default into bug23568
2011-01-07 15:01:34 +00:00
Emile Joubert
6aa033ccd2
Merged bug23467 into default
2010-12-13 13:41:46 +00:00
Simon MacMullen
92a5285533
Slightly off-topic, but: move the applications listing into -agent like everything else, lose a dodgy RPC call.
2010-12-13 11:33:51 +00:00
Simon MacMullen
2737780837
Show which auth mechanisms are enabled.
2010-12-13 11:28:32 +00:00
David Wragg
d4e984c1b7
Overhaul for bug23568
2010-12-02 12:32:26 +00:00
Simon MacMullen
47bb6c0a9d
This is more reliable on my MacBook
2010-11-10 20:47:17 +00:00
Simon MacMullen
1f184b1ca6
List exchange types and auth mechanisms
2010-11-10 15:04:32 +00:00
Simon MacMullen
a885e78404
Add more facts about each node: Erlang version, uptime, number of CPUs, run queue length
2010-11-09 10:49:25 +00:00
Michael Bridgen
677bd15d94
Emit events from here to the DB
2010-11-05 17:15:51 +00:00
Simon MacMullen
55316f4fa5
Ahem
2010-11-05 15:18:16 +00:00
Simon MacMullen
9deb523d8d
Become rabbitmq-management-agent
2010-11-05 13:38:34 +00:00
Simon MacMullen
09038e0bf1
Don't need _util and _format any more.
2010-11-04 17:59:07 +00:00
Simon MacMullen
8220ffa073
Forgot this
2010-11-04 17:36:57 +00:00
Simon MacMullen
d86f908c8f
Initial checkin (bug 23374-related).
2010-11-04 17:26:47 +00:00