I'm testing CACTI.
I've run the Windows 1.1.28 installer from this topic : viewtopic.php?f=3&t=14946
I've followed the "How to" from this topic : viewtopic.php?f=6&t=26151
I'm working on a VM with Windows 10, only one device, localhost.
I've created a .cmd script that returns 123 :
Code: Select all
@echo off
echo 123
Code: Select all
rocommunity public
exec toto c:\Scripts\toto.cmd
Code: Select all
C:\net-snmp\bin>snmpget -v 2c -c public localhost .1.3.6.1.4.1.2021.8.1.101.1
UCD-SNMP-MIB::extOutput.1 = STRING: 123
The graph doesn't display 123 but 0.
If I turn on Data Source info mode, I can read the following :
Code: Select all
Data Source Items Type Minimal Heartbeat Min Max Last DS Valeur Unknown Sec
snmp_oid COUNTER 600 0,0000000000e+000 NaN 123 0,0000000000e+000 0
I tried to check the CACTI documentation but couldn't find relevant information.
Would anyone know what I'm doing wrong ?
Thanks in advance.