Skip to main content

Customizing Trisul for an OEM

If you are an OEM you can rebrand and customize the look of the product.

  1. Specify new product name, logo, customer name in reports, etc in oem_settings.rb

  2. Design new themes

oemsettings.rb

The OEM settings file is located in usr/local/share/webtrisul/config/initializers/oem_settings.rb This is the only file you need to change.

You must restart the web server for changes made to the oem_settings.rb file to take effect

Fields

You may modify these fields to suit your environment.

FieldsValue
IS_DEMO_LOGINfalse
IS_SHOW_TAGGERtrue
WS_SERVER_PORT3003
SITE_ID“”
SHOW_DEMO_LOGOfalse

Manufacturer Details (Do Not Change These)

FieldsDefaults
MANUFACTURER_NAME“trisul.org”
MANUFACTURER_NAME_FULL“trisul.org”
MANUFACTURER_SITEhttps://www.trisul.org”
MANUFACTURER_COPYRIGHT“© 2020”

About the OEM

FieldsDefaultsDescription
OEM_NAMEUnleash NetworksAppears in the login screen and the page footer
OEM_SITEhttp://www.unleashnetworks.comLink appears in the bottom of page and in the login screen
OEM_TRADEMARKTrisul ® is a registered trademark of Unleash NetworksAppears in license page, and footers

About the Product

FieldsDefaultsDesciption
PRODUCT_NAMETrisulThe product name to be displayed in the login and in the page header.
PRODUCT_NAME_FULLTrisul Network Metering and ForensicsCarries the detailed product name which will appear in the bottom of the login screen
PRODUCT_NAME_DESCNetwork Metering and ForensicsCarries the product description , appears alongside the PRODUCT_NAME
PRODUCT_NAME_WEBWeb TrisulCarries the name of the web-interface present
PRODUCT_LOGOtrisul.pngCarries the product logo, appears on the login and page header and other places
PRODUCT_LOGO_SMALLtrisul.pngUsed mainly as a 16x16 favicon and maybe in other places.
PRODUCT_LOGO_WHITEtrisul_white.pngUsed mainly as a 16x16 favicon and maybe in other places.

End Customer Details

FieldsDefaultsDescription
CUSTOMER_NAME“Trisul End Customer”End customer name in short
CUSTOMER_NAME_FULL“Trisul Network Analytics”End Customer name in full

Report Settings

FieldsDefaultsDescription
OEM_FOOTER_RHSGenerated by Trisul NSMCarries the name to be displayed on the bottom right of the PDF
CUSTOMER_FOOTER_LHSACME IncCarries the name to be displayed on the bottom left of the PDF
FieldsDefaultsDescription
LINK_PDFcgControls whether the Commonly used reports bring up a PDF directly or shows a HTML report with a Generate PDFlink.
If set to cg – User views a HTML page depicting the usage activity of the counter group
If set to cg_pdf – User gets a PDF report directly ( one click link )
IP_REPORT_CHART_TYPELINETABLEavailable chart types “LINE” ,“AREA”,“SQUARELINE”,“STACKEDAREA”,“LINETABLE”

Retro Analysis Time Selector

FieldsDefaultsDescription
RETRO_TIME_RANGES[[‘Hours’, 86400], [‘Days’,604800 ], [‘Weeks’, 2419200]]

Controls the time ranges shown as a tab on top the retro analysis chart.

You can set this to an empty array if you do not want any such selection and prefer to manually enter dates.

FieldsDefaultsDescription
MODULE_RECENT_SECS[ [“15 Min”,900], [“30 Min”,1800], [“1 Hr”, 3600], [“3 Hr”, 10800], [“6 Hr”, 21600], [“12 Hr”, 43200], [“1 Day”, 86400] , [“1 Week”, 604800], [“1 Month”, 2678400]]

Extra Plugins from OEM

FieldsDefaults
ADDITIONAL_PLUGINS%w()

If You Have Connected Tags to Counter Groups

FieldsDefaults
DEEP_DRILL{:name => “Country”, :guid => ‘{00990011-44BD-4C55-891A-77823D59161B}’,:valid_tags=>[“news”,“social”]}
DEEP_DRILL{}

Default Snort Rules Directory

FieldsDefaults
SNORT_RULE_DIRS[“/etc/snort/rules”,“/usr/local/etc/snort/rules”,“/etc/nsm/rules”,“/etc/suricata/rules”\]

Snort Look Up URL

FieldsDefaults
SNORT_LOOKUP_URLhttp://snort.org/rule_docs/xxxx-yyyy”
SURICATA_LOOKUP_URLhttp://doc.emergingthreats.net/xxxx”

Show Counter Group Description in Retro Counters

FieldsDefaults
SHOW_CG_DESCfalse
SUBSCRIBER_INTERFACE_GUID{9781DB2C-F78A-4F7F-A7E8-2B1A9A7BE71A}

If You Also Want to Do NETFLOW Network Layer Protocol Tracking Per Interface

FieldsDefaults
ROUTER_INTERFACE_TRACK_PROTOCOLtrue

Webtrisul Wants to Connect to Which Hub

FieldsDefaults
DEFAULT_HUB_NODE_ID“hub0”
FieldsDefaults
SHOW_CUSTOMER_LOGOtrue