I’m trying to pull in the list of persistent routes on our DMZ servers to ensure they are all configured correctly. I’m trying to use the “ipv4 routing table” inspector but I get the following error:
Q: routes of ipv4 routing table
E: The operator "string" is not defined.
I’m confused because I’m not using a string but I can’t seem to get this inspector to work. Do I have to associate it with the network inspector since it’s networking? I’m pretty sure I don’t but the inspector doesn’t seem to work as advertised.
This expression evaluates to an unrepresentable object of type "ipv4 routing table"
But this inspector doesn’t work on Windows…
This message normally appears when BigFix doesn’t know how to represent the object. In this case it doesn’t know how to print out the ipv4 routing table. Essentially it’s taking the object and adding, “As string” which doesn’t exist for this particular object.
You should be able to use the properties of an ipv4 route like this:
(interface of it, metric of it, destination of it, gateway of it) of routes of ipv4 routing table
And you’d get something like:
Q: (interface of it, metric of it, destination of it, gateway of it) of routes of ipv4 routing table
A: eth0, 0, 0.0.0.0, 172.17.0.1
A: eth0, 0, 172.17.0.0, 0.0.0.0
T: 0.168 ms
I: ( string, integer, ipv4or6 address, ipv4or6 address )