Netapp Cluster Mode Monitoring using Nagios Nagios-Cdot-Netapp Plugin

', enableHover: false, enableTracking: true, buttons: { twitter: {via: 'aravikumar48'}}, click: function(api, options){ api.simulateClick(); api.openPopup('twitter'); } }); $('#facebook').sharrre({ share: { facebook: true }, template: '
', enableHover: false, enableTracking: true, buttons:{layout: 'box_count'}, click: function(api, options){ api.simulateClick(); api.openPopup('facebook'); } }); $('#pinterest').sharrre({ share: { pinterest: true }, template: '
', enableHover: false, enableTracking: true, buttons: { pinterest: { description: 'Netapp Cluster Mode Monitoring using Nagios Nagios-Cdot-Netapp Plugin',media: 'https://arkit.co.in/wp-content/uploads/2017/03/Nagios-Cdot-Netapp-Plugin.png' } }, click: function(api, options){ api.simulateClick(); api.openPopup('pinterest'); } }); $('#linkedin').sharrre({ share: { linkedin: true }, template: '
', enableHover: false, enableTracking: true, buttons: { linkedin: { description: 'Netapp Cluster Mode Monitoring using Nagios Nagios-Cdot-Netapp Plugin',media: 'https://arkit.co.in/wp-content/uploads/2017/03/Nagios-Cdot-Netapp-Plugin.png' } }, click: function(api, options){ api.simulateClick(); api.openPopup('linkedin'); } }); // Scrollable sharrre bar, contributed by Erik Frye. Awesome! var $_shareContainer = $(".sharrre-container"), $_header = $('#header'), $_postEntry = $('.entry'), $window = $(window), startSharePosition = $_shareContainer.offset(),//object contentBottom = $_postEntry.offset().top + $_postEntry.outerHeight(), topOfTemplate = $_header.offset().top, topSpacing = _setTopSpacing(); //triggered on scroll shareScroll = function(){ var scrollTop = $window.scrollTop() + topOfTemplate, stopLocation = contentBottom - ($_shareContainer.outerHeight() + topSpacing); $_shareContainer.css({position : 'fixed'}); if( scrollTop > stopLocation ){ $_shareContainer.css( { position:'relative' } ); $_shareContainer.offset( { top: contentBottom - $_shareContainer.outerHeight(), left: startSharePosition.left, } ); } else if (scrollTop >= $_postEntry.offset().top - topSpacing){ $_shareContainer.css( { position:'fixed',top: '100px' } ); $_shareContainer.offset( { //top: scrollTop + topSpacing, left: startSharePosition.left, } ); } else if (scrollTop 1024 ) { topSpacing = distanceFromTop + $('.nav-wrap').outerHeight(); } else { topSpacing = distanceFromTop; } return topSpacing; } //setup event listeners $window.on('scroll', _.throttle( function() { if ( $window.width() > 719 ) { shareScroll(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); $window.on('resize', _.debounce( function() { if ( $window.width() > 719 ) { shareMove(); } else { $_shareContainer.css({ top:'', left:'', position:'' }) } }, 50 ) ); });

ARK

My Name is ARK. Expert in grasping any new technology, Interested in Sharing the knowledge. Learn more & Earn MoreView all Posts

7 Responses

  1. Crousty says:

    Hi,
    I tried your tutorial in order to monitore cDOT NetApp, I have the following error when I try the command line :

    UNKNOWN: Failed to get the hostname corresponding to the server: xxxxxxxxxxxxxx. Please provide a fully qualified domain name of the server or use HTTP 1.0

    I tried the SVM ip address and hostname. Both ping from Nagios.
    Have you any idea ?
    Thanks

    • ARK says:

      Please post command output here.

      • Crousty says:

        Command : $USER1$/check_cdot_volume.pl -H $HOSTADDRESS$ -u $ARG1$ -p $ARG2$-w $ARG3$ -c $ARG4$ -V $ARG5$
        Command line : /usr/lib/nagios/plugins/check_cdot_volume.pl -H xx.xx.xx.xx -u ‘xxxxxx’ -p ‘xxxxxxx’ -w ’80’ -c ’90’ -V ‘public’
        Output : UNKNOWN: Failed to get the hostname corresponding to the server: xx.xx.xx.xx. Please provide a fully qualified domain name of the server or use HTTP 1.0

  2. ARK says:

    Hi Coursty,

    What your Typing on the command line and Command Setup is completely require change

    /usr/local/nagios/libexec/check_cdot_volume.pl –hostname $HOSTADDRESS$ –username UserName –password Password –size-warning 95 –size-critical 97 –inode-warning 95 –inode-critical 97 –volume $ARG1$ –perf

    • Crousty says:

      Hi,

      I have the same error ;(

      Command Line /usr/lib/nagios/plugins/check_cdot_volume.pl -hostname xx.xx.xx.xx –username admin –password xxxxxx –size-warning 95 –size-critical 97 –inode-warning 95 –inode-critical 97 –volume public –perf
      Output UNKNOWN: Failed to get the hostname corresponding to the server: xx.xx.xx.xx. Please provide a fully qualified domain name of the server or use HTTP 1.0
      Status UNKNOWN

      I really don’t understand. I have many problem to monitore the cDOT storage. I only want to monitore the volume usage. It worked before with 7-Mode but not CDot with SVM.

  3. cluez says:

    I solved this by adding the hostname of the filer to /etc/hosts – using IP as $HOSTADDRESS$

  4. cluez says:

    Seems like the comment didn’t thread properly.

    Try the solution above if you get “Please provide a fully qualified domain name of the server or use HTTP 1.0”

Leave a Reply

Your email address will not be published. Required fields are marked *

Exit mobile version