Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@ubuntu:/opt/noc# ./noc debug-script DLink.DxS.interface-discovery 11
- 2015-03-24 18:41:51,581 Using JSON library: cjson
- 2015-03-24 18:41:51,588 SSH: Using gmpy
- 2015-03-24 18:41:51,743 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-03-24 18:41:51,836 Connecting to MongoDB {'username': 'noc', 'password': '********', 'db': 'noc'}
- 2015-03-24 18:41:51,845 Loading PeriodicRegistry
- 2015-03-24 18:41:51,856 Registering MetricType
- 2015-03-24 18:41:51,861 Loading compiled MIBs
- 2015-03-24 18:41:51,861 Loading compiled MIBs from 'cmibs'
- 2015-03-24 18:41:51,862 Loading MIB: RFC1213-MIB
- 2015-03-24 18:41:51,862 Loading MIB: SNMPv2-MIB
- 2015-03-24 18:41:51,862 Loading MIB: IP-MIB
- 2015-03-24 18:41:51,867 Loading MIB: IF-MIB
- 2015-03-24 18:41:51,868 Loading MIB: CISCO-PPPOE-MIB
- 2015-03-24 18:41:51,868 Loading MIB: CISCO-VPDN-MGMT-MIB
- 2015-03-24 18:41:51,874 Configuring metric mappings sa.managedobject -> object.{{object.name|qm}}.{{metric_type|qm}}
- 2015-03-24 18:41:51,874 Configuring metric mappings inv.interface -> object.{{object.managed_object.name|qm}}.interface.{{object.name|qm}}.{{metric_type|qm}}
- 2015-03-24 18:41:51,876 Loading DownloaderRegistry
- 2015-03-24 18:41:51,896 Loading ProfileRegistry
- 2015-03-24 18:41:52,394 Loading ScriptRegistry
- 2015-03-24 18:41:52,487 Adding FTS index for sa.managedobject
- 2015-03-24 18:41:52,499 Registering ConnectionType
- 2015-03-24 18:41:52,503 Registering ObjectModel
- 2015-03-24 18:41:52,505 Registering Capability
- 2015-03-24 18:41:52,510 Adding FTS index for vc.vc
- 2015-03-24 18:41:52,533 Adding FTS index for ip.vrf
- 2015-03-24 18:41:52,535 Adding FTS index for ip.prefix
- 2015-03-24 18:41:52,537 Adding FTS index for ip.address
- 2015-03-24 18:41:52,721 Setting up 'select' polling method
- 2015-03-24 18:41:52,722 Activating 'select' poller
- 2015-03-24 18:41:52,722 Loading private ssh key from 'etc/ssh/id_rsa'
- 2015-03-24 18:41:52,722 Loading public ssh key from 'etc/ssh/id_rsa.pub'
- access_profile {
- profile: "DLink.DxS"
- scheme: TELNET
- address: "10.17.0.6"
- port: 23
- user: ""
- password: ""
- path: "10.17.0.6"
- attrs {
- key: "Boot PROM"
- value: "1.10-B09"
- }
- attrs {
- key: "HW version"
- value: "A1"
- }
- attrs {
- key: "platform"
- value: "DGS-3627G"
- }
- attrs {
- key: "Serial Number"
- value: "P1JN1A7000298"
- }
- attrs {
- key: "vendor"
- value: "DLink"
- }
- attrs {
- key: "version"
- value: "3.00.B33"
- }
- caps {
- capability: "SNMP"
- bool_value: true
- }
- caps {
- capability: "SNMP | Bulk"
- bool_value: true
- }
- caps {
- capability: "SNMP | IF-MIB"
- bool_value: true
- }
- caps {
- capability: "SNMP | IF-MIB | HC"
- bool_value: true
- }
- }
- object_name: "11"
- script: "DLink.DxS.interface-discovery"
- timeout: 120
- 2015-03-24 18:41:52,724 Running socket factory (SelectPoller)
- 2015-03-24 18:41:52,724 Running script thread
- 2015-03-24 18:41:52,725 Creating transaction id=959010979 method=None callback=None
- 2015-03-24 18:41:52,725 Error: Invalid script 'DLink.DxS.interface-discovery'
- 2015-03-24 18:41:53,726 Tick
- 2015-03-24 18:41:53,726 3 TICKS TO EXIT
- 2015-03-24 18:41:54,727 Tick
- 2015-03-24 18:41:54,727 2 TICKS TO EXIT
- 2015-03-24 18:41:55,728 Tick
- 2015-03-24 18:41:55,728 1 TICKS TO EXIT
- 2015-03-24 18:41:56,729 Tick
- 2015-03-24 18:41:56,729 EXIT
- 2015-03-24 18:41:56,730 Shutting down the factory
- 2015-03-24 18:41:56,730 Metrics:
- noc.socketfactory.handle.closed_reads: 0
- noc.socketfactory.handle.reads: 0
- noc.socketfactory.handle.writes: 0
- noc.socketfactory.loops: 4
- noc.socketfactory.sockets.count: 0
- noc.socketfactory.sockets.register: 0
- noc.socketfactory.sockets.unregister: 0
- noc.socketfactory.ticks: 4
- 2015-03-24 18:41:56,730 0 TICKS TO EXIT
- 2015-03-24 18:41:56,730 Stopping socket factory
Advertisement
Add Comment
Please, Sign In to add comment