wiki:bender

Version 4 (modified by Ross, 6 years ago) (diff)

--

bender the IRC notification daemon

"bender" is a ​jsonbot written in Python.

"bender" is running on yser.mayfirst.org (the ​linksunten server) and controlled by runit.

"bender" can be restarted via

sv restart jsonbot

"bender's" config files can be found at yser:/home/jsonbot/jsb-config. The IRC configuration can be found at yser:/home/jsonbot/doc/bender-rss-config.txt.

This is bender's current config related to MF/PL:

!join #mayfirst

!rss-add Tickets https://support.mayfirst.org/timeline?ticket=on&ticket_details=on&sensitive_activity=on&max=10&daysback=1&format=rss
!rss-setitems Tickets title link author
!rss-watch Tickets 60
!rss-addchannel Tickets bender #mayfirst
!rss-start Tickets
!rss-setsleeptime Tickets 60
!rss-addmarkup Tickets all-lines 1
!rss-delmarkup Tickets tinyurl

!rss-add Wiki https://support.mayfirst.org/timeline?max=10&wiki=on&daysback=1&format=rss
!rss-setitems Wiki title link author
!rss-watch Wiki 60
!rss-addchannel Wiki bender #mayfirst
!rss-start Wiki
!rss-setsleeptime Wiki 60
!rss-addmarkup Wiki all-lines 1
!rss-delmarkup Wiki tinyurl

!rss-add Nagios https://monitor.mayfirst.org/rss/all.xml
!rss-setitems Nagios title
!rss-watch Nagios 60
!rss-addchannel Nagios bender #mayfirst
!rss-start Nagios
!rss-setsleeptime Nagios 60
!rss-addmarkup Nagios all-lines 1
!rss-delmarkup Nagios tinyurl

!rss-add Service https://status.mayfirst.org/rss.xml
!rss-setitems Service title
!rss-watch Service 60
!rss-addchannel Service bender #mayfirst
!rss-start Service
!rss-setsleeptime Service 60
!rss-addmarkup Service all-lines 1
!rss-delmarkup Service tinyurl

It's also worth paying attention to jojobe:/var/www/nagios/all.xml. On occasion this file fails to populate, making it seem as if bender is failing to provide notifications.