On 4 May 2009, at 08:49, George wrote: Hi I'm kinda confused here. what are the list of all the values here and port 2812 ? Thanks George On Sun, 2009-05-03 at 19:32 +0100, Andrew Holt wrote: Hi, Nice :) This: wget -O status.xml --http-user="admin" --http-passwd="<password>" http://localhost:2812/_status?format=xml Worked for me. Thanks, Andrew On 3 May 2009, at 17:35, Brad Gessler wrote: Andrew, Try hitting your server in the port you configured on httpd as follows: http://yourserver.net:2812/_status?format=xml You'll get an XML format that you can parse for your application. Brad Gessler Poll Everywhere, Inc. tel +1 (312) 771-5128 fax +1 (800) 388-2039 address@hidden On Sun, May 3, 2009 at 9:13 AM, Andrew Holt <address@hidden> wrote: Hi, I have tried connecting to 28080, using telnet, and I get "Connection refused" As for an API, I presume that at any point in time monit holds the current state of those things it is monitoring. What I want is to be able to query monit for that information. Maybe also add my own custom collectors. HTH, Andrew On 3 May 2009, at 14:36, George wrote: Hi What do you mean API, monit is set to listen on port 28080 on default. This shows all the statuses for all things you are monitoring. Pretty much the same as "monit status" Thanks George On Sun, 2009-04-19 at 20:31 +0100, Andrew Holt wrote: Hi,
Is there an API to extract the current status information from monit ?
Thanks,
Andrew
--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general ============================= Andrew Holt Email: address@hidden If you understand, things are just as they are... If you do not understand, things are just as they are.... ============================= -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general -- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general ============================= Andrew Holt Managing Director 4A Solutions Ltd M: +44(0) 7841 340608 P: +44(0)1257 268351 Email: address@hidden If you're going through hell, keep going. Winston Churchill ============================= --
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general
-- To unsubscribe: http://lists.nongnu.org/mailman/listinfo/monit-general ============================= Andrew Holt Managing Director 4A Solutions Ltd
M: +44(0) 7841 340608 P: +44(0)1257 268351
If you're going through hell, keep going. Winston Churchill =============================
|