Re: Disk information

"Dave Shield" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
On 20/03/07, Afanasiev Andrey <[email protected]> wrote:
> Note a spaces around == operator in "monitor" clause.

Good catch - that's almost certainly a problem in Michael's
configuration.

>      Also, I think that you must delete that
> "hanging" -i option without subsequent OID.

No - that's OK.  It's specifying an exact "instance" monitor,
rather than a wildcarded "object" monitor.

It would be better converted to '-I'  (capital-i), which is the
documented flag for this, but '-i' does also work (for backward
compatibility with the previous implementation).

> Finally, you use -o
> parameter and simultaneously specify subidentifier in OID - that's
> possibly competing options.

Confusing perhaps, but again I think this is actually OK here.
Given that this is an exact instance monitor entry, then there
is no difference between "-i OID" and "-o OID" - the two will
work in exactly the same way.

However if this was a wildcarded monitor entry, then you would be
perfectly correct.  "-o OID" ought not to include the instance subID(s)
since these would be automatically added.

But I suspect that it's the missing space in the "!= 0" test that may
be the real culprit here...

Dave

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.