stargazer.conf 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. LogFile = /var/log/stargazer.log
  2. PIDFile = /var/run/stargazer.pid
  3. Rules = /etc/stargazer/rules
  4. DetailStatWritePeriod = 1/4
  5. StatWritePeriod = 10
  6. DayFee = 1
  7. ReconnectOnTariffChange=yes
  8. DayFeeIsLastDay = no
  9. DayResetTraff = 1
  10. SpreadFee = no
  11. FreeMbAllowInet = no
  12. WriteFreeMbTraffCost = yes
  13. FullFee = yes
  14. <DirNames>
  15. DirName0 = Internet
  16. DirName1 = Internal
  17. DirName2 =
  18. DirName3 =
  19. DirName4 =
  20. DirName5 =
  21. DirName6 =
  22. DirName7 =
  23. DirName8 =
  24. DirName9 =
  25. </DirNames>
  26. ExecutersNum = 1
  27. ModulesPath = /usr/lib/stg
  28. <StoreModule store_mysql>
  29. dbhost = localhost
  30. dbname = stg
  31. dbuser = root
  32. rootdbpass = newpassword
  33. </StoreModule>
  34. <Modules>
  35. <Module auth_ao>
  36. </Module>
  37. #<Module auth_ia>
  38. # Port = 5555
  39. # UserDelay = 60
  40. # UserTimeout = 65
  41. # FreeMb = cash
  42. #</Module>
  43. <Module cap_nf>
  44. # TCPPort = 42111
  45. UDPPort = 42111
  46. </Module>
  47. <Module conf_sg>
  48. Port = 5555
  49. </Module>
  50. <Module remote_script>
  51. SendPeriod = 10
  52. SubnetFile =/etc/stargazer/remote_nas.conf
  53. Password = secretpassword
  54. UserParams=Cash Tariff
  55. Port = 9999
  56. </Module>
  57. </Modules>