Re: custom SNMP for custom graph

2010-03-09 Thread Mihamina Rakotomandimby
> Then in my /etc/snmp/snmpd.conf, I added: > exec .1.3.6.1.4.1.2021.254 ocsigen /usr/local/bin/ocsigen_access grepping the logs: Mar 10 07:00:11 ns309487 snmpd[12609]: /etc/snmp/snmpd.conf: line 335: Error: ERROR: This output format has been deprecated Please use the 'extend' directive i

RE: custom SNMP for custom graph

2010-03-09 Thread James Wu
I think you want to use sh instead of exec. Quoting from the man page: "The PROG argument for exec directives must be a full path to a real binary, as it is executed via the exec() system call. To invoke a shell script, use the sh directive instead." Also, I'd double check to make sure the sc