Commands¶
Console Scripts¶
fedmsg
provides a number of console scripts for
use with random shell scripts.
fedmsg-logger¶
fedmsg-tail¶
fedmsg-dg-replay¶
fedmsg-collectd¶
fedmsg-check¶
fedmsg-check
is used to check the status of consumers and producers. It
requires the moksha.monitoring.socket
key to be set in the configuration.
See usage details with fedmsg-check --help
.
Service Daemons¶
fedmsg-hub¶
fedmsg-relay¶
- fedmsg.commands.relay.relay()[source]¶
Relay messages from an inbound subscription socket to an outbound publishing socket.
This service binds to two sockets, relay_inbound and relay_outbound. The inbound socket is a ZeroMQ SUB socket and the outbound socket is a ZeroMQ PUB socket.
Tools like
fedmsg-logger
require that an instance offedmsg-relay
be running somewhere and that it’s inbound address be listed in the config as one of the entries in relay_inbound.
fedmsg-signing-relay¶
- fedmsg.commands.relay.signing_relay()[source]¶
Sign and relay fedmsgs.
This relay behaves like the default relay, except that messages it receives are signed with the certificate referenced in the
signing_relay
key of thecertnames
dictionary in the fedmsg configuration.This allows users to send unsigned messages on a trusted network and have a single exit point to an untrusted network that is cryptographically signed.
fedmsg-irc¶
fedmsg-gateway¶
Writing your own fedmsg commands¶
The fedmsg.commands
module provides a @command
decorator to help simplify this.