Hi all.
I am really struggling to understand how to monitor msgs in xymon. I have read the man pages over anhd over and nothing I am doing seems to work.
In the client I have the following files in ~/client/etc
client-local.cfg: log:/var/log/messages:4096
localclient.cfg: LOG /var/log/messages warn COLOR=red
The actual msgs report in the xymon web page says
" System logs at Fri May 30 10:29:38 BST 2014 : No log data available The client did not report any logfile data "
I need a dummies guide to msgs monitoring!
If anyone could provide such a beast i would be immensely grateful.
cheers
Ian
Does the xymon user have permission to read the file?
CC
Sent from my Galaxy Nexus On 30 May 2014 17:47, "Ian Diddams" <didds3 at yahoo.co.uk> wrote:
Hi all.
I am really struggling to understand how to monitor msgs in xymon. I have read the man pages over anhd over and nothing I am doing seems to work.
In the client I have the following files in ~/client/etc
client-local.cfg: log:/var/log/messages:4096
localclient.cfg: LOG /var/log/messages warn COLOR=red
The actual msgs report in the xymon web page says
" System logs at Fri May 30 10:29:38 BST 2014 : No log data available
The client did not report any logfile data
"
I need a dummies guide to msgs monitoring!
If anyone could provide such a beast i would be immensely grateful.
cheers
Ian
Xymon mailing list Xymon at xymon.com http://lists.xymon.com/mailman/listinfo/xymon
Is your xymon setup in central mode or local mode?
By default xymon is setup in central mode.
So you'd want this in the client-local.cfg and the analysis.cfg on the server.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ian Diddams Sent: Friday, May 30, 2014 4:44 AM To: xymon at xymon.com Subject: [Xymon] monitoring msgs
Hi all.
I am really struggling to understand how to monitor msgs in xymon. I have read the man pages over anhd over and nothing I am doing seems to work.
In the client I have the following files in ~/client/etc
client-local.cfg: log:/var/log/messages:4096
localclient.cfg: LOG /var/log/messages warn COLOR=red
The actual msgs report in the xymon web page says
" System logs at Fri May 30 10:29:38 BST 2014 : No log data available
The client did not report any logfile data
"
I need a dummies guide to msgs monitoring!
If anyone could provide such a beast i would be immensely grateful.
cheers
Ian
sorry paul - when you say
"So you’d want this in the client-local.cfg and the analysis.cfg on the server."
what is "this"
cheers
didds
From: "Root, Paul T" <Paul.Root at CenturyLink.com> To: 'Ian Diddams' <didds3 at yahoo.co.uk>; "'xymon at xymon.com'" <xymon at xymon.com> Sent: Friday, 30 May 2014, 14:40 Subject: RE: [Xymon] monitoring msgs
Is your xymon setup in central mode or local mode? By default xymon is setup in central mode. So you’d want this in the client-local.cfg and the analysis.cfg on the server. From:Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ian Diddams Sent: Friday, May 30, 2014 4:44 AM To: xymon at xymon.com Subject: [Xymon] monitoring msgs Hi all. I am really struggling to understand how to monitor msgs in xymon. I have read the man pages over anhd over and nothing I am doing seems to work. In the client I have the following files in ~/client/etc client-local.cfg: log:/var/log/messages:4096 localclient.cfg: LOG /var/log/messages warn COLOR=red The actual msgs report in the xymon web page says " System logs at Fri May 30 10:29:38 BST 2014 : No log data available The client did not report any logfile data " I need a dummies guide to msgs monitoring! If anyone could provide such a beast i would be immensely grateful.
cheers Ian
This is the file you want to monitor and what you want to monitor.
From: Ian Diddams [mailto:didds3 at yahoo.co.uk] Sent: Friday, May 30, 2014 9:26 AM To: Root, Paul T; 'xymon at xymon.com' Subject: Re: [Xymon] monitoring msgs
sorry paul - when you say
"So you’d want this in the client-local.cfg and the analysis.cfg on the server."
what is "this"
cheers
didds
From: "Root, Paul T" <Paul.Root at CenturyLink.com<mailto:Paul.Root at CenturyLink.com>> To: 'Ian Diddams' <didds3 at yahoo.co.uk<mailto:didds3 at yahoo.co.uk>>; "'xymon at xymon.com'" <xymon at xymon.com<mailto:xymon at xymon.com>> Sent: Friday, 30 May 2014, 14:40 Subject: RE: [Xymon] monitoring msgs
Is your xymon setup in central mode or local mode?
By default xymon is setup in central mode.
So you’d want this in the client-local.cfg and the analysis.cfg on the server.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ian Diddams Sent: Friday, May 30, 2014 4:44 AM To: xymon at xymon.com<mailto:xymon at xymon.com> Subject: [Xymon] monitoring msgs
Hi all.
I am really struggling to understand how to monitor msgs in xymon. I have read the man pages over anhd over and nothing I am doing seems to work.
In the client I have the following files in ~/client/etc
client-local.cfg: log:/var/log/messages:4096
localclient.cfg: LOG /var/log/messages warn COLOR=red
The actual msgs report in the xymon web page says
" System logs at Fri May 30 10:29:38 BST 2014 : No log data available
The client did not report any logfile data
"
I need a dummies guide to msgs monitoring!
If anyone could provide such a beast i would be immensely grateful.
cheers
Ian
hmmm...
I have nio analysis.cfg! 9which is possibly why its not working!)
here's the contents of the xymon server server/etc directory
$ ls bbcombotest.cfg bbwarnrules.cfg columndoc.csv hobbit-alerts.cfg hobbit-clients.cfg hobbit-nkview.cfg hobbitserver.cfg hobbit-apache.conf hobbitgraph.cfg bb-services client-local.cfg getw.cfg hobbitcgi.cfg hobbitlaunch.cfg hobbitpasswd
cheers.
didds
From: "Root, Paul T" <Paul.Root at CenturyLink.com> To: 'Ian Diddams' <didds3 at yahoo.co.uk>; "'xymon at xymon.com'" <xymon at xymon.com> Sent: Friday, 30 May 2014, 15:31 Subject: RE: [Xymon] monitoring msgs
This is the file you want to monitor and what you want to monitor. From:Ian Diddams [mailto:didds3 at yahoo.co.uk] Sent: Friday, May 30, 2014 9:26 AM To: Root, Paul T; 'xymon at xymon.com' Subject: Re: [Xymon] monitoring msgs
sorry paul - when you say "So you’d want this in the client-local.cfg and the analysis.cfg on the server." what is "this" cheers didds
From:"Root, Paul T" <Paul.Root at CenturyLink.com> To: 'Ian Diddams' <didds3 at yahoo.co.uk>; "'xymon at xymon.com'" <xymon at xymon.com> Sent: Friday, 30 May 2014, 14:40 Subject: RE: [Xymon] monitoring msgs Is your xymon setup in central mode or local mode? By default xymon is setup in central mode. So you’d want this in the client-local.cfg and the analysis.cfg on the server. From:Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ian Diddams Sent: Friday, May 30, 2014 4:44 AM To: xymon at xymon.com Subject: [Xymon] monitoring msgs Hi all. I am really struggling to understand how to monitor msgs in xymon. I have read the man pages over anhd over and nothing I am doing seems to work. In the client I have the following files in ~/client/etc client-local.cfg: log:/var/log/messages:4096 localclient.cfg: LOG /var/log/messages warn COLOR=red The actual msgs report in the xymon web page says " System logs at Fri May 30 10:29:38 BST 2014 : No log data available The client did not report any logfile data " I need a dummies guide to msgs monitoring! If anyone could provide such a beast i would be immensely grateful.
cheers Ian
Ah, you have a very old version of xymon running then. In the future, let us know what version you are running.
So, I can’t remember which file it is. How soon we forget. It must be hobbit-clients.cfg is the old name for analysis.cfg.
Paul.
From: Ian Diddams [mailto:didds3 at yahoo.co.uk] Sent: Friday, May 30, 2014 10:12 AM To: Root, Paul T; 'xymon at xymon.com' Subject: Re: [Xymon] monitoring msgs
hmmm...
I have nio analysis.cfg! 9which is possibly why its not working!)
here's the contents of the xymon server server/etc directory
$ ls bbcombotest.cfg bbwarnrules.cfg columndoc.csv hobbit-alerts.cfg hobbit-clients.cfg hobbit-nkview.cfg hobbitserver.cfg hobbit-apache.conf hobbitgraph.cfg bb-services client-local.cfg getw.cfg hobbitcgi.cfg hobbitlaunch.cfg hobbitpasswd
cheers.
didds
From: "Root, Paul T" <Paul.Root at CenturyLink.com<mailto:Paul.Root at CenturyLink.com>> To: 'Ian Diddams' <didds3 at yahoo.co.uk<mailto:didds3 at yahoo.co.uk>>; "'xymon at xymon.com'" <xymon at xymon.com<mailto:xymon at xymon.com>> Sent: Friday, 30 May 2014, 15:31 Subject: RE: [Xymon] monitoring msgs
This is the file you want to monitor and what you want to monitor.
From: Ian Diddams [mailto:didds3 at yahoo.co.uk] Sent: Friday, May 30, 2014 9:26 AM To: Root, Paul T; 'xymon at xymon.com' Subject: Re: [Xymon] monitoring msgs
sorry paul - when you say
"So you’d want this in the client-local.cfg and the analysis.cfg on the server."
what is "this"
cheers
didds
From: "Root, Paul T" <Paul.Root at CenturyLink.com<mailto:Paul.Root at CenturyLink.com>> To: 'Ian Diddams' <didds3 at yahoo.co.uk<mailto:didds3 at yahoo.co.uk>>; "'xymon at xymon.com'" <xymon at xymon.com<mailto:xymon at xymon.com>> Sent: Friday, 30 May 2014, 14:40 Subject: RE: [Xymon] monitoring msgs
Is your xymon setup in central mode or local mode?
By default xymon is setup in central mode.
So you’d want this in the client-local.cfg and the analysis.cfg on the server.
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ian Diddams Sent: Friday, May 30, 2014 4:44 AM To: xymon at xymon.com<mailto:xymon at xymon.com> Subject: [Xymon] monitoring msgs
Hi all.
I am really struggling to understand how to monitor msgs in xymon. I have read the man pages over anhd over and nothing I am doing seems to work.
In the client I have the following files in ~/client/etc
client-local.cfg: log:/var/log/messages:4096
localclient.cfg: LOG /var/log/messages warn COLOR=red
The actual msgs report in the xymon web page says
" System logs at Fri May 30 10:29:38 BST 2014 : No log data available The client did not report any logfile data
"
I need a dummies guide to msgs monitoring!
If anyone could provide such a beast i would be immensely grateful.
cheers
Ian
I treied to find the version of xymon but cioldn;t find anythuing obvuious - apologies.
That entry is in hobbit-clients.cfg already
From: "Root, Paul T" <Paul.Root at CenturyLink.com> To: 'Ian Diddams' <didds3 at yahoo.co.uk>; "'xymon at xymon.com'" <xymon at xymon.com> Sent: Friday, 30 May 2014, 16:17 Subject: RE: [Xymon] monitoring msgs
Ah, you have a very old version of xymon running then. In the future, let us know what version you are running. So, I can’t remember which file it is. How soon we forget. It must be hobbit-clients.cfg is the old name for analysis.cfg. Paul. From:Ian Diddams [mailto:didds3 at yahoo.co.uk] Sent: Friday, May 30, 2014 10:12 AM To: Root, Paul T; 'xymon at xymon.com' Subject: Re: [Xymon] monitoring msgs
hmmm... I have nio analysis.cfg! 9which is possibly why its not working!) here's the contents of the xymon server server/etc directory $ ls bbcombotest.cfg bbwarnrules.cfg columndoc.csv hobbit-alerts.cfg hobbit-clients.cfg hobbit-nkview.cfg hobbitserver.cfg hobbit-apache.conf hobbitgraph.cfg bb-services client-local.cfg getw.cfg hobbitcgi.cfg hobbitlaunch.cfg hobbitpasswd cheers. didds
From:"Root, Paul T" <Paul.Root at CenturyLink.com> To: 'Ian Diddams' <didds3 at yahoo.co.uk>; "'xymon at xymon.com'" <xymon at xymon.com> Sent: Friday, 30 May 2014, 15:31 Subject: RE: [Xymon] monitoring msgs This is the file you want to monitor and what you want to monitor. From:Ian Diddams [mailto:didds3 at yahoo.co.uk] Sent: Friday, May 30, 2014 9:26 AM To: Root, Paul T; 'xymon at xymon.com' Subject: Re: [Xymon] monitoring msgs
sorry paul - when you say "So you’d want this in the client-local.cfg and the analysis.cfg on the server." what is "this" cheers didds
From:"Root, Paul T" <Paul.Root at CenturyLink.com> To: 'Ian Diddams' <didds3 at yahoo.co.uk>; "'xymon at xymon.com'" <xymon at xymon.com> Sent: Friday, 30 May 2014, 14:40 Subject: RE: [Xymon] monitoring msgs Is your xymon setup in central mode or local mode? By default xymon is setup in central mode. So you’d want this in the client-local.cfg and the analysis.cfg on the server. From:Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Ian Diddams Sent: Friday, May 30, 2014 4:44 AM To: xymon at xymon.com Subject: [Xymon] monitoring msgs Hi all. I am really struggling to understand how to monitor msgs in xymon. I have read the man pages over anhd over and nothing I am doing seems to work. In the client I have the following files in ~/client/etc client-local.cfg: log:/var/log/messages:4096 localclient.cfg: LOG /var/log/messages warn COLOR=red The actual msgs report in the xymon web page says " System logs at Fri May 30 10:29:38 BST 2014 : No log data available The client did not report any logfile data " I need a dummies guide to msgs monitoring! If anyone could provide such a beast i would be immensely grateful.
cheers Ian
thanks jeremey - bxymon is version 4.2.3
cheers
ian
From: Jeremy Laidman <jlaidman at rebel-it.com.au> To: Ian Diddams <didds3 at yahoo.co.uk> Cc: "xymon at xymon.com" <xymon at xymon.com> Sent: Thursday, 5 June 2014, 4:29 Subject: Re: [Xymon] monitoring msgs
On Monday, 2 June 2014, Ian Diddams <didds3 at yahoo.co.uk> wrote:
I treied to find the version of xymon but cioldn;t find anythuing obvuious - apologies.
Try: bb --version
On my system:
$ cd /usr/lib/hobbit/client/bin $ ./bb --version
Cheers Jeremy
On 30 May 2014 19:44, Ian Diddams <didds3 at yahoo.co.uk> wrote:
The client did not report any logfile data
This probably means that your client doesn't know to report the file data back to the Xymon server. Is your client host configured to run in central mode? Assuming it is, check the Hobbit temp directory (on the client host) for two files, one called logfetch.<hostname>.cfg and the other called logfetch.<hostname>.status. The "status" file should have an entry for your messages file. The "cfg" file should have the entire hobbit-clients.cfg section associated with this host (including comments and blank lines).
Note that it can take up to 15 minutes for changes in hobbit-clients.cfg to be reflected in these two files.
If you have neither of these files, you might be running in client mode rather than central mode. Or there might be an error in your hobbitclient.log file.
Once these files are looking OK, the messages file details should start showing up in your client data. On any network test page, click on the [Client data] link at the bottom of the page, and then search for a "msgs" section like this:
[msgs:/var/log/messages] Jun 2 14:39:27 servername kernel: It's cold in here Jun 2 14:43:62 servername sendmail: Go install postfix
Cheers Jeremy
participants (4)
-
colin.coe@gmail.com
-
didds3@yahoo.co.uk
-
jlaidman@rebel-it.com.au
-
Paul.Root@CenturyLink.com