3.1.1

iMessage message to any iPhone as event

Now that the new IOS 5.0 is available, a real cheap way of notifying the admin is maybe using the iMessage framework. That would be perfect to have immediate splashes on the screen without any costs. I have no idea if Apple has this interface open to developers. But that would be great, right?!

Kernel panics

Hello,

Yesterday, my Mac Mini Server running SL 10.6.8 rebooted because of a Kernel Panic. The same thing happened 2 weeks ago. In both cases, the .panic says that "Simon" was the BSD process name corresponding to the current thread. I'm not really pointing a finger at Simon since lots of things can go trigger a Kernel Panic, but running Simon is the only major modification I made to this server during the last month, which has been running quite well for months. The failures occurred on a Saturday and on a Sunday, at different times, so Simon may have been the only "active" process at this time. This server is lightly loaded.

My checks use the following services : Ping, Web (HTTP), IMAP and DNS. I know that Ping performs its check through another process, so the culprit maybe one of the other ones.

So, has anyone seen this kind of behavior before ? I could post the .panic files but I'm not sure that this would be really useful.

Now for some background: I am running Simon 3.1.1 since the version 3.2 generates lots of spurious failures every 30 minutes (see my other post) and I'm using a single non-Apple Kexts : com.google.filesystems.fusefs.

I'll now try to run Simon 3.2, with a lighter load (checks every 5 minutes instead of every minute).

Best Regards,
Kooorrg

Simon and Time Capsule

Hi,

I just wondered how I would go about (if its possible) setting up Simon to alert me should something be wrong with my Time Capsule.

Thanks

Gav

Simon shows ALL SITES DOWN (they're not) and Stop Checking doesn't stop the checking.

Simon shows ALL SITES DOWN (they're not) and Stop Checking doesn't stop the checking. This started yesterday, after I upgraded to 3.1.1 (the day before - correlation, not necessarily causation) I've restarted the program, the computer, trashed the plist file, tried to use the setup wizard in 3.1.1 (that froze the system) and downgraded to 3.0.2. The setup wizard in 3.0.2 seems to be okay, but I guess since I use FF4, the setup assistant doesn't seem to work with its bookmarks.

It started with reporting one site failing erroneously, then a couple more, now all of them.

Also this morning when I checked, Simon was hung.

It seems if I go back and readd the sites, then it works. So that's a workaround, but readding 20, 30, 100 (not there yet) sites would be a mind bogglingly tough thing to do. And I only just added them. How long before they fail?

How come?

Oracle monitoring

Hello,

I am a new user of Simon.

I have been looking for a way to monitor that oracle servers are up and running, possibly avoiding the installation of the oracle client (thus, without tnsping).

As there does not seem to be anything for monitoring oracle databases in Simon's default tests, I have put together some pieces of code and wrote a short java class called TestDBOracle for the purpose.

Basically, using jdbc, it accepts the following parameters:

ServerName
OracleSid
ListenerPort (default 1521)
UserName
Password

and it connects to the oracle database to execute the test query:

SELECT 1 FROM DUAL;

Finally, it closes the connection.

Here is a sample output:

java TestDBOracle server SID 1521 user password
Fri Jun 17 15:34:14 WEST 2011 Before opening DB connection
Fri Jun 17 15:34:15 WEST 2011 DB connection opened
Fri Jun 17 15:34:15 WEST 2011 select 1 from dual executed

here is the source code:

import java.util.*;
import java.sql.*;

public class TestDBOracle {

  public static void main(String[] args)
      throws ClassNotFoundException, SQLException
  {
        if (args.length < 5)
        {
           System.out.println("Usage: java TestDBOracle ServerName OracleSID ListenerPort Username Password");
           System.exit(1);
        }
        Driver d = new oracle.jdbc.driver.OracleDriver();
        DriverManager.registerDriver(d);
        String url = "jdbc:oracle:thin:" + args[3] + "/" + args[4] + "@" + args[0] + ":" + args[2] + ":" + args[1];
        System.out.println(new java.util.Date() + " Before opening DB connection");
    Connection conn =
         DriverManager.getConnection(url,args[3],args[4]);
        System.out.println(new java.util.Date() + " DB connection opened");

    conn.setAutoCommit(false);
    Statement stmt = conn.createStatement();
    ResultSet rset =
         stmt.executeQuery("select 1 from dual");
    System.out.println(new java.util.Date() + " select 1 from dual executed");
    stmt.close();
    conn.close();
  }
}
/*
Arguments:
ServerName 0
OracleSid 1
ListenerPort (default 1521)
UserName 3
Password 4
*/

In order to compile the class, copy the above code in a file called "TestDBOracle.java" and issue, from the command line:

javac TestDBOracle.java

The compilation will produce the file: "TestDBOracle", which can be invoked as shown above.

I hope this can be useful to other users.

Cheers,

Sergio

Change being triggered at every check?

I have just changed a site over to WordPress, and every time the test on that site comes up, I get a change notification, but from what I can tell of the change difference result, it is only a change in the comments on the site. Which sometimes I might want to be aware if even those change. The change is certainly not one that we can detect a change when we look at the page through a browser.

Also, I have sites that are reporting that they've never been changed, despite the fact that they have been changed extensively. Both of these behaviours are really not what I want in my monitoring software. It would almost be preferable if it didn't claim to monitor for changes.

Also, it *seems* as if the monitoring is triggering Google Analytics code. And this may be a recent change. Or it may be another monitoring package I'm using.

Jigme Datse Rasku

LDAP Service

Is it possible to do a test for an LDAP service?

Cosmetic glitch in AutoPause dialog

I ran across a cosmetic glitch in the AutoPause dialog (see attached screenshot). To reproduce it, double-click the Hours field so that the hours digits become highlighted, then change them to two other digits, then hit the Tab key. At that point, the hours digits disappear.

It seems that the actual digits are still there, because if you continue to Tab through the fields, the digits do show up when highlighted, but when they're not highlighted, they're invisible.

Thanks,
John

Device Groups or Profiles

Hello,

Is there a way with Simon to only monitor a subset of hosts?

Let's say I need to monitor all my LAN switches only. As a workaround, I 'pause' every host but the LAN switches. However, I wish there was a way to 'hide' the paused devices.

Or another way would be have the ability to group devices in a profile and only activate that profile for monitoring.

Is this something part of some future roadmap?

Regards,

-steve w.

Icons in menu bar: can (could) one change these ?

Icon size: is there a way to get smaller or other shapes icons in the menu bar ?
Thanks

spelling

it would be great if, when I set 'check spelling as you type' to off, that caboodle remembered that upon the next startup

Syndicate content