RE: mib2c-system information help

2012-09-06 Thread Jatin Bodarya
The compiler issues a warnning because you do not check the returnr value from the call to system. It does do the call. Maybe you should check the return values from system, fopen, fscanf! It might also help to specify to full path of the script that you call You cannot be sure what the PATH is..

Re: mib2c-system information help

2012-09-06 Thread Niels Baggesen
On Thu, Sep 06, 2012 at 10:30:47AM +0530, Jatin Bodarya wrote: >I want to add some system information with my enterprise OID. > Can anyone help me ? how can I do this? My mib2c generated code is not > allowing me to call the "system" function to run another program from it or > " fs

system call errors in mib2c generated code

2012-09-06 Thread Jatin Bodarya
Hello Dave.. My mib2c generated code is not allowing me to make system calls..!!! Plz help me in this. I have generated this code using watcher.conf and currently running on agentX. I want to assigning some values to OIDs that can I get back on GET request.. but it is no