Skip to content
This repository has been archived by the owner on Apr 16, 2021. It is now read-only.

Process watchdog #162

Closed
GoogleCodeExporter opened this issue Mar 24, 2015 · 5 comments
Closed

Process watchdog #162

GoogleCodeExporter opened this issue Mar 24, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

We need a process watchdog that will run every few minutes and restart NSM 
processes if necessary

Original issue reported on code.google.com by doug.bu...@gmail.com on 6 Dec 2011 at 1:47

@GoogleCodeExporter
Copy link
Author

[deleted comment]

1 similar comment
@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Created /etc/cron.d/nsm-watchdog:

# /etc/cron.d/nsm-watchdog
#
# crontab entry to restart processes if they fail

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

*/5 *   * * * root  /usr/local/sbin/nsm_watchdog >> /var/log/nsm/watchdog.log

Original comment by doug.bu...@gmail.com on 28 Dec 2011 at 4:41

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Created new nsm package:
/usr/local/lib/ruby/gems/1.9.1/gems/fpm-0.3.11/bin/fpm -s dir -t deb -n 
securityonion-nsmnow-admin-scripts -v 20111229 /etc/init.d/nsm* 
/usr/share/nsmnow/ /usr/local/sbin/nsm* /usr/local/lib/nsmnow/ 
/etc/cron.d/sensor-* /etc/cron.d/nsm* /etc/init/securityonion.conf

Original comment by doug.bu...@gmail.com on 29 Dec 2011 at 12:45

  • Added labels: ****
  • Removed labels: ****

@GoogleCodeExporter
Copy link
Author

Published:
http://securityonion.blogspot.com/2011/12/security-onion-20111229-now-available.
html

Original comment by doug.bu...@gmail.com on 29 Dec 2011 at 1:12

  • Changed state: Verified
  • Added labels: ****
  • Removed labels: ****

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant