Howto add your own snmp request

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
markske
Posts: 6
Joined: Fri Mar 18, 2005 2:41 am

Howto add your own snmp request

Post by markske »

How can I add an snmp query to an new graphic?

I made in net-snmp the following (snmpd.conf)
(snmp_mailq.sh is simpel query that returns on howmany mails in queue)

Code: Select all

snmpd.conf
exec mailque /scripts/snmp_mailq.sh

]# /usr/bin/snmpwalk -v 1 mailserver -c public .1.3.6.1.4.1.2021.8.1.extOutput
UCD-SNMP-MIB::extOutput.1 = STRING:  0
is thare somone who can help me with an tip to get this
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Have a look at http://www.cacti.net/downloads/docs/htm ... graph.html. If you want to monitor Mail Stats, have a look at the scripts and addon forum at http://forums.cacti.net/viewforum.php?f=5. Perhaps someone did already what you are searching for.

have fun
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest