Ignacio Sanchez

Results 8 comments of Ignacio Sanchez

Thanks for your response Loren. Yes, I've already read the example, that works very good, but now I need to know how can count the http requests that my node...

Great. I have the following: var inspectOptions = { hostName: 'localhost', probeClass: 'Inspect', initParams: { key:global.http_requests, pollInterval: 10000 } } var inspectMonitor = new Monitor(inspectOptions); inspectMonitor.on('change', function() { var xxx...

You're right Loren, when I put the quotes around the key, I get undefined. Is that because the hostName is localhost?

Now I'm trying to run your Monitoring example from another machine into the LAN, but Isn't work. I added node-config to my app and my script. var options = {...

Great! I have seen the freemem from another machine using your example. But now I wish I could see a global variable in my app. --config/default.json { "Monitor": { "appName":...

Yes, the value changes. When I evaluate if isModel I get false console.log(inspectMonitor.get('isModel')); Should I get true?

{ hostName: '10.10.10.212', appName: 'YourAppServerName', probeClass: 'Inspect', initParams: { key: undefined, pollInterval: 10000 }, id: '', name: '', probeName: '', appInstance: '', probeId: '3cef7531-1d1b-8137-ad1c-edcba1a7fa5d', writableAttributes: [ 'value' ], pollInterval: 10000,...

Can you show me a little example how I should define my variable to see its value using Inspect? Thank you in advance :)