Hi all,
i am trying to run snmpd with extend and the agent is misinterpreting the
command.
snmpd.conf:
extend .1.3.6.1.4.1.2021.52 ntpcheck2 "/usr/bin/ntpq -p | awk 'NR>2 {print $1
\"
\" $7}'"
I am getting the message "No address associated with hostname", which shows
that
the pipe is getting lost and ntpq is searching for host awk.
I am not allowed to create files on the OS, so creating a batch file is
no option.
How do I need to modify the command?
Thanks
Johann
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users