<html><head><title>Re: [smokeping-users] Checking an Exchange Server</title>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-15">
</head>
<body>
<span style=" font-family:'Courier New'; font-size: 9pt;">I'd second Peter's suggestions - though from the response you get [a redirect] I'd guess that your curl would return a positive result. [I know nothing about the curl probe.]<br>
<br>
But try it with the options as close as to how smokeping's going to run 'em. If that succeeds, then do the following. If not, tweak the parameters until you get one that works - and mirror that configuration in the smokeping config.&nbsp;<br>
<br>
So, several things.<br>
<br>
1) Call smokeping with your config file and the [--debug] option. This will check the syntax of the config file etc. [I would guess this comes back clean - but lets make sure.]<br>
<br>
2) --logfile=x &nbsp; &nbsp;Append warnings to logfile x. [Try this too - it should log any problems smokeping has, in creating the RRD files etc.]<br>
You may also find some smokeping log data in /var/log/syslog<br>
<br>
Lastly, check the apache logs [/var/log/apache2/access.log and error.log] - perhaps smokeping is able to poll the data and put it in the RRD files, but apache can't get at it.<br>
<br>
---<br>
BTW, are you running under Linux, BSD, OSX or something like Windows?<br>
[Oh, just saw your command line - so I assume Ubuntu on x86?]<br>
<br>
Curl is a more complex probe than fping. I'd be surprised if the exchange box won't reply to fpings... [Possible, but unlikely, I think.]<br>
<br>
Unless you want to actually test that it's accepting SMTP commands/connects, fping is less fussy with details. [There's a chance it would still respond to ICMP but not be handling mail, so I can see why you'd like to do something like EchoPing/SMTP or Curl. But starting simple is probably better - it's certainly easier to test and get running the first time.]<br>
<br>
-Greg<br>
<br>
</span><table bgcolor="#ffffff">
<tr>
<td width=2 bgcolor= #0000ff><br>
</td>
<td width=1022><span style=" font-family:'calibri'; font-size: 11pt; color: #1f497d;">We have been having some problems with the exchange server we have outsourced. I am trying to collect uptime data of this server. When I use Curl at the command line I get back data:<br>
&nbsp;<br>
root@UbuntuServer:/etc/smokeping/config.d# curl https://mail.hostaccount.com<br>
&lt;head&gt;&lt;title&gt;Document Moved&lt;/title&gt;&lt;/head&gt;<br>
&lt;body&gt;&lt;h1&gt;Object Moved&lt;/h1&gt;This document may be found &lt;a HREF="https://mail.hostaccount.com/owa/"&gt;here&lt;/a&gt;&lt;/body&gt;</span><a style=" font-family:'calibri'; font-size: 11pt;" href="mailto:root@UbuntuServer:/etc/smokeping/config.d#">root@UbuntuServer:/etc/smokeping/config.d#</a><br>
<span style=" font-family:'calibri'; font-size: 11pt; color: #1f497d;">&nbsp;<br>
However, when I configure it is the Targets file:<br>
&nbsp;<br>
++ ExchangeServer<br>
probe = Curl # if this should be the default probe<br>
menu = Exchange Server<br>
title = Exchange Server<br>
host = mail.hostaccount.com<br>
agent = User-Agent: Lynx/2.8.4rel.1 libwww-FM/2.14 SSL-MM/1.4.1 OpenSSL/0.9.6c<br>
extraargs = -6 --head --user ddemland@losspreventionworks.com:XXXXXX<br>
extrare = / /<br>
follow_redirects = yes<br>
include_redirects = yes<br>
insecure_ssl = 1<br>
interface = eth0<br>
pings = 5<br>
ssl2 = 1<br>
timeout = 20<br>
urlformat = https://%host%/ # mandatory<br>
&nbsp;<br>
I get no data populated in the graph. I think this is nothing wired, but I am new with SmokePing so I have no idea for sure.<br>
&nbsp;<br>
Thank You,<br>
&nbsp;<br>
David<br>
&nbsp;<br>
<span style=" font-family:'tahoma'; font-size: 10pt; color: #000000;"><b>From:</b>&nbsp;smokeping-users-bounces+ddemland=actionabledatasolutions.com@lists.oetiker.ch [mailto:smokeping-users-bounces+ddemland=actionabledatasolutions.com@lists.oetiker.ch]&nbsp;<b>On Behalf Of&nbsp;</b>Peter Kristolaitis<br>
<b>Sent:</b>&nbsp;Tuesday, April 02, 2013 11:49 AM<br>
<b>To:</b>&nbsp;smokeping-users@lists.oetiker.ch<br>
<b>Subject:</b>&nbsp;Re: [smokeping-users] Checking an Exchange Server<br>
<span style=" font-family:'calibri'; font-size: 11pt;">&nbsp;<br>
Assuming you're just trying to plot network latencies, between the Smokeping machine and the Exchange server, it's no different than any other network host... &nbsp;in that case, if you're not getting data, it's either due to misconfiguration somewhere or simply because the Smokeping host has no network path to the server. &nbsp;This would require looking at Smokeping itself, not Exchange.<br>
<br>
If you're trying to do something weird (i.e. Exchange-specific), maybe you could let us know what that is so we can try to help (or even determine if Smokeping is the right tool to be using).<br>
<br>
- Pete<br>
<br>
<br>
<br>
On 04/02/2013 02:06 PM, Dave Demland wrote:<br>
I have having a problem checking an Exchange Server. I have tried different probes and I can get no data on the server. Does anyone have an idea on the best way to configure SmokePing to test an Exchange Server?<br>
&nbsp;<br>
Thank You,<br>
&nbsp;<br>
David Demland<br>
<br>
<br>
<br>
<span style=" font-family:'courier new'; font-size: 10pt;">_______________________________________________<br>
smokeping-users mailing list<br>
</span></span></span></span><a style=" font-family:'courier new'; font-size: 10pt;" href="mailto:smokeping-users@lists.oetiker.ch">smokeping-users@lists.oetiker.ch</a><br>
<a style=" font-family:'courier new'; font-size: 10pt;" href="https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users">https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users</a><br>
<span style=" font-family:'times new roman'; font-size: 12pt;">&nbsp;</td>
</tr>
</table>
<br><br>
</body></html>