Re: How can I define my own trap?

Dave Shield <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
2009/1/29 Ignasi Paredes Oliva <[email protected]>:
> I only have one last simple question. One of the attributes that I extract
> from the database (the time) has the following format: "19:55:57". I defined
> it as STRING on my MIB tree but when I execute snmptrap command, it
> complains:
>
> Time: Bad variable type (Type of attribute is INTEGER, not OCTET STRING)
>
> Do you have any idea of what format should I use?

What is the MIB definition for this object.    (Suitably sanitised if necessary)
What is the code or command that you are using to add this value to the trap?

Dave

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
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.