biolocal:Bigsis agent install

From Wiki CEINGE

Revision as of 14:37, 4 October 2007 by Gianluca (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search
  • groupadd -g 604 bigsis
  • useradd -u 604 -g 604 bigsis
  • rpm -ivh bigsister-1.02-4.noarch.rpm bigsister-agent-1.02-4.noarch.rpm
  • yum install perl-GD
  • chkconfig --add bigsister
  • chown root.bigsis /var/log/messages*
  • chown root.bigsis /var/log/maillog*
  • chmod g+r /var/log/messages*
  • chmod g+r /var/log/maillog*


Edit the /etc/logrotate.d/syslog file

Modify the default configuration:

/var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron {

   sharedscripts
   postrotate
       /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
   endscript

}



with the following:

/var/log/messages /var/log/maillog {

   sharedscripts
   create 640 root bigsis
   postrotate
       /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
   endscript

}

/var/log/secure /var/log/spooler /var/log/boot.log /var/log/cron {

   sharedscripts
   postrotate
       /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true
   endscript

}





  • cd /etc/bigsister/
  • vi uxmon-net
  1. KEYWORD Default settings Apply To TEST
  2. ------------- --------------------------- -----------------

DEFAULT community=public frequency=5 perf=5 ALL DEFAULT version=1 proto=udp rpc DEFAULT proto=udp ping


  1. Information about defined systems to monitor using DESCR command.
  2. KEYWORD SYSTEM FEATURES Apply To HOST
  3. --------- -------------------------- ------------

DESCR features=unix,linux localhost

  1. DESCR features=unix,sysv,solaris someotherhost


  1. Run the following tests.
  2. Note: host1(host2) is reported under host2
  3. Note: host can be an IP address
  4. Report Host Health Test List
  5. ------------ -----------------------------------
  6. localhost load memory network cpuload
  7. localhost disk
  8. localhost syslog
  9. localhost proc=inetd procs proc=sshd procs
  10. localhost users

localhost(linux1) load memory cpuload localhost(linux1) interface=eth0 speed=1000000000 network localhost(linux1) df="df -l" disk localhost(linux1) syslog localhost(linux1) proc=sshd procs localhost(linux1) users


  1. EDIT THIS, replace localhost by the name or IP address of your Big Sister server
  2. BigSis Server bsdisplay /options
  3. ------------ -----------------------------------

bpb.ceinge.unina.it bsdisplay

  1. include file for specific hosts, do not name it uxmon-net.* as a new
  2. process is started for every file matching that pattern

include include_checks.$HOST



  • /etc/init.d/bigsister start
Personal tools