Skip to content

Instantly share code, notes, and snippets.

@PetteriVaarala
Created December 4, 2012 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save PetteriVaarala/4202402 to your computer and use it in GitHub Desktop.
Save PetteriVaarala/4202402 to your computer and use it in GitHub Desktop.
Uptime / MongoDB problem
Tue Dec 4 12:05:43 [initandlisten] connection accepted from 127.0.0.1:45369 #51 (1 connection now open)
Tue Dec 4 12:05:43 [initandlisten] connection accepted from 127.0.0.1:45371 #52 (2 connections now open)
Tue Dec 4 12:05:43 [initandlisten] connection accepted from 127.0.0.1:45372 #53 (3 connections now open)
Tue Dec 4 12:05:43 [initandlisten] connection accepted from 127.0.0.1:45373 #54 (4 connections now open)
Tue Dec 4 12:05:43 [initandlisten] connection accepted from 127.0.0.1:45374 #55 (5 connections now open)
Tue Dec 4 12:05:43 [conn55] authenticate db: uptime { authenticate: 1, user: "pvaarala", nonce: "b424606c32382c5e", key: "270a70f461f44d058aa8c98db7320d4f" }
Tue Dec 4 12:05:43 [conn54] authenticate db: uptime { authenticate: 1, user: "pvaarala", nonce: "d81d75ce7a918890", key: "8d3900d00414592b911d07817a54433b" }
Tue Dec 4 12:05:43 [conn53] authenticate db: uptime { authenticate: 1, user: "pvaarala", nonce: "7e0c3ef44389e73a", key: "cb140b9953bba755d41794e17f7a5572" }
Tue Dec 4 12:05:43 [conn52] authenticate db: uptime { authenticate: 1, user: "pvaarala", nonce: "8cea993a0f5a297d", key: "f27193e23ed86f3ac67b71b5dea842da" }
Tue Dec 4 12:05:43 [conn51] authenticate db: uptime { authenticate: 1, user: "pvaarala", nonce: "28a254760ee2ca7b", key: "4a51ff98b568aa3f189834fbd2162142" }
Tue Dec 4 12:05:43 [conn51] end connection 127.0.0.1:45369 (4 connections now open)
Tue Dec 4 12:05:43 [conn52] end connection 127.0.0.1:45371 (4 connections now open)
Tue Dec 4 12:05:43 [conn53] end connection 127.0.0.1:45372 (2 connections now open)
Tue Dec 4 12:05:43 [conn54] end connection 127.0.0.1:45373 (1 connection now open)
Tue Dec 4 12:05:43 [conn55] end connection 127.0.0.1:45374 (0 connections now open)
[pvaarala@server fzaninotto-uptime]$ node app.js
Monitor origin started
info - socket.io started
Express server listening on port 8082 in development mode
Mongoose: pings.ensureIndex({ timestamp: -1 }) { safe: true, background: true }
Mongoose: pings.ensureIndex({ check: 1 }) { safe: true, background: true }
Mongoose: checkevents.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true }
Mongoose: checkhourlystats.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true, unique: true }
Mongoose: checkdailystats.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true, unique: true }
Mongoose: checkmonthlystats.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true, unique: true }
Mongoose: checkyearlystats.ensureIndex({ timestamp: -1, check: 1 }) { safe: true, background: true, unique: true }
Mongoose: taghourlystats.ensureIndex({ timestamp: -1, name: 1 }) { safe: true, background: true, unique: true }
Mongoose: tagdailystats.ensureIndex({ timestamp: -1, name: 1 }) { safe: true, background: true, unique: true }
Mongoose: tagmonthlystats.ensureIndex({ timestamp: -1, name: 1 }) { safe: true, background: true, unique: true }
Mongoose: tagyearlystats.ensureIndex({ timestamp: -1, name: 1 }) { safe: true, background: true, unique: true }
Mongoose: tags.ensureIndex({ name: 1 }) { safe: true, background: true, unique: true }
Mongoose: checks.find({ '$where': 'function () {\n if (this.isPaused) return false;\n if (!this.firstTested) return true;\n var delay = (this.lastTested.getTime() - this.firstTested.getTime()) % this.interval;\n return (Date.now() - this.lastTested.getTime() + delay) >= (this.interval || 60000);\n}' }) { fields: { qos: 0 }, safe: true }
Error: Uptime requires MongoDB v2.1 minimum. The current MongoDB server uses only undefined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment