You can use the export_custom script to generate the patch and sql information
about your changes.
Javier
Broeken, Marco wrote:
Julia,
Can you make a mysqldump of the poller items / Poller Grouping /
Interface Types / Graph Types for all sql2000 counters?
Also can you attach the .inc.php scripts of your engine/graphs sql2000
counters ?
I want to test it here, and then send it to javier to implement the
counters in jffnms for real....
Thanks!!
Met vriendelijke groet,
Marco Broeken
Netwerkbeheer
email: [EMAIL PROTECTED]
VECOZO
Emma Goldmanweg 4b
5032 MN Tilburg
tel : +31 (0)13 4625 648
fax : +31 (0)13 4625 640
-----Oorspronkelijk bericht-----
Van: Julia Hardy [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 2 februari 2006 22:23
Aan: Broeken, Marco
Onderwerp: RE: [Bulk] RE: [jffnms-users] Problem with sql2000 snmp
counters
2 attempts to get same oid
This one with direct get it fails
[EMAIL PROTECTED] ~]# snmpget -v1 xx.xx.xx.xx -cxxxxxx
.1.3.6.1.4.1.311.1.4.1.1.2.1.17.9.78.87.45.80.84.82.65.67.75.
1.3.6.1.4.1.311.1.4.1.1.2.1.17.9.78.87.45.80.84.82.65.67.75.: Unknown
Object Identifier (Sub-id not found: enterprises -> )
This one with getnext returns a value??
[EMAIL PROTECTED] ~]# snmpgetnext -v1 xx.xx.xx.xx -cxxxxx
.1.3.6.1.4.1.311.1.4.1.1.2.1.17.9.78.87.45.80.84.82.65.67.75.
SNMPv2-SMI::enterprises.311.1.4.1.1.2.1.18.9.78.87.45.80.84.82.65.67.75
=
Gauge32: 0
So there is something wrong with the Microsoft sql2000 mib
-----Original Message-----
From: Broeken, Marco [mailto:[EMAIL PROTECTED]
Sent: 02 February 2006 09:00
To: Julia Hardy
Subject: [Bulk] RE: [jffnms-users] Problem with sql2000 snmp counters
Can you explain this a little more, with an example ?
Met vriendelijke groet,
Marco Broeken
Netwerkbeheer
email: [EMAIL PROTECTED]
VECOZO
Emma Goldmanweg 4b
5032 MN Tilburg
tel : +31 (0)13 4625 648
fax : +31 (0)13 4625 640
-----Oorspronkelijk bericht-----
Van: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Namens Julia Hardy
Verzonden: donderdag 2 februari 2006 9:51
Aan: jffnms-users@lists.sourceforge.net
Onderwerp: RE: [jffnms-users] Problem with sql2000 snmp counters
Hi Ben I looked at this a while ago but found a bug in Microsoft's snmp
for sql2000 If you do walk you see the data but if you use a get it
doesn't return it.
I got round it by putting a bodge in the code so when it tried to use
the base sql mib it did a snmp getnext but starting 1 value back, this
then returned the value expected
This is as far as I got as I ran out of time in creating the rest of the
scripts
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ben Lentz
Sent: 01 February 2006 13:42
To: jffnms-users@lists.sourceforge.net
Subject: Re: [jffnms-users] Problem with sql2000 snmp counters
You've got to "fully qualify" what you're looking for with snmpget. This
is different from snmpwalk, which will traverse the tree for you.
So, put the two together. Try:
snmpget -v1 192.168.10.46 -cread_vecozo
.1.3.6.1.4.1.311.1.4.1.1.2.1.16.12.83.81.76.95.83.69.82.86.69.82.48.51
snmpget -v1 192.168.10.46 -cread_vecozo
.1.3.6.1.4.1.311.1.4.1.1.2.1.17.12.83.81.76.95.83.69.82.86.69.82.48.51
----- Original Message -----
From: "Broeken, Marco" <[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
Sent: 02/01/2006 08:09:31 AM
To: "Javier Szyszlican" <[EMAIL PROTECTED]>
<mailto:[EMAIL PROTECTED]>
Cc: jffnms-users@lists.sourceforge.net
Subject: [jffnms-users] Problem with sql2000 snmp counters
I have a problem with a mssql snmp query
In bash i execute:
jffnms-lnx:/home/global/www# snmpget -v1 192.168.10.46
-cread_vecozo
.1.3.6.1.4.1.311.1.4.1.1.2.1.17
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.311.1.4.1.1.2.1.17
jffnms-lnx:/home/global/www# snmpget -v1 192.168.10.46
-cread_vecozo
.1.3.6.1.4.1.311.1.4.1.1.2.1.16
Error in packet
Reason: (noSuchName) There is no such variable name in this MIB.
Failed object: SNMPv2-SMI::enterprises.311.1.4.1.1.2.1.16
Snmpget is not working???
Snmpwalk works fine:
jffnms-lnx:/home/global/www# snmpwalk -v1 192.168.10.46
-cread_vecozo
.1.3.6.1.4.1.311.1.4.1.1.2.1.16
SNMPv2-SMI::enterprises.311.1.4.1.1.2.1.16.12.83.81.76.95.83.69.82.86.69
.82.48.51 = Gauge32: 248
jffnms-lnx:/home/global/www# snmpwalk -v1 192.168.10.46
-cread_vecozo
.1.3.6.1.4.1.311.1.4.1.1.2.1.17
SNMPv2-SMI::enterprises.311.1.4.1.1.2.1.17.12.83.81.76.95.83.69.82.86.69
.82.48.51 = Gauge32: 230
jffnms-lnx:/home/global/www# snmpwalk -v1 192.168.10.46
-cread_vecozo
.1.3.6.1.4.1.311.1.4.1.1.2.1.17
SNMPv2-SMI::enterprises.311.1.4.1.1.2.1.17.12.83.81.76.95.83.69.82.86.69
.82.48.51 = Gauge32: 211
I made new counters in jffnms, and as result of the snmp result
i get in
return "nan"
I think above is my problem....
Any suggestions ?
Met vriendelijke groet,
Marco Broeken
Netwerkbeheer
email: [EMAIL PROTECTED]
VECOZO
Emma Goldmanweg 4b
5032 MN Tilburg
tel : +31 (0)13 4625 648
fax : +31 (0)13 4625 640
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep
through log files
for problems? Stop! Download the new AJAX search engine that
makes
searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files for problems? Stop! Download the new AJAX search engine that
makes searching your log files as easy as surfing the web. DOWNLOAD
SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=k&kid3432&bid#0486&dat1642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users
--
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Javier Szyszlican, Project Leader, JFFNMS
[EMAIL PROTECTED]
I hope JFFNMS or I were helpful to you, if you
can, please donate at http://jffnms.org/donate
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
jffnms-users mailing list
jffnms-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jffnms-users