La inn en ny switch i type.txt:
cisco:c2970:ios-sw:Cisco WS-C2970G-24TS-E svitsj:1.3.6.1.4.1.9.1.561:t:t
Denne har 24 1000BaseT og 4 1000BaseSX porter, alts? bare gigabit.
Den dukker opp under "switches" i cricket med "backplane" og "cpu" men disse samler ingen data ser det ut til.
Men den dukker ikke opp under "giga-switch-ports" i det hele tatt.
I navmessage.log fant jeg dette etter at jeg kj?rte /usr/local/nav/navme/bin/kilde2db.pl:
Thu Feb 12 14:10:33 2004 fyll_db.pl %RUN-7-START: Started running program "tekstfiler". Thu Feb 12 14:10:33 2004 tekstfiler.pl %DATABASE-6-INSERT: Inserting "cisco c2970 ios-sw 1.3.6.1.4.1.9.1.561 t t Cisco WS-C2970G-24TS-E svitsj" into "type". Thu Feb 12 14:10:33 2004 fyll_db.pl %RUN-7-END: Ended running program "tekstfiler".
Thu Feb 12 14:10:33 2004 fyll_db.pl %RUN-7-START: Started running program "bokser". Thu Feb 12 14:10:36 2004 bokser.pl %DATABASE-6-INSERT: Inserting "158.37.XX.YY haugesund-XXXX-sw 103 H005 it SW XXXXXXXXX" into "boks". Thu Feb 12 14:10:36 2004 bokser.pl %DATABASE-6-INSERT: Inserting "235 Switch Rack1" into "boksinfo". Thu Feb 12 14:10:36 2004 fyll_db.pl %RUN-7-END: Ended running program "bokser".
Thu Feb 12 14:10:36 2004 fyll_db.pl %RUN-7-START: Started running program "gwporter". Thu Feb 12 14:10:48 2004 gwporter.pl %DATABASE-6-UPDATE: Updating "boks" field "prefiksid" where "ip=158.37.XX.YY" from "" to "30". Thu Feb 12 14:10:54 2004 fyll_db.pl %RUN-7-END: Ended running program "gwporter".
Thu Feb 12 14:10:54 2004 fyll_db.pl %RUN-7-START: Started running program "swporter". Thu Feb 12 14:11:03 2004 swporter.pl %DEVICE-7-COLLECT: Collecting data for "158.37.XX.YY". Thu Feb 12 14:11:03 2004 swporter.pl %SNMP-3-WRONGTYPEGROUP: Typegroup defined (ios-sw) is not correct for (158.37.XX.YY). Thu Feb 12 14:11:03 2004 swporter.pl %DEVICE-5-BOXDOWN: Could not collect data for haugesund-XXXX-sw. Device possibly down. Thu Feb 12 14:11:26 2004 fyll_db.pl %RUN-7-END: Ended running program "swporter".
I den siste gruppen sier den "Typegroup defined (ios-sw) is not correct for (158.37.XX.YY)".
Hva skal jeg legge inn der for at den skal godtas?
- Roger