Changed the log output
This commit is contained in:
parent
0cacac09fa
commit
d300e734b3
|
@ -13,7 +13,7 @@ var IpPoll = function(switchaddr, hostsaddr) {
|
||||||
var nmap = "nmap -n -sP ";
|
var nmap = "nmap -n -sP ";
|
||||||
|
|
||||||
redisClient.on("connect", function () {
|
redisClient.on("connect", function () {
|
||||||
console.log("connected to redis");
|
console.log("IP-Poll: connected to redis");
|
||||||
self.emit('ready');
|
self.emit('ready');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -21,7 +21,7 @@ var SnmpMac = function(hostname, community) {
|
||||||
//redisClient.set(redisprefix + "00:80:a3:91:39:1c","ripe-atlas-probe");
|
//redisClient.set(redisprefix + "00:80:a3:91:39:1c","ripe-atlas-probe");
|
||||||
//redisClient.set(redisprefix + "d4:ca:6d:33:cf:79","routerboard");
|
//redisClient.set(redisprefix + "d4:ca:6d:33:cf:79","routerboard");
|
||||||
|
|
||||||
console.log("connected to redis");
|
console.log("SNMP-MAC: connected to redis");
|
||||||
self.emit('ready');
|
self.emit('ready');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue