Skip to content

0xNF/GLM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go

Gravio Log Monitor

Small tool purpose-built to monitor iflab for ConigAccess errors

This tool will monitor for the presence of the nlog-internal-configurationfile-errors.log, and will preserve the last current ConfigAccess file, and then send an email to the registered administrator. It will delete any ConfigAccess file by default unless it meets the above criteria.

Raisen D'etre

Because the ConfigAccessDebug logs are so heavy, we can't keep too many of them around at once. But because they will contain critical information for debugging Gorilla License errors, we need to have them in case a license error occurs.

Usage

Configuration

[General]
	NotifyIfNothing = True
	
[Trigger]
	TriggerFile = "/your/trigger/file.txt"
	SaveFromFolder = "/folder/to/preserve/from"
	SavePattern = "keep[this|that]-regex.*.txt"
	SaveTo      = "/save/to/this/folder"

[Email]
	User       = email@localhost
	Password   = YourPassword
	SmtpServer = smtp.localhost:443

[Slack]
	Token   = YourSlackToken
	Channel = `#your_channel`

Installation

About

Gravio Logs Monitor - monitors the FS for a trigger file, and then preserves some additional files and notifies an administrator about it

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages