Common body of support emails

From VoIPmonitor.org
Revision as of 10:11, 24 July 2020 by Petr.halounek (talk | contribs) (Created page with " = config client/server = Hello, install just the sniffer service there on pbx where you want to collect information: https://www.voipmonitor.org/doc/Sniffer_installatio...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

config client/server

Hello,

install just the sniffer service there on pbx where you want to collect information:
https://www.voipmonitor.org/doc/Sniffer_installation#Step_by_step_for_64bit_linux_procedure

then edit /etc/voipmonitor.conf and take care on common setting options like:
```
spooldir - where health information (rrds) will be stored
max_buffer_mem - maximum allowed RAM allocation for packet buffers (before send to central when network is slow it can queue the pacckets into RAM)
interface - which INTERFACE(s) to sniff on.
sipport - which TCP packets will be also sent for analyze (all UDP packets are re-sent)
ringbuffer - allocated ram for ringbuffer (packets queue between driver and kernel)
```

Then define also client/server specific options for client side:
```
# this example configuration will process packets and sends only CDR to the server.
# id_Sensor needs to be < 65536
id_sensor = unique_number 
server_destination = serverip
#needs to be defined same as server_bind_port option on the central server 
server_destination_port = 60024
server_password = somepassword
packetbuffer_sender = yes
```
https://www.voipmonitor.org/doc/Sniffing_modes#client.28remote.29_sensor_configuration
 

Then on dedicated voipmonitor server install whole voipmonitor system (sniffer+GUI+DB) using installation instructions:
Use any LTS distrubution we tested:
http://www.voipmonitor.org/doc/Content

then set common options like you did on client + maxpoolsize option that tells the maximum size of a packet captures in a spooldir, and plus cleandatabase option that will tell for how long will be CDRs 
kept in memory
https://www.voipmonitor.org/doc/Data_Cleaning

When used for production (collecting lot of data) make sure to correctly set database for best performance (also keep in mind that maxpoolsize option not includes size of db /var/lib/mysql that will grow 
with count of CDRs stored inside.
https://www.voipmonitor.org/doc/Scaling#MySQL_performance

Also set the server side options in a server:
https://www.voipmonitor.org/doc/Sniffing_modes#server.28central.29_sensor_configuration

after above set restart voipmonitor service on the server (check /var/log/syslog or /var/log/messages if it periodicaly print its state, or some errors appeared at startup)
then start service on client side and check syslog / messages there. 

If client can connect to master server you will see in browser after login to GUI in settings->sensors that the client with its id_sensor were autoadded into list of sensors.