Menu

Nagios Graph not displaying data for WindowsNT

Help
2014-01-05
2014-01-15
  • MattSpence156

    MattSpence156 - 2014-01-05

    Hi,

    I have been playing with Nagios Graph for a few days to see if it is worth adding onto our main nagios environment. I have managed to get it setup correctly and display most of the data for nagios checks on Linux servers but I am unable to get anything other than Ping Checks to work on the Windows Servers.

    We are using the default check_nt plugin to monitor the windows Servers RAM, CPU, Disks etc..

    The graph is displayed in nagiosgraph for the windows servers but I just get NaN listed for each of the graph values. I have tried adding the below into the map file:

    /perfdata:.*usage=([.0-9]+)Mb;([.0-9]+);([.0-9]+);([.0-9]+);([.0-9]+)/
    and push @s, [ 'ntmem',
    [ 'memused', GAUGE, $11024*2 ]
    ,
    [ 'memwarn', GAUGE, $21024*2 ],
    [ 'memcrit', GAUGE, $31024*2 ],
    [ 'memmmax', GAUGE, $51024*2 ] ];

    rrd files for the host and the checks are being created in the correct directory so I am guessing it is an issue with my map file?

    Has anyone seen this before? Or does anyone know how to fix this?

     

    Last edit: MattSpence156 2014-01-05
  • Alan Brenner

    Alan Brenner - 2014-01-15

    Is your map at the top of the map file (the map patterns are tried in order)? Do you have sample output from the check_nt plugin (I have no Windows systems right now to test it with), that we could test with the utils/testentry.pl tool?

     

Log in to post a comment.