Search found 20 matches

by tomslmonitor
Mon Feb 29, 2016 12:16 am
Forum: Nagios Log Server
Topic: Importing from file - assistance please
Replies: 13
Views: 2668

Re: Importing from file - assistance please

I do have another question related to this topic. This may be a simple fix, but as you previously know my coding is on the basic side. With the python script shipper.py, I've noticed that some of the messages from my log file are not making it through and also some additional junk in the message fie...
by tomslmonitor
Wed Feb 24, 2016 8:37 pm
Forum: Nagios Log Server
Topic: Importing from file - assistance please
Replies: 13
Views: 2668

Re: Importing from file - assistance please

Thanks jolson, I've appeared to get it sort of working with some redundant fields but i'll fix that up soon enough. if [host] ==xxx.xxx.xx.xxx' { grok { match => ['message', '%{TIMESTAMP_ISO8601:im_timestamp}'] } } date { locale => "en" match => [ "im_timestamp", "YYYY-MM-dd...
by tomslmonitor
Tue Feb 23, 2016 8:10 pm
Forum: Nagios Log Server
Topic: Importing from file - assistance please
Replies: 13
Views: 2668

Re: Importing from file - assistance please

Thanks for the response. This is a default dashboard, after reading around some threads I think the issue is that my new field 'im_timestamp' is being parsed as a string and the histogram doesn't like it. I tried parsing it as a date in the grok filter with the code below: grok { match => ['message'...
by tomslmonitor
Mon Feb 22, 2016 10:31 pm
Forum: Nagios Log Server
Topic: Importing from file - assistance please
Replies: 13
Views: 2668

Re: Importing from file - assistance please

No, this is the histogram within Nagios Log Server.
histogram.PNG
The error on the histogram.
histogram_error.PNG
by tomslmonitor
Sun Feb 21, 2016 6:48 pm
Forum: Nagios Log Server
Topic: Importing from file - assistance please
Replies: 13
Views: 2668

Re: Importing from file - assistance please

Thanks for the response, I may have been unclear with what I was trying to accomplish. Will breaking the data down further allow me to graph the data in a histogram? As it is an import the @timestamp field will all mostly be identical and when graphing in an histogram will not give an accurate repre...
by tomslmonitor
Sun Feb 21, 2016 5:25 pm
Forum: Nagios Log Server
Topic: Setting up Alerts - a more efficient way?
Replies: 11
Views: 1928

Re: Setting up Alerts - a more efficient way?

This is a little relevant, are there maintenance periods for alerts?

The weekend is our maintenance period where we patch and upgrade a few of the systems we monitor and we don't want Nagios to be sending alerts during this time.

Is this in Nagios log server?
by tomslmonitor
Thu Feb 18, 2016 6:45 pm
Forum: Nagios Log Server
Topic: Importing from file - assistance please
Replies: 13
Views: 2668

Re: Importing from file - assistance please

Thanks Jolson, Basically troubleshooting with the test words code you gave me, I figured I made a rookie mistake in using the wrong IP (external instead of internal address). My next question is, as I am importing logs the @timestamp field won't accurately show for the imported logs. @timestamp fiel...
by tomslmonitor
Tue Feb 16, 2016 6:49 pm
Forum: Nagios Log Server
Topic: Importing from file - assistance please
Replies: 13
Views: 2668

Importing from file - assistance please

Hi I'm currently trying to import from a file, I've attempted to follow the steps from the 'source setup' within Nagios but have run into a problem. Firstly my experience using Linux is pretty much non existent, I've downloaded the shipper.py script and installed netcat. When attempting to ship a lo...
by tomslmonitor
Tue Feb 16, 2016 6:03 pm
Forum: Nagios Log Server
Topic: Setting up Alerts - a more efficient way?
Replies: 11
Views: 1928

Re: Setting up Alerts - a more efficient way?

At the moment being able to have something similar to %uniquehosts% but for SourceModuleName (which shows top 10 sourcemodulename's matching the alert threshold).

I do realize this is a newly added additional and hopefully more macros will be released, but looking forward to future macros.
by tomslmonitor
Tue Feb 16, 2016 5:28 pm
Forum: Nagios Log Server
Topic: Setting up Alerts - a more efficient way?
Replies: 11
Views: 1928

Re: Setting up Alerts - a more efficient way?

Thanks Jolson,

While on the topic of alerts, just playing around with some of the email templates macros.

Are there additional macros available? I found the %uniquehosts% to be helpful but I'd like to display SourceModuleName in the alerts if possible.