The class diagram should contain all of your classes. I split mine into multiple pages to make it easier to read.
The external system isn't one of your classes, so it shouldn't be in your class diagram. (It should be in higher level diagrams because you communicate with it.) By contrast,
you should include a Facade or Adapter to the external system in your class diagram if you have one.