Hobbit server/client, Nagios server ?! (fwd)
Hmm, please don't be angry, that's my very last attemp ...
"Hobbit Server/Client and Nagios Server"
I need something which triggers an alarm from an hobbit-client or hobbitserver (prefer) to our NAGIOS-Server ..
I will be very happy, if only one hint came around ..
Now, it's a very favorable moment for this, because we've got a student for some months, who can spend time for it ...
It should not a be a pro/contra-discussion of Nagios vs. Xymon, which will be always on side of Xymon, won't it ? :-)
It's only the technical question of the possibility .... Unfortunately, Nagios is in our IT-Department the political first Montitoring-Tool, but i want to share my advantage wit Xymon to the rest of our group ...
thanks
Martin
---------- Forwarded message ---------- Date: Wed, 11 Feb 2009 15:10:22 +0100 (CET) From: Martin Flemming <martin.flemming at desy.de> To: Hobbitmon-developer <hobbitmon-developer at lists.sourceforge.net> Subject: Re: [Hobbitmon-developer] Hobbit server/client, Nagios server ?!
Hi, again :-)
At the time i've got the answer from Martin Ward, that it will be trickier as his Nagios-client-to-Hobbit-server-proxy (but not impossible), but probably nobody has the time or pressure to develop it ...
Now, we've got possibly a student, who could take this theme and make some deployments ...
Can somebody give me some hints or possible method of resolutions which we can give him in the hand ...
thanks in advance & cheers
martin
On Wed, 12 Nov 2008, Martin Flemming wrote:
Hi, and sorry for mailing again ...
.. only want/need an hint or short answer, if it will be possible, not now, in this moment but in the future .. :-)
The original thread with Nagios-client and Hobbit-Server, is also nice but no solution for my "problem" alternatively my IT-Department Headquarters ... :-(
thanks & cheers
martinP.S.: .. or should i posted another once to the list again, maybe the euphoria of the Development and Status of Xymon and so on .. cover some questions ...
Martin Flemming DESY / IT office : Building 2b / 008a Notkestr. 85 phone : 040 - 8998 - 4667 22603 Hamburg mail : martin.flemming at desy.de
---------- Forwarded message ---------- Date: Tue, 11 Nov 2008 23:03:53 +0100 (CET) From: martin.flemming at desy.de To: hobbit at hswn.dk Subject: Hobbit server/client, Nagios server ?!
Hi !
... some spinning around this quite recently thread ....
RE: [hobbit] Nagios client, Hobbit server anyone?
"Hobbit Server/Client and Nagios Server"
I need something which triggers an alarm from an hobbit-client or hobbitserver (prefer) to our NAGIOS-Server ..
.. the reason ?
Our Operating-Crew and our hole IT-Division (execept me and my Admin-Colleagues)
are using NAGIOS as our first Monitoring-Tool, but i for my own use Hobbit/Xymon ... :-)
So, after Hobbit is monitoring, maybe less fewer (?), the half of our 3000 Machines,
Hobbit/Xymon is switching from "My" to "OUR" Tool ... that's means more,authoritative and accurate work for me ...
.. and using the big advantage of Hobbit/Xymon to adavance the Monitoring of our whole Division "against" our Customers ...
... maybe something trigger an alarm while sending alarm-mails or something around, as told several time before, i'm not a brillant coder :-(
.. or maybe traps .. ?
Some suggestions ? .. are very welcome :-)
thanks & cheers
martin
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR, Ajax developers can use existing skills and code to build responsive, highly engaging applications that combine the power of local resources and data with the reach of the web. Download the Adobe AIR SDK and Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
Hobbitmon-developer mailing list Hobbitmon-developer at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hobbitmon-developer
Hi Martin,
It should not a be a pro/contra-discussion of Nagios vs. Xymon, which will be always on side of Xymon, won't it ? :-)
I am sure Nagios has its benefits, as does Xymon, we're just more likely to consider Xymon first.
You are asking about having a Nagios server talk to a Hobbit client, yes? In this case what you are asking for is certainly possible, just not simple.
Nagios is not a client-server application. It works by the server initiating tests on the clients and reading the response. Xymon works by listening on a port for data sent from the client, the client initiates its own tests. With a Xymon server and a Nagios client it's fairly easy (it must be since I have done it) to have a proxy server that initiates the Nagios test on the client and report back to the Xymon server.
However, with a Nagios and a Xymon client it's more difficult. The client would run when it was configured to and try to send data back to the Nagios server, which isn't ready to accept data form the client since it hasn't initiated a test.
If you really want to do this you are going to have to write (or get your student to write) a proxy server that listens on port 1984 and stores any client data from the Xymon client on disk. Then, when the Nagios server initiates a test another program reads the data from the disk and sends back the corresponding information.
How you tie up the data sent from the client to the data requested by the server is up to you and your student to figure out.
|\/|artin
-----Original Message----- From: Martin Flemming [mailto:martin.flemming at desy.de] Sent: 12 March 2009 23:06 To: hobbit at hswn.dk Subject: [hobbit] Re: Hobbit server/client, Nagios server ?! (fwd)
Hmm, please don't be angry, that's my very last attemp ...
"Hobbit Server/Client and Nagios Server"
I need something which triggers an alarm from an hobbit-client or hobbitserver (prefer) to our NAGIOS-Server ..
I will be very happy, if only one hint came around ..
Now, it's a very favorable moment for this, because we've got a student for some months, who can spend time for it ...
It should not a be a pro/contra-discussion of Nagios vs. Xymon, which will be always on side of Xymon, won't it ? :-)
It's only the technical question of the possibility .... Unfortunately, Nagios is in our IT-Department the political first Montitoring-Tool, but i want to share my advantage wit Xymon to the rest of our group ...
thanks
Martin
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
Hi, Martin .. again :-) !
Thanks a lot for answer and your informations .. !!
.. for my apology and i think you notice it, i'm not knowledgeable with the nagios-working-model ...
You are asking about having a Nagios server talk to a Hobbit client, yes?
Not quite correct, also the Xymon-Server could trigger the Nagios-Server, like the xymon-alert-mail to myself ... :-)
Damned, once more my misapprehension again, about nagios ( not a client-server-application), sorry !
In this case what you are asking for is certainly possible, just not simple.
I believe, and the other thought, with xymon-server to nagio-server is not easier i think ..
There was a nebulous idea, that Nagios can get a xymon-alert for a host (from xymon-client or from server), and if you "click" on the alarm-icon on Nagios, you will be redirect to the xymon-page or subpage or host-info-page ...
And you describe this very intelligible with this below, thanks ! :-)
If you really want to do this you are going to have to write (or get your student to write) a proxy server that listens on port 1984 and stores any client data from the Xymon client on disk. Then, when the Nagios server initiates a test another program reads the data from the disk and sends back the corresponding information.
How you tie up the data sent from the client to the data requested by the server is up to you and your student to figure out.
It seems ( this was apprehensive ) to be a bigger project :-(
Thanks a lot again for your answer !
.. but i still wonder, that i'm the only one, who wants/need this connection between xymon and nagios ( ok, Xymon is the better of application course, but nagios is more widespreaded , i think ...)
cheers, martin
On Fri, 13 Mar 2009, Ward, Martin wrote:
Hi Martin,
It should not a be a pro/contra-discussion of Nagios vs. Xymon, which will be always on side of Xymon, won't it ? :-)
I am sure Nagios has its benefits, as does Xymon, we're just more likely to consider Xymon first.
You are asking about having a Nagios server talk to a Hobbit client, yes? In this case what you are asking for is certainly possible, just not simple.
Nagios is not a client-server application. It works by the server initiating tests on the clients and reading the response. Xymon works by listening on a port for data sent from the client, the client initiates its own tests. With a Xymon server and a Nagios client it's fairly easy (it must be since I have done it) to have a proxy server that initiates the Nagios test on the client and report back to the Xymon server.
However, with a Nagios and a Xymon client it's more difficult. The client would run when it was configured to and try to send data back to the Nagios server, which isn't ready to accept data form the client since it hasn't initiated a test.
If you really want to do this you are going to have to write (or get your student to write) a proxy server that listens on port 1984 and stores any client data from the Xymon client on disk. Then, when the Nagios server initiates a test another program reads the data from the disk and sends back the corresponding information.
How you tie up the data sent from the client to the data requested by the server is up to you and your student to figure out.
|\/|artin
-----Original Message----- From: Martin Flemming [mailto:martin.flemming at desy.de] Sent: 12 March 2009 23:06 To: hobbit at hswn.dk Subject: [hobbit] Re: Hobbit server/client, Nagios server ?! (fwd)
Hmm, please don't be angry, that's my very last attemp ...
"Hobbit Server/Client and Nagios Server"
I need something which triggers an alarm from an hobbit-client or hobbitserver (prefer) to our NAGIOS-Server ..
I will be very happy, if only one hint came around ..
Now, it's a very favorable moment for this, because we've got a student for some months, who can spend time for it ...
It should not a be a pro/contra-discussion of Nagios vs. Xymon, which will be always on side of Xymon, won't it ? :-)
It's only the technical question of the possibility .... Unfortunately, Nagios is in our IT-Department the political first Montitoring-Tool, but i want to share my advantage wit Xymon to the rest of our group ...
thanks
Martin
The message is intended for the named addressee only and may not be disclosed to or used by anyone else, nor may it be copied in any way.
The contents of this message and its attachments are confidential and may also be subject to legal privilege. If you are not the named addressee and/or have received this message in error, please advise us by e-mailing security at colt.net and delete the message and any attachments without retaining any copies.
Internet communications are not secure and COLT does not accept responsibility for this message, its contents nor responsibility for any viruses.
No contracts can be created or varied on behalf of COLT Telecommunications, its subsidiaries or affiliates ("COLT") and any other party by email Communications unless expressly agreed in writing with such other party.
Please note that incoming emails will be automatically scanned to eliminate potential viruses and unsolicited promotional emails. For more information refer to www.colt.net or contact us on +44(0)20 7390 3900.
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
Hi all,
One point which I think has been missed - Nagios can accept "Passive Checks", so in theory XyMon could report to Nagios:
On my nagios server the relevant documentation is found under: http://[server]/nagios/docs/passivechecks.html
Hope that helps!
Regards,
Carl
On Sat, Mar 14, 2009 at 5:50 AM, carl Inglis <carl at yoshiwara.org.uk> wrote:
Hi all,
One point which I think has been missed - Nagios can accept "Passive Checks", so in theory XyMon could report to Nagios:
On my nagios server the relevant documentation is found under: http://[server]/nagios/docs/passivechecks.html
Hope that helps!
Regards,
Carl
I think I actually had this working at one time. I used the NSCA addon to feed Xymon info to Nagios in the form of passive checks. I'm fairly sure I used, or at least looked at using, the hobbitd_sample program to catch status messages passing through Xymon. See the man page here:
http://hobbitmon.sourceforge.net/docs/man8/hobbitd_sample.8.html
The source for that is in the Xymon source tree, so it gets compiled and installed along with everything else. You could either alter the source to make the send_nsca() call directly, or at least execute an external script with appropriate arguments,
You'll also need to have the NSCA receiver running on the Nagios server, but that might be there already.
I no longer have access to my old Hobbit server, but I might have a backup copy somewhere...
Ralph Mitchell
Thanks a lot for your comments and hints !
I will check it out and we will see if there come some output which we can use ...
thanks again & cheers
martin
p.s.: ... and Ralph, if you find sometimes or stumble about your done work in your old backup, please let me know :-)
On Sat, 14 Mar 2009, Ralph Mitchell wrote:
On Sat, Mar 14, 2009 at 5:50 AM, carl Inglis <carl at yoshiwara.org.uk> wrote:
Hi all,
One point which I think has been missed - Nagios can accept "Passive Checks", so in theory XyMon could report to Nagios:
On my nagios server the relevant documentation is found under: http://[server]/nagios/docs/passivechecks.html
Hope that helps!
Regards,
Carl
I think I actually had this working at one time. I used the NSCA addon to feed Xymon info to Nagios in the form of passive checks. I'm fairly sure I used, or at least looked at using, the hobbitd_sample program to catch status messages passing through Xymon. See the man page here:
http://hobbitmon.sourceforge.net/docs/man8/hobbitd_sample.8.html
The source for that is in the Xymon source tree, so it gets compiled and installed along with everything else. You could either alter the source to make the send_nsca() call directly, or at least execute an external script with appropriate arguments,
You'll also need to have the NSCA receiver running on the Nagios server, but that might be there already.
I no longer have access to my old Hobbit server, but I might have a backup copy somewhere...
Ralph Mitchell
Gruss
Martin Flemming
Martin Flemming DESY / IT office : Building 2b / 008a Notkestr. 85 phone : 040 - 8998 - 4667 22603 Hamburg mail : martin.flemming at desy.de
participants (4)
-
carl@yoshiwara.org.uk
-
martin.flemming@desy.de
-
Martin.Ward@colt.net
-
ralphmitchell@gmail.com