Finally, this is how I am monitoring my Juniper ScreenOS SSG firewalls with MRTG/Routers2. Beside the interfaces (that can be built with cfgmaker) I am using my template in order to monitor the CPU & memory, count of sessions & VPNs, count of different kind of attacks, etc.
SNMP MIBs
The ScreenOS MIBs can be downloaded here. There are really many OIDs to query on the ScreenOS device (compared to some other firewall vendors…). However, some statistics are not available, such as subinterfaces.
Site-to-Site VPNs can be monitored with the NetscreenVpnMon MIB while the “tunnel interfaces” itself do not provide any counters.
Finally, in my template all hit counts of the zone screening from the untrust zone are monitored. Though a bit unclear, at least the summary graph with all attack vectors at a glance gives a hint whether the firewall is under attack or not.
MRTG/Routers2 Configuration
The first step is to build the *.cfg file with cfgmaker in order to capture all interfaces. A command such as the following can be used:
1 |
sudo cfgmaker --snmp-options=:::::2 --show-op-down --zero-speed=100000000 --global "routers.cgi*Icon: firewall3-sm.gif" --global "routers.cgi*GraphStyle[_]: mirror" --output=NAMEOFTHEFIREWALL.cfg COMMUNITY@IPADDRESS |
As always, some sections of the output file can be removed, e.g., all “noHC[…]: yes” lines, and all “PageTops” with html code. The global options at the beginning of the file can be deleted, too, except the two options that were generated with the cfgmaker command above. Furthermore, all tunnel interfaces can be deleted since the SSG does not provide any counters there. For monitoring site-to-site VPN tunnels, my template below offers some OIDs.
This is my complete cfg file for MRTG/Routers2. There are several things to change before it can be used somewhere. The first lines of the template give some hints. (Of course, all the lines with the interfaces must be deleted, since they are already created with the cfgmaker tool.)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 |
################################################################################################################ #Juniper ScreenOS SSG Firewall MRTG/Routers2 Template #Author: Johannes Weber (johannes@webernetz.net) #Homepage: https://weberblog.net #Last Modified: 2015-01-08 ################################################################################################################ ### TO DO #Repace the following values with your own: #COMMUNITYSTRING : SNMP read community #IPADDRESS : IP address of the ScreenOS device #NAMEOFTHEFIREWALL : name of the firewall ### #Change the MaxBytes values of the following targets: #-Memory #-Sessions #-VPN Sessions ### #Change the names and numbering of the Site-to-Site VPNs! ### END # Created by # /usr/bin/cfgmaker --snmp-options=:::::2 --show-op-down --zero-speed=100000000 --global "routers.cgi*Icon: firewall3-sm.gif" --global "routers.cgi*GraphStyle[_]: mirror" --output=NAMEOFTHEFIREWALL.cfg COMMUNITYSTRING@IPADDRESS routers.cgi*ShortDesc: NAMEOFTHEFIREWALL SSG routers.cgi*Icon: firewall3-sm.gif routers.cgi*GraphStyle[_]: mirror ################################################################################################################ ##################################################### CPU ###################################################### ################################################################################################################ #http://kb.juniper.net/InfoCenter/index?page=content&id=KB25797 #.1.3.6.1.4.1.3224.16.1.3.0 Last Five minute CPU utilization in percentage #Used MIB: NS-RES.mib Target[IPADDRESS_cpu]: 1.3.6.1.4.1.3224.16.1.3.0&PseudoZero:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_cpu]: CPU Usage -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_cpu]: 100 Options[IPADDRESS_cpu]: gauge Colours[IPADDRESS_cpu]: LIGHT YELLOW#FEED01, BLUE#0000FF, ORANGE#FF6307, VIOLET#FF00FF UnScaled[IPADDRESS_cpu]: dwmy LegendI[IPADDRESS_cpu]: CPU: routers.cgi*Mode[IPADDRESS_cpu]: cpu routers.cgi*GraphStyle[IPADDRESS_cpu]: normal routers.cgi*ShortDesc[IPADDRESS_cpu]: CPU routers.cgi*InSummary[IPADDRESS_cpu]: yes ################################################################################################################ ################################################### Memory ##################################################### ################################################################################################################ #http://kb.juniper.net/InfoCenter/index?page=content&id=KB25768 #.1.3.6.1.4.1.3224.16.2.1.0 Memory allocated #Used MIB: NS-RES.mib Target[IPADDRESS_mem]: 1.3.6.1.4.1.3224.16.2.1.0&PseudoZero:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_mem]: Memory Usage -- NAMEOFTHEFIREWALL #Total Memory: Allocated (.1.3.6.1.4.1.3224.16.2.1.0) + Left (.1.3.6.1.4.1.3224.16.2.2.0) #In my SSG 5 example: 30776496 + 105473776 = 136250272 MaxBytes[IPADDRESS_mem]: 136250272 Options[IPADDRESS_mem]: gauge Colours[IPADDRESS_mem]: ORANGE#FC7C01, GREEN#00CC00, DARK RED#660000, DARK GREEN#006600 UnScaled[IPADDRESS_mem]: dwmy LegendI[IPADDRESS_mem]: RAM: routers.cgi*Options[IPADDRESS_mem]: noo routers.cgi*ShortDesc[IPADDRESS_mem]: Memory routers.cgi*InSummary[IPADDRESS_mem]: yes ################################################################################################################ #################################################### Sessions ################################################## ################################################################################################################ #http://kb.juniper.net/InfoCenter/index?page=content&id=KB27028 #.1.3.6.1.4.1.3224.16.3.2.0 - Allocate session number #Used MIB: NS-RES.mib Target[IPADDRESS_sessions]: 1.3.6.1.4.1.3224.16.3.2.0&PseudoZero:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_sessions]: Sessions -- NAMEOFTHEFIREWALL #MaxBytes = Maximum session number that the system can afford #--> OID .1.3.6.1.4.1.3224.16.3.3.0 MaxBytes[IPADDRESS_sessions]: 8064 Options[IPADDRESS_sessions]: gauge Colours[IPADDRESS_sessions]: PURPLE#FF00AA, YELLOW#FFD600, DARK PURPLE#7608AA, ORANGE#FC7C01 YLegend[IPADDRESS_sessions]: Number of Sessions Legend1[IPADDRESS_sessions]: Sessions Legend3[IPADDRESS_sessions]: Peak Sessions LegendI[IPADDRESS_sessions]: Sessions: ShortLegend[IPADDRESS_sessions]: routers.cgi*Options[IPADDRESS_sessions]: fixunit integer noo nototal routers.cgi*GraphStyle[IPADDRESS_sessions]: normal routers.cgi*Icon[IPADDRESS_sessions]: firewall-sm.gif routers.cgi*ShortDesc[IPADDRESS_sessions]: Sessions routers.cgi*InSummary[IPADDRESS_sessions]: yes ### Interface 1 >> Descr: 'serial0/0' | Name: 'serial0/0' | Ip: 'No Ip' | Eth: 'b0-c6-9a-fd-ca-99' ### #Target[IPADDRESS_serial0_0]: #serial0/0:COMMUNITYSTRING@IPADDRESS:::::2 #noHC[IPADDRESS_serial0_0]: yes #MaxBytes[IPADDRESS_serial0_0]: 11500 #Title[IPADDRESS_serial0_0]: Traffic Analysis for serial0/0 -- NAMEOFTHEFIREWALL ### Interface 2 >> Descr: 'ethernet0/0' | Name: 'ethernet0/0' | Ip: '172.16.0.2' | Eth: 'b0-c6-9a-fd-ca-80' ### Target[IPADDRESS_ethernet0_0]: #ethernet0/0:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_ethernet0_0]: 12500000 Title[IPADDRESS_ethernet0_0]: Traffic Analysis for ethernet0/0 (IPv4) -- NAMEOFTHEFIREWALL ### Interface 3 >> Descr: 'ethernet0/1' | Name: 'ethernet0/1' | Ip: 'No Ip' | Eth: 'b0-c6-9a-fd-ca-85' ### Target[IPADDRESS_ethernet0_1]: #ethernet0/1:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_ethernet0_1]: 12500000 Title[IPADDRESS_ethernet0_1]: Traffic Analysis for ethernet0/1 (IPv6) -- NAMEOFTHEFIREWALL ### Interface 4 >> Descr: 'ethernet0/2' | Name: 'ethernet0/2' | Ip: 'No Ip' | Eth: 'b0-c6-9a-fd-ca-86' ### Target[IPADDRESS_ethernet0_2]: #ethernet0/2:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_ethernet0_2]: 12500000 Title[IPADDRESS_ethernet0_2]: Traffic Analysis for ethernet0/2 -- NAMEOFTHEFIREWALL ### Interface 5 >> Descr: 'ethernet0/3' | Name: 'ethernet0/3' | Ip: 'No Ip' | Eth: 'b0-c6-9a-fd-ca-87' ### Target[IPADDRESS_ethernet0_3]: #ethernet0/3:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_ethernet0_3]: 12500000 Title[IPADDRESS_ethernet0_3]: Traffic Analysis for ethernet0/3 -- NAMEOFTHEFIREWALL ### Interface 6 >> Descr: 'ethernet0/4' | Name: 'ethernet0/4' | Ip: '192.168.112.1' | Eth: 'b0-c6-9a-fd-ca-88' ### Target[IPADDRESS_ethernet0_4]: #ethernet0/4:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_ethernet0_4]: 12500000 Title[IPADDRESS_ethernet0_4]: Traffic Analysis for ethernet0/4 -- NAMEOFTHEFIREWALL ### Interface 7 >> Descr: 'ethernet0/5' | Name: 'ethernet0/5' | Ip: '192.168.111.1' | Eth: 'b0-c6-9a-fd-ca-89' ### Target[IPADDRESS_ethernet0_5]: #ethernet0/5:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_ethernet0_5]: 12500000 Title[IPADDRESS_ethernet0_5]: Traffic Analysis for ethernet0/5 -- NAMEOFTHEFIREWALL ### Interface 8 >> Descr: 'ethernet0/6' | Name: 'ethernet0/6' | Ip: 'IPADDRESS' | Eth: 'b0-c6-9a-fd-ca-8a' ### Target[IPADDRESS_ethernet0_6]: #ethernet0/6:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_ethernet0_6]: 12500000 Title[IPADDRESS_ethernet0_6]: Traffic Analysis for ethernet0/6 -- NAMEOFTHEFIREWALL ### Interface 13 >> Descr: 'bgroup0' | Name: 'bgroup0' | Ip: '192.168.110.1' | Eth: 'b0-c6-9a-fd-ca-8b' ### Target[IPADDRESS_bgroup0]: #bgroup0:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_bgroup0]: 12500000 Title[IPADDRESS_bgroup0]: Traffic Analysis for bgroup0 -- NAMEOFTHEFIREWALL ### Interface 14 >> Descr: 'bgroup1' | Name: 'bgroup1' | Ip: 'No Ip' | Eth: 'b0-c6-9a-fd-ca-8c' ### Target[IPADDRESS_bgroup1]: #bgroup1:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_bgroup1]: 12500000 Title[IPADDRESS_bgroup1]: Traffic Analysis for bgroup1 -- NAMEOFTHEFIREWALL ### Interface 15 >> Descr: 'bgroup2' | Name: 'bgroup2' | Ip: 'No Ip' | Eth: 'b0-c6-9a-fd-ca-8d' ### Target[IPADDRESS_bgroup2]: #bgroup2:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_bgroup2]: 12500000 Title[IPADDRESS_bgroup2]: Traffic Analysis for bgroup2 -- NAMEOFTHEFIREWALL ### Interface 16 >> Descr: 'bgroup3' | Name: 'bgroup3' | Ip: 'No Ip' | Eth: 'b0-c6-9a-fd-ca-8e' ### Target[IPADDRESS_bgroup3]: #bgroup3:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_bgroup3]: 12500000 Title[IPADDRESS_bgroup3]: Traffic Analysis for bgroup3 -- NAMEOFTHEFIREWALL ### Interface 24 >> Descr: 'vlan1' | Name: 'vlan1' | Ip: 'No Ip' | Eth: 'b0-c6-9a-fd-ca-8f' ### #Target[IPADDRESS_vlan1]: #vlan1:COMMUNITYSTRING@IPADDRESS:::::2 #noHC[IPADDRESS_vlan1]: yes #MaxBytes[IPADDRESS_vlan1]: 536750000 #Title[IPADDRESS_vlan1]: Traffic Analysis for vlan1 -- NAMEOFTHEFIREWALL ################################################################################################################ ################################################# VPN Sessions ################################################# ################################################################################################################ #Used MIB: NETSCREEN-VPN-MON-SA-COUNT-MIB #Counts the active SA, independent of in or out #nsVpnMonSACountInAct #nsVpnMonSACountOutAct Target[IPADDRESS_vpn]: 1.3.6.1.4.1.3224.4.1.2.1.5.1&1.3.6.1.4.1.3224.4.1.2.1.7.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_vpn]: Maximum VPN Sessions -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_vpn]: 1000 Options[IPADDRESS_vpn]: gauge Colours[IPADDRESS_vpn]: TURQUOISE#00CCCC, DARK YELLOW#CCCC00, DARK TURQUOISE#377D77, ORANGE#E97F02 YLegend[IPADDRESS_vpn]: Number of Active SAs Legend1[IPADDRESS_vpn]: In Security Associations Legend2[IPADDRESS_vpn]: Out Security Associations Legend3[IPADDRESS_vpn]: Peak In Security Associations Legend4[IPADDRESS_vpn]: Peak Out Security Associations LegendI[IPADDRESS_vpn]: In SAs: LegendO[IPADDRESS_vpn]: Out SAs: ShortLegend[IPADDRESS_vpn]: #This graph shows the MAXIMUM value and not the Average! routers.cgi*Options[IPADDRESS_vpn]: fixunit integer maximum nomax nototal routers.cgi*GraphStyle[IPADDRESS_vpn]: normal routers.cgi*Icon[IPADDRESS_vpn]: padlock-sm.gif routers.cgi*ShortDesc[IPADDRESS_vpn]: VPN-SAs routers.cgi*InSummary[IPADDRESS_vpn]: yes ################################################################################################################ ################################################## S2S-VPN ##################################################### ################################################################################################################ #Used MIB: NS-VPN-MON.mib #.1.3.6.1.4.1.3224.4 Target[IPADDRESS_vpn-s2s-FIRSTVPN]: 1.3.6.1.4.1.3224.4.1.1.1.35.0&1.3.6.1.4.1.3224.4.1.1.1.36.0:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_vpn-s2s-FIRSTVPN]: 12500000 Title[IPADDRESS_vpn-s2s-FIRSTVPN]: Traffic Analysis for vpn-s2s-FIRSTVPN -- NAMEOFTHEFIREWALL routers.cgi*ShortDesc[IPADDRESS_vpn-s2s-FIRSTVPN]: S2S-VPN pa routers.cgi*Mode[IPADDRESS_vpn-s2s-FIRSTVPN]: interface routers.cgi*Graph[IPADDRESS_vpn-s2s-FIRSTVPN]: IPADDRESS_vpn-s2s Target[IPADDRESS_vpn-s2s-SECONDVPN]: 1.3.6.1.4.1.3224.4.1.1.1.35.1&1.3.6.1.4.1.3224.4.1.1.1.36.1:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_vpn-s2s-SECONDVPN]: 12500000 Title[IPADDRESS_vpn-s2s-SECONDVPN]: Traffic Analysis for vpn-s2s-SECONDVPN -- NAMEOFTHEFIREWALL routers.cgi*ShortDesc[IPADDRESS_vpn-s2s-SECONDVPN]: S2S-VPN fdorf routers.cgi*Mode[IPADDRESS_vpn-s2s-SECONDVPN]: interface routers.cgi*Graph[IPADDRESS_vpn-s2s-SECONDVPN]: IPADDRESS_vpn-s2s Target[IPADDRESS_vpn-s2s-THIRDVPN]: 1.3.6.1.4.1.3224.4.1.1.1.35.2&1.3.6.1.4.1.3224.4.1.1.1.36.2:COMMUNITYSTRING@IPADDRESS:::::2 MaxBytes[IPADDRESS_vpn-s2s-THIRDVPN]: 12500000 Title[IPADDRESS_vpn-s2s-THIRDVPN]: Traffic Analysis for vpn-s2s-THIRDVPN -- NAMEOFTHEFIREWALL routers.cgi*ShortDesc[IPADDRESS_vpn-s2s-THIRDVPN]: S2S-VPN nuern routers.cgi*Mode[IPADDRESS_vpn-s2s-THIRDVPN]: interface routers.cgi*Graph[IPADDRESS_vpn-s2s-THIRDVPN]: IPADDRESS_vpn-s2s ################################################################################################################ #Summary Graph for all S2S-VPNs routers.cgi*Title[IPADDRESS_vpn-s2s]: S2S-VPNs -- NAMEOFTHEFIREWALL routers.cgi*ShortDesc[IPADDRESS_vpn-s2s]: S2S-VPNs routers.cgi*InSummary[IPADDRESS_vpn-s2s]: yes ################################################################################################################ ################################################ Zone Screen ################################################### ################################################################################################################ #Used MIB: NS-IDS.mib #.1.3.6.1.4.1.3224.3 #Names according to the MIB Target[IPADDRESS_ids1]: 1.3.6.1.4.1.3224.3.2.1.3.1&1.3.6.1.4.1.3224.3.2.1.4.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids1]: SynAttk & TearDrop Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids1]: 4294967295 #Options[IPADDRESS_ids1]: perhour Colours[IPADDRESS_ids1]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids1]: Attacks per Second Legend1[IPADDRESS_ids1]: SynAttk Legend2[IPADDRESS_ids1]: TearDrop Legend3[IPADDRESS_ids1]: Peak SynAttk Legend4[IPADDRESS_ids1]: Peak TearDrop LegendI[IPADDRESS_ids1]: SynAttk: LegendO[IPADDRESS_ids1]: TearDrop: ShortLegend[IPADDRESS_ids1]: Att/s routers.cgi*Options[IPADDRESS_ids1]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids1]: lines routers.cgi*Icon[IPADDRESS_ids1]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids1]: SynAttk & TearDrop routers.cgi*InSummary[IPADDRESS_ids1]: yes routers.cgi*Graph[IPADDRESS_ids1]: IPADDRESS_idsall Target[IPADDRESS_ids2]: 1.3.6.1.4.1.3224.3.2.1.5.1&1.3.6.1.4.1.3224.3.2.1.6.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids2]: SrcRoute & PingDeath Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids2]: 4294967295 Colours[IPADDRESS_ids2]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids2]: Attacks per Second Legend1[IPADDRESS_ids2]: SrcRoute Legend2[IPADDRESS_ids2]: PingDeath Legend3[IPADDRESS_ids2]: Peak SrcRoute Legend4[IPADDRESS_ids2]: Peak PingDeath LegendI[IPADDRESS_ids2]: SrcRoute: LegendO[IPADDRESS_ids2]: PingDeath: ShortLegend[IPADDRESS_ids2]: Att/s routers.cgi*Options[IPADDRESS_ids2]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids2]: lines routers.cgi*Icon[IPADDRESS_ids2]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids2]: SrcRoute & PingDeath routers.cgi*InSummary[IPADDRESS_ids2]: yes routers.cgi*Graph[IPADDRESS_ids2]: IPADDRESS_idsall Target[IPADDRESS_ids3]: 1.3.6.1.4.1.3224.3.2.1.7.1&1.3.6.1.4.1.3224.3.2.1.8.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids3]: AddrSpoof & Land Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids3]: 4294967295 Colours[IPADDRESS_ids3]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids3]: Attacks per Second Legend1[IPADDRESS_ids3]: AddrSpoof Legend2[IPADDRESS_ids3]: Land Legend3[IPADDRESS_ids3]: Peak AddrSpoof Legend4[IPADDRESS_ids3]: Peak Land LegendI[IPADDRESS_ids3]: AddrSpoof: LegendO[IPADDRESS_ids3]: Land: ShortLegend[IPADDRESS_ids3]: Att/s routers.cgi*Options[IPADDRESS_ids3]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids3]: lines routers.cgi*Icon[IPADDRESS_ids3]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids3]: AddrSpoof & Land routers.cgi*InSummary[IPADDRESS_ids3]: yes routers.cgi*Graph[IPADDRESS_ids3]: IPADDRESS_idsall Target[IPADDRESS_ids4]: 1.3.6.1.4.1.3224.3.2.1.9.1&1.3.6.1.4.1.3224.3.2.1.10.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids4]: IcmpFlood & UdpFlood Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids4]: 4294967295 Colours[IPADDRESS_ids4]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids4]: Attacks per Second Legend1[IPADDRESS_ids4]: IcmpFlood Legend2[IPADDRESS_ids4]: UdpFlood Legend3[IPADDRESS_ids4]: Peak IcmpFlood Legend4[IPADDRESS_ids4]: Peak UdpFlood LegendI[IPADDRESS_ids4]: IcmpFlood: LegendO[IPADDRESS_ids4]: UdpFlood: ShortLegend[IPADDRESS_ids4]: Att/s routers.cgi*Options[IPADDRESS_ids4]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids4]: lines routers.cgi*Icon[IPADDRESS_ids4]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids4]: IcmpFlood & UdpFlood routers.cgi*InSummary[IPADDRESS_ids4]: yes routers.cgi*Graph[IPADDRESS_ids4]: IPADDRESS_idsall Target[IPADDRESS_ids5]: 1.3.6.1.4.1.3224.3.2.1.11.1&1.3.6.1.4.1.3224.3.2.1.12.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids5]: Winnuke & PortScan Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids5]: 4294967295 Colours[IPADDRESS_ids5]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids5]: Attacks per Second Legend1[IPADDRESS_ids5]: Winnuke Legend2[IPADDRESS_ids5]: PortScan Legend3[IPADDRESS_ids5]: Peak Winnuke Legend4[IPADDRESS_ids5]: Peak PortScan LegendI[IPADDRESS_ids5]: Winnuke: LegendO[IPADDRESS_ids5]: PortScan: ShortLegend[IPADDRESS_ids5]: Att/s routers.cgi*Options[IPADDRESS_ids5]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids5]: lines routers.cgi*Icon[IPADDRESS_ids5]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids5]: Winnuke & PortScan routers.cgi*InSummary[IPADDRESS_ids5]: yes routers.cgi*Graph[IPADDRESS_ids5]: IPADDRESS_idsall Target[IPADDRESS_ids6]: 1.3.6.1.4.1.3224.3.2.1.13.1&1.3.6.1.4.1.3224.3.2.1.14.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids6]: IpSweep & SynFrag Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids6]: 4294967295 Colours[IPADDRESS_ids6]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids6]: Attacks per Second Legend1[IPADDRESS_ids6]: IpSweep Legend2[IPADDRESS_ids6]: SynFrag Legend3[IPADDRESS_ids6]: Peak IpSweep Legend4[IPADDRESS_ids6]: Peak SynFrag LegendI[IPADDRESS_ids6]: IpSweep: LegendO[IPADDRESS_ids6]: SynFrag: ShortLegend[IPADDRESS_ids6]: Att/s routers.cgi*Options[IPADDRESS_ids6]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids6]: lines routers.cgi*Icon[IPADDRESS_ids6]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids6]: IpSweep & SynFrag routers.cgi*InSummary[IPADDRESS_ids6]: yes routers.cgi*Graph[IPADDRESS_ids6]: IPADDRESS_idsall Target[IPADDRESS_ids7]: 1.3.6.1.4.1.3224.3.2.1.15.1&1.3.6.1.4.1.3224.3.2.1.16.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids7]: TcpNoFlag & UnkownProt Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids7]: 4294967295 Colours[IPADDRESS_ids7]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids7]: Attacks per Second Legend1[IPADDRESS_ids7]: TcpNoFlag Legend2[IPADDRESS_ids7]: UnkownProt Legend3[IPADDRESS_ids7]: Peak TcpNoFlag Legend4[IPADDRESS_ids7]: Peak UnkownProt LegendI[IPADDRESS_ids7]: TcpNoFlag: LegendO[IPADDRESS_ids7]: UnkownProt: ShortLegend[IPADDRESS_ids7]: Att/s routers.cgi*Options[IPADDRESS_ids7]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids7]: lines routers.cgi*Icon[IPADDRESS_ids7]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids7]: TcpNoFlag & UnkownProt routers.cgi*InSummary[IPADDRESS_ids7]: yes routers.cgi*Graph[IPADDRESS_ids7]: IPADDRESS_idsall Target[IPADDRESS_ids8]: 1.3.6.1.4.1.3224.3.2.1.17.1&1.3.6.1.4.1.3224.3.2.1.18.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids8]: OptBad & OptRecord Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids8]: 4294967295 Colours[IPADDRESS_ids8]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids8]: Attacks per Second Legend1[IPADDRESS_ids8]: OptBad Legend2[IPADDRESS_ids8]: OptRecord Legend3[IPADDRESS_ids8]: Peak OptBad Legend4[IPADDRESS_ids8]: Peak OptRecord LegendI[IPADDRESS_ids8]: OptBad: LegendO[IPADDRESS_ids8]: OptRecord: ShortLegend[IPADDRESS_ids8]: Att/s routers.cgi*Options[IPADDRESS_ids8]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids8]: lines routers.cgi*Icon[IPADDRESS_ids8]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids8]: OptBad & OptRecord routers.cgi*InSummary[IPADDRESS_ids8]: yes routers.cgi*Graph[IPADDRESS_ids8]: IPADDRESS_idsall Target[IPADDRESS_ids9]: 1.3.6.1.4.1.3224.3.2.1.19.1&1.3.6.1.4.1.3224.3.2.1.20.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids9]: OptTimestamp & OptSCHT Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids9]: 4294967295 Colours[IPADDRESS_ids9]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids9]: Attacks per Second Legend1[IPADDRESS_ids9]: OptTimestamp Legend2[IPADDRESS_ids9]: OptSCHT Legend3[IPADDRESS_ids9]: Peak OptTimestamp Legend4[IPADDRESS_ids9]: Peak OptSCHT LegendI[IPADDRESS_ids9]: OptTimestamp: LegendO[IPADDRESS_ids9]: OptSCHT: ShortLegend[IPADDRESS_ids9]: Att/s routers.cgi*Options[IPADDRESS_ids9]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids9]: lines routers.cgi*Icon[IPADDRESS_ids9]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids9]: OptTimestamp & OptSCHT routers.cgi*InSummary[IPADDRESS_ids9]: yes routers.cgi*Graph[IPADDRESS_ids9]: IPADDRESS_idsall Target[IPADDRESS_ids10]: 1.3.6.1.4.1.3224.3.2.1.21.1&1.3.6.1.4.1.3224.3.2.1.22.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids10]: OptLSR & OptSSR Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids10]: 4294967295 Colours[IPADDRESS_ids10]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids10]: Attacks per Second Legend1[IPADDRESS_ids10]: OptLSR Legend2[IPADDRESS_ids10]: OptSSR Legend3[IPADDRESS_ids10]: Peak OptLSR Legend4[IPADDRESS_ids10]: Peak OptSSR LegendI[IPADDRESS_ids10]: OptLSR: LegendO[IPADDRESS_ids10]: OptSSR: ShortLegend[IPADDRESS_ids10]: Att/s routers.cgi*Options[IPADDRESS_ids10]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids10]: lines routers.cgi*Icon[IPADDRESS_ids10]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids10]: OptLSR & OptSSR routers.cgi*InSummary[IPADDRESS_ids10]: yes routers.cgi*Graph[IPADDRESS_ids10]: IPADDRESS_idsall Target[IPADDRESS_ids11]: 1.3.6.1.4.1.3224.3.2.1.23.1&1.3.6.1.4.1.3224.3.2.1.24.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids11]: OptStream & IcmpFrag Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids11]: 4294967295 Colours[IPADDRESS_ids11]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids11]: Attacks per Second Legend1[IPADDRESS_ids11]: OptStream Legend2[IPADDRESS_ids11]: IcmpFrag Legend3[IPADDRESS_ids11]: Peak OptStream Legend4[IPADDRESS_ids11]: Peak IcmpFrag LegendI[IPADDRESS_ids11]: OptStream: LegendO[IPADDRESS_ids11]: IcmpFrag: ShortLegend[IPADDRESS_ids11]: Att/s routers.cgi*Options[IPADDRESS_ids11]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids11]: lines routers.cgi*Icon[IPADDRESS_ids11]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids11]: OptStream & IcmpFrag routers.cgi*InSummary[IPADDRESS_ids11]: yes routers.cgi*Graph[IPADDRESS_ids11]: IPADDRESS_idsall Target[IPADDRESS_ids12]: 1.3.6.1.4.1.3224.3.2.1.25.1&1.3.6.1.4.1.3224.3.2.1.26.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids12]: IcmpLarge & TcpSynFin Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids12]: 4294967295 Colours[IPADDRESS_ids12]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids12]: Attacks per Second Legend1[IPADDRESS_ids12]: IcmpLarge Legend2[IPADDRESS_ids12]: TcpSynFin Legend3[IPADDRESS_ids12]: Peak IcmpLarge Legend4[IPADDRESS_ids12]: Peak TcpSynFin LegendI[IPADDRESS_ids12]: IcmpLarge: LegendO[IPADDRESS_ids12]: TcpSynFin: ShortLegend[IPADDRESS_ids12]: Att/s routers.cgi*Options[IPADDRESS_ids12]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids12]: lines routers.cgi*Icon[IPADDRESS_ids12]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids12]: IcmpLarge & TcpSynFin routers.cgi*InSummary[IPADDRESS_ids12]: yes routers.cgi*Graph[IPADDRESS_ids12]: IPADDRESS_idsall Target[IPADDRESS_ids13]: 1.3.6.1.4.1.3224.3.2.1.27.1&1.3.6.1.4.1.3224.3.2.1.28.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids13]: TcpFinNoAck & HttpMalUrl Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids13]: 4294967295 Colours[IPADDRESS_ids13]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids13]: Attacks per Second Legend1[IPADDRESS_ids13]: TcpFinNoAck Legend2[IPADDRESS_ids13]: HttpMalUrl Legend3[IPADDRESS_ids13]: Peak TcpFinNoAck Legend4[IPADDRESS_ids13]: Peak HttpMalUrl LegendI[IPADDRESS_ids13]: TcpFinNoAck: LegendO[IPADDRESS_ids13]: HttpMalUrl: ShortLegend[IPADDRESS_ids13]: Att/s routers.cgi*Options[IPADDRESS_ids13]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids13]: lines routers.cgi*Icon[IPADDRESS_ids13]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids13]: TcpFinNoAck & HttpMalUrl routers.cgi*InSummary[IPADDRESS_ids13]: yes routers.cgi*Graph[IPADDRESS_ids13]: IPADDRESS_idsall Target[IPADDRESS_ids14]: 1.3.6.1.4.1.3224.3.2.1.29.1&1.3.6.1.4.1.3224.3.2.1.30.1:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids14]: SessMalNum & SynAckAck Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids14]: 4294967295 Colours[IPADDRESS_ids14]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids14]: Attacks per Second Legend1[IPADDRESS_ids14]: SessMalNum Legend2[IPADDRESS_ids14]: SynAckAck Legend3[IPADDRESS_ids14]: Peak SessMalNum Legend4[IPADDRESS_ids14]: Peak SynAckAck LegendI[IPADDRESS_ids14]: SessMalNum: LegendO[IPADDRESS_ids14]: SynAckAck: ShortLegend[IPADDRESS_ids14]: Att/s routers.cgi*Options[IPADDRESS_ids14]: fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids14]: lines routers.cgi*Icon[IPADDRESS_ids14]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids14]: SessMalNum & SynAckAck routers.cgi*InSummary[IPADDRESS_ids14]: yes routers.cgi*Graph[IPADDRESS_ids14]: IPADDRESS_idsall Target[IPADDRESS_ids15]: 1.3.6.1.4.1.3224.3.2.1.31.1&PseudoZero:COMMUNITYSTRING@IPADDRESS:::::2 Title[IPADDRESS_ids15]: IpFrag Zone Untrust -- NAMEOFTHEFIREWALL MaxBytes[IPADDRESS_ids15]: 4294967295 Colours[IPADDRESS_ids15]: ORANGE#FC7C01, RED#FF0000, DARK RED#660000, BLACK#000000 YLegend[IPADDRESS_ids15]: Attacks per Second Legend1[IPADDRESS_ids15]: IpFrag #Legend2[IPADDRESS_ids15]: SynAckAck Legend3[IPADDRESS_ids15]: Peak IpFrag #Legend4[IPADDRESS_ids15]: Peak SynAckAck LegendI[IPADDRESS_ids15]: IpFrag: #LegendO[IPADDRESS_ids15]: SynAckAck: ShortLegend[IPADDRESS_ids15]: Att/s routers.cgi*Options[IPADDRESS_ids15]: noo fixunit nomax routers.cgi*GraphStyle[IPADDRESS_ids15]: lines routers.cgi*Icon[IPADDRESS_ids15]: firewall3-sm.gif routers.cgi*ShortDesc[IPADDRESS_ids15]: IpFrag routers.cgi*InSummary[IPADDRESS_ids15]: yes routers.cgi*Graph[IPADDRESS_ids15]: IPADDRESS_idsall ################################################################################################################ #Summary Graph for all IDS graphs: #nototal, because there would be two total lines, one for "incoming" and one for "outgoing". But this doesn't make sense here. routers.cgi*Title[IPADDRESS_idsall]: IDS Summary Zone Untrust -- NAMEOFTHEFIREWALL #routers.cgi*LegendTI[IPADDRESS_idsall]: Attacks: #routers.cgi*LegendTO[IPADDRESS_idsall]: Attacks: routers.cgi*ShortDesc[IPADDRESS_idsall]: IDS Summary Untrust routers.cgi*GraphStyle[IPADDRESS_idsall]: lines routers.cgi*Options[IPADDRESS_idsall]: nototal routers.cgi*InSummary[IPADDRESS_idsall]: yes |
Sample Graphs
In summary, this is how my graphs look like:
So this is cool. By any chance, how are you using cfgmaker and indexmaker such that you can display a different device, or group of devices on different pages?
Thanks
The monitoring system “MRTG with Routers2” displays every *.cfg file as a new page. That is, when I configured my devices with cfgmaker, I created a new *.cfg file for each device. Therefore I got a new page for every device. Does that help you?
Ok, yes that helps. Do you still use indexmaker with each *. cfg separately?
It depends. ;)
Mostly I am using cfgmaker for the interfaces (such as the several interfaces on a firewall), but I add the template presented here manually. That is: Yes, I am using cfgmaker for each cfg file separately.