Advertisement
Guest User

diff-exempel2

a guest
May 20th, 2016
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.21 KB | None | 0 0
  1. dennhedl@mcore1:~/.bin/dnoc$ ./pollerping mcore1
  2. mcore1 REACHABLE from MCORE1
  3. mcore1 REACHABLE from MCORE2
  4. mcore1 REACHABLE from NMS-POLLER-1
  5.  
  6. dennhedl@mcore2:~/.bin/dnoc$ ./pollerping mcore1
  7. No handlers could be found for logger "paramiko.transport"
  8. Exception in thread Thread-1:
  9. Traceback (most recent call last):
  10.   File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner
  11.     self.run()
  12.   File "/home/staff/dennhedl/.bin/dnoc/modules/ping.py", line 29, in run
  13.     **self._Thread__kwargs)
  14.   File "/home/staff/dennhedl/.bin/dnoc/modules/ping.py", line 37, in ping_task
  15.     ssh.connect(client, username=Uname, password=Pword)
  16.   File "/usr/lib/python2.7/dist-packages/paramiko/client.py", line 315, in connect
  17.     t.start_client()
  18.   File "/usr/lib/python2.7/dist-packages/paramiko/transport.py", line 465, in start_client
  19.     raise e
  20. SSHException: Incompatible ssh peer (no acceptable kex algorithm)
  21.  
  22. Traceback (most recent call last):
  23.   File "./pollerping", line 11, in <module>
  24.     response = ping.pollerping(hostname)
  25.   File "/home/staff/dennhedl/.bin/dnoc/modules/ping.py", line 58, in pollerping
  26.     if "0 received" in result1: result1=0
  27. TypeError: argument of type 'NoneType' is not iterable
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement