By J. Verhegghe on
Hello,
I installed the monitormodule. Now I' m trying to monitor localhost. But I get this error all the time:
warning: snmpget() [function.snmpget]: Error in packet: (noSuchName) There is no such variable name in this MIB. in C:\wamp\www\hfcmonitor\includes\common.inc(1180) : eval()'d code on line 2.
Even when I just try php-code like this:
snmpget("selene", "public", "3.0");
What am I doing wrong here?
I also wanted to remark that there is a " ?>" missing at the end in the latest version of the file: monitor.module.
Thx.
Comments
The php closing tags aren't needed
In reference to the first question, I'll have to bow to someone more familiar with module in question.
However,
The php closing tags arent needed with drupal. none of the modules nor the templates need them.
From what i've read it was done this way to stop the "whitespace" issues causing blank pages.
It didn't work without the
It didn't work without the tags.
Anyway, I got it the function snmpget working. The OID must be .1.3.1.2.1.1.3.0 (with a point!).