This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running migrations: | |
Applying notifications.0025_auto_20170707_1956...Traceback (most recent call last): | |
File "manage.py", line 10, in <module> | |
execute_from_command_line(sys.argv) | |
File "C:\Users\User\neo-server\lib\site-packages\django\core\management\__init__.py", line 367, in execute_from_command_line | |
utility.execute() | |
File "C:\Users\User\neo-server\lib\site-packages\django\core\management\__init__.py", line 359, in execute | |
self.fetch_command(subcommand).run_from_argv(self.argv) | |
File "C:\Users\User\neo-server\lib\site-packages\django\core\management\base.py", line 294, in run_from_argv | |
self.execute(*args, **cmd_options) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import sys | |
from puresnmp import get, exc | |
from companies import get_companies # companies.py es un archivo de paleo-assets que se encuentra aca http://mercurial.invgate.com/Assets/Assets-Main/files/9fa39faf5653fc5457741f2cb05461dd6bf7816f/NetworkDiscovery/python/companies.py | |
import logging | |
OIDS_SCAN = { | |
"macs_mib": "1.3.6.1.2.1.2.2.1.6.2", # pOid_ifPhysAddress" | |
"iface_descr": "1.3.6.1.2.1.2.2.1.2", | |
"iface_type": "1.3.6.1.2.1.2.2.1.3", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function puntos(columns){ | |
var suma=0; | |
for (var i in columns) { | |
points = parseInt($("[tooltip='"+columns[i]+"'").parent().find(".column-card-size-total").html()); | |
if(!isNaN(points)){ | |
suma+=points | |
} | |
} | |
return suma; | |
} |