Re: SNMP subagent in C + exec_command or similar
Dave Shield <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
2010/5/7 Hársszegi Tibor <[email protected]>: > have tried exec_command not much luck :( > I am trying to run scripts, like > > cat /proc/cpuinfo | grep vendor_id | awk '{print $3}' > > and similar. No - exec_command won't really help you here. Try using "run_shell_command" instead. (See mibgroup/utilities/execute.c for details) Dave ------------------------------------------------------------------------------ _______________________________________________ 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