OID Problem
OID Problem
I was running Hostmonitor 4.16 and created a test on a HP printer.
OID: 1.3.6.1.4.1.11.2.3.9.4.2.1.1.3.2.0
This test returned the model of the printer (HP LaserJet 4050 Series ).
Now, after the update to Hostmonitor version 4.52 the same test returns:
%01%15%48%50%20%4C%61%73%65%72%4A%65%74%20%34%30%35%30%20%53%65%72%69%65%73%20
I tried to check the value by snmpview2.5 and it still returns the right value (HP LaserJet 4050 Series ).
The system is based on windows 2000 server english with SP4.
OID: 1.3.6.1.4.1.11.2.3.9.4.2.1.1.3.2.0
This test returned the model of the printer (HP LaserJet 4050 Series ).
Now, after the update to Hostmonitor version 4.52 the same test returns:
%01%15%48%50%20%4C%61%73%65%72%4A%65%74%20%34%30%35%30%20%53%65%72%69%65%73%20
I tried to check the value by snmpview2.5 and it still returns the right value (HP LaserJet 4050 Series ).
The system is based on windows 2000 server english with SP4.
Its because of the following change:
Quote from "what's new":
Solutions?
1) if you want to be alerted when your printer changed model (is this possible??!!), you may use "%01%15%48%50%20%4C%61%73%65%72%4A%65%74%20%34%30%35%30%20%53%65%72%69%65%73%20" as string to compare
2) if you are using this test for some report, .... probably you can use OID 1.3.6.1.2.1.1.1.0 (sysDescr) instead?
BTW: What the reason to monitor static parameters? IMHO Printer cannot change model.
Regards
Alex
Quote from "what's new":
String returned by SNMP agent contains non printable chracters - (HP LaserJet 4050 SeriesSNMP test: now if OCTET STRING returned by SNMP agent contains non-printable characters, HostMonitor displays these characters using %XX format where "XX" is a hexadecimal code of a character (byte). This could be useful when you need to check MAC addresses or some other counters.
Solutions?
1) if you want to be alerted when your printer changed model (is this possible??!!), you may use "%01%15%48%50%20%4C%61%73%65%72%4A%65%74%20%34%30%35%30%20%53%65%72%69%65%73%20" as string to compare
2) if you are using this test for some report, .... probably you can use OID 1.3.6.1.2.1.1.1.0 (sysDescr) instead?
BTW: What the reason to monitor static parameters? IMHO Printer cannot change model.
Regards
Alex
Bad replies %XX
I'm actually using IOD 1.3.6.1.2.1.1.1.0 to check on Cisco routers and I still get replies such us %43%69%73%63%6F..... and so on
Any ideas for such behaviour ?
Regards,
Pablo
Any ideas for such behaviour ?
Regards,
Pablo
Here's the complete string:
%43%69%73%63%6F%20%49%6E%74%65%72%6E%65%74%77%6F%72%6B%20%4F%70%65%72%61%74%69%6E%67%20%53%79%73%74%65%6D%20%53%6F%66%74%77%61%72%65%20%0D%0A%49%4F%53%20%28%74%6D%29%20%33%36%30%30%20%53%6F%66%74%77%61%72%65%20%28%43%33%36%34%30%2D%4A%4B%39%4F%33%53%2D%4D%29%2C%20%56%65%72%73%69%6F%6E%20%31%32%2E%33%28%31%30%61%29%2C%20%52%45%4C%45%41%53%45%20%53%4F%46%54%57%41%52%45%20%28%66%63%32%29%0D%0A%43%6F%70%79%72%69%67%68%74%20%28%63%29%20%31%39%38%36%2D%32%30%30%34%20%62%79%20%63%69%73%63%6F%20%53%79%73%74%65%6D%73%2C%20%49%6E%63%2E%0D%0A%43%6F%6D%70%69%6C%65%64%20%46%72%69%20%32%32%2D%4F%63%74%2D%30%34%20%31%39%3A%31%37%20%62%79%20%6B%65%6C%6C%79%74%68%77
Regards,
Pablo
%43%69%73%63%6F%20%49%6E%74%65%72%6E%65%74%77%6F%72%6B%20%4F%70%65%72%61%74%69%6E%67%20%53%79%73%74%65%6D%20%53%6F%66%74%77%61%72%65%20%0D%0A%49%4F%53%20%28%74%6D%29%20%33%36%30%30%20%53%6F%66%74%77%61%72%65%20%28%43%33%36%34%30%2D%4A%4B%39%4F%33%53%2D%4D%29%2C%20%56%65%72%73%69%6F%6E%20%31%32%2E%33%28%31%30%61%29%2C%20%52%45%4C%45%41%53%45%20%53%4F%46%54%57%41%52%45%20%28%66%63%32%29%0D%0A%43%6F%70%79%72%69%67%68%74%20%28%63%29%20%31%39%38%36%2D%32%30%30%34%20%62%79%20%63%69%73%63%6F%20%53%79%73%74%65%6D%73%2C%20%49%6E%63%2E%0D%0A%43%6F%6D%70%69%6C%65%64%20%46%72%69%20%32%32%2D%4F%63%74%2D%30%34%20%31%39%3A%31%37%20%62%79%20%6B%65%6C%6C%79%74%68%77
Regards,
Pablo
Ok, update available at www.ks-soft.net/download/hm529b.zip
I would recommend to install version 5.28 Beta before applying this update.
Regards
Alex
I would recommend to install version 5.28 Beta before applying this update.
Regards
Alex
-
- Posts: 6
- Joined: Thu Jun 30, 2005 1:46 pm
- Location: Denver
OID Issue not resolved yet on version 5.3.4
Hello.
Just want to let you know that we are running version 5.3.4 and we are still getting a wrong string when retriving system description.
1.3.6.1.2.1.1.1.0
%43%69%73%63%6F%20...... etc.
Thanks.
Agustin
Just want to let you know that we are running version 5.3.4 and we are still getting a wrong string when retriving system description.
1.3.6.1.2.1.1.1.0
%43%69%73%63%6F%20...... etc.
Thanks.
Agustin
-
- Posts: 6
- Joined: Thu Jun 30, 2005 1:46 pm
- Location: Denver
oid problem
Here is the string:
%43%69%73%63%6F%20%49%6E%74%65%72%6E%65%74%77%6F%72%6B%20%4F%70%65%72%61%74%69%6E%67%20%53%79%73%74%65%6D%20%53%6F%66%74%77%61%72%65%20%0D%0A%49%4F%53%20%28%74%6D%29%20%43%32%36%30%30%20%53%6F%66%74%77%61%72%65%20%28%43%32%36%30%30%2D%49%2D%4D%29%2C%20%56%65%72%73%69%6F%6E%20%31%32%2E%32%28%31%35%29%54%35%2C%20%20%52%45%4C%45%41%53%45%20%53%4F%46%54%57%41%52%45%20%28%66%63%31%29%0D%0A%54%41%43%20%53%75%70%70%6F%72%74%3A%20%68%74%74%70%3A%2F%2F%77%77%77%2E%63%69%73%63%6F%2E%63%6F%6D%2F%74%61%63%0D%0A%43%6F%70%79%72%69%67%68%74%20%28%63%29%20%31%39%38%36%2D%32%30%30%33%20%62%79%20%63%69%73%63%6F%20%53%79%73%74%65%6D%73%2C%20%49%6E%63%2E%0D%0A%43%6F%6D%70%69%6C%65%64%20%54%68%75%20%31%32%2D%4A%75%6E%2D%30%33%20%30%35%3A%32%35%20%62%79%20%65%61%61%72%6D%61%73
%43%69%73%63%6F%20%49%6E%74%65%72%6E%65%74%77%6F%72%6B%20%4F%70%65%72%61%74%69%6E%67%20%53%79%73%74%65%6D%20%53%6F%66%74%77%61%72%65%20%0D%0A%49%4F%53%20%28%74%6D%29%20%43%32%36%30%30%20%53%6F%66%74%77%61%72%65%20%28%43%32%36%30%30%2D%49%2D%4D%29%2C%20%56%65%72%73%69%6F%6E%20%31%32%2E%32%28%31%35%29%54%35%2C%20%20%52%45%4C%45%41%53%45%20%53%4F%46%54%57%41%52%45%20%28%66%63%31%29%0D%0A%54%41%43%20%53%75%70%70%6F%72%74%3A%20%68%74%74%70%3A%2F%2F%77%77%77%2E%63%69%73%63%6F%2E%63%6F%6D%2F%74%61%63%0D%0A%43%6F%70%79%72%69%67%68%74%20%28%63%29%20%31%39%38%36%2D%32%30%30%33%20%62%79%20%63%69%73%63%6F%20%53%79%73%74%65%6D%73%2C%20%49%6E%63%2E%0D%0A%43%6F%6D%70%69%6C%65%64%20%54%68%75%20%31%32%2D%4A%75%6E%2D%30%33%20%30%35%3A%32%35%20%62%79%20%65%61%61%72%6D%61%73
-
- Posts: 6
- Joined: Thu Jun 30, 2005 1:46 pm
- Location: Denver
Alex.
This is what I get when testing it from Hostmonitor:
Cisco Internetwork Operating System Software %0D%0AIOS (tm) C2600 Software (C2600-I-M), Version 12.2(15)T5, RELEASE SOFTWARE (fc1)%0D%0ATAC Support: http://www.cisco.com/tac%0D%0ACopyright (c) 1986-2003 by cisco Systems, Inc.%0D%0ACompiled Thu 12-Jun-03 05:25 by eaarmas
When we run it from RMA we get pure binary.
Thanks.
Agustin
This is what I get when testing it from Hostmonitor:
Cisco Internetwork Operating System Software %0D%0AIOS (tm) C2600 Software (C2600-I-M), Version 12.2(15)T5, RELEASE SOFTWARE (fc1)%0D%0ATAC Support: http://www.cisco.com/tac%0D%0ACopyright (c) 1986-2003 by cisco Systems, Inc.%0D%0ACompiled Thu 12-Jun-03 05:25 by eaarmas
When we run it from RMA we get pure binary.
Thanks.
Agustin