Thank you very much for this. I must be missing something very basic. It looks as though the $node variable is not defined in the hook. I am getting the error: "Error 14 in line 12: Function or operation argument is not an object" just trying to execute this script within Hook::ConfigurationPoll
/* Available global variables:
* $object - current object, one of 'NetObj' subclasses
* $node - current object if it is 'Node' class
*
* Expected return value:
* none - returned value is ignored
*/
sub main()
{
trace(1,"hook executed for ".$node->ipAddr);
}