Hi lmd,
> Where are the files located for your Alarm Action? We
> have several 72+ CPU machines and don't really feel
> like manually setting alarms via the gui. Can I edit
> a file?
SunMC's "Managed Jobs" feature (Tools --> Managed Jobs) lets you automate this type of thing 2 ways:
-a "Data Property" Task lets you set all those thresholds once on the Server, then you just pick what Agents to apply it to. And those tasks are stored so you can run them over and over
-a "Configuration" Task lets you set up one Agent the way you want and template it's configuration and save it on your SunMC Server. Then you can apply that template to other Agents.
Data Property tasks are good when you want to go tweak a few things on a lot of systems. Configuration tasks are better to grab the entire config of an Agent as a template or backup (i.e. you can make a "web server" template, and "Oracle" template etc and apply them as you need them).
If you really want to edit files, the thresholds you set are stored on the Agent in <module>.dat or <module>+<instance>.dat files in /var/opt/SUNWsymon/cfg. i.e. if you edit thresholds in the Kernel Reader module, they will be saved into kernel-reader.dat.
You can set your thresholds once, then copy the resulting file to another (stopped) Agent and start it up. The syntax of the file is simple, so you could also edit it and put in the thresholds you want.
Note: Configuration Tasks are actually moving files around under-the-hood just like you asked about (using the SunMC web server to store and retrieve them). Hint: after making a Configuration task go look in /var/opt/SUNWsymon/mcp on your SunMC Server... it will contain the relevent .dat files from the Agent you templated.
Regards,
Mike.Kirk@HalcyonInc.com
http://www.HalcyonInc.com