Xymon Mailing List Archive search

Problem with rrdtools

23 messages in this thread

list Taihia Maitere · Mon, 16 Jun 2008 16:17:41 -0500 ·
Hi, i just try to install hobbit on my red hat system, i have rrdtool and cacti running on it,when i try to install hobbit, he tell "RRDtool include- or library-files not found. These are REQUIRED for hobbitdRRDtool can be found at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR"options to configure to specify where they are." But i have rrdtools already install it.Does any one have a idea ? Thank you
Découvrez Windows Live Spaces et créez votre site Web perso en quelques clics !
http://spaces.live.com/signup.aspx
list Josh Luthman · Mon, 16 Jun 2008 17:24:49 -0400 ·
Try something like yum -y install rrdtool-devel

You need the development package.

On Mon, Jun 16, 2008 at 5:17 PM, taihia MAITERE
quoted from Taihia Maitere
<user-0117f32d7a16@xymon.invalid> wrote:
Hi,
i just try to install hobbit on my red hat system, i have rrdtool and cacti

running on it,
when i try to install hobbit, he tell

"RRDtool include- or library-files not found. These are REQUIRED for hobbitd
RRDtool can be found at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR"
options to configure to specify where they are."

But i have rrdtools already install it.
Does any one have a idea ?

Thank you

Tous vos amis discutent sur Messenger, et vous ? Téléchargez Messenger,
c'est gratuit !

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer
list Taihia Maitere · Mon, 16 Jun 2008 18:11:19 -0500 ·
Thank you for your response 

but for the yum you need to have a rhn register.

Is it to install the rrdtools dev with out the soft ?
quoted from Josh Luthman

Date: Mon, 16 Jun 2008 17:24:49 -0400
From: user-4c45a83f15cb@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Problem with rrdtools

Try something like yum -y install rrdtool-devel

You need the development package.

On Mon, Jun 16, 2008 at 5:17 PM, taihia MAITERE
<user-0117f32d7a16@xymon.invalid> wrote:
Hi,
i just try to install hobbit on my red hat system, i have rrdtool and cacti
running on it,
when i try to install hobbit, he tell

"RRDtool include- or library-files not found. These are REQUIRED for hobbitd
RRDtool can be found at http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/
If you have RRDtool installed, use the "--rrdinclude DIR" and "--rrdlib DIR"
options to configure to specify where they are."

But i have rrdtools already install it.
Does any one have a idea ?

Thank you

Tous vos amis discutent sur Messenger, et vous ? Téléchargez Messenger,
c'est gratuit !

-- 
Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

Lancez des recherches en toute sécurité depuis n'importe quelle page Web. Téléchargez GRATUITEMENT Windows Live Toolbar aujourd'hui !
http://toolbar.live.com
list Pkc_mls · Tue, 17 Jun 2008 08:46:28 +0200 ·
quoted from Taihia Maitere
taihia MAITERE a écrit :
Thank you for your response

but for the yum you need to have a rhn register.

Is it to install the rrdtools dev with out the soft ?
try to find the user-7297b55c96f6@xymon.invalid.
If you don't have any redhat registration, perhaps it's time to switch 
to centos.
list Nikesh Maharaj · Tue, 17 Jun 2008 08:52:27 +0200 ·
Hi Guys, 

I am aware that Hobbit can monitor and report on Sql Databases. Please
if I may ask, can someone who has this working already, please assist me
or point me in the direction I can get this implemented on my Hobbit
monitor ?

Thanks
list Buchan Milne · Tue, 17 Jun 2008 11:07:53 +0200 ·
quoted from Nikesh Maharaj
On Tuesday 17 June 2008 08:52:27 Nikesh Maharaj wrote:
Hi Guys,

I am aware that Hobbit can monitor and report on Sql Databases. Please
if I may ask, can someone who has this working already, please assist me
or point me in the direction I can get this implemented on my Hobbit
monitor ?
You may want to be more specific on the database in question.

We use dbcheck from http://sourceforge.net/projects/hobbit-perl-cl/ to monitor 
Oracle and MySQL.

Regards,
Buchan
list Nikesh Maharaj · Tue, 17 Jun 2008 11:29:35 +0200 ·
Hi, 

I just want to monitor sql2000 and sql2005 databases for sizes , jobs
etc. will this script help ?
quoted from Buchan Milne

-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid] 
Sent: 17 June 2008 11:08 AM
To: user-ae9b8668bcde@xymon.invalid
Cc: Nikesh Maharaj
Subject: Re: [hobbit] Monitoring Sql Databases

On Tuesday 17 June 2008 08:52:27 Nikesh Maharaj wrote:
Hi Guys,

I am aware that Hobbit can monitor and report on Sql Databases. Please
if I may ask, can someone who has this working already, please assist
me
or point me in the direction I can get this implemented on my Hobbit
monitor ?
You may want to be more specific on the database in question.

We use dbcheck from http://sourceforge.net/projects/hobbit-perl-cl/ to
monitor 
Oracle and MySQL.

Regards,
Buchan
list Dns · Tue, 17 Jun 2008 22:41:25 -0700 (PDT) ·
Hi Nikesh,
I use the following vbscript to monitor MS SQL Servers....
====Begin======
On Error Resume Next
strAlarmState = "green"
strTestName = "sqlserver"
'Physical Disk Settings
    '% Disk Read Time
    iPerDiskReadTimeWarn=5
    iPerDiskReadTimeAlarm=10
    '% Disk Write Time
    iPerDiskWriteTimeWarn=5
    iPerDiskWriteTimeAlarm=10
    'Current Disk Queue Length
    iCurDiskQueueLengthWarn=10
    iCurDiskQueueLengthAlarm=20
'SQL Buffer Cache Hit Ratio
    iBufferCacheHitRatioWarn=90
    iBufferCacheHitRatioAlarm=85
'SQL Lock Timeouts /sec
    iLockTimeoutsWarn=50
    iLockTimeoutsAlarm=100   
'SQL Dead Locks /sec
    iDeadLocksWarn=10000
    iDeadLocksAlarm=100000
    
'User Connections
 iUserConnectionsWarn=150
 iUserConnectionsAlarm=300
    
' Master Database Settings
Set aMasterDatabaseSetting = CreateObject("scripting.dictionary")
aMasterDatabaseSetting.add "DataFileWarn", 150000
aMasterDatabaseSetting.add "DataFileAlarm", 200000
aMasterDatabaseSetting.add "LogFileWarn", 20000
aMasterDatabaseSetting.add "LogFileAlarm", 40000
' Model Database Settings
Set aModelDatabaseSetting = CreateObject("scripting.dictionary")
aModelDatabaseSetting.add "DataFileWarn", 150000
aModelDatabaseSetting.add "DataFileAlarm", 200000
aModelDatabaseSetting.add "LogFileWarn", 20000
aModelDatabaseSetting.add "LogFileAlarm", 40000
'Main Array
SET aSQLDataFileSettings = CreateObject("scripting.dictionary")
aSQLDataFileSettings.add "master", aMasterDatabaseSetting
aSQLDataFileSettings.add "model", aModelDatabaseSetting
strOutput   = ""
Set ws = WScript.CreateObject("WScript.Shell")
extPath = ws.RegRead("HKLM\SOFTWARE\BBWin\Output\")

' ========================================
' Main Code Starts Here
'Physical Disk
Set colDisk = GetObject("winmgmts:").InstancesOf("Win32_PerfRawData_PerfDisk_PhysicalDisk")
strOutput = strOutput & vbcrlf &"Physical Disk Information:" & vbcrlf
For each DiskInstance in ColDisk
    '% Disk Read Time
    strOutput = strOutput & CheckValue(GetWMIPercent("Win32_PerfRawData_PerfDisk_PhysicalDisk.Name","""" & DiskInstance.Name & """","PercentDiskReadTime","PercentDiskReadTime_Base"),DiskInstance.name & " % Disk Read Time",iPerDiskReadTimeWarn,iPerDiskReadTimeAlarm)   
    '% Disk Write Time
    strOutput = strOutput & CheckValue(GetWMIPercent("Win32_PerfRawData_PerfDisk_PhysicalDisk.Name","""" & DiskInstance.Name & """","PercentDiskWriteTime","PercentDiskWriteTime_Base"),DiskInstance.name & " % Disk Write Time",iPerDiskWriteTimeWarn,iPerDiskWriteTimeAlarm)
    'Current Disk Queue Length
    strOutput = strOutput & CheckValue(GetWMIValue("Win32_PerfRawData_PerfDisk_PhysicalDisk.Name","""" & DiskInstance.Name & """","CurrentDiskQueueLength"),DiskInstance.name & " Current Disk Queue Length",iCurDiskQueueLengthWarn,iCurDiskQueueLengthAlarm)
Next
' SQL Server
strOutput = strOutput & vbcrlf & "SQL Server Information:" & vbcrlf
    'Buffer Cache Hit Ration
strOutput = strOutput & CheckReverseValue(GetWMIPercent("Win32_PerfRawData_MSSQLSERVER_SQLServerBufferManager","@","Buffercachehitratio","Buffercachehitratio_Base"),"Buffer Cache Hit Ratio",iBufferCacheHitRatioWarn, iBufferCacheHitRatioAlarm)
    'Lock Information
' strOutput = strOutput & CheckValue(GetWMIValue("Win32_PerfRawData_MSSQLSERVER_SQLServerLocks.Name","""_Total""","LockTimeoutsPersec"),"Locks Timeouts/sec",iLockTimeoutsWarn, iLockTimeoutsAlarm)
strOutput = strOutput & CheckValue(GetWMIValue("Win32_PerfRawData_MSSQLSERVER_SQLServerLocks.Name","""_Total""","NumberofDeadlocksPersec"),"Number of Deadlocks/sec",iDeadLocksWarn, iDeadLocksAlarm)
    'User Connections
strOutput = strOutput & CheckValue(GetWMIValue("Win32_PerfRawData_MSSQLSERVER_SQLServerGeneralStatistics","@","UserConnections"),"Number of User Connections",iUserConnectionsWarn, iUserConnectionsAlarm)

'SQL Data and Log Files
Set colDatabases = GetObject("winmgmts:").InstancesOf("Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases")
strOutput = strOutput & vbcrlf & "SQL Server Data and Log File Information:" & vbcrlf
For each DatabaseInstance in colDatabases
    If aSQLDataFileSettings.exists(DatabaseInstance.name) then
        'Check Values
        strOutput = strOutput & CheckValue(GetWMIValue("Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases","""" & DatabaseInstance.name & """","DataFilesSizeKB"),DatabaseInstance.name & vbTab & "Data File Size(KB)",aSQLDataFileSettings.item(DatabaseInstance.name).item("DataFileWarn"), aSQLDataFileSettings.item(DatabaseInstance.name).item("DataFileAlarm"))
        strOutput = strOutput & CheckValue(GetWMIValue("Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases","""" & DatabaseInstance.name & """","LogFilesSizeKB"),DatabaseInstance.name & vbTab & "Log File Size(KB)",aSQLDataFileSettings.item(DatabaseInstance.name).item("LogFileWarn"), aSQLDataFileSettings.item(DatabaseInstance.name).item("LogFileAlarm"))
        strOutput = strOutput & vbcrlf
    elseif DatabaseInstance.Name = "_Total" then
        ' Skipping Display of Totals at this stage. May re-add later
        
        ' strOutput = strOutput & vbcrlf & "Total Data File Size:" & vbTab & GetWMIValue("Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases.Name","""" & DatabaseInstance.name & """","DataFilesSizeKB") & vbcrlf
        ' strOutput = strOutput & vbcrlf & "Total Log File Size:" & vbTab & GetWMIValue("Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases.Name","""" & DatabaseInstance.name & """","LogFilesSizeKB") & vbcrlf
    else
        ' Write Data Information Directly Out without running the Value Check
        ' Datafile
        strOutput = strOutput & "&clear" & " " & DatabaseInstance.name & vbTab & "Data File Size(KB)" & ":" & vbTab & GetWMIValue("Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases.Name","""" & DatabaseInstance.name & """","DataFilesSizeKB") & vbcrlf
        ' Logfile
        strOutput = strOutput & "&clear" & " " & DatabaseInstance.name & vbTab & "Log File Size(KB)" & ":" & vbTab & GetWMIValue("Win32_PerfRawData_MSSQLSERVER_SQLServerDatabases.Name","""" & DatabaseInstance.name & """","LogFilesSizeKB") & vbcrlf
        strOutput = strOutput & vbcrlf
    end if
Next

' Write the file for BB
WriteFile extPath, strTestName, strAlarmState, strOutput
'===========================================================
' FUNCTIONS and SUBS start here
' This is used to get a percentage value from WMI. It requires the value and the base objects.
' It then returns the percentage
FUNCTION GetWMIPercent(strCollection,strInstance,strObject,strBaseObject)
    SET counterCollection = GETOBJECT("winmgmts:" & strCollection & "=" & strInstance)
    FOR EACH cntproperty IN counterCollection.properties_
        IF cntproperty.name = strObject THEN
            iObjectValue = cntproperty
        ELSEIF cntproperty.name = strBaseObject THEN
            iObjectBaseValue = cntproperty
        END IF
    NEXT
    GetWMIPercent = ROUND(CDBL(iObjectValue) / CDBL(iObjectBaseValue) * CDBL(100),0)
END FUNCTION
' This is used to pull a value from WMI.
FUNCTION GetWMIValue(strCollection,strInstance,strObject)
    Set counterCollection = GetObject("winmgmts:" & strCollection & "=" & strInstance)
    FOR EACH cntproperty IN counterCollection.properties_
        IF cntproperty.name = strObject THEN
            iObjectValue = cntproperty
        END IF
    NEXT
    GetWMIValue = iObjectValue
END FUNCTION
' This is used to check the actual value against the warning and alarm.
FUNCTION CheckValue(iObjectValue,strObjectDesc,iWarnValue,iAlarmValue) 
    IF iWarnValue > iAlarmValue THEN
        CheckValue = "&red" & " " & strObjectDesc & ":" & vbTab & "Object is Misconfigured"
        IF strAlarmState <> "red" THEN
            strAlarmState = "red"
        END IF
    ELSE
        IF iObjectValue > iWarnValue THEN
            IF iObjectValue > iAlarmValue THEN
                CheckValue = "&red" & " " & strObjectDesc & ":" & vbTab & iObjectValue & vbcrlf
                SetAlarmStatus  "red"
            ELSE
                CheckValue = "&yellow" & " " & strObjectDesc & ":" & vbTab & iObjectValue & vbcrlf
                SetAlarmStatus "yellow"
            END IF
        ELSE
            CheckValue = "&green" & " " & strObjectDesc & ":" & vbTab & iObjectValue & vbcrlf
        END IF
    END IF
END FUNCTION
' This is used to check the actual value against the warning and alarm.
' This one the alarm will be a lower value than the warning. (Values Decrease rather than increase)
FUNCTION CheckReverseValue(iObjectValue,strObjectDesc,iWarnValue,iAlarmValue) 
    IF iWarnValue < iAlarmValue THEN
        CheckReverseValue = "&red" & " " & strObjectDesc & ":" & vbTab & "Object is Misconfigured"
        IF strAlarmState <> "red" THEN
            strAlarmState = "red"
        END IF
    ELSE
        IF iObjectValue < iWarnValue THEN
            IF iObjectValue < iAlarmValue THEN
                CheckReverseValue = "&red" & " " & strObjectDesc & ":" & vbTab & iObjectValue & vbcrlf
                SetAlarmStatus  "red"
            ELSE
                CheckReverseValue = "&yellow" & " " & strObjectDesc & ":" & vbTab & iObjectValue & vbcrlf
                SetAlarmStatus "yellow"
            END IF
        ELSE
            CheckReverseValue = "&green" & " " & strObjectDesc & ":" & vbTab & iObjectValue & vbcrlf
        END IF
    END IF
END FUNCTION

' This is called to set the overall alarm status.
SUB SetAlarmStatus(strnewAlarmState)
    IF strnewAlarmState = "red" THEN
        strAlarmState = strnewAlarmState
    ELSEIF strnewAlarmState = "yellow" THEN
        IF strAlarmState <> "red" THEN
            strAlarmState = strnewAlarmState
        END IF
    END IF
END SUB

' This SUB is used for outputting the file to the external's directory in bb
SUB WriteFile(strExtPath, strTestName, strAlarmState, strOutput)
    Set fso = CreateObject("Scripting.FileSystemObject") 
    strOutput = strAlarmState & " " & Date & " " & Time & vbcrlf & vbcrlf & strOutput & vbcrlf
    Set f = fso.OpenTextFile(strExtPath & "\" & strTestName , 8 , TRUE)
    f.Write strOutput
    f.Close
    Set fso = Nothing
END SUB
===End====

In the registry of the Windows host you have to add:
[HKEY_LOCAL_MACHINE\SOFTWARE\BBWin\Output]
@="C:\\Program Files\\BBWin\\tmp"
Success....
Kind regards,
DNS
quoted from Nikesh Maharaj
----- Original Message ----
From: Nikesh Maharaj <user-000aaf9a8455@xymon.invalid>
To: user-ae9b8668bcde@xymon.invalid
Sent: Tuesday, June 17, 2008 11:29:35 AM
Subject: RE: [hobbit] Monitoring Sql Databases

Hi, 

I just want to monitor sql2000 and sql2005 databases for sizes , jobs
etc. will this script help ?

-----Original Message-----
From: Buchan Milne [mailto:user-9b139aff4dec@xymon.invalid] 
Sent: 17 June 2008 11:08 AM
To: user-ae9b8668bcde@xymon.invalid
Cc: Nikesh Maharaj
Subject: Re: [hobbit] Monitoring Sql Databases

On Tuesday 17 June 2008 08:52:27 Nikesh Maharaj wrote:
Hi Guys,

I am aware that Hobbit can monitor and report on Sql Databases. Please
if I may ask, can someone who has this working already, please assist
me
or point me in the direction I can get this implemented on my Hobbit
monitor ?
You may want to be more specific on the database in question.

We use dbcheck from http://sourceforge.net/projects/hobbit-perl-cl/ to
monitor 
Oracle and MySQL.

Regards,
Buchan
list Andrew Clarke · Wed, 25 Jun 2008 14:12:44 +0100 ·
I know this has been reported before, but I've gone through all the
offered solutions to no avail.

Problem:
Hobbit 4.1.2p1 runs smtp checks against several Exchange mail servers.
Was working fine until June 6th (when I added RDP service).
Since then, get alternating Green (4 mins) then Yellow (< 1 min) on SMTP
test. 
- Yellow status says "Service smtp on xxxxxxxx is not OK : Unexpected
service response"

- Green status says "Service smtp on xxxxxxxx	 is OK (up)"

- SMTP test always shows as yellow on Hobbit Status pages. 

- Conn test to same IP as SMTP is always Green.

- Telnet to port 25 of SMTP IP from Hobbit command line gives normal
Exchange 220 response.

- Have tried removing RDP service - no change.

- Have tried adding/removing various "send" entries to SMTP test, as per
previous information in the Hobbit archives. I have tried with each of
the following, and with none - 
  send "mail\r\nquit\r\n"
  send "rset\r\nquit\r\n"
  send "ehlo hostname.domainname.com\r\nmailfrom:user-31f70260d2a9@xymon.invalid\r\nquit\r\n"
  send "vrfy postmaster\r\nquit\r\n"

- all make no difference. NB: I did restart Hobbit between each change &
waited 10 minutes.

- Without the "send" line, my SMTP entry is as follows:
[smtp]
   expect "220"
   options banner
   port 25

- The RDP test works fine!
[rdp]
   Port 3389

Does anyone have any ideas?

Andrew

Andrew Clarke
Support and Technical Development Officer
BCC IT Solutions
DDI: 0871 288 2036
Tel: +XX (X)XXXX XXXXXX
http://www.bccit.co.uk/
Providers of business to business IT Solutions & Services
Back-up - Anti Virus - Security - Servers - Wireless Networks - VPN - Remote Monitoring - Project Consultation Hardware Provision Servers & Workstations - Disaster Recovery - Proactive Diagnostics - System Migration - Fibre CAT5e Server Administration - Forensics - Grant Appraisal - Network Management - System Appraisals - Support Contracts ...
For full e-mail terms & conditions of use, please follow the link to the bcc web site http://www.bccitsolutions.co.uk/index.php?option=com_content&amp;task=view&amp;id=24&amp;Itemid=1
BCC IT Solutions is a trading name of European Computer Units Limited, Registered in Cardiff, Company Registration No. 2651835
Registered Office: Unit B Station Road, Newcastle Emlyn, Carmarthenshire, Wales, SA38 9BX
list Josh Luthman · Wed, 25 Jun 2008 10:25:48 -0400 ·
I believe the 220 has to be in the beginning like the rest of the MTAs in
the world.  Try putting...

[smtp]
  expect "Exchange 220"
  options banner
  port 25
signature

Josh Luthman
Office: XXX-XXX-XXXX
Direct: XXX-XXX-XXXX
XXXX Wayne St
Suite XXXX
Troy, OH XXXXX

Those who don't understand UNIX are condemned to reinvent it, poorly.
--- Henry Spencer

quoted from Andrew Clarke
On Wed, Jun 25, 2008 at 9:12 AM, Andrew Clarke <user-c3ec4335628a@xymon.invalid> wrote:
I know this has been reported before, but I've gone through all the
offered solutions to no avail.

Problem:
Hobbit 4.1.2p1 runs smtp checks against several Exchange mail servers.
Was working fine until June 6th (when I added RDP service).
Since then, get alternating Green (4 mins) then Yellow (< 1 min) on SMTP
test.
- Yellow status says "Service smtp on xxxxxxxx is not OK : Unexpected
service response"

- Green status says "Service smtp on xxxxxxxx    is OK (up)"

- SMTP test always shows as yellow on Hobbit Status pages.

- Conn test to same IP as SMTP is always Green.

- Telnet to port 25 of SMTP IP from Hobbit command line gives normal
Exchange 220 response.

- Have tried removing RDP service - no change.

- Have tried adding/removing various "send" entries to SMTP test, as per
previous information in the Hobbit archives. I have tried with each of
the following, and with none -
 send "mail\r\nquit\r\n"
 send "rset\r\nquit\r\n"

 send "ehlo hostname.domainname.com\r\nmailfrom:hobbit (at)
server.com\r\nquit\r\n"
quoted from Andrew Clarke
 send "vrfy postmaster\r\nquit\r\n"

- all make no difference. NB: I did restart Hobbit between each change &
waited 10 minutes.

- Without the "send" line, my SMTP entry is as follows:
[smtp]
  expect "220"
  options banner
  port 25

- The RDP test works fine!
[rdp]
  Port 3389

Does anyone have any ideas?

Andrew

Andrew Clarke
Support and Technical Development Officer
BCC IT Solutions
DDI: 0871 288 2036
Tel: +XX (X)XXXX XXXXXX
http://www.bccit.co.uk/
Providers of business to business IT Solutions & Services
Back-up - Anti Virus - Security - Servers - Wireless Networks - VPN -
Remote Monitoring - Project Consultation Hardware Provision Servers &
Workstations - Disaster Recovery - Proactive Diagnostics - System Migration
- Fibre CAT5e Server Administration - Forensics - Grant Appraisal - Network
Management - System Appraisals - Support Contracts ...
For full e-mail terms & conditions of use, please follow the link to the
bcc web site
http://www.bccitsolutions.co.uk/index.php?option=com_content&amp;task=view&amp;id=24&amp;Itemid=1
BCC IT Solutions is a trading name of European Computer Units Limited,
Registered in Cardiff, Company Registration No. 2651835
Registered Office: Unit B Station Road, Newcastle Emlyn, Carmarthenshire,
Wales, SA38 9BX

list Andrew Clarke · Wed, 25 Jun 2008 15:51:15 +0100 ·
Thanks.

Unfortunately the response I see doing a telnet to the Exchange servers on port 25 is either:

"220 ****************************************************************************
**********************************************************"

Or 

"220 xxxxxxxx.yyyyy.local Microsoft ESMTP MAIL Service, Version: 6.0.3790.39
59 ready at  Wed, 25 Jun 2008 15:50:17 +0100"

- both of which start with "220"
quoted from Josh Luthman

Andrew Clarke
Support and Technical Development Officer
BCC IT Solutions
DDI: 0871 288 2036
Tel: +XX (X)XXXX XXXXXX
http://www.bccit.co.uk/
Providers of business to business IT Solutions & Services
Back-up - Anti Virus - Security - Servers - Wireless Networks - VPN - Remote Monitoring - Project Consultation Hardware Provision Servers & Workstations - Disaster Recovery - Proactive Diagnostics - System Migration - Fibre CAT5e Server Administration - Forensics - Grant Appraisal - Network Management - System Appraisals - Support Contracts ...
For full e-mail terms & conditions of use, please follow the link to the bcc web site http://www.bccitsolutions.co.uk/index.php?option=com_content&amp;task=view&amp;id=24&amp;Itemid=1
BCC IT Solutions is a trading name of European Computer Units Limited, Registered in Cardiff, Company Registration No. 2651835
Registered Office: Unit B Station Road, Newcastle Emlyn, Carmarthenshire, Wales, SA38 9BX

From: Josh Luthman [mailto:user-4c45a83f15cb@xymon.invalid] 
Sent: 25 June 2008 15:26
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Service smtp on xxxxxx is not OK : Unexpected service response

I believe the 220 has to be in the beginning like the rest of the MTAs in the world.  Try putting...

[smtp]
  expect "Exchange 220"
  options banner
  port 25

Josh Luthman
list Rob MacGregor · Wed, 25 Jun 2008 17:16:20 +0100 ·
quoted from Andrew Clarke
On Wed, Jun 25, 2008 at 15:51, Andrew Clarke <user-c3ec4335628a@xymon.invalid> wrote:
Thanks.

Unfortunately the response I see doing a telnet to the Exchange servers on port 25 is either:

"220 ****************************************************************************
**********************************************************"
You wouldn't happen to have a Cisco PIX/ASA between the hobbit host
and the mail server, with it configured to do "fixup"?  Those are
known for breaking things ;)

-- 
 Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
 doesn't become a monster. Friedrich Nietzsche
list Andrew Clarke · Wed, 25 Jun 2008 17:31:58 +0100 ·
As it happens, there are PIXs between the hobbit server & all the
Exchange servers. However, they've all been there for ages (years in
some cases). 

I'll have a chat with our resident Cisco guru & see if he made any
changes at our end around 6th June, when things stopped working.
quoted from Andrew Clarke


Andrew Clarke
Support and Technical Development Officer
BCC IT Solutions
DDI: 0871 288 2036
Tel: +XX (X)XXXX XXXXXX
http://www.bccit.co.uk/
Providers of business to business IT Solutions & Services
Back-up - Anti Virus - Security - Servers - Wireless Networks - VPN - Remote Monitoring - Project Consultation Hardware Provision Servers & Workstations - Disaster Recovery - Proactive Diagnostics - System Migration - Fibre CAT5e Server Administration - Forensics - Grant Appraisal - Network Management - System Appraisals - Support Contracts ...
For full e-mail terms & conditions of use, please follow the link to the bcc web site http://www.bccitsolutions.co.uk/index.php?option=com_content&amp;task=view&amp;id=24&amp;Itemid=1
BCC IT Solutions is a trading name of European Computer Units Limited, Registered in Cardiff, Company Registration No. 2651835
Registered Office: Unit B Station Road, Newcastle Emlyn, Carmarthenshire, Wales, SA38 9BX
-----Original Message-----

From: Rob MacGregor [mailto:user-07c9d92ae079@xymon.invalid] 
quoted from Rob MacGregor

You wouldn't happen to have a Cisco PIX/ASA between the hobbit host and
the mail server, with it configured to do "fixup"?  Those are known for
breaking things ;)

Rob MacGregor
list Geoff Hallford · Wed, 25 Jun 2008 12:52:52 -0400 ·
I have also seen this happen when the response is slow from the mail server
to show the 220 message. It does show it but is slow for some reason. I
create a new service called smtp-slow by adding the following and then
configure the bb-hosts entry with 'smtp-slow' instead of smtp. Just a
thought.

This way it doesn't require a 220 response but if it gets a valid
"connection" it is okay. If it can't open a connection, it goes red. It does
limit the amount of app validation but it is the only thing that worked in
my case.

[smtp-slow]
   send "mail\r\nquit\r\n"
   options banner
   port 25
quoted from Andrew Clarke

On Wed, Jun 25, 2008 at 12:31 PM, Andrew Clarke <user-c3ec4335628a@xymon.invalid> wrote:
As it happens, there are PIXs between the hobbit server & all the
Exchange servers. However, they've all been there for ages (years in
some cases).

I'll have a chat with our resident Cisco guru & see if he made any
changes at our end around 6th June, when things stopped working.


Andrew Clarke
Support and Technical Development Officer
BCC IT Solutions
DDI: 0871 288 2036
Tel: +XX (X)XXXX XXXXXX
http://www.bccit.co.uk/
Providers of business to business IT Solutions & Services
Back-up - Anti Virus - Security - Servers - Wireless Networks - VPN -
Remote Monitoring - Project Consultation Hardware Provision Servers &
Workstations - Disaster Recovery - Proactive Diagnostics - System Migration
- Fibre CAT5e Server Administration - Forensics - Grant Appraisal - Network
Management - System Appraisals - Support Contracts ...
For full e-mail terms & conditions of use, please follow the link to the
bcc web site
http://www.bccitsolutions.co.uk/index.php?option=com_content&amp;task=view&amp;id=24&amp;Itemid=1
BCC IT Solutions is a trading name of European Computer Units Limited,
Registered in Cardiff, Company Registration No. 2651835
Registered Office: Unit B Station Road, Newcastle Emlyn, Carmarthenshire,
Wales, SA38 9BX
-----Original Message-----

From: Rob MacGregor [mailto:user-07c9d92ae079@xymon.invalid]

You wouldn't happen to have a Cisco PIX/ASA between the hobbit host and
the mail server, with it configured to do "fixup"?  Those are known for
breaking things ;)

 Rob MacGregor

-- 

'If my answers frighten you then you should cease asking scary questions.'
--Sam Jackson
list Bruce White · Wed, 25 Jun 2008 17:06:29 -0500 ·
We had a similar problem with our exchange server until I changed the
bb-services file to be:
 
[smtp]
   send "helo\r\nquit\r\n"
   expect "220"
   options banner
   port 25
 
Now the exchange response to smtp is much more stable, but my linux sendmail
servers complain more often.   I guess I need to make a smtpex with the
above and restore the original smtp definition, which seemed to work better
with Linux.   Why can't MS just do things to standards?
 
       ......Bruce
quoted from Geoff Hallford
 
 
From: Geoff Hallford [mailto:user-dc9e7f30b1e2@xymon.invalid] 
Sent: Wednesday, June 25, 2008 11:53 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Service smtp on xxxxxx is not OK : Unexpected service
response
 
I have also seen this happen when the response is slow from the mail server
to show the 220 message. It does show it but is slow for some reason. I
create a new service called smtp-slow by adding the following and then
configure the bb-hosts entry with 'smtp-slow' instead of smtp. Just a
thought.
 
This way it doesn't require a 220 response but if it gets a valid
"connection" it is okay. If it can't open a connection, it goes red. It does
limit the amount of app validation but it is the only thing that worked in
my case.
 
[smtp-slow]
   send "mail\r\nquit\r\n"
   options banner
   port 25
On Wed, Jun 25, 2008 at 12:31 PM, Andrew Clarke <user-c3ec4335628a@xymon.invalid
<mailto:user-c3ec4335628a@xymon.invalid> > wrote:
As it happens, there are PIXs between the hobbit server & all the
Exchange servers. However, they've all been there for ages (years in
some cases).

I'll have a chat with our resident Cisco guru & see if he made any
changes at our end around 6th June, when things stopped working.


Andrew Clarke
Support and Technical Development Officer
BCC IT Solutions
DDI: 0871 288 2036
Tel: +XX (X)XXXX XXXXXX
http://www.bccit.co.uk/ <http://www.bccit.co.uk/>; 
Providers of business to business IT Solutions & Services
Back-up - Anti Virus - Security - Servers - Wireless Networks - VPN - Remote
Monitoring - Project Consultation Hardware Provision Servers & Workstations
- Disaster Recovery - Proactive Diagnostics - System Migration - Fibre CAT5e
Server Administration - Forensics - Grant Appraisal - Network Management -
System Appraisals - Support Contracts ...
For full e-mail terms & conditions of use, please follow the link to the bcc

web site http://www.bccitsolutions.co.uk/index.php?option=com_content
<http://www.bccitsolutions.co.uk/index.php?option=com_content&amp;task=view&;
amp;id=24&amp;Itemid=1> &amp;task=view&amp;id=24&amp;Itemid=1
quoted from Geoff Hallford
BCC IT Solutions is a trading name of European Computer Units Limited,
Registered in Cardiff, Company Registration No. 2651835
Registered Office: Unit B Station Road, Newcastle Emlyn, Carmarthenshire,
Wales, SA38 9BX
-----Original Message-----

From: Rob MacGregor [mailto:user-07c9d92ae079@xymon.invalid
<mailto:user-07c9d92ae079@xymon.invalid> ]

You wouldn't happen to have a Cisco PIX/ASA between the hobbit host and
the mail server, with it configured to do "fixup"?  Those are known for
breaking things ;)
Rob MacGregor


-- 
'If my answers frighten you then you should cease asking scary questions.'
--Sam Jackson 


Note: The information contained in this message may be privileged and
confidential and protected from disclosure. If the reader of this message is
not the intended recipient, or an employee or agent responsible for
delivering this message to the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is
strictly prohibited. If you have received this communication in error,
please notify us immediately by replying to the message and deleting it from
your computer. Thank you. Fellowes, Inc.
list T.J. Yang · Wed, 25 Jun 2008 20:36:22 -0500 ·
It is not just MS's smtp server, older sendmail versions will also trigger false alerts also.
I got a Solaris 2.6 running very old version of sendmail and keep triggering false alerts.
In the end, I gave up on monitoring that particular sendmail server. 

tj
quoted from Bruce White


From: White, Bruce 
Sent: Wednesday, June 25, 2008 5:06 PM
To: 'user-ae9b8668bcde@xymon.invalid' 
Subject: RE: [hobbit] Service SMTP on xxxxxx is not OK : Unexpected service response


We had a similar problem with our exchange server until I changed the bb-services file to be:

 
[smtp]

   send "helo\r\nquit\r\n"

   expect "220"

   options banner

   port 25

 
Now the exchange response to smtp is much more stable, but my linux sendmail servers complain more often.   I guess I need to make a smtpex with the above and restore the original smtp definition, which seemed to work better with Linux.   Why can't MS just do things to standards?

 
       ..Bruce

 
From: Geoff Hallford [mailto:user-dc9e7f30b1e2@xymon.invalid] 
Sent: Wednesday, June 25, 2008 11:53 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Service smtp on xxxxxx is not OK : Unexpected service response

 
I have also seen this happen when the response is slow from the mail server to show the 220 message. It does show it but is slow for some reason. I create a new service called smtp-slow by adding the following and then configure the bb-hosts entry with 'smtp-slow' instead of smtp. Just a thought.

 
This way it doesn't require a 220 response but if it gets a valid "connection" it is okay. If it can't open a connection, it goes red. It does limit the amount of app validation but it is the only thing that worked in my case.

 
[smtp-slow]
   send "mail\r\nquit\r\n"
   options banner
   port 25

On Wed, Jun 25, 2008 at 12:31 PM, Andrew Clarke <user-c3ec4335628a@xymon.invalid> wrote:

As it happens, there are PIXs between the hobbit server & all the
Exchange servers. However, they've all been there for ages (years in
some cases).

I'll have a chat with our resident Cisco guru & see if he made any
changes at our end around 6th June, when things stopped working.


Andrew Clarke
Support and Technical Development Officer
BCC IT Solutions
DDI: 0871 288 2036
Tel: +XX (X)XXXX XXXXXX
http://www.bccit.co.uk/
Providers of business to business IT Solutions & Services
Back-up - Anti Virus - Security - Servers - Wireless Networks - VPN - Remote Monitoring - Project Consultation Hardware Provision Servers & Workstations - Disaster Recovery - Proactive Diagnostics - System Migration - Fibre CAT5e Server Administration - Forensics - Grant Appraisal - Network Management - System Appraisals - Support Contracts ...
For full e-mail terms & conditions of use, please follow the link to the bcc web site http://www.bccitsolutions.co.uk/index.php?option=com_content&amp;task=view&amp;id=24&amp;Itemid=1
BCC IT Solutions is a trading name of European Computer Units Limited, Registered in Cardiff, Company Registration No. 2651835
Registered Office: Unit B Station Road, Newcastle Emlyn, Carmarthenshire, Wales, SA38 9BX

-----Original Message-----

From: Rob MacGregor [mailto:user-07c9d92ae079@xymon.invalid]

You wouldn't happen to have a Cisco PIX/ASA between the hobbit host and
the mail server, with it configured to do "fixup"?  Those are known for
breaking things ;)

Rob MacGregor


-- 
'If my answers frighten you then you should cease asking scary questions.' --Sam Jackson 


Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer. Thank you. Fellowes, Inc.

list Vernon Everett · Thu, 26 Jun 2008 10:50:55 +0800 ·
Hi all
 Wondering if anybody has done this before, before I try and do it
myself.
 Under bbtest on the hobbit server, there are a number of stats,
including number of hosts. (Hosts total)
 has anybody managed to graph this information?
Ideally, I would like to graph the Hosts total, # hostnames resolved and
# TCP tests total, but I will be happy with Hosts total.
 Before any of you shake your head and wonder why, management have asked
for it :-)
 Cheers
     Vernon
 
NOTICE: This email and any attachments are confidential. They may contain legally privileged information or copyright material. You must not read, copy, use or disclose them without authorisation. If you are not an intended recipient, please contact us at once by return email and then delete both messages and all attachments.
list Stef Coene · Thu, 26 Jun 2008 08:41:45 +0200 ·
quoted from Vernon Everett
On Thursday 26 June 2008, Everett, Vernon wrote:
Hi all

Wondering if anybody has done this before, before I try and do it
myself.

Under bbtest on the hobbit server, there are a number of stats,
including number of hosts. (Hosts total)

has anybody managed to graph this information?
Ideally, I would like to graph the Hosts total, # hostnames resolved and
# TCP tests total, but I will be happy with Hosts total.

Before any of you shake your head and wonder why, management have asked
for it :-)
You can take a look at the rrd's to find out what info is collected:
rrdtool info hobbitd.rrd | grep type

As far as I can see, no info about number of hosts, hostname resolved, tcp 
tests, ...


Stef
list T.J. Yang · Thu, 26 Jun 2008 06:34:35 -0500 ·
quoted from Stef Coene

From: "Stef Coene" <user-dbffe946c0f4@xymon.invalid>
Sent: Thursday, June 26, 2008 1:41 AM
To: <user-ae9b8668bcde@xymon.invalid>
Subject: Re: [hobbit] Graphing number of hosts
On Thursday 26 June 2008, Everett, Vernon wrote:
Hi all

Wondering if anybody has done this before, before I try and do it
myself.

Under bbtest on the hobbit server, there are a number of stats,
including number of hosts. (Hosts total)

has anybody managed to graph this information?
Ideally, I would like to graph the Hosts total, # hostnames resolved and
# TCP tests total, but I will be happy with Hosts total.

Before any of you shake your head and wonder why, management have asked
for it :-)
You can take a look at the rrd's to find out what info is collected:
rrdtool info hobbitd.rrd | grep type

As far as I can see, no info about number of hosts, hostname resolved, tcp
tests, ...
I am interested to see following statistics sections to be in trending 
graph.

http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOST=voodoo.hswn.dk&SERVICE=bbtest

"TIME TOTAL" entries is graphed.

http://www.hswn.dk/hobbit-cgi/bb-hostsvc.sh?HOST=voodoo.hswn.dk&SERVICE=bbgen

"TIME TOTAL" entries is graphed.

But This is not an external module job. It require change of hobbit C code. 
Searching "TIME TOTAL"
in the source tree should be able to locate which C function need to be 
updated.

The real question is why Henrik only graph "TIME TOTAL" ?

tj
Stef

list Andrew Clarke · Thu, 26 Jun 2008 17:03:22 +0100 ·
Well,

I've (sort of) fixed it - just removed the send & expect lines ...

[smtp]
   options banner
   port 25 

It gives me a nice line of Green icons, but no banner information (not
that I was getting that anyway, since the Yellow problem surfaced).

As I'm going to be installing 4.2 on a new server soon, I'll just live
with that & hope it goes away on the new version.
quoted from T.J. Yang

Andrew

Andrew Clarke
Support and Technical Development Officer
BCC IT Solutions
DDI: 0871 288 2036
Tel: +XX (X)XXXX XXXXXX
http://www.bccit.co.uk/
Providers of business to business IT Solutions & Services
Back-up - Anti Virus - Security - Servers - Wireless Networks - VPN - Remote Monitoring - Project Consultation Hardware Provision Servers & Workstations - Disaster Recovery - Proactive Diagnostics - System Migration - Fibre CAT5e Server Administration - Forensics - Grant Appraisal - Network Management - System Appraisals - Support Contracts ...
For full e-mail terms & conditions of use, please follow the link to the bcc web site http://www.bccitsolutions.co.uk/index.php?option=com_content&amp;task=view&amp;id=24&amp;Itemid=1
BCC IT Solutions is a trading name of European Computer Units Limited, Registered in Cardiff, Company Registration No. 2651835
Registered Office: Unit B Station Road, Newcastle Emlyn, Carmarthenshire, Wales, SA38 9BX
list Andreas Kunberger · Fri, 27 Jun 2008 08:13:31 +0200 ·
Am Donnerstag, 26. Juni 2008 18:03 schrieb Andrew Clarke:
quoted from Andrew Clarke
Well,

I've (sort of) fixed it - just removed the send & expect lines ...

[smtp]
   options banner
   port 25
I 've also had this problem. 
In my case, it arises when the mailserver is to busy ( defeating spam ).
I allowed the mail server to start more processes and the problem was gone.

Try to telnet to port 25 of your mail server. If you wait (nearly) for every 
to see the banner, this is the cause for yellow!

The other cause may be, that the server doesnt like to b hit by an HELO/QUIT 
before he has sent his banner, as many spammers act like this,

mfg
Andreas Kunberger

-- 
Denkendorf
list Craig Cook · Wed, 22 Oct 2008 09:28:49 -0400 ·
I have a smtp server that "randomly" shows this error.  Is it possible to capture what the actual response was?

Eg.

Service SMTP on xxxxxx is not OK : Unexpected service response
Response received was:" blah blah"


Craig
list T.J. Yang · Wed, 22 Oct 2008 08:53:11 -0500 ·
Hi, Craig

I  enountered problem like this.
My finding is that the older version sendmail on Solaris 2.6 will trigger this issue.
My other recent sendmail servers on Solaris or RH Linux are able to do the proper handshaking with hobbit's smtp polling.

foo-root# uname -r
5.6
foo-root#  /usr/lib/sendmail -bt -d0
Version 8.8.8p2+Sun


My solution, wait for it to be retired ;)

T.J. Yang
quoted from Craig Cook
From: user-bd346ac7bd4a@xymon.invalid
To: user-ae9b8668bcde@xymon.invalid
Date: Wed, 22 Oct 2008 09:28:49 -0400
Subject: [hobbit] Service SMTP on xxxxxx is not OK : Unexpected service response


I have a smtp server that “randomly” shows this error.  Is it possible to capture what the actual response was?


Eg.


Service SMTP on xxxxxx is not OK : Unexpected service response

Response received was:” blah blah”


Craig
Want to read Hotmail messages in Outlook? The Wordsmiths show you how.
http://windowslive.com/connect/post/wedowindowslive.spaces.live.com-Blog-cns!20EE04FBC541789!167.entry?ocid=TXT_TAGLM_WL_hotmail_092008