After how woefully lacking in detail for the novice in OS 10 switches the Dell documentation is below is a little snippet that can be used to configure your switches with what appears to be enough permission for PRTG (or a similar SNMP monitoring system) to keep an eye on them.
After entering configuration mode a readonly view with a base OID is set (I’d be grateful for some feedback on this!), then a group (prtg) is created to contain the user and defines readonly permissions, finally a user (prtguser) is created, assigned to the group (prtg) and the relevant password and privacy encryption strings set.
configure snmp-server view readonly 126.96.36.199.2.1 included snmp-server group prtg 3 priv read readonly snmp-server user prtguser prtg 3 auth sha LONGANDSTRONGAUTH priv aes LoNGANDSTRONGPRIV exit write memory
If you are looking to build out Zone Protection Profiles on your Palo Alto Networks Next Generation Firewall then it can be handy to know just what your connections per second metrics look over time for each zone. Quite lucky Palo Alto Networks have a little (although not entirely descript) guide on where you can get this data – https://docs.paloaltonetworks.com/pan-os/9-1/pan-os-admin/zone-protection-and-dos-protection/zone-defense/take-baseline-cps-measurements-for-setting-flood-thresholds/how-to-measure-cps.html.
With that information in hand it was just a matter of time before working out how to collect this data through PRTG so do follow on with the screenshot guide to find out how!
[rowidentifier] Connections Per Second
While carrying out the steps to move our network devices from a flat network to one with purposeful VLANs I had changed the IP address of one of our HP CP3505 printers (using the web based management console) to discover that with the new IP I could not print to the printer over the network.
Oddly enough the web based management console was still accessible, the printer replied to PINGs and SNMP requests but would not print (that includes from Mac and PC!).
With no error messages other than ‘Error – Printing’ on the server, and nothing in the logs of the printer it seemed like this issue would not have a simple solution.
In trying to troubleshoot the issue I tried…
- Changing the printers IP address to other options (indeed changing the IP back to its original one sorted the problem but was not what I wanted)
- Firmware updating the printer
- Pressing all of the ‘reset’ and ‘clear settings’ buttons I could find on the printer through the WBMC and front panel
- Attaching a network cable between a laptop and the printer direct (no server or switches)
- Removing the jet direct card and leaving it for 30 minutes while the printer was unplugged (oddly enough the jet direct card has a button battery which cannot be removed on it)
All to no success!
In the end and on a complete whim I changed the network settings of the printer to use DHCP instead of Manual IP, reset the printer and then set it back to Manual IP. It was evident that the IP address I had set previously had been forgotten and I set upon the task of configuring the IP address through the front panel. Long behold this worked and the printer is now happyily printing under its new IP address.
There are lots of great reasons to replace personal printers with centralised photocopiers but one of the overlooked ones can be the greater ability to monitor these copiers using SNMP (Simple Network Management Protocol).
This article looks at keeping track of the status of the paper trays (how full they are!) using PRTG (http://www.paessler.com/prtg) on Sharp photocopiers.
To get rolling you will need-
- PRTG (or some other item of software that can talk to SNMP)
- Some way of querying the SNMP OIDs on the copiers (for this article I used the free version of MIB Browser – http://ireasoning.com/mibbrowser.shtml)
- A little bit of ingenuity
If just by chance you are using the Sharp MX-2640N copiers then you can save time by using the following OIDs-
Paper Tray 1 Status .188.8.131.52.184.108.40.206.220.127.116.11.2
Paper Tray 2 Status .18.104.22.168.22.214.171.124.126.96.36.199.3
Paper Tray 3 Status .188.8.131.52.184.108.40.206.220.127.116.11.4
Paper Tray 4 (A3) Status .18.104.22.168.22.214.171.124.126.96.36.199.5
So to get this up and running follow the screen shot sequence below.