Koozali.org formerly Contribs.org

sme8-admin question

sme8-admin question
« on: May 24, 2013, 03:48:29 AM »
I all

after installing sme8-admin I received an email with the subject "[STATUS] host.domain".
The content of the email was:
Code: [Select]
Wed May 22 13:31:16 2013
Server status
Number of opened connections : ssh=0 ftp=0 vpn=0 netbios=0

#>tail /var/log/messages :
May 22 13:31:10 sme esmith::event[3454]: Processing event: local
May 22 13:31:10 sme esmith::event[3454]: Running event handler: /etc/e-smith/events/actions/generic_template_expand
May 22 13:31:10 sme esmith::event[3454]: expanding /etc/sysconfig/kernel
May 22 13:31:11 sme esmith::event[3454]: expanding /boot/grub/grub.conf
May 22 13:31:11 sme esmith::event[3454]: generic_template_expand=action|Event|local|Action|generic_template_expand|Start|1369222270 481947|End|1369222271 513845|Elapsed|1.031898
May 22 13:31:11 sme esmith::event[3454]: Running event handler: /etc/e-smith/events/local/S50clear-pptp-interfaces
May 22 13:31:11 sme esmith::event[3454]: S50clear-pptp-interfaces=action|Event|local|Action|S50clear-pptp-interfaces|Start|1369222271 514084|End|1369222271 566615|Elapsed|0.052531
May 22 13:31:11 sme esmith::event[3454]: Running event handler: /etc/e-smith/events/actions/adjust-services
May 22 13:31:11 sme esmith::event[3454]: adjusting supervised yum (once)
May 22 13:31:11 sme esmith::event[3454]: adjust-services=action|Event|local|Action|adjust-services|Start|1369222271 566869|End|1369222271 724655|Elapsed|0.157786

#>netstat --numeric-hosts -tpu :
Active Internet connections (w/o servers)
Proto Recv-Q Send-Q Local Address               Foreign Address             State       PID/Program name   
tcp        0      0 192.168.1.100:35449         109.230.212.54:http         TIME_WAIT   -                   
tcp        0      0 192.168.1.100:43235         94.23.27.24:http            TIME_WAIT   -                   
tcp        0      0 192.168.1.100:38180         194.116.84.14:http          TIME_WAIT   -                   
tcp        0      0 192.168.1.100:38192         194.116.84.14:http          TIME_WAIT   -                   
tcp        0      0 127.0.0.1:ldap              127.0.0.1:45099             TIME_WAIT   -                   
tcp        0      0 127.0.0.1:45100             127.0.0.1:ldap              TIME_WAIT   -                   
tcp        0      0 127.0.0.1:45098             127.0.0.1:ldap              TIME_WAIT   -                   
tcp        0      0 192.168.1.100:40735         213.83.42.56:http           TIME_WAIT   -                   
tcp        0      0 192.168.1.100:45225         193.206.139.34:http         TIME_WAIT   -                   
tcp        0      0 192.168.1.100:45218         193.206.139.34:http         TIME_WAIT   -                   
tcp        0      0 192.168.1.100:42063         213.218.173.29:http         TIME_WAIT   -                   
tcp        0      0 192.168.1.100:33948         194.14.179.253:http         TIME_WAIT   -                   
tcp        0      0 192.168.1.100:33952         194.14.179.253:http         TIME_WAIT   -                   
tcp        0      0 192.168.1.100:42400         178.63.77.43:http           TIME_WAIT   -                   
tcp        0      0 192.168.1.100:37570         62.141.54.220:http          TIME_WAIT   -                   
tcp        0      0 192.168.1.100:39482         213.92.90.124:http          TIME_WAIT   -                   
tcp        0      0 192.168.1.100:55846         194.8.197.22:http           TIME_WAIT   -                   
tcp        0      0 192.168.1.100:45759         93.63.209.92:http           TIME_WAIT   -                   
tcp        0      0 192.168.1.100:45767         93.63.209.92:http           TIME_WAIT   -                   
tcp        0      0 192.168.1.100:41879         93.186.241.211:http         TIME_WAIT   -                   
tcp        0      0 192.168.1.100:43126         85.25.19.141:http           TIME_WAIT   -                   
tcp        0      0 192.168.1.100:48007         85.31.185.102:http          TIME_WAIT   -                   
tcp        0      1 192.168.1.100:54637         202.67.194.60:http          SYN_SENT    3488/python         
tcp        0      0 192.168.1.100:54628         202.67.194.60:http          TIME_WAIT   -                   
tcp        0      0 192.168.1.100:54627         202.67.194.60:http          TIME_WAIT   -                   
tcp        0      0 192.168.1.100:54626         202.67.194.60:http          TIME_WAIT   -                   

#>service httpd-e-smith status
run: /service/httpd-e-smith: (pid 2993) 21s, normally down

#>service httpd-admin status
run: /service/httpd-admin: (pid 2965) 21s, normally down; run: log: (pid 1602) 83s

#>service smb status
run: /service/nmbd: (pid 3142) 20s, normally down; run: log: (pid 1600) 83s
run: /service/smbd: (pid 3155) 20s, normally down; run: log: (pid 1598) 83s

#>service sshd status
run: /service/sshd: (pid 3002) 22s, normally down; run: log: (pid 1589) 84s

I seem to have realized that it is a report of the state of the machine at the time of installation of sme8-admin.
How can I generate this report manually?
Smeserver.it -  Soluzioni e supporto su Sme server in Italia

Offline Jean-Philippe Pialasse

  • *
  • 1,480
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: sme8-admin question
« Reply #1 on: May 28, 2013, 09:41:55 PM »
Hi,

you can go into the configuration interface of sme8admin and the first lines are about the frequency at which you like to receive this email . Default is 3 * 5 min

« Last Edit: May 28, 2013, 10:35:51 PM by unnilennium »