You basically created an alert that will get fired when the log space used percent is above 25%. That's pretty low, in my opinion.
Please let me know what action should I take so that I did not get this alert again Hard drive where transaction log get saved have enough space.
If what I'm understanding from you is correct, you're saying that the volume your transaction log sits on has plenty of space, and you think you may be getting false alerts? If that's correct, this perfmon counter isn't looking at that at all. It could be a 2 GB log file, living on a 500 GB volume. Even if that 500 GB volume has 400 GB of free space, if your 2 GB log file has 500+ MB space used you'll get that alert. Volume free space and database file free space are two different things.
You need to determine what you care about to be alerted on. It's a great strategy to alert on log file space used if it is getting high (in my opinion, the upper bounds would be 70% - 80%, but you will need to tailor that to your environment), but I think you may be confused with the above two points.
If that hasn't answered your question, please clarify either through comments here or editing your own question.
Edit after your edit
You need to see what your log space used percent is. By your alert, if it is greater than 25%, then you should be alerted. You can find that out a couple of ways.
The quickest is to run the following:
dbcc sqlperf(logspace);
That will give you a rundown of all log space used for every database. If you want to break that down for a particular database (for whatever reason) it could be accomplished this way:
use YourDatabase;
go
;with file_cte as
(
select
name,
size,
fileproperty(name, 'SpaceUsed') as space_used
from sys.database_files
where type_desc = 'log'
)
select
name,
size,
space_used,
convert(decimal(5, 2), space_used * 1.0 / size * 100) as space_used_percent
from file_cte;
The reason why you didn't get alerted after that is simple: Because your log space used didn't breach 25%. That could have been through log reuse due to a transaction log backup, or maybe somebody grew the file making that 25% space used a larger number. As for tempdb's database file sizes, that shouldn't affect when you get alerted, unless you are being alerted specifically for tempdb log file space used (in your question it says "my database name" so I'm assuming you're not alerting off of tempdb with this alert).