Results 1 to 9 of 9

Thread: Remote PING from CISCO router

  1. #1

    Remote PING from CISCO router

    Hy,

    someone had already try a remote ping from a cisco router ? Like cacti can do ?

    I'm seeing nothin in shinken documentation.

    thanks

    pierrick


  2. #2
    Administrator
    Join Date
    Dec 2011
    Posts
    278

    Re: Remote PING from CISCO router

    What do you mean by a remote ping from a Cisco router:

    1 Do you mean a ping from the supervision server to a Cisco router = check_ping
    2 Do you mean recuperate via SNMP an SAA probe of type ICMP ping that is issue from the cisco router to something else?
    3 Do you mean something else altogether...

    1 is already supported.
    2 might be supporter by an existing check plugin??
    2 is already supported by the new Shinken SnmpBooster module. So when the module becomes available you can use that.
    3 well, we can tell you when we know more. ;-)

    Cheers,

    xkilian

  3. #3

    Re: Remote PING from CISCO router

    Hy, sorry if my question wasn't very plain.

    Yes by remote ping i mean a PING send from a ciscot router to another cisco router. I find nothing about a Nagios/Shinken pluging doing that unfortunately...

    SNMPBooster ? Have you somes informations about that ? On shinkens wiki perhaps ?

    thanks

    pierrick

  4. #4

    Re: Remote PING from CISCO router

    If cacti can do it, shinken can do it ;D
    First, enable remote ping via snmp on your cisco router by creating a read/write snmp community string:
    http://pic.dhe.ibm.com/infocenter/ti...ne_remote.html
    Then use a script for shinken that does the remote ping. This script for cacti does it:
    http://forums.cacti.net/about5107.html
    you just need to adapt it a bit so it produces nagios output.
    Also, a script that does telnet to the cisco router and then ping: http://exchange.nagios.org/directory...o_ping/details
    Or via ssh: http://exchange.nagios.org/directory...ng_ssh/details

  5. #5

    Re: Remote PING from CISCO router

    nice ! ;D

    i will try SSh / Telnet plugin ... unfortunately i'he no time to develop or modify perl script... but it will be a tidy solution !

  6. #6
    Administrator
    Join Date
    Dec 2011
    Posts
    278

    Re: Remote PING from CISCO router

    Well, the ssh plugin is for maximum flexibility but very low scalability.

    Cisco routers have a feature called Service Assurance Agent. SAA.
    Which do pings, ftp, dns requests, delay, jitter, packet loss trending. The results are then made available in the SNMP agent of the router.

    So from a Shinken point of view it is just an SNMP request using check_snmp.

    SnmpBooster is the new SNMP integrated polling module being developed for Shinken. It is not ready yet. A basic feature set should be available as a beta by the end of the week. We hope to have it in the development branch of Shinken when it is rock solid.

    xkilian

  7. #7
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: Remote PING from CISCO router

    One solution for SSH can be to bench the "permanent connexion" (it's the key exchange that eat so much CPU, not really the commands launch after). Gerhard post such a wrapper script for ssh on Consol.de blog. We can try to bench a SSH VS SSH_WRAPPER
    No direct support by personal message. Please open a thread so everyone can see the solution

  8. #8
    Shinken project leader
    Join Date
    May 2011
    Location
    Bordeaux (France)
    Posts
    2,131

    Re: Remote PING from CISCO router

    Just a quick bench for SSH, for looping over an "uptime" call 100 times :
    • [li]With permanent connexion : 6s[/li]
      [li]With a classic connexion : 13s[/li]


    So the gain is quite cool even I I was waiting for more
    No direct support by personal message. Please open a thread so everyone can see the solution

  9. #9

    Re: Remote PING from CISCO router

    good news !

    After somes research of Cisco SLAs technologies like Xkilian said, it appears like a good solution :
    voIp, jitter, udp echo, tcp ,ftp,http...



    .... with not a big CPU and mémory utilization (3%/6% for 1000 operations/minute :
    http://www.cisco.com/en/US/technolog...d8017bd5a.html


    Cisco IOS perform active monitoring and after i could get information by a check_SNMP

    mores information:

    http://21500.net/?p=92
    http://www.solarwinds.com/geek/geekg...sla_guide.aspx
    http://www.opennms.org/wiki/Cisco_IP_SLA_Support
    http://www.firstdigest.com/2008/12/c...p-sla-monitor/
    http://www.firstdigest.com/2009/02/c...tor-using-eem/
    http://www.solarwinds.com/products/f...p_sla_monitor/
    http://www.chainringcircus.org/sla-lab/

    old nagios plugins :
    https://www.monitoringexchange.org/i...SLA-monitoring
    http://exchange.nagios.org/directory..._ipsla/details


    pierrick


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •