Is SNMP a solution
list Usa Ims
I have a xymon server located out in the Internet that uses custom scripts for monitoring. I monitor this one server which is NATed behind a firewall. I use 'xymon-rclient.sh' script to fetch the data. This server is only one that is exposed on the internet, it has an IP of 192.169.100.50. But I want to monitor it's sister server '192.168.100.51' which is not exposed on the Internet. Somebody said to me that SNMP might be a solution. If that is a solution, can somebody give me a high level explanation on how this might work? Thanks in advance.
list Josh Luthman
DevMon is used for SNMP. Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Wed, Jun 15, 2016 at 3:56 PM, usa ims via Xymon <xymon at xymon.com> wrote:
---------- Forwarded message ---------- From: usa ims <user-42bb6445007b@xymon.invalid> To: Xymon Mailing List <xymon at xymon.com> Cc: Date: Wed, 15 Jun 2016 19:56:29 +0000 (UTC) Subject: Is SNMP a solution
▸
I have a xymon server located out in the Internet that uses custom scripts
for monitoring.
I monitor this one server which is NATed behind a firewall. I use
'xymon-rclient.sh' script to fetch the data. This server is only one that
is exposed on the internet, it has an IP of 192.169.100.50.
But I want to monitor it's sister server '192.168.100.51' which is not
exposed on the Internet.
Somebody said to me that SNMP might be a solution.
If that is a solution, can somebody give me a high level explanation on
how this might work?
Thanks in advance.
list Usa Ims
Thanks but I need somebody to briefly explain this?
▸
On Wednesday, June 15, 2016 4:03 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote:
DevMon is used for SNMP.
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
On Wed, Jun 15, 2016 at 3:56 PM, usa ims via Xymon <xymon at xymon.com> wrote:
---------- Forwarded message ----------
From: usa ims <user-42bb6445007b@xymon.invalid>
To: Xymon Mailing List <xymon at xymon.com>
Cc:
Date: Wed, 15 Jun 2016 19:56:29 +0000 (UTC)
Subject: Is SNMP a solution
I have a xymon server located out in the Internet that uses custom scripts for monitoring.
I monitor this one server which is NATed behind a firewall. I use 'xymon-rclient.sh' script to fetch the data. This server is only one that is exposed on the internet, it has an IP of 192.169.100.50.
But I want to monitor it's sister server '192.168.100.51' which is not exposed on the Internet.
Somebody said to me that SNMP might be a solution.
If that is a solution, can somebody give me a high level explanation on how this might work?
Thanks in advance.
list Josh Luthman
http://devmon.sourceforge.net/ is the project Are you familiar with SNMP?
▸
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX
▸
On Wed, Jun 15, 2016 at 4:07 PM, usa ims <user-42bb6445007b@xymon.invalid> wrote:
Thanks but I need somebody to briefly explain this? On Wednesday, June 15, 2016 4:03 PM, Josh Luthman < user-4c45a83f15cb@xymon.invalid> wrote: DevMon is used for SNMP. Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Wed, Jun 15, 2016 at 3:56 PM, usa ims via Xymon <xymon at xymon.com> wrote: ---------- Forwarded message ---------- From: usa ims <user-42bb6445007b@xymon.invalid> To: Xymon Mailing List <xymon at xymon.com> Cc: Date: Wed, 15 Jun 2016 19:56:29 +0000 (UTC) Subject: Is SNMP a solution I have a xymon server located out in the Internet that uses custom scripts for monitoring. I monitor this one server which is NATed behind a firewall. I use 'xymon-rclient.sh' script to fetch the data. This server is only one that is exposed on the internet, it has an IP of 192.169.100.50. But I want to monitor it's sister server '192.168.100.51' which is not exposed on the Internet. Somebody said to me that SNMP might be a solution. If that is a solution, can somebody give me a high level explanation on how this might work? Thanks in advance.
list Ryan Novosielski
http://devmon.sourceforge.net
▸
On Jun 15, 2016, at 4:07 PM, usa ims via Xymon <xymon at xymon.com> wrote: From: usa ims <user-42bb6445007b@xymon.invalid> Subject: Re: [Xymon] Is SNMP a solution Date: June 15, 2016 at 4:07:42 PM EDT To: Josh Luthman <user-4c45a83f15cb@xymon.invalid> Cc: Xymon Mailing List <xymon at xymon.com> Reply-To: usa ims <user-42bb6445007b@xymon.invalid> Thanks but I need somebody to briefly explain this? On Wednesday, June 15, 2016 4:03 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote: DevMon is used for SNMP. Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Wed, Jun 15, 2016 at 3:56 PM, usa ims via Xymon <xymon at xymon.com> wrote: ---------- Forwarded message ---------- From: usa ims <user-42bb6445007b@xymon.invalid> To: Xymon Mailing List <xymon at xymon.com> Cc: Date: Wed, 15 Jun 2016 19:56:29 +0000 (UTC) Subject: Is SNMP a solution I have a xymon server located out in the Internet that uses custom scripts for monitoring. I monitor this one server which is NATed behind a firewall. I use 'xymon-rclient.sh' script to fetch the data. This server is only one that is exposed on the internet, it has an IP of 192.169.100.50. But I want to monitor it's sister server '192.168.100.51' which is not exposed on the Internet. Somebody said to me that SNMP might be a solution. If that is a solution, can somebody give me a high level explanation on how this might work? Thanks in advance.
-- ____
|| \\UTGERS, |---------------------------*O*---------------------------
||_// the State | Ryan Novosielski - user-46c89e614701@xymon.invalid
|| \\ University | Sr. Technologist - 973/972.0922 (2x0922) ~*~ RBHS Campus
|| \\ of NJ | Office of Advanced Research Computing - MSB C630, Newark
`'
list Usa Ims
Thank you -- yes, I've dabbled with SNMP.
▸
On Wednesday, June 15, 2016 4:13 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote: http://devmon.sourceforge.net/ is the project Are you familiar with SNMP? Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Wed, Jun 15, 2016 at 4:07 PM, usa ims <user-42bb6445007b@xymon.invalid> wrote: Thanks but I need somebody to briefly explain this? On Wednesday, June 15, 2016 4:03 PM, Josh Luthman <user-4c45a83f15cb@xymon.invalid> wrote: DevMon is used for SNMP. Josh Luthman Office: XXX-XXX-XXXX Direct: XXX-XXX-XXXX XXXX Wayne St Suite XXXX Troy, OH XXXXX On Wed, Jun 15, 2016 at 3:56 PM, usa ims via Xymon <xymon at xymon.com> wrote: ---------- Forwarded message ---------- From: usa ims <user-42bb6445007b@xymon.invalid> To: Xymon Mailing List <xymon at xymon.com> Cc: Date: Wed, 15 Jun 2016 19:56:29 +0000 (UTC) Subject: Is SNMP a solution I have a xymon server located out in the Internet that uses custom scripts for monitoring. I monitor this one server which is NATed behind a firewall. I use 'xymon-rclient.sh' script to fetch the data. This server is only one that is exposed on the internet, it has an IP of 192.169.100.50. But I want to monitor it's sister server '192.168.100.51' which is not exposed on the Internet. Somebody said to me that SNMP might be a solution. If that is a solution, can somebody give me a high level explanation on how this might work? Thanks in advance.
list Bruce Ferrell
If i understand you correctly, there is no direct path between the sister server, on .51, and your monitor station. That would seem, on the surface, to make use of SNMP and the
devmon add in for xymon very difficult.
The simplest solutions that occurs to me would be to do port forwarding via ssh client configuration and /etc/hosts name resolution to create an ssh tunnel to the sister server.
I'm assuming you ARE using the ssh method and have at lest part of the ssh client configuration done.
Because xymon-rclient would run as the xymon user the ssh configuration might look something like this:
~xymon/.ssh/config:
host 192.169.100.50
user xymon
IdentityFile ~xymon/.ssh/id_rsa_50
host 192.169.100.51
user xymon2
IdentityFile ~xymon/.ssh/id_rsa_51
LocalForward 127.0.0.1:1985:192.169.100.51:1984
The above configuration MAY need (probably will) adjustment and experimentation to get xymon-rclient connecting to the sister server.
▸
On 06/15/2016 12:56 PM, usa ims via Xymon wrote:
I have a xymon server located out in the Internet that uses custom scripts for monitoring.
I monitor this one server which is NATed behind a firewall. I use 'xymon-rclient.sh' script to fetch the data. This server is only one that is exposed on the internet, it has an IP
of 192.169.100.50.
But I want to monitor it's sister server '192.168.100.51' which is not exposed on the Internet.
Somebody said to me that SNMP might be a solution.
If that is a solution, can somebody give me a high level explanation on how this might work?
Thanks in advance.
list Adam Goryachev
▸
On 16/06/16 11:37, Bruce Ferrell wrote:
If i understand you correctly, there is no direct path between the sister server, on .51, and your monitor station. That would seem, on the surface, to make use of SNMP and the devmon add in for xymon very difficult.
Personally, I'd add a custom ext to the server you DO have access to, which will ping/test connectivity to your second server, and then report the results back along with the rest of the results. Or, did you want to run a client on the second machine? Regards, Adam -- Adam Goryachev Website Managers P: +61 2 8304 0000 user-eaec2ffb4cbc@xymon.invalid F: +61 2 8304 0001 www.websitemanagers.com.au
list Usa Ims
It would be nice to use 'xymon-rclient.sh' on the '192.168.1.51' node which is not exposed on the Internet. I wanted 'xymon-rclient.sh' to monitor log files and alert if there is a problem. But I just found out that I can't even use ssh scripts because of compliance. Would SNMP be a good solution if I can't use ssh scripts?
▸
On Thursday, June 16, 2016 1:23 AM, Adam Goryachev <user-eaec2ffb4cbc@xymon.invalid> wrote:
On 16/06/16 11:37, Bruce Ferrell wrote:If i understand you correctly, there is no direct path between the sister server, on .51, and your monitor station. That would seem, on the surface, to make use of SNMP and the devmon add in for xymon very difficult.
Personally, I'd add a custom ext to the server you DO have access to, which will ping/test connectivity to your second server, and then report the results back along with the rest of the results. Or, did you want to run a client on the second machine? Regards, Adam -- Adam Goryachev Website Managers P: +61 2 8304 0000 user-eaec2ffb4cbc@xymon.invalid F: +61 2 8304 0001 www.websitemanagers.com.au
list Jeremy Laidman
I don't think SNMP can be used to monitor log files. At least I can't think of a way to do ir without using a script. If you can SSH from another server that can run the xymon client, then you could setup a reverse tunnel for syslog-over-tcp, and then your task becomes monitoring the logs on the other server.
▸
On Fri, 17 Jun 2016, 03:27 usa ims via Xymon <xymon at xymon.com> wrote:
It would be nice to use 'xymon-rclient.sh' on the '192.168.1.51' node which is not exposed on the Internet. I wanted 'xymon-rclient.sh' to monitor log files and alert if there is a problem. But I just found out that I can't even use ssh scripts because of compliance. Would SNMP be a good solution if I can't use ssh scripts? On Thursday, June 16, 2016 1:23 AM, Adam Goryachev < user-eaec2ffb4cbc@xymon.invalid> wrote: On 16/06/16 11:37, Bruce Ferrell wrote:If i understand you correctly, there is no direct path between the sister server, on .51, and your monitor station. That would seem, on the surface, to make use of SNMP and the devmon add in for xymon very difficult.Personally, I'd add a custom ext to the server you DO have access to, which will ping/test connectivity to your second server, and then report the results back along with the rest of the results. Or, did you want to run a client on the second machine? Regards, Adam -- Adam Goryachev Website Managers P: +61 2 8304 0000 user-eaec2ffb4cbc@xymon.invalid F: +61 2 8304 0001 www.websitemanagers.com.au
---------- Forwarded message ----------
From: usa ims via Xymon <xymon at xymon.com>
To: Adam Goryachev <user-eaec2ffb4cbc@xymon.invalid>, "xymon at xymon.com" <
xymon at xymon.com>
Cc:
Date: Thu, 16 Jun 2016 19:27:36 +0200 (CEST)
Subject: Re: [Xymon] Is SNMP a solution
list Glauber Ribeiro
I thought about using SNMP – the first thing I learned was that “Simple” is a misnomer. It’s anything but simple. g
▸
From: Xymon [mailto:xymon-bounces at xymon.com] On Behalf Of Jeremy Laidman
Sent: Thursday, June 16, 2016 16:28
To: usa ims <user-42bb6445007b@xymon.invalid>; Adam Goryachev <user-eaec2ffb4cbc@xymon.invalid>; xymon at xymon.com
Subject: Re: [Xymon] Is SNMP a solution
I don't think SNMP can be used to monitor log files. At least I can't think of a way to do ir without using a script.
If you can SSH from another server that can run the xymon client, then you could setup a reverse tunnel for syslog-over-tcp, and then your task becomes monitoring the logs on the other server.
On Fri, 17 Jun 2016, 03:27 usa ims via Xymon <xymon at xymon.com<mailto:xymon at xymon.com>> wrote:
It would be nice to use 'xymon-rclient.sh' on the '192.168.1.51' node which is not exposed on the Internet. I wanted 'xymon-rclient.sh' to monitor log files and alert if there is a problem.
But I just found out that I can't even use ssh scripts because of compliance. Would SNMP be a good solution if I can't use ssh scripts?
On Thursday, June 16, 2016 1:23 AM, Adam Goryachev <user-eaec2ffb4cbc@xymon.invalid<mailto:user-eaec2ffb4cbc@xymon.invalid>> wrote:
On 16/06/16 11:37, Bruce Ferrell wrote:If i understand you correctly, there is no direct path between the sister server, on .51, and your monitor station. That would seem, on the surface, to make use of SNMP and the devmon add in for xymon very difficult.
Personally, I'd add a custom ext to the server you DO have access to, which will ping/test connectivity to your second server, and then report the results back along with the rest of the results. Or, did you want to run a client on the second machine? Regards, Adam -- Adam Goryachev Website Managers
P: +61 2 8304 0000 user-eaec2ffb4cbc@xymon.invalid<mailto:user-eaec2ffb4cbc@xymon.invalid> F: +61 2 8304 0001 www.websitemanagers.com.au<https://urldefense.proofpoint.com/v2/url?u=http-3A__www.websitemanagers.com.au&d=DQMFaQ&c=BNNF-YNv0CLLslhP2Bcx5Q&r=SjsIRf81D06XmEsmKkV_wxtLjrsUQpuz8iegmn0NIEg&m=Y_C0jBfxLfTc-7In5IoLtayNNV8Q_mdmndrZXCFcVuM&s=rp7C6EedRlNJ3wFqrr2yoQa55RkvjczD1Q-m7eS0OLQ&e=>; Xymon at xymon.com<https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.xymon.com_mailman_listinfo_xymon&d=DQMFaQ&c=BNNF-YNv0CLLslhP2Bcx5Q&r=SjsIRf81D06XmEsmKkV_wxtLjrsUQpuz8iegmn0NIEg&m=Y_C0jBfxLfTc-7In5IoLtayNNV8Q_mdmndrZXCFcVuM&s=YAmVl2C-MdyYJCv5JE3SM6bcQe9uja3VfzU_QsDZRbU&e=>;
▸
---------- Forwarded message ----------
From: usa ims via Xymon <xymon at xymon.com<mailto:xymon at xymon.com>>
To: Adam Goryachev <user-eaec2ffb4cbc@xymon.invalid<mailto:user-eaec2ffb4cbc@xymon.invalid>>, "xymon at xymon.com<mailto:xymon at xymon.com>" <xymon at xymon.com<mailto:xymon at xymon.com>>
Cc:
Date: Thu, 16 Jun 2016 19:27:36 +0200 (CEST)
Subject: Re: [Xymon] Is SNMP a solution