How to create a custom check that generates a graph

Hello, I created a custom check for Windows that returns a value representing the size of a file in MB. Checkmk reads the values, but it doesn’t create a graph, which I need to understand the growth trend. What should I add to the script to ensure a graph is generated?
The script is a .bat file that internally runs a .sql file, which returns the data I need to monitor.

Thanks in advance

OS: Rocky9
Checkmk: Raw Edition 2.3.0p6

Hi @asyscom1

I think this section of the “Custom check plugins” article could be helpful: Writing agent-based check plug-ins

If your Check is a local check, this is might be helpful: Local checks

perfect! with metric i should find the solution…thanks a lot

2 Likes

Can you please mark the answer as the solution if it solved your problem?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed. Contact an admin if you think this should be re-opened.